Home
last modified time | relevance | path

Searched refs:kAlpha_8_GrPixelConfig (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp62 if (context->caps()->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { in GrTextureToYUVPlanes()
63 singleChannelPixelConfig = kAlpha_8_GrPixelConfig; in GrTextureToYUVPlanes()
203 kAlpha_8_GrPixelConfig, planes[0], rowBytes[0])) { in GrTextureToYUVPlanes()
236 kAlpha_8_GrPixelConfig, planes[1], rowBytes[1])) { in GrTextureToYUVPlanes()
240 kAlpha_8_GrPixelConfig, planes[2], rowBytes[2])) { in GrTextureToYUVPlanes()
DGrBlurUtils.cpp81 desc.fConfig = kAlpha_8_GrPixelConfig; in sw_draw_with_mask_filter()
116 if (context->caps()->isConfigRenderable(kAlpha_8_GrPixelConfig, desc.fSampleCnt > 0)) { in create_mask_GPU()
117 desc.fConfig = kAlpha_8_GrPixelConfig; in create_mask_GPU()
DSkGr.cpp305 return kAlpha_8_GrPixelConfig; in SkImageInfo2GrPixelConfig()
320 return kAlpha_8_GrPixelConfig; // TODO: gray8 support on gpu in SkImageInfo2GrPixelConfig()
333 case kAlpha_8_GrPixelConfig: in GrPixelConfig2ColorAndProfileType()
DGrSWMaskHelper.cpp63 config = kAlpha_8_GrPixelConfig; in fmt_to_config()
235 desc.fConfig = kAlpha_8_GrPixelConfig; in createTexture()
DGrYUVProvider.cpp92 yuvDesc.fConfig = kAlpha_8_GrPixelConfig; in refAsTexture()
DGrTextureParamsAdjuster.cpp47 if (caps->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { in copy_on_gpu()
48 rtDesc.fConfig = kAlpha_8_GrPixelConfig; in copy_on_gpu()
DGrCaps.cpp220 GR_STATIC_ASSERT(1 == kAlpha_8_GrPixelConfig); in dump()
DGrClipMaskManager.cpp597 if (!renderTarget || this->caps()->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { in createCachedMask()
598 desc.fConfig = kAlpha_8_GrPixelConfig; in createCachedMask()
/external/skia/include/gpu/
DGrTypes.h201 kAlpha_8_GrPixelConfig, enumerator
301 return kAlpha_8_GrPixelConfig; in GrMakePixelConfigUncompressed()
347 case kAlpha_8_GrPixelConfig: in GrBytesPerPixel()
381 case kAlpha_8_GrPixelConfig: in GrPixelConfigIsAlphaOnly()
DGrColor.h232 GR_STATIC_ASSERT(1 == kAlpha_8_GrPixelConfig); in GrPixelConfigComponentMask()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1443 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fBaseInternalFormat = GR_GL_RED; in initConfigTable()
1444 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fSizedInternalFormat = GR_GL_R8; in initConfigTable()
1445 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fExternalFormat[kOther_ExternalFormatUsage] = in initConfigTable()
1447 fConfigTable[kAlpha_8_GrPixelConfig].fSwizzle = GrSwizzle::RRRR(); in initConfigTable()
1449 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fBaseInternalFormat = GR_GL_ALPHA; in initConfigTable()
1450 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fSizedInternalFormat = GR_GL_ALPHA8; in initConfigTable()
1451 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fExternalFormat[kOther_ExternalFormatUsage] = in initConfigTable()
1453 fConfigTable[kAlpha_8_GrPixelConfig].fSwizzle = GrSwizzle::AAAA(); in initConfigTable()
1455 fConfigTable[kAlpha_8_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1456 fConfigTable[kAlpha_8_GrPixelConfig].fFormatType = kNormalizedFixedPoint_FormatType; in initConfigTable()
[all …]
DGrGLGpu.cpp883 case kAlpha_8_GrPixelConfig: in config_alignment()
2299 } else if (readConfig == kAlpha_8_GrPixelConfig) { in onGetReadPixelsInfo()
2313 tempDrawInfo->fReadConfig = kAlpha_8_GrPixelConfig; in onGetReadPixelsInfo()
2319 SkASSERT(tempDrawInfo->fReadConfig == kAlpha_8_GrPixelConfig); in onGetReadPixelsInfo()
2360 if (kAlpha_8_GrPixelConfig == config && in onReadPixels()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp173 SET_CONFIG_IS_RENDERABLE(kAlpha_8_GrPixelConfig); in initConfigRenderableTable()
197 SET_CONFIG_IS_TEXTURABLE(kAlpha_8_GrPixelConfig); in initConfigTexturableTable()
DGrVkUtil.cpp35 case kAlpha_8_GrPixelConfig: in GrPixelConfigToVkFormat()
/external/skia/tests/
DReadWriteAlphaTest.cpp46 desc.fConfig = kAlpha_8_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, kAlpha_8_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DClipBoundsTest.cpp23 desc.fConfig = kAlpha_8_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGLProgramsTest.cpp315 dummyDesc.fConfig = kAlpha_8_GrPixelConfig; in ProgramUnitTest()
/external/skia/src/effects/
DSkAlphaThresholdFilter.cpp293 if (context->caps()->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { in asFragmentProcessor()
294 maskDesc.fConfig = kAlpha_8_GrPixelConfig; in asFragmentProcessor()
DGrCircleBlurFragmentProcessor.cpp234 texDesc.fConfig = kAlpha_8_GrPixelConfig; in CreateCircleBlurProfileTexture()
DSkGpuBlurUtils.cpp201 kAlpha_8_GrPixelConfig == srcTexture->config()); in GaussianBlur()
DSkBlurMaskFilter.cpp784 texDesc.fConfig = kAlpha_8_GrPixelConfig; in CreateBlurProfileTexture()
999 texDesc.fConfig = kAlpha_8_GrPixelConfig; in Create()
/external/skia/src/gpu/text/
DGrBatchFontCache.h186 kAlpha_8_GrPixelConfig, in MaskFormatToPixelConfig()
/external/skia/gm/
Dimagefromyuvtextures.cpp107 kAlpha_8_GrPixelConfig); in createYUVTextures()
/external/skia/src/gpu/batches/
DGrAADistanceFieldPathRenderer.cpp548 fAtlas = args.fResourceProvider->createAtlas(kAlpha_8_GrPixelConfig, in onDrawPath()
632 context->resourceProvider()->createAtlas(kAlpha_8_GrPixelConfig, in DRAW_BATCH_TEST_DEFINE()
/external/skia/src/image/
DSkImage_Gpu.cpp215 static const GrPixelConfig kConfig = kAlpha_8_GrPixelConfig; in NewFromYUVTexturesCopy()

12