summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2014-11-14windows opengl: Proof-of-concept text rendering.Jan Holesovsky5-15/+69
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 Holesovsky9-330/+76
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-14Revert "vcl: remove non-existent include and hope that it builds?"Jan Holesovsky1-0/+1
This reverts commit 7e6205117d535905b46c0106e66e5e3b593ee813.
2014-11-13coverity#1251596 Uncaught exceptionCaolán McNamara1-22/+35
Change-Id: I02b7abcd9ee17158ee063b2c9b6d0324eef70801
2014-11-13coverity#1251600 Uncaught exceptionCaolán McNamara1-4/+17
and coverity#1251597 Uncaught exception coverity#1251598 Uncaught exception coverity#1251599 Uncaught exception Change-Id: Ifd14f1db5692a8f3ccd1d9ea45d8f0e16c4b0324
2014-11-13coverity#1251605 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I5f18bd7bcd332e28df9dcec43b9dedc664290aec
2014-11-13coverity#1251604 Uninitialized scalar fieldCaolán McNamara1-1/+2
Change-Id: I34ed719ecc81db924b9ec1ca8f22ffa81246a723
2014-11-13coverity#1251603 Uninitialized scalar fieldCaolán McNamara1-1/+3
Change-Id: I8e8d11ec292b480d7db750733b31b3be233df8b0
2014-11-13coverity#1251602 Uninitialized scalar fieldCaolán McNamara1-0/+5
Change-Id: If14a2214618a750ee4cb97667088c2a68747f3c7
2014-11-13coverity#1251601 Uninitialized pointer fieldCaolán McNamara1-1/+0
Change-Id: I6f3be2f87c533ec75f1e60fbf4e5c541958937c4
2014-11-13coverity#1251593 Unintended sign extensionCaolán McNamara1-1/+1
Change-Id: I4374672040b3c6314c4356abe95ee1fb15f568cf
2014-11-13coverity#1251592 Dereference before null checkCaolán McNamara1-6/+3
Change-Id: Ia69bb21080ab7a42a0b9f9871f72ab696b6098ed
2014-11-13coverity#1251591 Resource leakCaolán McNamara1-7/+6
Change-Id: Ieab948d11da7f56b2273637ff3caaefec86030d1
2014-11-13coverity#1251588 Unchecked dynamic_castCaolán McNamara1-2/+2
Change-Id: Ic6f287b5ee4f4ac3a9674d67b8c15a589405c951
2014-11-13coverity#1251586 Unchecked dynamic_castCaolán McNamara1-2/+3
Change-Id: I5b20fe66da306a742ff2d723cdadfc22b71dafe1
2014-11-13coverity#1251585 Unchecked dynamic_castCaolán McNamara1-2/+2
Change-Id: Iba4d5223a7fc92f4ef6ec6be660f496cc94f5565
2014-11-13coverity#1251584 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I2022c25f821473240a5ff3998249e933ea7fb74d
2014-11-13coverity#1251583 Division or modulo by zeroCaolán McNamara1-3/+3
Change-Id: Ib3cb04305a39d652b188d8cff1d63f85074427a0
2014-11-13coverity#1251581 Copy-paste errorCaolán McNamara1-1/+1
Change-Id: If8a7417f449d6cce2516c93fc759886738ac8d9c
2014-11-13vcl: remove non-existent include and hope that it builds?Michael Stahl1-1/+0
Change-Id: Iabe375773caea89ab631e6b2aa1926e0d39cd19a
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 Holesovsky9-76/+330
Change-Id: I7ee9d7e705bb0344ba59c3edd10ed85390636cd4
2014-11-13vcldemo: add OutputDevice / copyBits test case.Michael Meeks1-10/+58
Change-Id: Ie585daba1d1a1f1dc9f2957c19462a501131d10a
2014-11-13spurious warning C4701: potentially uninitialized local variableMichael Stahl1-2/+2
Change-Id: Ie1353d0251fab6f12b34fbd5d2d25d8b6e3e3c6b
2014-11-13fix missing dependency to glewMarkus Mohrhard2-0/+2
2014-11-13vcl: rename variable in OutputDevice:drawOutDevDirect()Chris Sherlock1-9/+9
pGraphics2 is quite non-descriptive in OutputDevice::drawOutDevDirect(). It's actually the source SalGraphics instance of the source OutputDevice, so rename it to pSrcGraphics which is rather more clear. Change-Id: Iea8aa7410a294e012fccd9d4c8d7ff9c1270aa74
2014-11-13Revert "loplugin:unreffun"Markus Mohrhard1-0/+11
This reverts commit 3e90cc12731eaf149dce83237bfccb88ffbd26a9.
2014-11-13vcldemo: Add some values to the gradient arraysLouis-Francis Ratté-Boulianne1-5/+5
Change-Id: I6c51bce7503866f39e72957752303e4d28145afb
2014-11-13vcl: Fix several coordinates calculationsLouis-Francis Ratté-Boulianne1-9/+9
Change-Id: I15878b4d91081a7ac880713ad278893aaad4a844
2014-11-13vcl: Use stencil mask to clip gradient shapeLouis-Francis Ratté-Boulianne2-30/+50
Change-Id: I5dc17a20ab65f0b0bad4741a7d1ec76a0e028e23
2014-11-13vcl: Use glScissor for rectangular clip regionsLouis-Francis Ratté-Boulianne1-1/+1
Change-Id: I62bf28d854d889242a49146cfe87c3dd6be89c32
2014-11-13vcl: Fix gradient programs attribute bindingLouis-Francis Ratté-Boulianne1-4/+4
Change-Id: I4210f09759824bf9415350262fd07534c9b3a317
2014-11-13vcl: Use scissor or stencil for clipping in OpenGL backendLouis-Francis Ratté-Boulianne3-21/+68
Change-Id: Ib6620572391999d5f8124a1a8695909d6c48643d
2014-11-13vcldemo: Draw mini-view of the whole window in the last rectangleLouis-Francis Ratté-Boulianne1-1/+1
Change-Id: I74e8807e6a4f50b99fdc761bbdbef6e43405a3ed
2014-11-13vcl: Add support for GPU scaling when no rendering is involvedLouis-Francis Ratté-Boulianne4-16/+90
Change-Id: Id5aa4c1e843d286026a7bcd1297670db467dcbbc
2014-11-13vcl: Use new size when scaling with filter in OpenGL backendLouis-Francis Ratté-Boulianne2-5/+12
Change-Id: Ib5d12b0e57b537bbd1798121e80cd517d9c8f751
2014-11-13vcl: Fix memory free bugsLouis-Francis Ratté-Boulianne2-4/+4
Change-Id: Ic8c507014f0b02c7a0baa40f3f48070301604ca4
2014-11-13vcl: Fix the masked texture program attributes bindingLouis-Francis Ratté-Boulianne1-2/+2
Change-Id: Ie7440881f35eaf348aef35beea5a6d407d16a342
2014-11-13vcl: Use single-buffer rendering and only flush when necessaryLouis-Francis Ratté-Boulianne16-25/+66
Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85
2014-11-12vcldemo: render AA polylines and line-caps behind top-left pane.Michael Meeks2-20/+80
Change-Id: If04738469e94069876d035f160d542c04ae8ffa5
2014-11-12vcl: add missing glew.Michael Meeks1-0/+1
Change-Id: I72df4b35b03a94a89df624cb2dcd243bd49774bf
2014-11-12coverity#1213365 Untrusted value as argumentCaolán McNamara1-4/+31
Change-Id: Ic03462f315296cf058600155c54d53f0d712df93
2014-11-12coverity#1213370 Untrusted value as argumentCaolán McNamara1-0/+11
Change-Id: I89e29dd0382c60b0aeadc9f664e8c2784e216f2f
2014-11-12coverity#735657 Division or modulo by float zeroCaolán McNamara1-3/+11
Change-Id: I001cc2b0c8866956d9fffb67f3a30306f9b02e63
2014-11-12windows: Default to large icons, as we do on all other operating systems.Jan Holesovsky1-5/+1
Change-Id: Ifbb7287b5c28de7e23f95b89574ba4196fbb58ac
2014-11-12opengl: Check for error at the end of every method that deals with OpenGL.Jan Holesovsky3-2/+66
Otherwise we will get the report of an error much much later, most probably in a totally unrelated part. Change-Id: I33d3c6d01126f5766beb179eeaeb3276a9078226
2014-11-12windows opengl: Printer still needs WinSalGraphicsImpl.Jan Holesovsky1-1/+1
Change-Id: I298783d5f1c7e825f52eb3d61f45c0c3d3019f04