Home
last modified time | relevance | path

Searched refs:kRGBA_8888_GrPixelConfig (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/include/gpu/
DGrTypes.h295 kRGBA_8888_GrPixelConfig, enumerator
343 static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
351 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIs8888Unorm()
384 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsSRGB()
402 return kRGBA_8888_GrPixelConfig; in GrPixelConfigSwapRAndB()
403 case kRGBA_8888_GrPixelConfig: in GrPixelConfigSwapRAndB()
434 case kRGBA_8888_GrPixelConfig: in GrBytesPerPixel()
462 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsOpaque()
485 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsAlphaOnly()
511 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsFloatingPoint()
[all …]
/external/skia/include/gpu/mock/
DGrMockTypes.h25 fConfigOptions[kRGBA_8888_GrPixelConfig].fRenderable[0] = true; in GrMockOptions()
26 fConfigOptions[kRGBA_8888_GrPixelConfig].fTexturable = true; in GrMockOptions()
/external/skia/tests/
DTransferPixelsTest.cpp159 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
163 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGpuSampleLocationsTest.cpp121 SkBackingFit::kExact, 100, 100, kRGBA_8888_GrPixelConfig, nullptr, in test_sampleLocations()
125 SkBackingFit::kExact, 100, 100, kRGBA_8888_GrPixelConfig, nullptr, in test_sampleLocations()
192 int supportedSample = ctx->caps()->getSampleCount(2, kRGBA_8888_GrPixelConfig);
DGrSurfaceTest.cpp27 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
50 nullptr, 256, 256, kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
54 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
86 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DGLProgramsTest.cpp148 int sampleCnt = random->nextBool() ? caps->getSampleCount(4, kRGBA_8888_GrPixelConfig) : 0; in random_render_target_context()
154 kRGBA_8888_GrPixelConfig, in random_render_target_context()
265 dummyDesc.fConfig = kRGBA_8888_GrPixelConfig; in ProgramUnitTest()
312 kRGBA_8888_GrPixelConfig, in ProgramUnitTest()
DIntTextureTest.cpp97 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
157 nonIntDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 kRGBA_8888_GrPixelConfig, nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
249 SkBackingFit::kExact, kS, kS, kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp95 this->addBufferAccess(&fBuffers.emplace_back(kRGBA_8888_GrPixelConfig, buffer.get())); in TestFP()
149 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
155 SkBackingFit::kApprox, 1, 1, kRGBA_8888_GrPixelConfig, nullptr)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
303 SkBackingFit::kExact, 256, 256, kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
308 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
347 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkClearTests.cpp27 if (kRGBA_8888_GrPixelConfig == config) { in does_full_buffer_contain_correct_color()
202 basic_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
204 sub_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTestUtils.cpp73 copyDstDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_from_surface()
105 copySrcDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_to_surface()
DVkUploadPixelsTests.cpp144 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
145 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, true); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DEGLImageTest.cpp89 gpu1->createTestingOnlyBackendTexture(nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
138 GrBackendTexture backendTex(kSize, kSize, kRGBA_8888_GrPixelConfig, externalTexture); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DProxyRefTest.cpp73 desc.fConfig = kRGBA_8888_GrPixelConfig; in make_deferred()
85 desc.fConfig = kRGBA_8888_GrPixelConfig; in make_wrapped()
DImageStorageTest.cpp112 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp63 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyTest.cpp124 kRGBA_8888_GrPixelConfig }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 for (auto config : { kAlpha_8_GrPixelConfig, kRGBA_8888_GrPixelConfig }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
297 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp135 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
172 if (!rt && kRGBA_8888_GrPixelConfig == desc.fConfig) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp22 desc.fConfig = kRGBA_8888_GrPixelConfig; in overlap_test()
DRenderTargetContextTest.cpp25 kRGBA_8888_GrPixelConfig, nullptr);
DDFPathRendererTest.cpp69 kRGBA_8888_GrPixelConfig,
/external/skia/gm/
Drectangletexture.cpp84 SkASSERT(kSkia8888_GrPixelConfig == kRGBA_8888_GrPixelConfig); in createRectangleTextureImg()
112 GrBackendTexture rectangleTex(width, height, kRGBA_8888_GrPixelConfig, info); in createRectangleTextureImg()
/external/skia/src/gpu/vk/
DGrVkUtil.cpp22 case kRGBA_8888_GrPixelConfig: in GrPixelConfigToVkFormat()
71 return kRGBA_8888_GrPixelConfig; in GrVkFormatToPixelConfig()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1584 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fBaseInternalFormat = GR_GL_RGBA; in initConfigTable()
1585 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fSizedInternalFormat = GR_GL_RGBA8; in initConfigTable()
1586 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalFormat[kOther_ExternalFormatUsage] = in initConfigTable()
1588 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1589 fConfigTable[kRGBA_8888_GrPixelConfig].fFormatType = kNormalizedFixedPoint_FormatType; in initConfigTable()
1590 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1593 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1597 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1601 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1604 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseWithTexelBuffer_Flag; in initConfigTable()
[all …]
/external/skia/src/gpu/effects/
DGrDitherEffect.h27 case kRGBA_8888_GrPixelConfig: in Make()
/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp49 ? kSRGBA_8888_GrPixelConfig : kRGBA_8888_GrPixelConfig; in initializeContext()

123