Home
last modified time | relevance | path

Searched refs:kRGBA_8888 (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/flutter/skia/include/gpu/mock/
DGrMockTypes.h81 fConfigOptions[(int)GrColorType::kRGBA_8888].fRenderability = Renderability::kNonMSAA; in GrMockOptions()
82 fConfigOptions[(int)GrColorType::kRGBA_8888].fTexturable = true; in GrMockOptions()
86 fConfigOptions[(int)GrColorType::kBGRA_8888] = fConfigOptions[(int)GrColorType::kRGBA_8888]; in GrMockOptions()
/third_party/skia/tests/
DProgramsTest.cpp144 GrColorType ct = GrColorType::kRGBA_8888; in random_surface_draw_context()
152 rContext, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in random_surface_draw_context()
251 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in ProgramUnitTest()
256 GrSwizzle swizzle = caps->getReadSwizzle(format, GrColorType::kRGBA_8888); in ProgramUnitTest()
258 GrColorType::kRGBA_8888, kPremul_SkAlphaType}; in ProgramUnitTest()
299 direct, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in ProgramUnitTest()
DProxyRefTest.cpp29 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in make_deferred()
40 {kWidthHeight, kWidthHeight}, GrColorType::kRGBA_8888, GrRenderable::kYes, 1, in make_wrapped()
DDMSAATest.cpp89 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr,
120 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr,
144 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr,
169 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr,
DGrSurfaceTest.cpp36 auto format = context->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
368 GrColorType::kRGBA_8888); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
393 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
394 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
396 kSize*GrColorTypeBytesPerPixel(GrColorType::kRGBA_8888)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDefaultPathRendererTest.cpp87 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr, in run_test()
106 auto sdc = skgpu::v1::SurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr, in run_test()
DLazyProxyTest.cpp222 auto sdc = skgpu::v1::SurfaceDrawContext::Make(ctx.get(), GrColorType::kRGBA_8888, nullptr,
245 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888,
349 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in LazyFailedInstantiationTestOp()
408 auto sdc = skgpu::v1::SurfaceDrawContext::Make(ctx.get(), GrColorType::kRGBA_8888, nullptr,
DWrappedSurfaceCopyOnWriteTest.cpp85 GrImageInfo info(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 GrImageInfo ii(GrColorType::kRGBA_8888, kPremul_SkAlphaType, /*color space*/ nullptr, 10, 10); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnCaps.cpp59 case GrColorType::kRGBA_8888: in onGetConfigFromBackendFormat()
117 case GrColorType::kRGBA_8888: in isFormatTexturableAndUploadable()
201 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(dawn::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
202 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(dawn::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
/third_party/skia/include/gpu/mock/
DGrMockTypes.h101 fConfigOptions[(int)GrColorType::kRGBA_8888].fRenderability = Renderability::kNonMSAA; in GrMockOptions()
102 fConfigOptions[(int)GrColorType::kRGBA_8888].fTexturable = true; in GrMockOptions()
106 fConfigOptions[(int)GrColorType::kBGRA_8888] = fConfigOptions[(int)GrColorType::kRGBA_8888]; in GrMockOptions()
/third_party/flutter/skia/tests/
DGrSurfaceTest.cpp35 auto format = context->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
62 backendTex, 1, GrColorType::kRGBA_8888, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
389 auto proxy = proxyProvider->wrapBackendTexture(backendTex, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
393 auto surfContext = context->priv().makeWrappedSurfaceContext(proxy, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
417 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
418 GrColorType::kRGBA_8888, write.addr32(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
419 kSize * GrColorTypeBytesPerPixel(GrColorType::kRGBA_8888)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
443 proxy = proxyProvider->wrapBackendTexture(backendTex, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
466 backendTexture, 1, GrColorType::kRGBA_8888, kBorrow_GrWrapOwnership, in make_wrapped_texture()
470 backendTexture, GrColorType::kRGBA_8888, kBorrow_GrWrapOwnership, in make_wrapped_texture()
[all …]
DLazyProxyTest.cpp213 SkBackingFit::kExact, 100, 100, GrColorType::kRGBA_8888, nullptr);
237 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888,
329 ctx->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in LazyFailedInstantiationTestOp()
379 SkBackingFit::kExact, 100, 100, GrColorType::kRGBA_8888, nullptr);
444 ctx->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888,
450 SkBackingFit::kExact, 100, 100, GrColorType::kRGBA_8888, nullptr);
473 rp->wrapBackendTexture(backendTex, GrColorType::kRGBA_8888, in __anon01e33c420402()
DRectangleTextureTest.cpp163 rectangleTex, GrColorType::kRGBA_8888, origin, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
181 test_basic_draw_as_src(reporter, context, rectProxy, GrColorType::kRGBA_8888, refPixels); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
184 test_copy_from_surface(reporter, context, rectProxy.get(), GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
188 std::move(rectProxy), GrColorType::kRGBA_8888, kPremul_SkAlphaType); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp160 backendTex, kBottomLeft_GrSurfaceOrigin, GrColorType::kRGBA_8888, kPremul_SkAlphaType, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
182 backendTex, kBottomLeft_GrSurfaceOrigin, 1, GrColorType::kRGBA_8888, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
196 GrColorType::kRGBA_8888, pixels.get(), "EGLImageTest-copy"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGLProgramsTest.cpp151 GrColorType ct = GrColorType::kRGBA_8888; in random_render_target_context()
162 GrColorType::kRGBA_8888, in random_render_target_context()
275 context->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in ProgramUnitTest()
330 GrColorType::kRGBA_8888, in ProgramUnitTest()
DDefaultPathRendererTest.cpp88 GrColorType::kRGBA_8888, nullptr); in run_test()
106 SkBackingFit::kExact, kBigSize, kBigSize, GrColorType::kRGBA_8888, nullptr); in run_test()
DProxyRefTest.cpp46 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in make_deferred()
57 {kWidthHeight, kWidthHeight}, GrColorType::kRGBA_8888, GrRenderable::kYes, 1, in make_wrapped()
DResourceAllocatorTest.cpp152 const GrColorType kRGBA = GrColorType::kRGBA_8888; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
179 auto beFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
309 texParams.fColorType = GrColorType::kRGBA_8888; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
363 const ProxyParams params = { 64, GrRenderable::kNo, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/mock/
DGrMockCaps.cpp55 { GrColorType::kRGBA_8888, GrBackendFormat::MakeMock(GrColorType::kRGBA_8888, in getTestingCombinations()
90 { GrColorType::kRGBA_8888, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
/third_party/skia/src/gpu/dawn/
DGrDawnUtil.cpp45 case GrColorType::kRGBA_8888: in GrColorTypeToDawnFormat()
63 *colorType = GrColorType::kRGBA_8888; in GrDawnFormatToGrColorType()
/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.cpp117 GrBackendFormat defaultRGBAFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in readPixels()
120 (GrColorType::kRGBA_8888 == dstInfo.colorType() || in readPixels()
134 GrColorType colorType = canvas2DFastPath ? GrColorType::kRGBA_8888 in readPixels()
153 dstInfo = dstInfo.makeColorType(GrColorType::kRGBA_8888); in readPixels()
272 auto rgbaDefaultFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in writePixels()
278 (srcInfo.colorType() == GrColorType::kRGBA_8888 || in writePixels()
296 colorType = GrColorType::kRGBA_8888; in writePixels()
334 srcInfo = srcInfo.makeColorType(GrColorType::kRGBA_8888); in writePixels()
/third_party/flutter/skia/src/gpu/mock/
DGrMockCaps.cpp17 { GrColorType::kRGBA_8888, GrBackendFormat::MakeMock(GrColorType::kRGBA_8888) }, in getTestingCombinations()
/third_party/flutter/skia/include/private/
DGrTypesPriv.h1105 kRGBA_8888, enumerator
1143 case GrColorType::kRGBA_8888: return kRGBA_8888_SkColorType; in GrColorTypeToSkColorType()
1173 case kRGBA_8888_SkColorType: return GrColorType::kRGBA_8888; in SkColorTypeToGrColorType()
1198 case GrColorType::kRGBA_8888: return kRGBA_SkColorTypeComponentFlags; in GrColorTypeComponentFlags()
1323 case GrColorType::kRGBA_8888: in GrGetColorTypeDesc()
1397 case GrColorType::kRGBA_8888: return 4; in GrColorTypeBytesPerPixel()
1433 return GrColorType::kRGBA_8888; in GrPixelConfigToColorType()
1492 case GrColorType::kRGBA_8888: return kRGBA_8888_GrPixelConfig; in GrColorTypeToPixelConfig()
1598 case GrColorType::kRGBA_8888: return "kRGBA_8888"; in GrColorTypeToStr()
/third_party/skia/include/private/
DGrTypesPriv.h860 kRGBA_8888, enumerator
907 case GrColorType::kRGBA_8888: return kRGBA_8888_SkColorType; in GrColorTypeToSkColorType()
944 case kRGBA_8888_SkColorType: return GrColorType::kRGBA_8888; in SkColorTypeToGrColorType()
972 case GrColorType::kRGBA_8888: return kRGBA_SkColorChannelFlags; in GrColorTypeChannelFlags()
1106 case GrColorType::kRGBA_8888: in GrGetColorTypeDesc()
1198 case GrColorType::kRGBA_8888: return 4; in GrColorTypeBytesPerPixel()
1250 return GrColorType::kRGBA_8888; in GrMaskFormatToColorType()
1313 case GrColorType::kRGBA_8888: return "kRGBA_8888"; in GrColorTypeToStr()
/third_party/skia/src/gpu/
DSurfaceContext.cpp119 GrBackendFormat defaultRGBAFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in readPixels()
123 (GrColorType::kRGBA_8888 == dst.colorType() || in readPixels()
126 (srcColorType == GrColorType::kRGBA_8888 || in readPixels()
145 ? GrColorType::kRGBA_8888 in readPixels()
164 dst = GrPixmap(dst.info().makeColorType(GrColorType::kRGBA_8888), in readPixels()
373 auto rgbaDefaultFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in internalWritePixels()
380 (src[0].colorType() == GrColorType::kRGBA_8888 || in internalWritePixels()
383 (dstColorType == GrColorType::kRGBA_8888 || in internalWritePixels()
400 tempColorInfo = {GrColorType::kRGBA_8888, in internalWritePixels()
441 srcBase = GrCPixmap(origSrcBase.info().makeColorType(GrColorType::kRGBA_8888), in internalWritePixels()

123456