/external/skia/tests/ |
D | GLProgramsTest.cpp | 151 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()
|
D | GrSurfaceTest.cpp | 28 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()
|
D | EGLImageTest.cpp | 76 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()
|
D | GrTextureMipMapInvalidationTest.cpp | 29 GrSurface* texRT1 = context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT() 31 GrSurface* texRT2 = context->textureProvider()->createTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | RectangleTextureTest.cpp | 61 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()
|
D | CopySurfaceTest.cpp | 71 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()
|
D | ReadWriteAlphaTest.cpp | 53 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()
|
D | SRGBReadWritePixelsTest.cpp | 164 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()
|
D | ClipBoundsTest.cpp | 28 context->textureProvider()->createTexture(desc, SkBudgeted::kYes, nullptr, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 48 SkAutoTUnref<GrTexture> fpTexture(context->textureProvider()->createTexture( in runFPTest()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 143 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()
|
D | SkSurface_Gpu.cpp | 90 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/ |
D | GrCircleBlurFragmentProcessor.cpp | 222 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()
|
D | GrCircleBlurFragmentProcessor.h | 37 static const GrFragmentProcessor* Create(GrTextureProvider*textureProvider, in Create() argument 41 SkAutoTUnref<GrTexture> blurProfile(CreateCircleBlurProfileTexture(textureProvider, in Create()
|
D | SkColorCubeFilter.cpp | 315 context->textureProvider()->findAndRefTextureByUniqueKey(key)); in asFragmentProcessor() 317 textureCube.reset(context->textureProvider()->createTexture( in asFragmentProcessor() 320 context->textureProvider()->assignUniqueKeyToTexture(key, textureCube); in asFragmentProcessor()
|
D | SkBlurMaskFilter.cpp | 610 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/ |
D | GrTextureToYUVPlanes.cpp | 77 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()
|
D | GrBlurUtils.cpp | 50 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()
|
D | GrYUVProvider.cpp | 101 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()
|
D | GrTextureParamsAdjuster.cpp | 66 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()
|
D | GrLayerCache.cpp | 109 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/ |
D | GrTextureStripAtlas.cpp | 204 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()
|
D | GrConfigConversionEffect.cpp | 179 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/ |
D | GrContext.h | 142 GrTextureProvider* textureProvider() { return fTextureProvider; } in textureProvider() function 143 const GrTextureProvider* textureProvider() const { return fTextureProvider; } in textureProvider() function
|
/external/skia/src/core/ |
D | SkImageCacherator.cpp | 206 return ctx->textureProvider()->createTexture(desc, SkBudgeted::kYes, rawStart, 0); in load_compressed_into_texture() 258 if (GrTexture* tex = ctx->textureProvider()->findAndRefTextureByUniqueKey(key)) { in lockTexture()
|