Home
last modified time | relevance | path

Searched refs:GrSRGBEncoded (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/include/private/
DGrTypesPriv.h962 enum class GrSRGBEncoded : bool { kNo = false, kYes = true }; enum
978 static inline GrSRGBEncoded GrPixelConfigIsSRGBEncoded(GrPixelConfig config) { in GrPixelConfigIsSRGBEncoded()
982 return GrSRGBEncoded::kYes; in GrPixelConfigIsSRGBEncoded()
1003 return GrSRGBEncoded::kNo; in GrPixelConfigIsSRGBEncoded()
1006 return GrSRGBEncoded::kNo; in GrPixelConfigIsSRGBEncoded()
1010 return GrSRGBEncoded::kYes == GrPixelConfigIsSRGBEncoded(config); in GrPixelConfigIsSRGB()
1409 GrSRGBEncoded* srgbEncoded) { in GrPixelConfigToColorTypeAndEncoding()
1415 *srgbEncoded = GrSRGBEncoded::kNo; in GrPixelConfigToColorTypeAndEncoding()
1418 *srgbEncoded = GrSRGBEncoded::kNo; in GrPixelConfigToColorTypeAndEncoding()
1421 *srgbEncoded = GrSRGBEncoded::kNo; in GrPixelConfigToColorTypeAndEncoding()
[all …]
/external/skqp/tests/
DReadWriteAlphaTest.cpp160 GrSRGBEncoded fSRGBEncoded; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 {GrColorType::kRGBA_8888, GrSRGBEncoded::kNo}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
163 {GrColorType::kBGRA_8888, GrSRGBEncoded::kNo}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 {GrColorType::kRGBA_8888, GrSRGBEncoded::kYes}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 {GrColorType::kRGBA_1010102, GrSRGBEncoded::kNo}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp99 for (auto srgbEncoding : {GrSRGBEncoded::kNo, GrSRGBEncoded::kYes}) { in basic_transfer_test()
109 SkASSERT(GrSRGBEncoded::kYes == srgbEncoding); in basic_transfer_test()
DSpecialSurfaceTest.cpp86 GrSRGBEncoded srgbEncoded = GrSRGBEncoded::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTestingBackendTextureUploadTest.cpp30 GrPixelConfig config = GrColorTypeToPixelConfig(ct, GrSRGBEncoded::kNo); in testing_only_texture_test()
DGrSurfaceTest.cpp120 GrSRGBEncoded srgbEncoded = GrSRGBEncoded::kNo; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
207 GrSRGBEncoded srgbEncoded = GrSRGBEncoded::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBReadWritePixelsTest.cpp205 GrSRGBEncoded srgbEncoded = GrSRGBEncoded::kNo; in make_surface_context()
DResourceAllocatorTest.cpp37 GrPixelConfig config = GrColorTypeToPixelConfig(grCT, GrSRGBEncoded::kNo); in make_deferred()
293 GrPixelConfig config = GrColorTypeToPixelConfig(grCT, GrSRGBEncoded::kNo); in make_lazy()
DProxyConversionTest.cpp29 GrSRGBEncoded srgbEncoded; in make_wrapped_rt()
DLazyProxyTest.cpp131 GrSRGBEncoded::kNo); in ClipFP()
220 GrSRGBEncoded::kNo);
DProxyTest.cpp134 GrSRGBEncoded srgbEncoded; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tools/gpu/
DProxyUtils.h18 GrColorType, GrSRGBEncoded, GrSurfaceOrigin,
26 return MakeTextureProxyFromData(context, isRT, width, height, ct, GrSRGBEncoded::kNo, origin, in MakeTextureProxyFromData()
DProxyUtils.cpp18 GrColorType colorType, GrSRGBEncoded srgbEncoded, in MakeTextureProxyFromData()
/external/skqp/src/gpu/ccpr/
DGrCCClipPath.cpp20 GrSRGBEncoded::kNo); in init()
DGrCCAtlas.cpp81 caps.getBackendFormatFromGrColorType(colorType, GrSRGBEncoded::kNo); in GrCCAtlas()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp205 GrPixelConfig config = GrColorTypeToPixelConfig(colorType, GrSRGBEncoded::kNo); in createTestingOnlyBackendTexture()
239 auto config = GrColorTypeToPixelConfig(colorType, GrSRGBEncoded::kNo); in createTestingOnlyBackendRenderTarget()
DGrMockCaps.h100 GrSRGBEncoded srgbEncoded) const override { in getBackendFormatFromGrColorType()
/external/skqp/src/gpu/mtl/
DGrMtlCaps.h79 GrSRGBEncoded srgbEncoded) const override;
DGrMtlGpu.mm423 GrPixelConfig config = GrColorTypeToPixelConfig(colorType, GrSRGBEncoded::kNo);
520 GrPixelConfig config = GrColorTypeToPixelConfig(colorType, GrSRGBEncoded::kNo);
563 GrPixelConfig config = GrColorTypeToPixelConfig(ct, GrSRGBEncoded::kNo);
/external/skqp/src/gpu/vk/
DGrVkCaps.h156 GrSRGBEncoded srgbEncoded) const override;
DGrVkGpu.cpp543 GrSRGBEncoded::kNo))); in uploadTexDataLinear()
605 GrSRGBEncoded::kNo))); in uploadTexDataOptimal()
810 GrSRGBEncoded::kNo))); in uploadTexDataCompressed()
1674 GrPixelConfig config = GrColorTypeToPixelConfig(colorType, GrSRGBEncoded::kNo); in createTestingOnlyBackendTexture()
1729 auto config = GrColorTypeToPixelConfig(ct, GrSRGBEncoded::kNo); in createTestingOnlyBackendRenderTarget()
/external/skqp/src/gpu/
DGrCaps.h310 GrSRGBEncoded srgbEncoded) const = 0;
DGrCaps.cpp312 return this->getBackendFormatFromGrColorType(SkColorTypeToGrColorType(ct), GrSRGBEncoded::kNo); in getBackendFormatFromColorType()
/external/skqp/src/gpu/gl/
DGrGLCaps.h429 GrSRGBEncoded srgbEncoded) const override;
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp187 GrSRGBEncoded::kNo); in onDrawContent()

12