Home
last modified time | relevance | path

Searched refs:textureProvider (Results 1 – 25 of 63) sorted by relevance

123

/external/skia/tests/
DGLProgramsTest.cpp151 static GrRenderTarget* random_render_target(GrTextureProvider* textureProvider, SkRandom* random, in random_render_target() argument
171 GrTexture* texture = textureProvider->findAndRefTextureByUniqueKey(key); in random_render_target()
173 texture = textureProvider->createTexture(texDesc, SkBudgeted::kYes); in random_render_target()
175 textureProvider->assignUniqueKeyToTexture(key, texture); in random_render_target()
313 context->textureProvider()->createTexture(dummyDesc, SkBudgeted::kNo, nullptr, 0)); in ProgramUnitTest()
319 context->textureProvider()->createTexture(dummyDesc, SkBudgeted::kNo, nullptr, 0)); in ProgramUnitTest()
339 context->textureProvider(), &random, context->caps())); in ProgramUnitTest()
376 context->textureProvider()->createTexture(rtDesc, SkBudgeted::kNo)->asRenderTarget()); in ProgramUnitTest()
DGrSurfaceTest.cpp28 GrSurface* texRT1 = context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
41 GrSurface* tex1 = context->textureProvider()->createTexture(desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULL_CONTEXT()
56 GrSurface* texRT2 = context->textureProvider()->wrapBackendTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
DEGLImageTest.cpp76 SkAutoTUnref<GrTexture> copy(context->textureProvider()->createTexture( in test_copy_surface()
172 context0->textureProvider()->wrapBackendTexture(externalDesc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 context0->textureProvider()->wrapBackendTexture(externalDesc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 context0->textureProvider()->wrapBackendTexture(externalDesc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTextureMipMapInvalidationTest.cpp29 GrSurface* texRT1 = context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
31 GrSurface* texRT2 = context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
DRectangleTextureTest.cpp61 SkAutoTUnref<GrTexture> dst(context->textureProvider()->createTexture( in test_copy_surface_src()
82 SkAutoTUnref<GrTexture> src(context->textureProvider()->createTexture( in test_copy_surface_dst()
186 context->textureProvider()->wrapBackendTexture(rectangleDesc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCopySurfaceTest.cpp71 context->textureProvider()->createTexture(srcDesc, SkBudgeted::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
75 context->textureProvider()->createTexture(dstDesc, SkBudgeted::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp53 context->textureProvider()->createTexture(desc, SkBudgeted::kNo , alphaData, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 context->textureProvider()->createTexture(desc, SkBudgeted::kNo, rgbaData, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBReadWritePixelsTest.cpp164 SkAutoTUnref<GrTexture> tex(context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
204 tex.reset(context->textureProvider()->createTexture(desc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DClipBoundsTest.cpp28 context->textureProvider()->createTexture(desc, SkBudgeted::kYes, nullptr, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFloatingPointTextureTest.cpp48 SkAutoTUnref<GrTexture> fpTexture(context->textureProvider()->createTexture( in runFPTest()
/external/skia/src/image/
DSkImage_Gpu.cpp143 GrTexture* subTx = ctx->textureProvider()->createTexture(desc, fBudgeted); in onNewSubset()
161 SkAutoTUnref<GrTexture> tex(ctx->textureProvider()->wrapBackendTexture(desc, ownership)); in new_wrapped_texture_common()
189 SkAutoTUnref<GrTexture> src(ctx->textureProvider()->wrapBackendTexture( in NewFromTextureCopy()
240 SkAutoTUnref<GrTexture> yTex(ctx->textureProvider()->wrapBackendTexture( in NewFromYUVTexturesCopy()
242 SkAutoTUnref<GrTexture> uTex(ctx->textureProvider()->wrapBackendTexture( in NewFromYUVTexturesCopy()
244 SkAutoTUnref<GrTexture> vTex(ctx->textureProvider()->wrapBackendTexture( in NewFromYUVTexturesCopy()
259 SkAutoTUnref<GrTexture> dst(ctx->textureProvider()->createTexture(dstDesc, SkBudgeted::kYes)); in NewFromYUVTexturesCopy()
319 GrTexture* dst = ctx->textureProvider()->createTexture(desc, budgeted, nullptr, 0); in GrDeepCopyTexture()
DSkSurface_Gpu.cpp90 copy.reset(ctx->textureProvider()->createTexture(desc, budgeted)); in onNewImageSnapshot()
164 SkAutoTUnref<GrSurface> surface(context->textureProvider()->wrapBackendTexture(desc, in NewFromBackendTexture()
183 SkAutoTUnref<GrRenderTarget> rt(context->textureProvider()->wrapBackendRenderTarget(desc)); in NewFromBackendRenderTarget()
/external/skia/src/effects/
DGrCircleBlurFragmentProcessor.cpp222 GrTextureProvider* textureProvider, in CreateCircleBlurProfileTexture() argument
245 GrTexture *blurProfile = textureProvider->findAndRefTextureByUniqueKey(key); in CreateCircleBlurProfileTexture()
250 blurProfile = textureProvider->createTexture(texDesc, SkBudgeted::kYes, profile.get(), 0); in CreateCircleBlurProfileTexture()
252 textureProvider->assignUniqueKeyToTexture(key, blurProfile); in CreateCircleBlurProfileTexture()
265 return GrCircleBlurFragmentProcessor::Create(d->fContext->textureProvider(), circle, sigma); in TestCreate()
DGrCircleBlurFragmentProcessor.h37 static const GrFragmentProcessor* Create(GrTextureProvider*textureProvider, in Create() argument
41 SkAutoTUnref<GrTexture> blurProfile(CreateCircleBlurProfileTexture(textureProvider, in Create()
DSkColorCubeFilter.cpp315 context->textureProvider()->findAndRefTextureByUniqueKey(key)); in asFragmentProcessor()
317 textureCube.reset(context->textureProvider()->createTexture( in asFragmentProcessor()
320 context->textureProvider()->assignUniqueKeyToTexture(key, textureCube); in asFragmentProcessor()
DSkBlurMaskFilter.cpp610 static GrFragmentProcessor* Create(GrTextureProvider *textureProvider, in Create() argument
620 SkAutoTUnref<GrTexture> blurProfile(CreateBlurProfileTexture(textureProvider, sigma)); in Create()
776 GrTexture* GrRectBlurEffect::CreateBlurProfileTexture(GrTextureProvider* textureProvider, in CreateBlurProfileTexture() argument
792 GrTexture *blurProfile = textureProvider->findAndRefTextureByUniqueKey(key); in CreateBlurProfileTexture()
797 blurProfile = textureProvider->createTexture(texDesc, SkBudgeted::kYes, profile.get(), 0); in CreateBlurProfileTexture()
799 textureProvider->assignUniqueKeyToTexture(key, blurProfile); in CreateBlurProfileTexture()
841 return GrRectBlurEffect::Create(d->fContext->textureProvider(), SkRect::MakeWH(width, height), in TestCreate()
1041 return GrRRectBlurEffect::Create(d->fContext->textureProvider(), sigma, rrect); in TestCreate()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp77 yuvTex.reset(context->textureProvider()->createApproxTexture(yuvDesc)); in GrTextureToYUVPlanes()
87 yTex.reset(context->textureProvider()->createApproxTexture(yDesc)); in GrTextureToYUVPlanes()
98 uvTex.reset(context->textureProvider()->createApproxTexture(uvDesc)); in GrTextureToYUVPlanes()
108 uTex.reset(context->textureProvider()->createApproxTexture(uvDesc)); in GrTextureToYUVPlanes()
111 vTex.reset(context->textureProvider()->createApproxTexture(uvDesc)); in GrTextureToYUVPlanes()
DGrBlurUtils.cpp50 GrTextureProvider* textureProvider, in sw_draw_with_mask_filter() argument
83 SkAutoTUnref<GrTexture> texture(textureProvider->createApproxTexture(desc)); in sw_draw_with_mask_filter()
120 GrTexture* mask = context->textureProvider()->createApproxTexture(desc); in create_mask_GPU()
210 if (maskFilter->directFilterMaskGPU(context->textureProvider(), in draw_path_with_mask_filter()
246 sw_draw_with_mask_filter(drawContext, context->textureProvider(), in draw_path_with_mask_filter()
DGrYUVProvider.cpp101 yuvTextures[i].reset(ctx->textureProvider()->createTexture(yuvDesc, SkBudgeted::kYes)); in refAsTexture()
103 yuvTextures[i].reset(ctx->textureProvider()->createApproxTexture(yuvDesc)); in refAsTexture()
115 SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, SkBudgeted::kYes, in refAsTexture()
DGrTextureParamsAdjuster.cpp66 SkAutoTUnref<GrTexture> copy(context->textureProvider()->createTexture(rtDesc, in copy_on_gpu()
144 GrTexture* cachedCopy = context->textureProvider()->findAndRefTextureByUniqueKey(key); in refCopy()
442 GrTexture* result = fContext->textureProvider()->findAndRefTextureByUniqueKey(copyKey); in refTextureForParams()
454 fContext->textureProvider()->assignUniqueKeyToTexture(copyKey, result); in refTextureForParams()
DGrLayerCache.cpp109 fAtlas.reset(new GrLayerAtlas(fContext->textureProvider(), kSkia8888_GrPixelConfig, in initAtlas()
258 tex.reset(fContext->textureProvider()->createTexture(desc, SkBudgeted::kYes)); in lock()
260 tex.reset(fContext->textureProvider()->createApproxTexture(desc)); in lock()
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp204 fTexture = fDesc.fContext->textureProvider()->findAndRefTextureByUniqueKey(key); in lockTexture()
206 fTexture = fDesc.fContext->textureProvider()->createTexture(texDesc, SkBudgeted::kYes, in lockTexture()
211 fDesc.fContext->textureProvider()->assignUniqueKeyToTexture(key, fTexture); in lockTexture()
DGrConfigConversionEffect.cpp179 SkAutoTUnref<GrTexture> readTex(context->textureProvider()->createTexture( in TestForPreservingPMConversions()
184 SkAutoTUnref<GrTexture> tempTex(context->textureProvider()->createTexture( in TestForPreservingPMConversions()
190 SkAutoTUnref<GrTexture> dataTex(context->textureProvider()->createTexture( in TestForPreservingPMConversions()
/external/skia/include/gpu/
DGrContext.h142 GrTextureProvider* textureProvider() { return fTextureProvider; } in textureProvider() function
143 const GrTextureProvider* textureProvider() const { return fTextureProvider; } in textureProvider() function
/external/skia/src/core/
DSkImageCacherator.cpp206 return ctx->textureProvider()->createTexture(desc, SkBudgeted::kYes, rawStart, 0); in load_compressed_into_texture()
258 if (GrTexture* tex = ctx->textureProvider()->findAndRefTextureByUniqueKey(key)) { in lockTexture()

123