Kaydet (Commit) 09f4a21d authored tarafından Caolán McNamara's avatar Caolán McNamara

this drawAlphaBitmap variant is unused

Change-Id: Id2f9073969babe7ad5984f87949ed870f9d5a8f7
üst 10a5e136
......@@ -293,11 +293,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE;
/** Render 32-bits bitmap with alpha channel */
virtual bool drawAlphaBitmap(
const SalTwoRect&,
const SalBitmap& rBitmap ) SAL_OVERRIDE;
/** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
......
......@@ -193,11 +193,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) = 0;
/** Render 32-bits bitmap with alpha channel */
virtual bool drawAlphaBitmap(
const SalTwoRect&,
const SalBitmap& rBitmap ) = 0;
/** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
......
......@@ -1662,22 +1662,6 @@ bool OpenGLSalGraphicsImpl::drawAlphaBitmap(
return true;
}
bool OpenGLSalGraphicsImpl::drawAlphaBitmap(
const SalTwoRect& rPosAry,
const SalBitmap& rSalBitmap )
{
const OpenGLSalBitmap& rBitmap = static_cast<const OpenGLSalBitmap&>(rSalBitmap);
OpenGLTexture& rTexture( rBitmap.GetTexture() );
SAL_INFO( "vcl.opengl", "::drawAlphaBitmap" );
PreDraw();
DrawAlphaTexture( rTexture, rPosAry );
PostDraw();
CHECK_GL_ERROR();
return true;
}
/** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */
bool OpenGLSalGraphicsImpl::drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
......
......@@ -950,12 +950,6 @@ bool X11SalGraphicsImpl::drawAlphaBitmap( const SalTwoRect& rTR,
return true;
}
bool X11SalGraphicsImpl::drawAlphaBitmap( const SalTwoRect& /*rTR*/,
const SalBitmap& /*rBitmap*/ )
{
return false;
}
bool X11SalGraphicsImpl::drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,
......
......@@ -254,10 +254,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE;
virtual bool drawAlphaBitmap(
const SalTwoRect&,
const SalBitmap& rBitmap ) SAL_OVERRIDE;
/** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
......
......@@ -201,11 +201,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE;
/** Render 32-bits bitmap with alpha channel */
virtual bool drawAlphaBitmap(
const SalTwoRect&,
const SalBitmap& ) SAL_OVERRIDE {return false;}
/** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
......
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