diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-28 11:34:11 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-08-28 11:34:54 +0100 |
commit | 43cb8fe05bff630331c6137dc6c2b3f2d9df9e64 (patch) | |
tree | bfae1235f85dd33a7353ee84ab663f3df79de794 /vcl/opengl/framebuffer.cxx | |
parent | b051c3716a8275e8ce7cbc4ba233ad5a075d386f (diff) |
tdf#93529 - use debug messages while rendering to break up the trace.
Change-Id: I56629a721202d7a04bd493d4604278dea85b4212
Diffstat (limited to 'vcl/opengl/framebuffer.cxx')
-rw-r--r-- | vcl/opengl/framebuffer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/opengl/framebuffer.cxx b/vcl/opengl/framebuffer.cxx index c4dfb05ae4b1..87af985f4ba4 100644 --- a/vcl/opengl/framebuffer.cxx +++ b/vcl/opengl/framebuffer.cxx @@ -22,7 +22,7 @@ OpenGLFramebuffer::OpenGLFramebuffer() : mpNextFramebuffer( NULL ) { glGenFramebuffers( 1, &mnId ); - SAL_INFO( "vcl.opengl", "Created framebuffer " << (int)mnId ); + VCL_GL_INFO( "vcl.opengl", "Created framebuffer " << (int)mnId ); } OpenGLFramebuffer::~OpenGLFramebuffer() @@ -33,14 +33,14 @@ OpenGLFramebuffer::~OpenGLFramebuffer() void OpenGLFramebuffer::Bind() { glBindFramebuffer( GL_FRAMEBUFFER, mnId ); - SAL_INFO( "vcl.opengl", "Binding framebuffer " << (int)mnId ); + VCL_GL_INFO( "vcl.opengl", "Binding framebuffer " << (int)mnId ); CHECK_GL_ERROR(); } void OpenGLFramebuffer::Unbind() { glBindFramebuffer( GL_FRAMEBUFFER, 0 ); - SAL_INFO( "vcl.opengl", "Binding default framebuffer" ); + VCL_GL_INFO( "vcl.opengl", "Binding default framebuffer" ); CHECK_GL_ERROR(); } @@ -59,7 +59,7 @@ void OpenGLFramebuffer::AttachTexture( const OpenGLTexture& rTexture ) if( rTexture.Id() == mnAttachedTexture ) return; - SAL_INFO( "vcl.opengl", "Attaching texture " << rTexture.Id() << " to framebuffer " << (int)mnId ); + VCL_GL_INFO( "vcl.opengl", "Attaching texture " << rTexture.Id() << " to framebuffer " << (int)mnId ); mnAttachedTexture = rTexture.Id(); mnWidth = rTexture.GetWidth(); mnHeight = rTexture.GetHeight(); |