summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-26vcl: Use the current OpenGL context for VirtualDevice and Bitmap if possiblefeature/lfrb-vcl-openglLouis-Francis Ratté-Boulianne23-276/+610
Change-Id: I17f6ce66fb8b5bc027d35b4016ae56c24ee0a738
2014-11-25windows opengl: Transparency of the native widgets.Jan Holesovsky2-2/+2
Change-Id: Ifa6ba5735582effc27ac68556c2367077705d1d6
2014-11-25windows opengl: We should actually use Init() from OpenGLSalGraphicsImpl.Jan Holesovsky3-11/+1
Change-Id: I524883b0f0bbce9a8b6f893771f144feeee49934
2014-11-25Fix build.Jan Holesovsky1-2/+2
Change-Id: Ibf5d1ccee155cc5807a1a125fde7a7243eab7585
2014-11-25windows opengl: Implement WinOpenGLSalGraphicsImpl::Init() too.Jan Holesovsky1-0/+9
[Blind fix to fix build; real fix to follow after testing.] Change-Id: Ic4cf2dc74ba4649a2453bc351cdc1d1fad59a0ca
2014-11-24Add dummy Erase to SalBitmap implementationsMatúš Kukan13-0/+38
Change-Id: I5790deb9ab5af6f8678c964af5321264d3bce733
2014-11-24Add dummy Crop to SalBitmap implementationsMatúš Kukan13-1/+37
Change-Id: Ib402395f5523a980c9ca098dcd2d8e1ecbbfa7c0
2014-11-22vcl: Make sure the active framebuffer is the right one before drawingLouis-Francis Ratté-Boulianne1-0/+3
Change-Id: Icc30bee1d58dbf8f5e7b65ba90cfdf0c9135b464
2014-11-22vcl: Re-flip native X11 widgets upside down in OpenGL backendLouis-Francis Ratté-Boulianne1-2/+2
Change-Id: I1819f8e3357dc2f805b0ecebca0659fe073ec611
2014-11-22vcl: Improve precision and performance of clipping when region is a RegionBandLouis-Francis Ratté-Boulianne2-1/+41
Change-Id: I7a481ba86d03b0eb8f4b456e38cfa89b6cbc209d
2014-11-22vcl: Track the GL context's clip region and update before drawing when neededLouis-Francis Ratté-Boulianne3-28/+34
Change-Id: Ibec92851dc87f6696ee55a8db10fe160cd97d09c
2014-11-22vcl: Move the painting fence to the OpenGL contextLouis-Francis Ratté-Boulianne4-6/+8
Change-Id: I462e68a1ad7a56fafe57504959cf169a70665f81
2014-11-22vcl: Always use the same OpenGL context when drawing in a windowLouis-Francis Ratté-Boulianne16-72/+264
Change-Id: Ief0e947149c133aaa8e81973e088c4df6432bfdc
2014-11-21vcl: Use old method for pixmap painting for GTK widgets without OpenGLLouis-Francis Ratté-Boulianne2-57/+101
Change-Id: Ie6078308f7a7f70683a7f963b15857b5dac753b0
2014-11-21vcl: Draw native widgets twice on black/white background to synthesize alphaLouis-Francis Ratté-Boulianne14-293/+481
Change-Id: Ic4c073360070a559855732d2de41ae9085d7d51b
2014-11-20boost::scoped_ptr instead of manual pointer lifecycle management.Jan Holesovsky2-9/+3
Change-Id: I3b518065cead1c2805662326f063cb7b24d3d52a
2014-11-20windows opengl: Implement the native theming with OpenGL.Jan Holesovsky5-24/+87
Change-Id: If8eb5cef228f4eb28e16de3e3135742282403cdc
2014-11-20windows opengl: Introduce OpenGLCompatibleDC.Jan Holesovsky5-52/+105
This is to abstract the compatible DC creation and usage, to be reused in the native theme rendering. Change-Id: Id34bba4aeea7f46fc2aa42f292f0a525d753b8d7
2014-11-20One more IsMapMode() -> IsMapModeEnabled().Jan Holesovsky1-1/+1
Change-Id: Id8e5ca61eedb7607b5ef9d7e67bee47c87d4990b
2014-11-20vcl: If there it a MapMode, it is applied.Jan Holesovsky1-22/+0
Based on that, I believe this condition can go too. Change-Id: I88d8211678ca148bdf85729f57893e1476a52fc9
2014-11-20vcl: Kill IsMapMode(), it means the same as IsMapModeEnabled().Jan Holesovsky4-5/+4
Change-Id: I65fd40b8268cb0a27ba40da60fcf8e84cc8f7661
2014-11-20vcl: update the OpenGLContext's pixmap when re-sizing a VirtualDevice.Michael Meeks4-2/+29
Change-Id: Iee8089fc3bfbea60adee95dfb2c229f3efea28f8
2014-11-19vcl: Correctly set the values for the GL scissor test when clippingLouis-Francis Ratté-Boulianne1-1/+2
Change-Id: I5ff59f93a3760e6a920860f8aa5fc3f62d0d183d
2014-11-19vcl: Actually returns the number of rectangles for the RegionBandLouis-Francis Ratté-Boulianne2-2/+2
Change-Id: I6be30b28fa608855919890dc47145ef5a3648021
2014-11-19vcl: Apply the OutputDevice transformation to the gradient clipping polygonLouis-Francis Ratté-Boulianne2-12/+8
Change-Id: I16845c6cb0c110749112d608c209020f21549e70
2014-11-18vcl: Implement copyArea in OpenGL backendLouis-Francis Ratté-Boulianne1-4/+19
Change-Id: If98a2f39a7f3c3079abe7f5e293d7761db0ed8f9
2014-11-18vcl: fix un-initialized log length & clean copy/paste bits.Michael Meeks1-47/+41
Change-Id: I39cd9ef32fafa2894ffde961d87adc6aac9d4a4f
2014-11-18vcl: since we share Bitmaps across all GLContexts simplify lifecycle.Michael Meeks4-14/+15
~X11SalVirtualDevice() was destroying X resources referred to by OpenGLSalBitmap's mpContext, which were subsequently accessed by Bitmap::AcquireReadAccess on the floating Bitmap. Better to use the default window's GLContext for all bitmap operations. Change-Id: I9009980e791cff1a1f36d626592d72c7a32efd39
2014-11-18vcl: Make sure the texture unit is the right one before bindingLouis-Francis Ratté-Boulianne1-0/+1
Change-Id: I392190a6927a6eb725c86bcf5278e3cd4491eb5c
2014-11-18vcl: Update current context before executing scale operationLouis-Francis Ratté-Boulianne1-0/+2
Change-Id: I332c954259bdc7e34718449023f5aa82323987cc
2014-11-18vcl: Add support for backend-dependent blending of bitmaps (mask and alpha)Louis-Francis Ratté-Boulianne24-5/+414
Change-Id: Iba64eb42965c86ca5655b9a105ef3f397e033ecf
2014-11-18vcldemo: render more small scaled page-border alikesMichael Meeks1-20/+11
Change-Id: I2605175e7ee66d3da5e41497baa4178074830e99
2014-11-18vcl: Actually keep the new offscreen texture aroundLouis-Francis Ratté-Boulianne1-0/+1
Change-Id: Ie44c680f0c217214c4a3642d34fa704e8eeca917
2014-11-18vcl: check the OpenGL drawable as well as the context.Michael Meeks1-3/+6
Change-Id: Idac493dfb3239f7ae5b5e49158d79c4f3e707509
2014-11-18windows opengl: Share the contexts as we do on Linux.Jan Holesovsky2-7/+42
Change-Id: Ic58cca612cdf8f73170c18573917465bf34a187c
2014-11-18vcl: remove old GetOpenGLContext method.Michael Meeks1-5/+0
Change-Id: I1959b2e4aabdee92472fed31905fea44b989230d
2014-11-18Revert "vcl: Fix crash when requesting coordonnates for empty texture"Jan Holesovsky1-8/+0
Not necessary any more. This reverts commit 2195500d40055a182c573da074e61ddf0a2b4d5a.
2014-11-18windows opengl: Provide the context to textures everywhere where we have it.Jan Holesovsky7-57/+24
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
2014-11-18vcl: Fix crash when requesting coordonnates for empty textureLouis-Francis Ratté-Boulianne1-0/+8
Change-Id: I424ac73f23bed5b3782c148d9242ca8fc29d200d
2014-11-17vcl: Unbind framebuffer after setting offscreen modeLouis-Francis Ratté-Boulianne1-0/+1
Change-Id: I057b148f51c8f011cb013e1f06288aec4d9bdb2a
2014-11-17windows opengl: Use the updated DrawMask to get nice text with OpenGL.Jan Holesovsky1-5/+3
Change-Id: Ie4f08575848e76159af86d44e10f24fa383930fb
2014-11-17windows: Improve logging.Jan Holesovsky3-61/+35
Change-Id: I15e6d240b3c94af07e9b39cc16efb581869729f2
2014-11-17opengl: Do not check for OpenGL errors in a loop.Jan Holesovsky1-1/+1
Can lead to an infinite loop. Change-Id: I09863959719115aec23534ac72a9a9690af3aeb9
2014-11-17windows: msbuild gets completely confused when the 'Platform' envvar is set.Jan Holesovsky1-0/+1
Change-Id: Iea04859c6afa203bd6b527b99c680ff4176cf9e1
2014-11-17vcl: make OpenGLContext::makeCurrent unfeasibly faster.Michael Meeks1-2/+10
Don't set the same context if it is already set. Apparently this is something that is unbelievably costly on Windows, and very costly on Linux. Instead check if the context is already set, and don't re-set it. Change-Id: If4fed3e555e1388031446be76d6fdfde5b9f13e5
2014-11-17vcl: initialize data when XGetWindowAttributes fails.Michael Meeks1-5/+22
Change-Id: If6fc99483c06efec9a600226a09ead9a3f6dab59
2014-11-17vcl: only use default windows' GL Context for bitmaps if NULL / uninitialized.Michael Meeks1-6/+9
Change-Id: I6465c548ba5d50da2cca7cce24e9bd2a20b28f47
2014-11-17vcl: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne4-22/+32
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
2014-11-17vcl: Fix DrawMask implementation in OpenGL backendLouis-Francis Ratté-Boulianne2-8/+11
Change-Id: Idc0bedaba5a4cea351f131d402c2b1093ac1c53c
2014-11-17vcl: Implement drawing of transformed bitmaps in OpenGL backendLouis-Francis Ratté-Boulianne4-11/+189
Change-Id: I79717a608f33050b84244e378a6e51bd3be29232