/external/skia/include/core/ |
D | SkSurface.h | 33 static const SkBudgeted kYes_Budgeted = SkBudgeted::kYes; 34 static const SkBudgeted kNo_Budgeted = SkBudgeted::kNo; 35 using Budgeted = SkBudgeted; 130 GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, 133 static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { in NewRenderTarget() 239 SkImage* newImageSnapshot(SkBudgeted = SkBudgeted::kYes); 251 SkImage* newImageSnapshot(SkBudgeted, ForceUnique);
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 25 SkImage_Gpu(int w, int h, uint32_t uniqueID, SkAlphaType, GrTexture*, SkBudgeted); 31 if (SkBudgeted::kYes == fBudgeted) { in applyBudgetDecision() 48 return SkSurface::NewRenderTarget(fTexture->getContext(), SkBudgeted::kNo, info); in onNewSurface() 56 const SkBudgeted fBudgeted;
|
D | SkImage_Gpu.cpp | 23 SkBudgeted budgeted) in SkImage_Gpu() 169 const SkBudgeted budgeted = SkBudgeted::kNo; in new_wrapped_texture_common() 195 SkAutoTUnref<GrTexture> dst(GrDeepCopyTexture(src, SkBudgeted::kYes)); in NewFromTextureCopy() 201 SkBudgeted::kYes); in NewFromTextureCopy() 208 const SkBudgeted budgeted = SkBudgeted::kYes; in NewFromYUVTexturesCopy() 259 SkAutoTUnref<GrTexture> dst(ctx->textureProvider()->createTexture(dstDesc, SkBudgeted::kYes)); in NewFromYUVTexturesCopy() 288 SkBudgeted::kNo); in create_image_from_maker() 315 GrTexture* GrDeepCopyTexture(GrTexture* src, SkBudgeted budgeted) { in GrDeepCopyTexture()
|
D | SkSurface_Gpu.cpp | 75 static const SkBudgeted kBudgeted = SkBudgeted::kNo; in onNewSurface() 80 SkImage* SkSurface_Gpu::onNewImageSnapshot(SkBudgeted budgeted, ForceCopyMode forceCopyMode) { in onNewImageSnapshot() 115 SkAutoTUnref<SkImage> image(this->refCachedImage(SkBudgeted::kNo, kNo_ForceUnique)); in onCopyOnWrite() 144 SkSurface* SkSurface::NewRenderTarget(GrContext* ctx, SkBudgeted budgeted, const SkImageInfo& info, in NewRenderTarget()
|
D | SkSurface_Base.h | 46 virtual SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) = 0; 84 inline SkImage* refCachedImage(SkBudgeted, ForceUnique); 117 SkImage* SkSurface_Base::refCachedImage(SkBudgeted budgeted, ForceUnique unique) { in refCachedImage()
|
D | SkSurface.cpp | 82 SkImage* image = this->newImageSnapshot(SkBudgeted::kYes); in onDraw() 166 SkImage* SkSurface::newImageSnapshot(SkBudgeted budgeted) { in newImageSnapshot() 171 SkImage* SkSurface::newImageSnapshot(SkBudgeted budgeted, ForceUnique unique) { in newImageSnapshot() 214 SkSurface* SkSurface::NewRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&, int, in NewRenderTarget() argument
|
D | SkSurface_Raster.cpp | 27 SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) override; 121 SkImage* SkSurface_Raster::onNewImageSnapshot(SkBudgeted, ForceCopyMode forceCopyMode) { in onNewImageSnapshot() argument 146 SkAutoTUnref<SkImage> cached(this->refCachedImage(SkBudgeted::kNo, kNo_ForceUnique)); in onCopyOnWrite()
|
D | SkImagePriv.h | 59 GrTexture* GrDeepCopyTexture(GrTexture* src, SkBudgeted);
|
D | SkSurface_Gpu.h | 26 SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) override;
|
/external/skia/include/gpu/ |
D | GrTextureProvider.h | 32 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData, 36 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture() 76 return this->createTexture(desc, SkBudgeted::kYes); in refScratchTexture()
|
/external/skia/tests/ |
D | ImageNewShaderTest.cpp | 119 SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info)); in gpuToGpu() 121 SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info)); in gpuToGpu() 130 SkBudgeted::kNo, info)); in gpuToRaster() 141 SkBudgeted::kNo, info)); in rasterToGpu()
|
D | GrTextureMipMapInvalidationTest.cpp | 30 desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULL_CONTEXT() 32 desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | ImageIsOpaqueTest.cpp | 71 SkSurface::NewRenderTarget(context, SkBudgeted::kNo, infoTransparent)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 76 SkSurface::NewRenderTarget(context,SkBudgeted::kNo, infoOpaque)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrSurfaceTest.cpp | 29 desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULL_CONTEXT() 41 GrSurface* tex1 = context->textureProvider()->createTexture(desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULL_CONTEXT()
|
D | SurfaceTest.cpp | 57 return SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info, 0, nullptr); in create_gpu_surface() 66 return SkSurface::NewRenderTarget(context, SkBudgeted::kYes, info, 0, nullptr); in create_gpu_scratch_surface() 80 SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info, 0, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 343 static const SkBudgeted kB = SkBudgeted::kNo; in test_unique_image_snap() 702 static SkBudgeted is_budgeted(SkSurface* surf) { in is_budgeted() 706 static SkBudgeted is_budgeted(SkImage* image) { in is_budgeted() 712 for (auto sbudgeted : { SkBudgeted::kNo, SkBudgeted::kYes }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 713 for (auto ibudgeted : { SkBudgeted::kNo, SkBudgeted::kYes }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GLProgramsTest.cpp | 173 texture = textureProvider->createTexture(texDesc, SkBudgeted::kYes); 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() 376 context->textureProvider()->createTexture(rtDesc, SkBudgeted::kNo)->asRenderTarget()); in ProgramUnitTest()
|
D | TextureStorageAllocator.cpp | 70 context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 104 context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, 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 | VkUploadPixelsTests.cpp | 86 GrTexture* tex0 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); in basic_texture_test() 111 GrTexture* tex1 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); in basic_texture_test()
|
D | ResourceCacheTest.cpp | 41 SkBudgeted::kNo, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 94 SkAutoTUnref<GrTexture> smallRT0(cache->createTexture(smallDesc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 99 SkAutoTUnref<GrTexture> smallRT1(cache->createTexture(smallDesc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 111 SkAutoTUnref<GrTexture> smallRT2(cache->createTexture(smallDesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 128 SkAutoTUnref<GrTexture> bigRT(cache->createTexture(bigDesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 142 SkAutoTUnref<GrTexture> smallMSAART0(cache->createTexture(smallMSAADesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 158 SkAutoTUnref<GrTexture> smallMSAART1(cache->createTexture(smallMSAADesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 174 smallMSAART1.reset(cache->createTexture(smallMSAADesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 176 cache->createTexture(smallMSAADesc, SkBudgeted::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 573 REPORTER_ASSERT(reporter, SkBudgeted::kNo == resource->resourcePriv().isBudgeted()); in test_unbudgeted_to_scratch() [all …]
|
/external/skia/src/gpu/ |
D | GrGpuResourcePriv.h | 47 SkBudgeted isBudgeted() const { in isBudgeted() 50 return SkBudgeted(ret); in isBudgeted()
|
D | GrTextureProvider.cpp | 32 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 49 if (SkBudgeted::kNo == budgeted) { in createTexture() 120 return fGpu->createTexture(*desc, SkBudgeted::kYes, nullptr, 0); in refScratchTexture()
|
D | GrResourceCache.cpp | 139 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in insertResource() 170 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in removeResource() 378 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in notifyCntReachedZero() 417 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in didChangeGpuMemorySize() 436 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in didChangeBudgetStatus() 667 SkASSERT(SkBudgeted::kNo == resource->resourcePriv().isBudgeted() || in validate() 678 SkASSERT(SkBudgeted::kYes == resource->resourcePriv().isBudgeted()); in validate() 681 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in validate()
|
D | GrYUVProvider.cpp | 101 yuvTextures[i].reset(ctx->textureProvider()->createTexture(yuvDesc, SkBudgeted::kYes)); in refAsTexture() 115 SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, SkBudgeted::kYes, in refAsTexture()
|
/external/skia/src/gpu/effects/ |
D | GrConfigConversionEffect.cpp | 180 desc, SkBudgeted::kYes, nullptr, 0)); in TestForPreservingPMConversions() 185 desc, SkBudgeted::kYes, nullptr, 0)); in TestForPreservingPMConversions() 191 desc, SkBudgeted::kYes, data, 0)); in TestForPreservingPMConversions()
|