Home
last modified time | relevance | path

Searched refs:grCT (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkSurfaceCharacterization.cpp22 GrColorType grCT = SkColorTypeToGrColorType(this->colorType()); in validate() local
23 SkASSERT(fSampleCnt && caps->isFormatAsColorTypeRenderable(grCT, fBackendFormat, fSampleCnt)); in validate()
25 SkASSERT(caps->areColorTypeAndFormatCompatible(grCT, fBackendFormat)); in validate()
/external/skia/src/gpu/
DGrCaps.cpp396 bool GrCaps::areColorTypeAndFormatCompatible(GrColorType grCT, in areColorTypeAndFormatCompatible() argument
398 if (GrColorType::kUnknown == grCT) { in areColorTypeAndFormatCompatible()
404 return grCT == (SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in areColorTypeAndFormatCompatible()
408 return this->onAreColorTypeAndFormatCompatible(grCT, format); in areColorTypeAndFormatCompatible()
DGrDataUtils.cpp751 GrColorType grCT = SkColorTypeToGrColorType(skCT); in SkColorTypeAndFormatToGrColorType() local
755 if (grCT != GrColorType::kRGBA_8888) { in SkColorTypeAndFormatToGrColorType()
758 grCT = GrColorType::kRGBA_8888_SRGB; in SkColorTypeAndFormatToGrColorType()
760 return grCT; in SkColorTypeAndFormatToGrColorType()
DGrCaps.h412 bool areColorTypeAndFormatCompatible(GrColorType grCT, const GrBackendFormat& format) const;
/external/skia/src/image/
DSkSurface_Gpu.cpp445 int sampleCnt, GrColorType grCT, in validate_backend_texture() argument
456 if (!caps->areColorTypeAndFormatCompatible(grCT, backendFormat)) { in validate_backend_texture()
460 if (!caps->isFormatAsColorTypeRenderable(grCT, backendFormat, sampleCnt)) { in validate_backend_texture()
601 GrColorType grCT) { in validate_backend_render_target() argument
602 if (!caps->areColorTypeAndFormatCompatible(grCT, rt.getBackendFormat())) { in validate_backend_render_target()
606 if (!caps->isFormatAsColorTypeRenderable(grCT, rt.getBackendFormat(), rt.sampleCnt())) { in validate_backend_render_target()
DSkImage_GpuBase.h41 GrColorType grCT, SkColorType ct, SkAlphaType at,
DSkImage_GpuBase.cpp37 GrColorType grCT, SkColorType ct, SkAlphaType at, in ValidateBackendTexture() argument
51 return caps->areColorTypeAndFormatCompatible(grCT, backendFormat); in ValidateBackendTexture()
DSkImage_Gpu.cpp156 GrColorType grCT = SkColorTypeAndFormatToGrColorType(caps, this->colorType(), format); in SkImage_Gpu() local
158 caps->areColorTypeAndFormatCompatible(grCT, format)); in SkImage_Gpu()
181 GrColorType grCT = SkColorTypeAndFormatToGrColorType(caps, this->colorType(), format); in SkImage_Gpu() local
183 caps->areColorTypeAndFormatCompatible(grCT, format)); in SkImage_Gpu()
/external/skqp/tests/
DResourceAllocatorTest.cpp36 GrColorType grCT = SkColorTypeToGrColorType(p.fColorType); in make_deferred() local
37 GrPixelConfig config = GrColorTypeToPixelConfig(grCT, GrSRGBEncoded::kNo); in make_deferred()
292 GrColorType grCT = SkColorTypeToGrColorType(p.fColorType); in make_lazy() local
293 GrPixelConfig config = GrColorTypeToPixelConfig(grCT, GrSRGBEncoded::kNo); in make_lazy()
/external/skqp/src/gpu/
DGrGpu.cpp423 GrColorType grCT = SkColorTypeToGrColorType(colorType); in createTestingOnlyBackendTexture() local
425 return this->createTestingOnlyBackendTexture(pixels, w, h, grCT, isRenderTarget, isMipped, in createTestingOnlyBackendTexture()
/external/skia/tests/
DImageTest.cpp1076 GrColorType grCT = SkColorTypeToGrColorType(image->colorType()); in DEF_GPUTEST() local
1077 REPORTER_ASSERT(reporter, expectAlpha == GrColorTypeIsAlphaOnly(grCT)); in DEF_GPUTEST()