/external/skia/src/gpu/ |
D | GrGpuResource.cpp | 26 , 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()
|
D | GrGpuResourcePriv.h | 46 SkBudgeted isBudgeted() const { in isBudgeted() 47 bool ret = SkBudgeted::kYes == fResource->fBudgeted; in isBudgeted() 49 return SkBudgeted(ret); in isBudgeted()
|
D | GrSurfaceProxy.cpp | 155 SkBudgeted budgeted, in MakeDeferred() 215 SkBudgeted budgeted, in MakeDeferred() 246 SkBudgeted budgeted) { in Copy() 271 SkBudgeted budgeted) { in Copy() 281 SkBudgeted::kYes)); in TestCopy()
|
D | GrResourceProvider.h | 50 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) {
|
D | GrResourceCache.cpp | 113 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()
|
D | GrGpu.h | 104 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/ |
D | ProxyConversionTest.cpp | 39 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()
|
D | ResourceCacheTest.cpp | 42 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 …]
|
D | ImageNewShaderTest.cpp | 117 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()
|
D | ProxyTest.cpp | 26 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()
|
D | GrTextureMipMapInvalidationTest.cpp | 32 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()
|
D | ProcessorTest.cpp | 148 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()
|
D | GrSurfaceTest.cpp | 31 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/ |
D | GrContext.h | 198 SkBudgeted = SkBudgeted::kYes); 210 SkBudgeted = SkBudgeted::kYes); 225 SkBudgeted budgeted = SkBudgeted::kYes); 237 SkBudgeted budgeted = SkBudgeted::kYes);
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 175 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/ |
D | GrVkRenderTarget.h | 34 static GrVkRenderTarget* CreateNewRenderTarget(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, 114 SkBudgeted, 123 SkBudgeted, 129 static GrVkRenderTarget* Create(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&,
|
D | GrVkTextureRenderTarget.h | 29 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, SkBudgeted, 53 SkBudgeted budgeted, in GrVkTextureRenderTarget() 69 SkBudgeted budgeted, in GrVkTextureRenderTarget() 112 SkBudgeted budgeted,
|
D | GrVkRenderTarget.cpp | 25 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()
|
D | GrVkTexture.h | 21 static GrVkTexture* CreateNewTexture(GrVkGpu*, SkBudgeted budgeted, const GrSurfaceDesc&, 49 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&,
|
D | GrVkTextureRenderTarget.cpp | 24 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/ |
D | SkSurface.h | 136 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/ |
D | GrGLTexture.h | 35 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&); 36 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&,
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 83 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()
|
D | SkImage_Gpu.h | 26 sk_sp<SkColorSpace>, SkBudgeted); 71 const SkBudgeted fBudgeted;
|
D | SkImage_Gpu.cpp | 41 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()
|