Home
last modified time | relevance | path

Searched refs:SkBudgeted (Results 1 – 25 of 134) sorted by relevance

123456

/external/skia/src/gpu/
DGrGpuResource.cpp26 , fBudgeted(SkBudgeted::kNo) in GrGpuResource()
32 void GrGpuResource::registerWithCache(SkBudgeted budgeted) { in registerWithCache()
33 SkASSERT(fBudgeted == SkBudgeted::kNo); in registerWithCache()
40 SkASSERT(fBudgeted == SkBudgeted::kNo); in registerWithCacheWrapped()
138 if (SkBudgeted::kNo == this->resourcePriv().isBudgeted()) { in setUniqueKey()
192 if (!this->wasDestroyed() && SkBudgeted::kNo == fBudgeted) { in makeBudgeted()
195 fBudgeted = SkBudgeted::kYes; in makeBudgeted()
201 if (!this->wasDestroyed() && SkBudgeted::kYes == fBudgeted && in makeUnbudgeted()
203 fBudgeted = SkBudgeted::kNo; in makeUnbudgeted()
DGrGpuResourcePriv.h46 SkBudgeted isBudgeted() const { in isBudgeted()
47 bool ret = SkBudgeted::kYes == fResource->fBudgeted; in isBudgeted()
49 return SkBudgeted(ret); in isBudgeted()
DGrSurfaceProxy.cpp155 SkBudgeted budgeted, in MakeDeferred()
215 SkBudgeted budgeted, in MakeDeferred()
246 SkBudgeted budgeted) { in Copy()
271 SkBudgeted budgeted) { in Copy()
281 SkBudgeted::kYes)); in TestCopy()
DGrResourceProvider.h50 GrTexture* createMipMappedTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
65 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData,
69 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, uint32_t flags = 0) {
DGrResourceCache.cpp113 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in insertResource()
145 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in removeResource()
370 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in notifyCntReachedZero()
409 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in didChangeGpuMemorySize()
428 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in didChangeBudgetStatus()
689 SkASSERT(SkBudgeted::kNo == resource->resourcePriv().isBudgeted() || in validate()
701 SkASSERT(SkBudgeted::kYes == resource->resourcePriv().isBudgeted()); in validate()
708 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in validate()
DGrGpu.h104 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
110 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture()
115 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* level0Data, in createTexture()
539 SkBudgeted budgeted,
542 SkBudgeted budgeted,
/external/skia/tests/
DProxyConversionTest.cpp39 SkBudgeted budgeted) { in make_wrapped_offscreen_rt()
49 SkBudgeted budgeted) { in make_wrapped_texture()
81 SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(provider, desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(provider, desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceCacheTest.cpp42 auto surface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 sk_sp<GrTexture> smallRT0(resourceProvider->createTexture(smallDesc, SkBudgeted::kYes));
110 sk_sp<GrTexture> smallRT1(resourceProvider->createTexture(smallDesc, SkBudgeted::kYes));
122 sk_sp<GrTexture> smallRT2(resourceProvider->createTexture(smallDesc, SkBudgeted::kNo));
139 sk_sp<GrTexture> bigRT(resourceProvider->createTexture(bigDesc, SkBudgeted::kNo));
154 SkBudgeted::kNo));
171 SkBudgeted::kNo));
187 smallMSAART1.reset(resourceProvider->createTexture(smallMSAADesc, SkBudgeted::kNo));
189 resourceProvider->createTexture(smallMSAADesc, SkBudgeted::kNo));
280 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource()
[all …]
DImageNewShaderTest.cpp117 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
118 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
126 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster()
136 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in raster_to_gpu()
DProxyTest.cpp26 SkBudgeted budgeted) { in check_surface()
125 for (auto budgeted : { SkBudgeted::kYes, SkBudgeted::kNo }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
214 for (auto budgeted : { SkBudgeted::kYes, SkBudgeted::kNo }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
242 defaultFBO->uniqueID(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTextureMipMapInvalidationTest.cpp32 auto surf1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
33 auto surf2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
DProcessorTest.cpp148 SkBudgeted::kYes)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
150 context->resourceProvider()->createTexture(desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
152 context->resourceProvider()->createTexture(desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
154 context->resourceProvider()->createTexture(desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
310 desc, SkBudgeted::kYes, rgbaData.get(), 256 * sizeof(GrColor))); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
320 sk_sp<GrTexture> tex1(context->resourceProvider()->createTexture(desc, SkBudgeted::kYes, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
335 desc, SkBudgeted::kYes, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp31 desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
43 GrSurface* tex1 = context->resourceProvider()->createTexture(desc, SkBudgeted::kNo, nullptr, 0); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
/external/skia/include/gpu/
DGrContext.h198 SkBudgeted = SkBudgeted::kYes);
210 SkBudgeted = SkBudgeted::kYes);
225 SkBudgeted budgeted = SkBudgeted::kYes);
237 SkBudgeted budgeted = SkBudgeted::kYes);
/external/skia/include/private/
DGrSurfaceProxy.h175 SkBudgeted, uint32_t flags = 0);
180 const GrSurfaceDesc&, SkBudgeted,
260 SkBudgeted isBudgeted() const { return fBudgeted; } in isBudgeted()
287 SkIRect srcRect, SkBudgeted);
292 SkBudgeted budgeted);
308 GrSurfaceProxy(const GrSurfaceDesc& desc, SkBackingFit fit, SkBudgeted budgeted, uint32_t flags) in GrSurfaceProxy()
335 mutable SkBudgeted fBudgeted; // set from the backing resource for wrapped resources
/external/skia/src/gpu/vk/
DGrVkRenderTarget.h34 static GrVkRenderTarget* CreateNewRenderTarget(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&,
114 SkBudgeted,
123 SkBudgeted,
129 static GrVkRenderTarget* Create(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&,
DGrVkTextureRenderTarget.h29 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, SkBudgeted,
53 SkBudgeted budgeted, in GrVkTextureRenderTarget()
69 SkBudgeted budgeted, in GrVkTextureRenderTarget()
112 SkBudgeted budgeted,
DGrVkRenderTarget.cpp25 SkBudgeted budgeted, in GrVkRenderTarget()
71 SkBudgeted budgeted, in GrVkRenderTarget()
110 SkBudgeted budgeted, in Create()
180 SkBudgeted budgeted, in CreateNewRenderTarget()
206 GrVkRenderTarget::Create(gpu, SkBudgeted::kNo, desc, *info, GrVkImage::kBorrowed_Wrapped)); in MakeWrappedRenderTarget()
DGrVkTexture.h21 static GrVkTexture* CreateNewTexture(GrVkGpu*, SkBudgeted budgeted, const GrSurfaceDesc&,
49 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&,
DGrVkTextureRenderTarget.cpp24 SkBudgeted budgeted, in Create()
119 SkBudgeted budgeted, in CreateNewTextureRenderTarget()
151 return sk_sp<GrVkTextureRenderTarget>(Create(gpu, desc, *info, SkBudgeted::kNo, wrapped)); in MakeWrappedTextureRenderTarget()
/external/skia/include/core/
DSkSurface.h136 static sk_sp<SkSurface> MakeRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&,
140 static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted, in MakeRenderTarget()
147 static sk_sp<SkSurface> MakeRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { in MakeRenderTarget()
/external/skia/src/gpu/gl/
DGrGLTexture.h35 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&);
36 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&,
/external/skia/src/image/
DSkSurface_Gpu.cpp83 static const SkBudgeted kBudgeted = SkBudgeted::kNo; in onNewSurface()
100 SkBudgeted budgeted = rtc->asSurfaceProxy()->isBudgeted(); in onNewImageSnapshot()
201 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext* ctx, SkBudgeted budgeted, in MakeRenderTarget()
DSkImage_Gpu.h26 sk_sp<SkColorSpace>, SkBudgeted);
71 const SkBudgeted fBudgeted;
DSkImage_Gpu.cpp41 sk_sp<SkColorSpace> colorSpace, SkBudgeted budgeted) in SkImage_Gpu()
265 const SkBudgeted budgeted = (kAdoptAndCache_GrWrapOwnership == ownership) in new_wrapped_texture_common()
266 ? SkBudgeted::kYes : SkBudgeted::kNo; in new_wrapped_texture_common()
291 const SkBudgeted budgeted = SkBudgeted::kYes; in make_from_yuv_textures_copy()
406 std::move(proxy), std::move(texColorSpace), SkBudgeted::kNo); in create_image_from_maker()
786 SkBudgeted budgeted) { in MakeFromDeferredTextureImageData()
821 mipLevelCount, SkBudgeted::kYes, in MakeFromDeferredTextureImageData()
830 SkBudgeted budgeted, in MakeTextureFromMipMap()

123456