Home
last modified time | relevance | path

Searched refs:isOpaque (Results 1 – 25 of 173) sorted by relevance

1234567

/external/chromium_org/third_party/skia/tests/
DShaderOpacityTest.cpp23 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
33 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
41 REPORTER_ASSERT(reporter, shader->isOpaque()); in test_bitmap()
49 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
70 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient()
78 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
86 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
94 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
101 REPORTER_ASSERT(reporter, !colorShader1.isOpaque()); in test_color()
103 REPORTER_ASSERT(reporter, colorShader2.isOpaque()); in test_color()
[all …]
DBitmapCopyTest.cpp24 gColorTypeName[src.colorType()], src.isOpaque(), in report_opaqueness()
25 gColorTypeName[dst.colorType()], dst.isOpaque()); in report_opaqueness()
41 if (srcPremul.isOpaque() != dst.isOpaque()) { in test_isOpaque()
48 if (srcOpaque.isOpaque() != dst.isOpaque()) { in test_isOpaque()
/external/skia/tests/
DShaderOpacityTest.cpp23 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
33 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
41 REPORTER_ASSERT(reporter, shader->isOpaque()); in test_bitmap()
49 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
70 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient()
78 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
86 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
94 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
101 REPORTER_ASSERT(reporter, !colorShader1.isOpaque()); in test_color()
103 REPORTER_ASSERT(reporter, colorShader2.isOpaque()); in test_color()
[all …]
DBitmapCopyTest.cpp24 gColorTypeName[src.colorType()], src.isOpaque(), in report_opaqueness()
25 gColorTypeName[dst.colorType()], dst.isOpaque()); in report_opaqueness()
41 if (srcPremul.isOpaque() != dst.isOpaque()) { in test_isOpaque()
48 if (srcOpaque.isOpaque() != dst.isOpaque()) { in test_isOpaque()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageLayerChromiumTest.cpp48 static PassRefPtr<TestImage> create(const IntSize& size, bool isOpaque) in create() argument
50 return adoptRef(new TestImage(size, isOpaque)); in create()
53 explicit TestImage(const IntSize& size, bool isOpaque) in TestImage() argument
58 bitmap.allocN32Pixels(size.width(), size.height(), isOpaque); in TestImage()
69 return m_nativeImage->bitmap().isOpaque(); in currentFrameKnownToBeOpaque()
/external/skia/src/pdf/
DSkPDFImage.cpp65 bool* isOpaque, in extract_argb4444_data() argument
86 *isOpaque &= dst[0] == SK_AlphaOPAQUE; in extract_argb4444_data()
102 *isOpaque &= dst[0] == (SK_AlphaOPAQUE & 0xF0); in extract_argb4444_data()
138 bool* isOpaque, in extract_argb8888_data() argument
155 *isOpaque &= dst[0] == SK_AlphaOPAQUE; in extract_argb8888_data()
171 bool* isOpaque, in extract_a8_alpha() argument
182 *isOpaque &= alphaDst[0] == SK_AlphaOPAQUE; in extract_a8_alpha()
220 bool isOpaque = true; in extract_image_data() local
233 &isOpaque, &transparent); in extract_image_data()
242 &isOpaque, &transparent); in extract_image_data()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkPaintPriv.cpp21 return bmpReplacesShader ? bmpReplacesShader->isOpaque() : true; in isPaintOpaque()
38 if (!bmpReplacesShader->isOpaque()) { in isPaintOpaque()
41 } else if (paint->getShader() && !paint->getShader()->isOpaque()) { in isPaintOpaque()
DSkBlitMask.h65 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);
71 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
/external/skia/src/core/
DSkPaintPriv.cpp21 return bmpReplacesShader ? bmpReplacesShader->isOpaque() : true; in isPaintOpaque()
38 if (!bmpReplacesShader->isOpaque()) { in isPaintOpaque()
41 } else if (paint->getShader() && !paint->getShader()->isOpaque()) { in isPaintOpaque()
DSkBlitMask.h65 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);
71 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
/external/qemu/android/skin/
Dcomposer.c83 if (p->any.isOpaque) in skin_plate_get_opaque_region()
167 skin_plate_set_opaque( SkinPlate* p, int isOpaque ) in skin_plate_set_opaque() argument
169 isOpaque = !!isOpaque; in skin_plate_set_opaque()
170 if (isOpaque == p->any.isOpaque) in skin_plate_set_opaque()
175 p->any.isOpaque = isOpaque; in skin_plate_set_opaque()
196 p->any.isOpaque = 1; in skin_plate_surface()
317 if (!plate->any.isOpaque) in skin_plate_redraw()
Dcomposer.h36 char isOpaque; /* flag: TRUE iff the region is opaque */ member
87 extern void skin_plate_set_opaque( SkinPlate* plate, int isOpaque );
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFImage.cpp66 bool* isOpaque, in extract_argb4444_data() argument
87 *isOpaque &= dst[0] == SK_AlphaOPAQUE; in extract_argb4444_data()
103 *isOpaque &= dst[0] == (SK_AlphaOPAQUE & 0xF0); in extract_argb4444_data()
139 bool* isOpaque, in extract_argb8888_data() argument
156 *isOpaque &= dst[0] == SK_AlphaOPAQUE; in extract_argb8888_data()
172 bool* isOpaque, in extract_a8_alpha() argument
183 *isOpaque &= alphaDst[0] == SK_AlphaOPAQUE; in extract_a8_alpha()
221 bool isOpaque = true; in extract_image_data() local
234 &isOpaque, &transparent); in extract_image_data()
243 &isOpaque, &transparent); in extract_image_data()
[all …]
/external/chromium_org/third_party/skia/src/image/
DSkImage_Gpu.cpp34 virtual bool isOpaque() const SK_OVERRIDE;
77 bool SkImage_Gpu::isOpaque() const { in isOpaque() function in SkImage_Gpu
78 return fBitmap.isOpaque(); in isOpaque()
DSkImage_Raster.cpp72 virtual bool isOpaque() const SK_OVERRIDE;
224 bool SkImage_Raster::isOpaque() const { in isOpaque() function in SkImage_Raster
225 return fBitmap.isOpaque(); in isOpaque()
/external/chromium_org/third_party/skia/src/opts/
DSkBlitMask_opts_arm.cpp40 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
41 if (isOpaque) { in PlatformBlitRowProcs16()
DSkBitmapProcState_opts_mips_dsp.cpp374 bool isOpaque = 256 == fAlphaScale; in platformProcs() local
386 if (isOpaque) { in platformProcs()
/external/skia/src/opts/
DSkBlitMask_opts_arm.cpp40 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
41 if (isOpaque) { in PlatformBlitRowProcs16()
/external/skia/include/core/
DSkDevice.h77 virtual bool isOpaque() const { in isOpaque() function
78 return this->imageInfo().isOpaque(); in isOpaque()
87 bool isOpaque() const { in isOpaque() function
88 return this->imageInfo().isOpaque(); in isOpaque()
/external/chromium_org/third_party/skia/samplecode/
DSampleTinyBitmap.cpp59 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument
61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
/external/skia/samplecode/
DSampleTinyBitmap.cpp59 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument
61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
/external/skia/bench/
DShaderMaskBench.cpp41 ShaderMaskBench(bool isOpaque, FontQuality fq) { in ShaderMaskBench() argument
47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench()
/external/chromium_org/ui/message_center/cocoa/
Dopaque_views.mm9 - (BOOL)isOpaque { method
53 - (BOOL)isOpaque { method
/external/chromium_org/third_party/skia/bench/
DShaderMaskBench.cpp41 ShaderMaskBench(bool isOpaque, FontQuality fq) { in ShaderMaskBench() argument
47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench()
/external/chromium_org/third_party/skia/include/core/
DSkBitmap.h184 bool isOpaque() const { in isOpaque() function
266 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) {
268 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
272 SK_ALLOCPIXELS_RETURN_TYPE allocN32Pixels(int width, int height, bool isOpaque = false) {
274 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);

1234567