diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-11-25 10:12:47 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-11-25 10:13:25 +0000 |
commit | 7a1cb6c3953bba26e58af0f292b1e6bf4bc4a61b (patch) | |
tree | c6c12a16acd87d18d9061cca205b5278a5f83578 /vcl | |
parent | 1452734589500a7c4da3ebf0e5946f976ad2e79d (diff) |
vcl: misc. TODO comment expansion.
Change-Id: Iac9e998c2737a370aff382f8c4ae68af8e59f521
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index a794d15e77e4..295ac2356fb6 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -393,7 +393,7 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture() GLfloat fHeight = GetHeight(); SalTwoRect aPosAry(0, 0, fWidth, fHeight, 0,0, fWidth, fHeight); - // TODO: lfrb: User GL_ARB_copy_image? + // TODO: improve performance: lfrb: User GL_ARB_copy_image? OpenGLTexture aNewTex = OpenGLTexture( GetWidth(), GetHeight() ); glFramebufferTexture2D( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, aNewTex.Id(), 0 ); glViewport( 0, 0, GetWidth(), GetHeight() ); @@ -1376,7 +1376,7 @@ void OpenGLSalGraphicsImpl::drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* if( mnLineColor != SALCOLOR_NONE ) { - // TODO Use glMultiDrawElements or primitive restart + // TODO performance: Use glMultiDrawElements or primitive restart BeginSolid( mnLineColor ); for( sal_uInt32 i = 0; i < nPoly; i++ ) DrawLines( pPoints[i], pPtAry[i], true ); @@ -1562,7 +1562,8 @@ void OpenGLSalGraphicsImpl::DoCopyBits( const SalTwoRect& rPosAry, OpenGLSalGrap } SAL_WARN( "vcl.opengl", "*** NOT IMPLEMENTED *** copyBits" ); - // TODO Copy from one FBO to the other (glBlitFramebuffer) + // TODO: Copy from one FBO to the other (glBlitFramebuffer) + // ie. copying from one visible window to another visible window } void OpenGLSalGraphicsImpl::drawBitmap( const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap ) |