Home
last modified time | relevance | path

Searched refs:texDesc (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DGLProgramsTest.cpp155 GrSurfaceDesc texDesc; in random_render_target() local
156 texDesc.fWidth = kRenderTargetWidth; in random_render_target()
157 texDesc.fHeight = kRenderTargetHeight; in random_render_target()
158 texDesc.fFlags = kRenderTarget_GrSurfaceFlag; in random_render_target()
159 texDesc.fConfig = kRGBA_8888_GrPixelConfig; in random_render_target()
160 texDesc.fOrigin = random->nextBool() == true ? kTopLeft_GrSurfaceOrigin : in random_render_target()
162 texDesc.fSampleCnt = random->nextBool() == true ? SkTMin(4, caps->maxSampleCount()) : 0; in random_render_target()
167 builder[0] = texDesc.fOrigin; in random_render_target()
168 builder[1] = texDesc.fSampleCnt; in random_render_target()
173 texture = textureProvider->createTexture(texDesc, SkBudgeted::kYes); in random_render_target()
/external/skia/src/effects/
DGrCircleBlurFragmentProcessor.cpp231 GrSurfaceDesc texDesc; in CreateCircleBlurProfileTexture() local
232 texDesc.fWidth = size; in CreateCircleBlurProfileTexture()
233 texDesc.fHeight = 1; in CreateCircleBlurProfileTexture()
234 texDesc.fConfig = kAlpha_8_GrPixelConfig; in CreateCircleBlurProfileTexture()
250 blurProfile = textureProvider->createTexture(texDesc, SkBudgeted::kYes, profile.get(), 0); in CreateCircleBlurProfileTexture()
DSkBlurMaskFilter.cpp778 GrSurfaceDesc texDesc; in CreateBlurProfileTexture() local
782 texDesc.fWidth = profileSize; in CreateBlurProfileTexture()
783 texDesc.fHeight = 1; in CreateBlurProfileTexture()
784 texDesc.fConfig = kAlpha_8_GrPixelConfig; in CreateBlurProfileTexture()
797 blurProfile = textureProvider->createTexture(texDesc, SkBudgeted::kYes, profile.get(), 0); in CreateBlurProfileTexture()
996 GrSurfaceDesc texDesc; in Create() local
997 texDesc.fWidth = texSide; in Create()
998 texDesc.fHeight = texSide; in Create()
999 texDesc.fConfig = kAlpha_8_GrPixelConfig; in Create()
1002 texProvider->createTexture(texDesc, SkBudgeted::kYes , blurredMask.fImage, 0)); in Create()
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp193 GrSurfaceDesc texDesc; in lockTexture() local
194 texDesc.fWidth = fDesc.fWidth; in lockTexture()
195 texDesc.fHeight = fDesc.fHeight; in lockTexture()
196 texDesc.fConfig = fDesc.fConfig; in lockTexture()
206 fTexture = fDesc.fContext->textureProvider()->createTexture(texDesc, SkBudgeted::kYes, in lockTexture()