Home
last modified time | relevance | path

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

1234

/external/skia/tests/
DWrappedSurfaceCopyOnWriteTest.cpp86 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProgramsTest.cpp149 GrColorType ct = GrColorType::kRGBA_8888; in random_render_target_context()
157 rContext, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in random_render_target_context()
256 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in ProgramUnitTest()
261 GrSwizzle swizzle = caps->getReadSwizzle(format, GrColorType::kRGBA_8888); in ProgramUnitTest()
263 GrColorType::kRGBA_8888, kPremul_SkAlphaType}; in ProgramUnitTest()
304 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()
DDefaultPathRendererTest.cpp86 auto rtc = GrSurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr, in run_test()
104 auto rtc = GrSurfaceDrawContext::Make(dContext, GrColorType::kRGBA_8888, nullptr, in run_test()
DGrSurfaceTest.cpp36 auto format = context->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
369 GrColorType::kRGBA_8888); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
392 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
393 GrColorType::kRGBA_8888, write.addr32(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
394 kSize * GrColorTypeBytesPerPixel(GrColorType::kRGBA_8888)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DOnFlushCallbackTest.cpp336 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in getAtlasView()
360 GrSwizzle readSwizzle = caps->getReadSwizzle(format, GrColorType::kRGBA_8888); in getAtlasView()
392 fAtlasView.refProxy(), fAtlasView.origin(), GrColorType::kRGBA_8888, nullptr, in preFlush()
470 rContext, GrColorType::kRGBA_8888, nullptr, in make_upstream_image()
582 dContext, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DLazyProxyTest.cpp210 auto rtc = GrSurfaceDrawContext::Make(ctx.get(), GrColorType::kRGBA_8888, nullptr,
232 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888,
331 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in LazyFailedInstantiationTestOp()
385 auto rtc = GrSurfaceDrawContext::Make(ctx.get(), GrColorType::kRGBA_8888, nullptr,
DProxyConversionTest.cpp64 static constexpr auto kColorType = GrColorType::kRGBA_8888; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRenderTargetContextTest.cpp21 return GrSurfaceDrawContext::Make(rContext, GrColorType::kRGBA_8888, nullptr, in get_rtc()
DProcessorTest.cpp152 context->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
154 GrSwizzle swizzle = context->priv().caps()->getReadSwizzle(format, GrColorType::kRGBA_8888); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
159 context, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kApprox, {1, 1}, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
293 fTestViews[0] = GrProcessorTestData::ViewInfo{view, GrColorType::kRGBA_8888, in init()
543 context, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
908 context, GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DDSLFPTest.cpp45 GrColorType::kRGBA_8888, in test_dsl_fp()
/external/skia/include/gpu/mock/
DGrMockTypes.h92 fConfigOptions[(int)GrColorType::kRGBA_8888].fRenderability = Renderability::kNonMSAA; in GrMockOptions()
93 fConfigOptions[(int)GrColorType::kRGBA_8888].fTexturable = true; in GrMockOptions()
97 fConfigOptions[(int)GrColorType::kBGRA_8888] = fConfigOptions[(int)GrColorType::kRGBA_8888]; in GrMockOptions()
/external/skia/src/gpu/mock/
DGrMockCaps.cpp40 { GrColorType::kRGBA_8888, GrBackendFormat::MakeMock(GrColorType::kRGBA_8888, in getTestingCombinations()
75 { GrColorType::kRGBA_8888, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
DGrMockSurfaceProxy.h16 GrBackendFormat::MakeMock(GrColorType::kRGBA_8888, SkImage::CompressionType::kNone), in GrMockSurfaceProxy()
/external/skia/src/gpu/dawn/
DGrDawnUtil.cpp45 case GrColorType::kRGBA_8888: in GrColorTypeToDawnFormat()
63 *colorType = GrColorType::kRGBA_8888; in GrDawnFormatToGrColorType()
DGrDawnCaps.cpp201 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
202 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
/external/skqp/include/private/
DGrTypesPriv.h1300 kRGBA_8888, enumerator
1319 case GrColorType::kRGBA_8888: return kRGBA_8888_SkColorType; in GrColorTypeToSkColorType()
1341 case kRGBA_8888_SkColorType: return GrColorType::kRGBA_8888; in SkColorTypeToGrColorType()
1360 case GrColorType::kRGBA_8888: return kRGBA_SkColorTypeComponentFlags; in GrColorTypeComponentFlags()
1393 case GrColorType::kRGBA_8888: return 4; in GrColorTypeBytesPerPixel()
1428 return GrColorType::kRGBA_8888; in GrPixelConfigToColorTypeAndEncoding()
1440 return GrColorType::kRGBA_8888; in GrPixelConfigToColorTypeAndEncoding()
1508 case GrColorType::kRGBA_8888: in GrColorTypeToPixelConfig()
/external/skia/include/private/
DGrTypesPriv.h880 kRGBA_8888, enumerator
927 case GrColorType::kRGBA_8888: return kRGBA_8888_SkColorType; in GrColorTypeToSkColorType()
965 case kRGBA_8888_SkColorType: return GrColorType::kRGBA_8888; in SkColorTypeToGrColorType()
998 case GrColorType::kRGBA_8888: return kRGBA_SkColorChannelFlags; in GrColorTypeChannelFlags()
1132 case GrColorType::kRGBA_8888: in GrGetColorTypeDesc()
1224 case GrColorType::kRGBA_8888: return 4; in GrColorTypeBytesPerPixel()
1275 return GrColorType::kRGBA_8888; in GrMaskFormatToColorType()
1363 case GrColorType::kRGBA_8888: return "kRGBA_8888"; in GrColorTypeToStr()
/external/skqp/tests/
DGrMipMappedTest.cpp45 nullptr, kSize, kSize, GrColorType::kRGBA_8888, isRT, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 nullptr, kSize, kSize, GrColorType::kRGBA_8888, false, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
237 nullptr, kSize, kSize, GrColorType::kRGBA_8888, true, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp183 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp162 {GrColorType::kRGBA_8888, GrSRGBEncoded::kNo}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 {GrColorType::kRGBA_8888, GrSRGBEncoded::kYes}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrSurfaceContext.cpp222 GrBackendFormat defaultRGBAFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in readPixels()
226 (GrColorType::kRGBA_8888 == dst.colorType() || in readPixels()
229 (srcColorType == GrColorType::kRGBA_8888 || in readPixels()
243 ? GrColorType::kRGBA_8888 in readPixels()
262 dst = GrPixmap(dst.info().makeColorType(GrColorType::kRGBA_8888), in readPixels()
468 auto rgbaDefaultFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, in internalWritePixels()
475 (src[0].colorType() == GrColorType::kRGBA_8888 || in internalWritePixels()
478 (dstColorType == GrColorType::kRGBA_8888 || in internalWritePixels()
489 tempColorInfo = {GrColorType::kRGBA_8888, in internalWritePixels()
530 srcBase = GrCPixmap(origSrcBase.info().makeColorType(GrColorType::kRGBA_8888), in internalWritePixels()
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp360 info.fFormatColorType = GrColorType::kRGBA_8888; in initFormatTable()
367 constexpr GrColorType ct = GrColorType::kRGBA_8888; in initFormatTable()
670 this->setColorType(GrColorType::kRGBA_8888, { DXGI_FORMAT_R8G8B8A8_UNORM }); in initFormatTable()
1019 : GrColorType::kRGBA_8888, 0 }; in onSupportedReadPixelsColorType()
1075 {GrColorType::kRGBA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1089 {GrColorType::kRGBA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_BC1_UNORM) }, in getTestingCombinations()
/external/skia/gm/
Dlazytiling.cpp35 auto format = dContext->priv().caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, in create_view()
61 GrColorType::kRGBA_8888); in create_view()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1348 info.fDefaultColorType = GrColorType::kRGBA_8888; in initFormatTable()
1377 ctInfo.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1379 this->setColorTypeFormat(GrColorType::kRGBA_8888, GrGLFormat::kRGBA8); in initFormatTable()
1389 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1434 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1656 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1737 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1811 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
1935 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
2006 ioFormat.fColorType = GrColorType::kRGBA_8888; in initFormatTable()
[all …]

1234