diff options
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 761b405dbb6d..5a7382b5e3fd 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -67,6 +67,10 @@ protected: GLuint mnTransformedMaskedSamplerUniform; GLuint mnTransformedMaskedMaskUniform; + GLuint mnDiffTextureProgram; + GLuint mnDiffTextureUniform; + GLuint mnDiffMaskUniform; + GLuint mnMaskedTextureProgram; GLuint mnMaskedSamplerUniform; GLuint mnMaskSamplerUniform; @@ -96,6 +100,7 @@ protected: bool CreateSolidProgram( void ); bool CreateTextureProgram( void ); bool CreateTransformedTextureProgram( void ); + bool CreateDiffTextureProgram( void ); bool CreateMaskedTextureProgram( void ); bool CreateBlendedTextureProgram( void ); bool CreateTransformedMaskedTextureProgram( void ); @@ -124,6 +129,7 @@ public: void DrawTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted = false ); void DrawTransformedTexture( OpenGLTexture& rTexture, OpenGLTexture& rMask, const basegfx::B2DPoint& rNull, const basegfx::B2DPoint& rX, const basegfx::B2DPoint& rY ); void DrawAlphaTexture( OpenGLTexture& rTexture, const SalTwoRect& rPosAry, bool bInverted = false, bool pPremultiplied = false ); + void DrawTextureDiff( OpenGLTexture& rTexture, OpenGLTexture& rMask, const SalTwoRect& rPosAry, bool bInverted = false ); void DrawTextureWithMask( OpenGLTexture& rTexture, OpenGLTexture& rMask, const SalTwoRect& rPosAry ); void DrawBlendedTexture( OpenGLTexture& rTexture, OpenGLTexture& rMask, OpenGLTexture& rAlpha, const SalTwoRect& rPosAry ); void DrawMask( OpenGLTexture& rTexture, SalColor nMaskColor, const SalTwoRect& rPosAry ); |