Home
last modified time | relevance | path

Searched refs:isAlphaOnly (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/docs/examples/
DPixmap_const_SkImageInfo_const_star.cpp7 SkDebugf("image alpha only = %s\n", image->isAlphaOnly() ? "true" : "false"); in draw()
12 SkDebugf("copy alpha only = %s\n", copy->isAlphaOnly() ? "true" : "false"); in draw()
Dinlinepixmapconstructor.cpp6 SkDebugf("image alpha only = %s\n", image->isAlphaOnly() ? "true" : "false"); in draw()
10 SkDebugf("copy alpha only = %s\n", copy->isAlphaOnly() ? "true" : "false"); in draw()
DImage_isAlphaOnly.cpp9 SkDebugf("alphaOnly = %s\n", image->isAlphaOnly() ? "true" : "false"); in draw()
/external/skqp/src/gpu/
DGrTextureMaker.h29 GrTextureMaker(GrContext* context, int width, int height, bool isAlphaOnly) in GrTextureMaker() argument
30 : INHERITED(context, width, height, isAlphaOnly) {} in GrTextureMaker()
DGrTextureProducer.h109 bool isAlphaOnly() const { return fIsAlphaOnly; } in isAlphaOnly() function
117 GrTextureProducer(GrContext* context, int width, int height, bool isAlphaOnly) in GrTextureProducer() argument
121 , fIsAlphaOnly(isAlphaOnly) {} in GrTextureProducer()
DGrImageTextureMaker.cpp16 : INHERITED(context, client->width(), client->height(), client->isAlphaOnly()) in GrImageTextureMaker()
48 : INHERITED(context, client->width(), client->height(), client->isAlphaOnly()) in GrYUVAImageTextureMaker()
DSkGpuDevice_drawTexture.cpp249 bool canUseTextureCoordsAsLocalCoords = !use_shader(producer->isAlphaOnly(), paint) && !mf; in drawTextureProducerImpl()
303 viewMatrix, std::move(fp), producer->isAlphaOnly(), in drawTextureProducerImpl()
/external/skia/tests/
DImageIsOpaqueTest.cpp73 REPORTER_ASSERT(reporter, image->isAlphaOnly() == false); in DEF_TEST()
77 SkImageInfo::MakeA8(1, 1), (uint8_t*)&pmColors, 1})->isAlphaOnly() == true); in DEF_TEST()
/external/skqp/tests/
DImageIsOpaqueTest.cpp73 REPORTER_ASSERT(reporter, image->isAlphaOnly() == false); in DEF_TEST()
77 SkImageInfo::MakeA8(1, 1), (uint8_t*)&pmColors, 1})->isAlphaOnly() == true); in DEF_TEST()
/external/skia/src/gpu/
DGrColorInfo.h49 bool isAlphaOnly() const { return GrColorTypeIsAlphaOnly(fColorType); } in isAlphaOnly() function
DSkGpuDevice_drawTexture.cpp458 bool canUseTextureCoordsAsLocalCoords = !use_shader(image.isAlphaOnly(), paint) && !mf; in draw_image()
510 if (image.isAlphaOnly()) { in draw_image()
522 image.isAlphaOnly(), in draw_image()
925 if (image->isAlphaOnly()) { in drawEdgeAAImageSet()
DSkGpuDevice.cpp789 if (!info.isAlphaOnly() && (paint->getColor() & 0x00FFFFFF) != 0x00FFFFFF) {
799 if (info.isAlphaOnly()) {
/external/skqp/src/image/
DSkImage.cpp300 bool SkImage::isAlphaOnly() const { in isAlphaOnly() function in SkImage
316 if (SkColorSpace::Equals(colorSpace, target.get()) || this->isAlphaOnly()) { in makeColorSpace()
335 (SkColorSpace::Equals(colorSpace, targetColorSpace.get()) || this->isAlphaOnly())) { in makeColorTypeAndColorSpace()
/external/skia/src/image/
DSkImage.cpp590 bool SkImage::isAlphaOnly() const { return SkColorTypeIsAlphaOnly(fInfo.colorType()); } in isAlphaOnly() function in SkImage
617 (SkColorSpace::Equals(colorSpace, targetColorSpace.get()) || this->isAlphaOnly())) { in makeColorTypeAndColorSpace()
637 if (SkColorSpace::Equals(colorSpace, target.get()) || this->isAlphaOnly()) { in reinterpretColorSpace()
/external/skqp/src/shaders/
DSkImageShader.cpp227 bool isAlphaOnly = GrPixelConfigIsAlphaOnly(config); in asFragmentProcessor() local
250 if (isAlphaOnly) { in asFragmentProcessor()
/external/skqp/include/core/
DSkImage.h649 bool isAlphaOnly() const;
/external/skia/include/core/
DSkImage.h652 bool isAlphaOnly() const;
/external/skia/src/pdf/
DSkPDFShader.cpp324 if (img->isAlphaOnly()) { in adjust_color()
DSkPDFDevice.cpp1484 if (imageSubset.image()->isAlphaOnly() && paint->getColorFilter()) { in internalDrawImageRect()
1500 SkASSERT(!imageSubset.image()->isAlphaOnly()); in internalDrawImageRect()
1503 if (imageSubset.image()->isAlphaOnly()) { in internalDrawImageRect()
/external/skqp/src/pdf/
DSkPDFShader.cpp320 if (img->isAlphaOnly()) { in adjust_color()
DSkPDFDevice.cpp1834 if (imageSubset.image()->isAlphaOnly() && paint.getColorFilter()) { in internalDrawImageRect()
1848 SkASSERT(!imageSubset.image()->isAlphaOnly()); in internalDrawImageRect()
1851 if (imageSubset.image()->isAlphaOnly()) { in internalDrawImageRect()
/external/skqp/docs/
DSkImage_Reference.bmh925 #Method bool isAlphaOnly() const
933 SkDebugf("alphaOnly = %s\n", image->isAlphaOnly() ? "true" : "false");
965 #SeeAlso alphaType isAlphaOnly
DSkPixmap_Reference.bmh71 SkDebugf("image alpha only = %s\n", image->isAlphaOnly() ? "true" : "false");
76 SkDebugf("copy alpha only = %s\n", copy->isAlphaOnly() ? "true" : "false");
/external/skqp/src/core/
DSkBitmapDevice.cpp678 if (clipImage->isAlphaOnly() && totalMatrix.invert(&totalInverse)) { in drawSpecial()
/external/skia/src/shaders/
DSkImageShader.cpp342 if (fImage->isAlphaOnly()) { in asFragmentProcessor()

12