diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-25 15:31:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-25 17:06:15 +0000 |
commit | daf248bf85f4fa5fc212b6c75cf3b74fb25b3e26 (patch) | |
tree | 6b729a970a8b0dfa3bbbb7eb0c5620bf915bc644 | |
parent | check if reads were successful (diff) | |
download | core-daf248bf85f4fa5fc212b6c75cf3b74fb25b3e26.tar.gz core-daf248bf85f4fa5fc212b6c75cf3b74fb25b3e26.zip |
rename BGRX32 etc to BGRA32
Change-Id: I60e1951fe56e4b00ee0caa142eb0e19dcb6d12b7
-rw-r--r-- | basebmp/source/bitmapdevice.cxx | 8 | ||||
-rw-r--r-- | include/basebmp/rgbmaskpixelformats.hxx | 24 |
2 files changed, 16 insertions, 16 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx index 60ad322fc1cb..a9fe6a1a3fb7 100644 --- a/basebmp/source/bitmapdevice.cxx +++ b/basebmp/source/bitmapdevice.cxx @@ -2092,22 +2092,22 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector& // thirtytwo bit formats case FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA: - return createRenderer<PixelFormatTraits_BGRX32_8888,StdMasks>( + return createRenderer<PixelFormatTraits_BGRA32_8888,StdMasks>( aBounds, rSize, nScanlineFormat, nScanlineStride, pFirstScanline, pMem, pPal, rDamage ); case FORMAT_THIRTYTWO_BIT_TC_MASK_ARGB: - return createRenderer<PixelFormatTraits_XRGB32_8888,StdMasks>( + return createRenderer<PixelFormatTraits_ARGB32_8888,StdMasks>( aBounds, rSize, nScanlineFormat, nScanlineStride, pFirstScanline, pMem, pPal, rDamage ); case FORMAT_THIRTYTWO_BIT_TC_MASK_ABGR: - return createRenderer<PixelFormatTraits_XBGR32_8888,StdMasks>( + return createRenderer<PixelFormatTraits_ABGR32_8888,StdMasks>( aBounds, rSize, nScanlineFormat, nScanlineStride, pFirstScanline, pMem, pPal, rDamage ); case FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA: - return createRenderer<PixelFormatTraits_RGBX32_8888,StdMasks>( + return createRenderer<PixelFormatTraits_RGBA32_8888,StdMasks>( aBounds, rSize, nScanlineFormat, nScanlineStride, pFirstScanline, pMem, pPal, rDamage ); diff --git a/include/basebmp/rgbmaskpixelformats.hxx b/include/basebmp/rgbmaskpixelformats.hxx index eaee275554c2..5d80fae7b4f1 100644 --- a/include/basebmp/rgbmaskpixelformats.hxx +++ b/include/basebmp/rgbmaskpixelformats.hxx @@ -296,9 +296,9 @@ typedef PixelFormatTraitsTemplate_RGBMask< 0x00FF0000, 0x0000FF00, 0x000000FF, - BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_BGRX32_8888; -BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_BGRX32_8888::getter_type, - PixelFormatTraits_BGRX32_8888::setter_type); + BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_BGRA32_8888; +BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_BGRA32_8888::getter_type, + PixelFormatTraits_BGRA32_8888::setter_type); // This one used to be called PixelFormatTraits_BGR32_888. @@ -308,9 +308,9 @@ typedef PixelFormatTraitsTemplate_RGBMask< 0x00FF0000, 0x0000FF00, 0x000000FF, - BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_XRGB32_8888; -BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_XRGB32_8888::getter_type, - PixelFormatTraits_XRGB32_8888::setter_type); + BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_ARGB32_8888; +BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_ARGB32_8888::getter_type, + PixelFormatTraits_ARGB32_8888::setter_type); // The following two ones were added for Android needs and for completeness @@ -320,9 +320,9 @@ typedef PixelFormatTraitsTemplate_RGBMask< 0xFF000000, 0x00FF0000, 0x0000FF00, - BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_XBGR32_8888; -BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_XBGR32_8888::getter_type, - PixelFormatTraits_XBGR32_8888::setter_type); + BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_ABGR32_8888; +BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_ABGR32_8888::getter_type, + PixelFormatTraits_ABGR32_8888::setter_type); typedef PixelFormatTraitsTemplate_RGBMask< sal_uInt32, @@ -330,9 +330,9 @@ typedef PixelFormatTraitsTemplate_RGBMask< 0xFF000000, 0x00FF0000, 0x0000FF00, - BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_RGBX32_8888; -BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_RGBX32_8888::getter_type, - PixelFormatTraits_RGBX32_8888::setter_type); + BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_RGBA32_8888; +BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_RGBA32_8888::getter_type, + PixelFormatTraits_RGBA32_8888::setter_type); // The following hybrid 24bits used out of 32bit was added for Cairo needs |