Home
last modified time | relevance | path

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

123

/external/skia/include/gpu/
DGrTypes.h284 kRGBA_8888_GrPixelConfig, enumerator
335 static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
351 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsCompressed()
370 return kRGBA_8888_GrPixelConfig; in GrMakePixelConfigUncompressed()
376 case kRGBA_8888_GrPixelConfig: in GrMakePixelConfigUncompressed()
395 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIs8888Unorm()
429 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIsSRGB()
448 return kRGBA_8888_GrPixelConfig; in GrPixelConfigSwapRAndB()
449 case kRGBA_8888_GrPixelConfig: in GrPixelConfigSwapRAndB()
482 case kRGBA_8888_GrPixelConfig: in GrBytesPerPixel()
[all …]
/external/skia/tests/
DSRGBReadWritePixelsTest.cpp184 read_and_check_pixels(reporter, tex.get(), origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
197 read_and_check_pixels(reporter, tex.get(), origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
204 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
216 read_and_check_pixels(reporter, tex.get(), origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
224 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkUploadPixelsTests.cpp136 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, false, false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
137 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, true, false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
138 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, false, true); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
139 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, true, true); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DGrSurfaceTest.cpp25 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
49 nullptr, 256, 256, kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
52 backendDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
DIntTextureTest.cpp92 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_GrPixelConfig, readData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 nonIntDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
171 bool success = texture->writePixels(0, 0, kS/2, kS/2, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
225 SkBackingFit::kExact, kS, kS, kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRenderTargetContextTest.cpp23 kRGBA_8888_GrPixelConfig, nullptr); in get_rtc()
27 kRGBA_8888_GrPixelConfig, nullptr); in get_rtc()
DProcessorTest.cpp82 this->addBufferAccess(&fBuffers.emplace_back(kRGBA_8888_GrPixelConfig, buffer.get())); in TestFP()
135 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
141 SkBackingFit::kApprox, 1, 1, kRGBA_8888_GrPixelConfig, nullptr)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
294 SkBackingFit::kExact, 256, 256, kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
299 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
332 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()
103 copySrcDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_to_surface()
DGpuSampleLocationsTest.cpp137 SkBackingFit::kExact, 100, 100, kRGBA_8888_GrPixelConfig, nullptr, in test_sampleLocations()
141 SkBackingFit::kExact, 100, 100, kRGBA_8888_GrPixelConfig, nullptr, in test_sampleLocations()
DImageStorageTest.cpp112 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 kRGBA_8888_GrPixelConfig, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp88 gpu1->createTestingOnlyBackendTexture(nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
133 externalDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DProxyRefTest.cpp73 desc.fConfig = kRGBA_8888_GrPixelConfig; in make_deferred()
84 desc.fConfig = kRGBA_8888_GrPixelConfig; in make_wrapped()
DProxyConversionTest.cpp64 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGLProgramsTest.cpp155 kRGBA_8888_GrPixelConfig, in random_render_target_context()
291 dummyDesc.fConfig = kRGBA_8888_GrPixelConfig; in ProgramUnitTest()
350 kRGBA_8888_GrPixelConfig, in ProgramUnitTest()
DImageFilterCacheTest.cpp188 desc.fConfig = kRGBA_8888_GrPixelConfig; in create_texture()
200 desc.fConfig = kRGBA_8888_GrPixelConfig; in create_proxy()
221 backendDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp134 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 if (!rt && kRGBA_8888_GrPixelConfig == desc.fConfig) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDFPathRendererTest.cpp69 kRGBA_8888_GrPixelConfig,
DSpecialSurfaceTest.cpp84 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp98 SkASSERT(kRGBA_8888_GrPixelConfig == texture->config() || in GrConfigConversionEffect()
111 SkASSERT(kRGBA_8888_GrPixelConfig == proxy->config() || in GrConfigConversionEffect()
164 static constexpr GrPixelConfig kConfig = kRGBA_8888_GrPixelConfig; in TestForPreservingPMConversions()
281 if (kRGBA_8888_GrPixelConfig != texture->config() && in Make()
294 if (kRGBA_8888_GrPixelConfig != proxy->config() && in Make()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1517 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fBaseInternalFormat = GR_GL_RGBA; in initConfigTable()
1518 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fSizedInternalFormat = GR_GL_RGBA8; in initConfigTable()
1519 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalFormat[kOther_ExternalFormatUsage] = in initConfigTable()
1521 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1522 fConfigTable[kRGBA_8888_GrPixelConfig].fFormatType = kNormalizedFixedPoint_FormatType; in initConfigTable()
1523 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1526 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1530 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1534 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1537 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseWithTexelBuffer_Flag; in initConfigTable()
[all …]
/external/skia/gm/
Drectangletexture.cpp83 SkASSERT(kSkia8888_GrPixelConfig == kRGBA_8888_GrPixelConfig); in createRectangleTextureImg()
111 desc.fConfig = kRGBA_8888_GrPixelConfig; in createRectangleTextureImg()
/external/skia/src/gpu/vk/
DGrVkUtil.cpp22 case kRGBA_8888_GrPixelConfig: in GrPixelConfigToVkFormat()
80 *config = kRGBA_8888_GrPixelConfig; in GrVkFormatToPixelConfig()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp80 kRGBA_8888_GrPixelConfig, in GrTextureToYUVPlanes()
101 kRGBA_8888_GrPixelConfig, in GrTextureToYUVPlanes()
/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp52 ? kSRGBA_8888_GrPixelConfig : kRGBA_8888_GrPixelConfig; in initializeContext()

123