summaryrefslogtreecommitdiff
path: root/vcl/win
AgeCommit message (Collapse)AuthorFilesLines
2014-11-18windows opengl: Use the updated DrawMask to get nice text with OpenGL.Jan Holesovsky1-6/+4
Change-Id: Ie4f08575848e76159af86d44e10f24fa383930fb
2014-11-18windows: Improve logging.Jan Holesovsky1-55/+18
Change-Id: I15e6d240b3c94af07e9b39cc16efb581869729f2
2014-11-17warning C4189: local variable is initialized but not referencedStephan Bergmann1-2/+2
Change-Id: Id87af31e9b60d548959ba735b635ff3d154fc587
2014-11-15vcl: The backend should decide whether fast alpha drawing is available.Jan Holesovsky1-11/+0
The unx drawAlphaBitmap() already already checks that the source and destination have the same size. Windows and OpenGL should be able to handle that without trouble. OS X would need some additional code, so added an early return for the case the source and result sizes do not match. Change-Id: Ib09654aaa9c9064c232cff5094fcaa1190e931c6
2014-11-15windows opengl: Finally got the text working.Jan Holesovsky1-11/+22
It still does not have a transparent background, but that is pending support in OpenGLSalGraphicsImpl. Change-Id: I477a483e6ac940f54f6ffd6816d753d87206bf23
2014-11-15windows opengl: Explain the concept of the text drawing + minor fixes.Jan Holesovsky1-4/+39
Change-Id: I4651e7e9b8163844be548d4ed975a881d4f83fff
2014-11-15request single buffered context on windowsMarkus Mohrhard1-0/+1
Change-Id: I7b9789053872446e312ae4e3c471986e3c5c55d2
2014-11-15vcl: Add DrawAlphaTexture to directly render Cairo surfaceLouis-Francis Ratté-Boulianne1-3/+3
Change-Id: I7aa824578b14999d0ef667a5bcfccd731f1d3b64
2014-11-15vcl: Improve OpenGLTexture implementation by allowing implicit sharingLouis-Francis Ratté-Boulianne1-1/+1
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: I6421265325e72023d1affe671d75488185772786
2014-11-15vcl: Implement copyBits in the OpenGL backendLouis-Francis Ratté-Boulianne1-0/+5
Change-Id: I101afd11394d3d024d38519afd61d700114702ac
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-2/+2
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-14vcl: Fix leak.Jan Holesovsky1-1/+1
Change-Id: I201e50060c44bba3c0eb20026be1daccd3b2e945
2014-11-14vcl: mpFontCharSets is never set.Jan Holesovsky2-10/+0
Change-Id: Ic9102dabe9a74e7ad2aaa5c8cad2bae1b2c7b1ec
2014-11-14vcl: mpLogFont is never set.Jan Holesovsky2-5/+0
Change-Id: I2ea287da7448c5094eb13a3083c7c0f82ed25760
2014-11-14windows opengl: Proof-of-concept text rendering.Jan Holesovsky2-15/+64
We don't have a method that would paint a texture with transparency yet. We also need to limit the size of the DIBSection exactly to what we are going to paint, no point in creating a huge bitmap that is mostly empty (but the part where is the text being drawn). Change-Id: Ice0bf325743d08e19e636be73cef6aff3cde5704
2014-11-14windows opengl: Prepare WinLayout (and derived classes) for OpenGL.Jan Holesovsky2-47/+65
Change-Id: Ifd18f51ac417cb3778e61f33df30daa7be6c0bf8
2014-11-14vcl: Split winlayout.cxx to .cxx and .hxx.Jan Holesovsky2-186/+233
Change-Id: I4a26842777536ce63b482a2d69524918a18b602c
2014-11-14Revert "vcl: Abstract the Windows text rendering into a TextRenderImpl ↵Jan Holesovsky4-183/+50
descendant." Turns out it might be easier to actually subclass only the various SalLayout's - let's try it first, and re-introduce this code again if not. This reverts commit 309257ddadfdc3e46506036ed81f6e0695211ebe.
2014-11-13Remove unused #includeStephan Bergmann1-2/+0
Change-Id: Idbd1052355dc10795440fc71b5517b6594461c63
2014-11-13WaEStephan Bergmann1-1/+1
Change-Id: If061fd4c228b5288173a045430608b34b138c178
2014-11-13vcl: Abstract the Windows text rendering into a TextRenderImpl descendant.Jan Holesovsky4-50/+183
Change-Id: I7ee9d7e705bb0344ba59c3edd10ed85390636cd4
2014-11-13vcl: Use single-buffer rendering and only flush when necessaryLouis-Francis Ratté-Boulianne2-3/+9
Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85
2014-11-12windows: Default to large icons, as we do on all other operating systems.Jan Holesovsky1-5/+1
Change-Id: Ifbb7287b5c28de7e23f95b89574ba4196fbb58ac
2014-11-12windows opengl: Printer still needs WinSalGraphicsImpl.Jan Holesovsky1-1/+1
Change-Id: I298783d5f1c7e825f52eb3d61f45c0c3d3019f04
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini4-5/+5
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11windows opengl: Instantiate OpenGLSalBitmap even on Windows.Jan Holesovsky1-2/+7
Change-Id: I2229141cc12ad7bc9fccfd6e2c7fec44ac4f6284
2014-11-11vcl: Fix text rendering with OpenGLLouis-Francis Ratté-Boulianne1-0/+5
Change-Id: I7784fa81cb6f9a3d6437b2b628c37e7895c84733
2014-11-10vcl: cleanup the opengl selection API.Michael Meeks1-3/+1
Change-Id: Icebf3c7d2911b27e29d2259b780a04048b293b3c
2014-11-10only use OpenGL for window devices for nowMarkus Mohrhard1-1/+1
That fixes the build problems that I have seen. Change-Id: Ida89aa153d73ce4e07e3f0e0499df567e4df5009
2014-11-10add code for getting device width and height on window devicesMarkus Mohrhard1-1/+1
Change-Id: Ib1b84745cd1211a5194da78d83646ade4b01e72a
2014-11-10fix windows buildMarkus Mohrhard1-2/+2
Change-Id: I4f8d4f9393b931f7593486f8e1fadee7ad35902a
2014-11-10remove that method also in the windows backendMarkus Mohrhard2-6/+0
Change-Id: I578d842614fdc227459a3aaf889e062499b8bdbf
2014-11-10windows opengl: Make SwapBuffers() actually do something.Jan Holesovsky1-0/+5
Change-Id: If58e9eaccd4850d33302ced5e83f649415158e24
2014-11-10windows opengl: Don't construct WinSalGraphicsImpl just to destroy it again.Jan Holesovsky1-1/+0
Change-Id: I61afb35503a3947aa21bd90224e2f8614033a384
2014-11-10implement abstract virtual methods in windows classesMarkus Mohrhard2-0/+8
Change-Id: Ifd34cdab725c2d8f2417585b1b90c79cfa977bd1
2014-11-10vcl: Allow SalBitmap implementation to do scalingLouis-Francis Ratté-Boulianne1-0/+5
Change-Id: If4431fb276c9c2629acbc95aeff2ef7c4a683d86
2014-11-10use the new virtual device support in OpenGL for win backendMarkus Mohrhard1-0/+2
Change-Id: Icd67dd7bad1399c861db41c418095c2b6b1d6d78
2014-11-10forgot to remove the env variable based OpenGL settingMarkus Mohrhard1-6/+0
Change-Id: Ib4d0c4730eceac483bb179ce4e75fe555bba91fa
2014-11-10init the OpenGL context in the windows backendMarkus Mohrhard1-0/+6
Change-Id: Ic4fb491c95170639015a4452f355354ad01612bc
2014-11-10don't try to use OpenGL for printingMarkus Mohrhard1-1/+1
Change-Id: I88403bcb5b1974deba237c497885d3793a29315c
2014-11-10improve OpenGL rendering engine selection for Windows backendMarkus Mohrhard1-0/+11
Change-Id: Ibcf520aac1441e5ce86b83372061550f8957ab17
2014-11-10at least some sanity for WinSalGraphicsMarkus Mohrhard4-58/+73
we no longer invite everyone to change our member variables. This was obviously written by a C programmer and needs further refactoring. Change-Id: I896576a5abc24e8d03787d30e6ba6c11b0bf84c6
2014-11-10a little bit more sanityMarkus Mohrhard4-11/+13
Change-Id: I080984c5faaa8cf349ba37ffdb116b6d8d016552
2014-11-10remove unused code and const-ify some methodsMarkus Mohrhard1-42/+4
Change-Id: I4c8da0cdf39f31ec757e87687dcec79a4ac83681
2014-11-10start to bring some sanity to windows backendMarkus Mohrhard5-39/+85
Just moving some of our variables from public to private to understand which ones are actively set from outside objects. Change-Id: I33998bb95c93195c6c39778e37ac1071b917c8fa
2014-11-10no check before delete and move to intializer listMarkus Mohrhard1-20/+18
Change-Id: Ib6e50f863db1a64dc42ed4313a009abe4932ce3f
2014-11-10make it possible to select the OpenGL rendering on windowsMarkus Mohrhard1-0/+6
Change-Id: Id60b8121a890e6d1f46bd671549ac681f42b7660
2014-11-10don't include the win version of svsys directlyMarkus Mohrhard1-1/+2
Change-Id: I21f9443ad847ab07c3e25e6004d2133148db7f03
2014-11-10fix indentationMarkus Mohrhard1-1/+1
Change-Id: Ia61988f94a2cce9aefe1b48159a1bf1884be70f2
2014-11-10implement gradient rendering method for windows backendMarkus Mohrhard2-1/+9
Change-Id: I894b14d97227d695f5cfc5e13958413c36295d7d