summaryrefslogtreecommitdiff
path: root/vcl/opengl/framebuffer.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-08-28 11:34:11 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-08-28 11:34:54 +0100
commit43cb8fe05bff630331c6137dc6c2b3f2d9df9e64 (patch)
treebfae1235f85dd33a7353ee84ab663f3df79de794 /vcl/opengl/framebuffer.cxx
parentb051c3716a8275e8ce7cbc4ba233ad5a075d386f (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.cxx8
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();