diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 11:19:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 12:04:10 +0100 |
commit | 8512e5c2b3617a2c8d77381788c3864db594ce46 (patch) | |
tree | c7fde308b180a2bce971fc80958d8bd28aa123d0 /vcl/source | |
parent | c7f60050da130eaeab11a53142a65b61c92c34a1 (diff) |
reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/bmpfast.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/gdi/bmpfast.cxx b/vcl/source/gdi/bmpfast.cxx index 131686f273b2..3d0a48dfc264 100644 --- a/vcl/source/gdi/bmpfast.cxx +++ b/vcl/source/gdi/bmpfast.cxx @@ -37,7 +37,6 @@ #define FAST_ARGB_BGRA #include <stdlib.h> -static bool bDisableFastBitops = (getenv( "SAL_DISABLE_BITMAPS_OPTS" ) != NULL); typedef unsigned char PIXBYTE; @@ -502,9 +501,6 @@ inline bool ImplConvertFromBitmap( BitmapBuffer& rDst, const BitmapBuffer& rSrc bool ImplFastBitmapConversion( BitmapBuffer& rDst, const BitmapBuffer& rSrc, const SalTwoRect& rTR ) { - if( bDisableFastBitops ) - return false; - // horizontal mirroring not implemented yet if( rTR.mnDestWidth < 0 ) return false; @@ -760,9 +756,6 @@ bool ImplFastBitmapBlending( BitmapWriteAccess& rDstWA, const BitmapReadAccess& rSrcRA, const BitmapReadAccess& rMskRA, const SalTwoRect& rTR ) { - if( bDisableFastBitops ) - return false; - // accelerated blending of paletted bitmaps not implemented yet if( rSrcRA.HasPalette() ) return false; @@ -884,9 +877,6 @@ bool ImplFastBitmapBlending( BitmapWriteAccess& rDstWA, bool ImplFastEraseBitmap( BitmapBuffer& rDst, const BitmapColor& rColor ) { - if( bDisableFastBitops ) - return false; - const sal_uLong nDstFormat = rDst.mnFormat & ~BMP_FORMAT_TOP_DOWN; // erasing a bitmap is often just a byte-wise memory fill |