Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
daf248bf
Kaydet (Commit)
daf248bf
authored
Şub 25, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename BGRX32 etc to BGRA32
Change-Id: I60e1951fe56e4b00ee0caa142eb0e19dcb6d12b7
üst
f974db5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
bitmapdevice.cxx
basebmp/source/bitmapdevice.cxx
+4
-4
rgbmaskpixelformats.hxx
include/basebmp/rgbmaskpixelformats.hxx
+12
-12
No files found.
basebmp/source/bitmapdevice.cxx
Dosyayı görüntüle @
daf248bf
...
...
@@ -2092,22 +2092,22 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
// thirtytwo bit formats
case
FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA
:
return
createRenderer
<
PixelFormatTraits_BGR
X
32_8888
,
StdMasks
>
(
return
createRenderer
<
PixelFormatTraits_BGR
A
32_8888
,
StdMasks
>
(
aBounds
,
rSize
,
nScanlineFormat
,
nScanlineStride
,
pFirstScanline
,
pMem
,
pPal
,
rDamage
);
case
FORMAT_THIRTYTWO_BIT_TC_MASK_ARGB
:
return
createRenderer
<
PixelFormatTraits_
X
RGB32_8888
,
StdMasks
>
(
return
createRenderer
<
PixelFormatTraits_
A
RGB32_8888
,
StdMasks
>
(
aBounds
,
rSize
,
nScanlineFormat
,
nScanlineStride
,
pFirstScanline
,
pMem
,
pPal
,
rDamage
);
case
FORMAT_THIRTYTWO_BIT_TC_MASK_ABGR
:
return
createRenderer
<
PixelFormatTraits_
X
BGR32_8888
,
StdMasks
>
(
return
createRenderer
<
PixelFormatTraits_
A
BGR32_8888
,
StdMasks
>
(
aBounds
,
rSize
,
nScanlineFormat
,
nScanlineStride
,
pFirstScanline
,
pMem
,
pPal
,
rDamage
);
case
FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA
:
return
createRenderer
<
PixelFormatTraits_RGB
X
32_8888
,
StdMasks
>
(
return
createRenderer
<
PixelFormatTraits_RGB
A
32_8888
,
StdMasks
>
(
aBounds
,
rSize
,
nScanlineFormat
,
nScanlineStride
,
pFirstScanline
,
pMem
,
pPal
,
rDamage
);
...
...
include/basebmp/rgbmaskpixelformats.hxx
Dosyayı görüntüle @
daf248bf
...
...
@@ -296,9 +296,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0x00FF0000
,
0x0000FF00
,
0x000000FF
,
BASEBMP_TRUECOLORMASK_LSB_SWAP
>
PixelFormatTraits_BGR
X
32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_BGR
X
32_8888
::
getter_type
,
PixelFormatTraits_BGR
X
32_8888
::
setter_type
);
BASEBMP_TRUECOLORMASK_LSB_SWAP
>
PixelFormatTraits_BGR
A
32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_BGR
A
32_8888
::
getter_type
,
PixelFormatTraits_BGR
A
32_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_
X
RGB32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_
X
RGB32_8888
::
getter_type
,
PixelFormatTraits_
X
RGB32_8888
::
setter_type
);
BASEBMP_TRUECOLORMASK_MSB_SWAP
>
PixelFormatTraits_
A
RGB32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_
A
RGB32_8888
::
getter_type
,
PixelFormatTraits_
A
RGB32_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_
X
BGR32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_
X
BGR32_8888
::
getter_type
,
PixelFormatTraits_
X
BGR32_8888
::
setter_type
);
BASEBMP_TRUECOLORMASK_LSB_SWAP
>
PixelFormatTraits_
A
BGR32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_
A
BGR32_8888
::
getter_type
,
PixelFormatTraits_
A
BGR32_8888
::
setter_type
);
typedef
PixelFormatTraitsTemplate_RGBMask
<
sal_uInt32
,
...
...
@@ -330,9 +330,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0xFF000000
,
0x00FF0000
,
0x0000FF00
,
BASEBMP_TRUECOLORMASK_MSB_SWAP
>
PixelFormatTraits_RGB
X
32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_RGB
X
32_8888
::
getter_type
,
PixelFormatTraits_RGB
X
32_8888
::
setter_type
);
BASEBMP_TRUECOLORMASK_MSB_SWAP
>
PixelFormatTraits_RGB
A
32_8888
;
BASEBMP_SPECIALIZE_ACCESSORTRAITS
(
PixelFormatTraits_RGB
A
32_8888
::
getter_type
,
PixelFormatTraits_RGB
A
32_8888
::
setter_type
);
// The following hybrid 24bits used out of 32bit was added for Cairo needs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment