Searched refs:grCT (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/core/ |
D | SkSurfaceCharacterization.cpp | 22 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/ |
D | GrCaps.cpp | 396 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()
|
D | GrDataUtils.cpp | 751 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()
|
D | GrCaps.h | 412 bool areColorTypeAndFormatCompatible(GrColorType grCT, const GrBackendFormat& format) const;
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 445 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()
|
D | SkImage_GpuBase.h | 41 GrColorType grCT, SkColorType ct, SkAlphaType at,
|
D | SkImage_GpuBase.cpp | 37 GrColorType grCT, SkColorType ct, SkAlphaType at, in ValidateBackendTexture() argument 51 return caps->areColorTypeAndFormatCompatible(grCT, backendFormat); in ValidateBackendTexture()
|
D | SkImage_Gpu.cpp | 156 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/ |
D | ResourceAllocatorTest.cpp | 36 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/ |
D | GrGpu.cpp | 423 GrColorType grCT = SkColorTypeToGrColorType(colorType); in createTestingOnlyBackendTexture() local 425 return this->createTestingOnlyBackendTexture(pixels, w, h, grCT, isRenderTarget, isMipped, in createTestingOnlyBackendTexture()
|
/external/skia/tests/ |
D | ImageTest.cpp | 1076 GrColorType grCT = SkColorTypeToGrColorType(image->colorType()); in DEF_GPUTEST() local 1077 REPORTER_ASSERT(reporter, expectAlpha == GrColorTypeIsAlphaOnly(grCT)); in DEF_GPUTEST()
|