Home
last modified time | relevance | path

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

12

/external/skia/tests/
DSRGBReadWritePixelsTest.cpp183 read_and_check_pixels(reporter, tex, origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
196 read_and_check_pixels(reporter, tex, origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
203 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 read_and_check_pixels(reporter, tex, origData, kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
223 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkUploadPixelsTests.cpp147 basic_texture_test(reporter, context, kRGBA_8888_GrPixelConfig, false, false); in DEF_GPUTEST()
148 basic_texture_test(reporter, context, kRGBA_8888_GrPixelConfig, true, false); in DEF_GPUTEST()
149 basic_texture_test(reporter, context, kRGBA_8888_GrPixelConfig, false, true); in DEF_GPUTEST()
150 basic_texture_test(reporter, context, kRGBA_8888_GrPixelConfig, true, true); in DEF_GPUTEST()
DEGLImageTest.cpp45 externalTexture->height(), kRGBA_8888_GrPixelConfig, in test_read_pixels()
64 bool write = externalTexture->writePixels(0, 0, 0, 0, kRGBA_8888_GrPixelConfig, pixels.get()); in test_write_pixels()
72 copyDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_surface()
122 gpu1->createTestingOnlyBackendTexture(nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 externalDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp22 rectangleTexture->height(), kRGBA_8888_GrPixelConfig, in test_read_pixels()
46 rectangleTexture->height(), kRGBA_8888_GrPixelConfig, in test_write_pixels()
57 copyDstDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_surface_src()
78 copySrcDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_copy_surface_dst()
170 rectangleDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkClearTests.cpp26 if (kRGBA_8888_GrPixelConfig == config) { in does_full_buffer_contain_correct_color()
209 basic_clear_test(reporter, context, kRGBA_8888_GrPixelConfig); in DEF_GPUTEST()
211 sub_clear_test(reporter, context, kRGBA_8888_GrPixelConfig); in DEF_GPUTEST()
DReadWriteAlphaTest.cpp124 kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
156 if (!rt && kRGBA_8888_GrPixelConfig == desc.fConfig) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp99 kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 wrappedDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
431 10, 10, kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
433 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
852 grSurface->readPixels(0, 0, w, h, kRGBA_8888_GrPixelConfig, pixels.get()); in test_surface_clear()
897 kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
900 desc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DClearTest.cpp25 rt->readPixels(rect.fLeft, rect.fTop, w, h, kRGBA_8888_GrPixelConfig, pixels.get()); in check_rect()
55 desc.fConfig = kRGBA_8888_GrPixelConfig; in reset_dc()
DGLProgramsTest.cpp159 texDesc.fConfig = kRGBA_8888_GrPixelConfig; in random_render_target()
374 rtDesc.fConfig = kRGBA_8888_GrPixelConfig; in ProgramUnitTest()
DCopySurfaceTest.cpp24 baseDesc.fConfig = kRGBA_8888_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/gpu/
DGrTypes.h211 kRGBA_8888_GrPixelConfig, enumerator
272 static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
298 return kRGBA_8888_GrPixelConfig; in GrMakePixelConfigUncompressed()
311 case kRGBA_8888_GrPixelConfig: in GrPixelConfigIs8888()
336 return kRGBA_8888_GrPixelConfig; in GrPixelConfigSwapRAndB()
337 case kRGBA_8888_GrPixelConfig: in GrPixelConfigSwapRAndB()
353 case kRGBA_8888_GrPixelConfig: in GrBytesPerPixel()
DGrColor.h236 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig); in GrPixelConfigComponentMask()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp65 singleChannelPixelConfig = kRGBA_8888_GrPixelConfig; in GrTextureToYUVPlanes()
73 yuvDesc.fConfig = kRGBA_8888_GrPixelConfig; in GrTextureToYUVPlanes()
94 uvDesc.fConfig = kRGBA_8888_GrPixelConfig; in GrTextureToYUVPlanes()
175 kRGBA_8888_GrPixelConfig, tempYUV.get(), 0)) { in GrTextureToYUVPlanes()
212 kRGBA_8888_GrPixelConfig, tempUV.get(), 0)) { in GrTextureToYUVPlanes()
DSkGrPixelRef.cpp166 config = kRGBA_8888_GrPixelConfig; in onReadPixels()
DSkGr.cpp314 return kRGBA_8888_GrPixelConfig; in SkImageInfo2GrPixelConfig()
345 case kRGBA_8888_GrPixelConfig: in GrPixelConfig2ColorAndProfileType()
DGrCaps.cpp224 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig); in dump()
DGrBlurUtils.cpp114 desc.fConfig = kRGBA_8888_GrPixelConfig; in create_mask_GPU()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp107 SkASSERT((kRGBA_8888_GrPixelConfig == texture->config() || in GrConfigConversionEffect()
177 desc.fConfig = kRGBA_8888_GrPixelConfig; in TestForPreservingPMConversions()
240 readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, firstRead); in TestForPreservingPMConversions()
272 readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, secondRead); in TestForPreservingPMConversions()
300 if (kRGBA_8888_GrPixelConfig != texture->config() && in Create()
/external/skia/gm/
Drectangletexture.cpp81 SkASSERT(kSkia8888_GrPixelConfig == kRGBA_8888_GrPixelConfig); in createRectangleTextureImg()
109 desc.fConfig = kRGBA_8888_GrPixelConfig; in createRectangleTextureImg()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp176 SET_CONFIG_IS_RENDERABLE(kRGBA_8888_GrPixelConfig); in initConfigRenderableTable()
200 SET_CONFIG_IS_TEXTURABLE(kRGBA_8888_GrPixelConfig); in initConfigTexturableTable()
DGrVkUtil.cpp17 case kRGBA_8888_GrPixelConfig: in GrPixelConfigToVkFormat()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1316 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fBaseInternalFormat = GR_GL_RGBA; in initConfigTable()
1317 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fSizedInternalFormat = GR_GL_RGBA8; in initConfigTable()
1318 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalFormat[kOther_ExternalFormatUsage] = in initConfigTable()
1320 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1321 fConfigTable[kRGBA_8888_GrPixelConfig].fFormatType = kNormalizedFixedPoint_FormatType; in initConfigTable()
1322 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1325 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1329 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1332 fConfigTable[kRGBA_8888_GrPixelConfig].fSwizzle = GrSwizzle::RGBA(); in initConfigTable()
DGrGLGpu.cpp767 kRGBA_8888_GrPixelConfig == srcConfig) { in onGetWritePixelsInfo()
890 case kRGBA_8888_GrPixelConfig: in config_alignment()
2272 if (this->glCaps().rgba8888PixelsOpsAreSlow() && kRGBA_8888_GrPixelConfig == readConfig && in onGetReadPixelsInfo()
2290 this->glCaps().isConfigRenderable(kRGBA_8888_GrPixelConfig, false) && in onGetReadPixelsInfo()
2291 this->readPixelsSupported(kRGBA_8888_GrPixelConfig, kRGBA_8888_GrPixelConfig)) { in onGetReadPixelsInfo()
2295 tempDrawInfo->fTempSurfaceDesc.fConfig = kRGBA_8888_GrPixelConfig; in onGetReadPixelsInfo()
2297 tempDrawInfo->fReadConfig = kRGBA_8888_GrPixelConfig; in onGetReadPixelsInfo()
2303 GrPixelConfig cpuTempConfig = kRGBA_8888_GrPixelConfig; in onGetReadPixelsInfo()
2356 GrPixelConfig tempConfig = kRGBA_8888_GrPixelConfig; in onReadPixels()
/external/skia/src/effects/
DSkColorCubeFilter.cpp312 desc.fConfig = kRGBA_8888_GrPixelConfig; in asFragmentProcessor()
/external/skia/src/image/
DSkImage_Gpu.cpp256 dstDesc.fConfig = kRGBA_8888_GrPixelConfig; in NewFromYUVTexturesCopy()

12