Kaydet (Commit) 7a1cb6c3 authored tarafından Michael Meeks's avatar Michael Meeks

vcl: misc. TODO comment expansion.

Change-Id: Iac9e998c2737a370aff382f8c4ae68af8e59f521
üst 14527345
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment