diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-12-31 22:12:59 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-01 10:07:06 +0000 |
commit | 370199fa0f92f29cb75ad50705c71cd871abb2d9 (patch) | |
tree | 3e3f22784f85f5f85962d4f691bd838504f4216b /vcl/opengl | |
parent | 38e6383009aba9ff779ad9d0b4d9c94ed2bce347 (diff) |
vcl: improve OpenGL debugging variously.
Change-Id: I097f1c1fb7fb505b6859289997bff3562fc06ba6
Reviewed-on: https://gerrit.libreoffice.org/21027
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/framebuffer.cxx | 1 | ||||
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/opengl/framebuffer.cxx b/vcl/opengl/framebuffer.cxx index 464662d31709..215eadf1312d 100644 --- a/vcl/opengl/framebuffer.cxx +++ b/vcl/opengl/framebuffer.cxx @@ -29,6 +29,7 @@ OpenGLFramebuffer::OpenGLFramebuffer() : OpenGLFramebuffer::~OpenGLFramebuffer() { glDeleteFramebuffers( 1, &mnId ); + VCL_GL_INFO( "Deleted framebuffer " << (int)mnId ); CHECK_GL_ERROR(); } diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 21ff21147394..7c6664bdd7bd 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -460,9 +460,9 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture() if( maOffscreenTex.GetWidth() != GetWidth() || maOffscreenTex.GetHeight() != GetHeight() ) { + VCL_GL_INFO( "re-size offscreen texture " << maOffscreenTex.Id() ); mpContext->ReleaseFramebuffer( maOffscreenTex ); maOffscreenTex = OpenGLTexture(); - VCL_GL_INFO( "re-size offscreen texture" ); } } |