Searched refs:texDesc (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | GLProgramsTest.cpp | 112 GrSurfaceDesc texDesc; in random_render_target() local 113 texDesc.fWidth = kRenderTargetWidth; in random_render_target() 114 texDesc.fHeight = kRenderTargetHeight; in random_render_target() 115 texDesc.fFlags = kRenderTarget_GrSurfaceFlag; in random_render_target() 116 texDesc.fConfig = kRGBA_8888_GrPixelConfig; in random_render_target() 117 texDesc.fOrigin = random->nextBool() == true ? kTopLeft_GrSurfaceOrigin : in random_render_target() 119 texDesc.fSampleCnt = random->nextBool() == true ? SkTMin(4, caps->maxSampleCount()) : 0; in random_render_target() 124 builder[0] = texDesc.fOrigin; in random_render_target() 125 builder[1] = texDesc.fSampleCnt; in random_render_target() 130 texture = context->textureProvider()->createTexture(texDesc, true); in random_render_target()
|
D | SurfaceTest.cpp | 101 GrSurfaceDesc texDesc; in test_wrapped_texture_surface() local 102 texDesc.fConfig = kRGBA_8888_GrPixelConfig; in test_wrapped_texture_surface() 103 texDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_wrapped_texture_surface() 104 texDesc.fWidth = texDesc.fHeight = 100; in test_wrapped_texture_surface() 105 texDesc.fSampleCnt = 0; in test_wrapped_texture_surface() 106 texDesc.fOrigin = kTopLeft_GrSurfaceOrigin; in test_wrapped_texture_surface() 107 SkAutoTUnref<GrSurface> dummySurface(ctx->textureProvider()->createTexture(texDesc, false)); in test_wrapped_texture_surface()
|
/external/skia/src/gpu/effects/ |
D | GrTextureStripAtlas.cpp | 196 GrSurfaceDesc texDesc; in lockTexture() local 197 texDesc.fWidth = fDesc.fWidth; in lockTexture() 198 texDesc.fHeight = fDesc.fHeight; in lockTexture() 199 texDesc.fConfig = fDesc.fConfig; in lockTexture() 209 fTexture = fDesc.fContext->textureProvider()->createTexture(texDesc, true, NULL, 0); in lockTexture()
|
/external/skia/src/effects/ |
D | SkBlurMaskFilter.cpp | 755 GrSurfaceDesc texDesc; in CreateBlurProfileTexture() local 759 texDesc.fWidth = profileSize; in CreateBlurProfileTexture() 760 texDesc.fHeight = 1; in CreateBlurProfileTexture() 761 texDesc.fConfig = kAlpha_8_GrPixelConfig; in CreateBlurProfileTexture() 779 *blurProfileTexture = textureProvider->createTexture(texDesc, true, profile, 0); in CreateBlurProfileTexture() 967 GrSurfaceDesc texDesc; in Create() local 968 texDesc.fWidth = texSide; in Create() 969 texDesc.fHeight = texSide; in Create() 970 texDesc.fConfig = kAlpha_8_GrPixelConfig; in Create() 973 context->textureProvider()->createTexture(texDesc, true, blurredMask.fImage, 0)); in Create()
|