summaryrefslogtreecommitdiff
path: root/vcl/opengl/scale.cxx
AgeCommit message (Collapse)Author
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-04-01loplugin:staticfunctionNoel Grandin
Change-Id: I909cf7e77f9d7194575636248196fda311fffdb6
2015-01-27when drawing a transformed bitmap in opengl backend, scale it betterLuboš Luňák
The plain scaling is rather rough, and in fact drawing a scaled bitmap the normal way gives much better results (because OutputDevice pre-scales the bitmap before it's drawn). This one may be a bit slow perhaps, but hopefully nobody there's no code that'd extensively use bitmap drawing with custom transformations (wishful thinking). Change-Id: I83e05307adfaeac0ed0757f1a0b2603f64caf8f8
2015-01-19"area" scaling for opengl that has good results for downscalingLuboš Luňák
Change-Id: I0e4ad776cbf31f9a130aedf0f9741927560b5ac1
2015-01-12opengl scaling can also handle the generic aliasesLuboš Luňák
Was missing from 82bc764bc9, without this opengl scaling wasn't used for these. Change-Id: If853435b12383e799afe2f057c43263b2d2297fa
2014-12-15do not hardcode what specific "generic" bitmap scaling operations useLuboš Luňák
I.e. make it possible for the opengl backend to decide to use a different scaling algorithm. Change-Id: I36e76de071797129c7636b3048c93bc6e5d93aca
2014-12-11vcl: Reset data buffer after resizing bitmap on GPULouis-Francis Ratté-Boulianne
Change-Id: I516cdbc466f3d6427e36fea8c5cdbe718ce7d0ea
2014-12-02vcl: Only load OpenGL shaders once for each contextLouis-Francis Ratté-Boulianne
Change-Id: Idbf9026c5e64ef41d4c913153dfddf36923ff7de
2014-12-02vcl: Use the current OpenGL context for VirtualDevice and Bitmap if possibleLouis-Francis Ratté-Boulianne
Conflicts: include/vcl/opengl/OpenGLContext.hxx vcl/inc/openglgdiimpl.hxx vcl/opengl/gdiimpl.cxx vcl/opengl/x11/gdiimpl.cxx vcl/source/opengl/OpenGLContext.cxx Change-Id: I17f6ce66fb8b5bc027d35b4016ae56c24ee0a738
2014-11-22vcl: Update current context before executing scale operationLouis-Francis Ratté-Boulianne
Change-Id: I332c954259bdc7e34718449023f5aa82323987cc
2014-11-18vcl: since we share Bitmaps across all GLContexts simplify lifecycle.Michael Meeks
~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: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
2014-11-15vcl: Improve OpenGLTexture implementation by allowing implicit sharingLouis-Francis Ratté-Boulianne
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: I6421265325e72023d1affe671d75488185772786
2014-11-13vcl: Use new size when scaling with filter in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ib5d12b0e57b537bbd1798121e80cd517d9c8f751
2014-11-12opengl: Check for error at the end of every method that deals with OpenGL.Jan Holesovsky
Otherwise we will get the report of an error much much later, most probably in a totally unrelated part. Change-Id: I33d3c6d01126f5766beb179eeaeb3276a9078226
2014-11-11vcl: avoid opengl kernel creation writing over its buffers.Michael Meeks
Change-Id: I90486137323afc03a23afa6c18c27840fe8456e1
2014-11-10vcl: Add a way to resize an image using the GPULouis-Francis Ratté-Boulianne
Change-Id: I949e13277fa176d64d7fba9a57e3ca6f3f0dd732