diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2016-01-05 16:17:41 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-06 09:17:16 +0000 |
commit | 1479ad1c632a7511468fc5133e4fd747062c376f (patch) | |
tree | c0d919f8d43b480cfd9131a6b385643838078303 /ridljar | |
parent | 3576a87d72dd138d3bb2ce6bbba8df05ca983289 (diff) |
vcl: opengl - Kill the last glErrors on common paths.
Re-work the makeSomeOpenGLContextCurrent logic into a shared function
with the existing AcquireContext logic in the SalOpenGLGraphics impl.
Use an OpenGLVCLContextZone placeholder to do both context and zone
management - to include destructors into the zone.
Fix a number of error cases around SalBitmaps where we did not have
a GL context associated when allocating, and/or freeing textures..
Don't drag a (potentially) slower context around in the
OpenGLSalBitmap when we're going to check / fetch a better VCL
context anyway.
Change-Id: Ibbb2358c47156cd078ad28b6aad4f03af36aaf23
Reviewed-on: https://gerrit.libreoffice.org/21127
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'ridljar')
0 files changed, 0 insertions, 0 deletions