Home
last modified time | relevance | path

Searched refs:budgeted (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/image/
DSkImage_Gpu.cpp23 SkBudgeted budgeted) in SkImage_Gpu() argument
27 , fBudgeted(budgeted) in SkImage_Gpu()
169 const SkBudgeted budgeted = SkBudgeted::kNo; in new_wrapped_texture_common() local
170 return new SkImage_Gpu(desc.fWidth, desc.fHeight, kNeedNewImageUniqueID, at, tex, budgeted); in new_wrapped_texture_common()
208 const SkBudgeted budgeted = SkBudgeted::kYes; in NewFromYUVTexturesCopy() local
279 kOpaque_SkAlphaType, dst, budgeted); in NewFromYUVTexturesCopy()
315 GrTexture* GrDeepCopyTexture(GrTexture* src, SkBudgeted budgeted) { in GrDeepCopyTexture() argument
319 GrTexture* dst = ctx->textureProvider()->createTexture(desc, budgeted, nullptr, 0); in GrDeepCopyTexture()
DSkSurface_Gpu.cpp80 SkImage* SkSurface_Gpu::onNewImageSnapshot(SkBudgeted budgeted, ForceCopyMode forceCopyMode) { in onNewImageSnapshot() argument
90 copy.reset(ctx->textureProvider()->createTexture(desc, budgeted)); in onNewImageSnapshot()
103 info.alphaType(), tex, budgeted); in onNewImageSnapshot()
144 SkSurface* SkSurface::NewRenderTarget(GrContext* ctx, SkBudgeted budgeted, const SkImageInfo& info, in NewRenderTarget() argument
148 ctx, budgeted, info, sampleCount, props, SkGpuDevice::kClear_InitContents, in NewRenderTarget()
DSkSurface.cpp166 SkImage* SkSurface::newImageSnapshot(SkBudgeted budgeted) { in newImageSnapshot() argument
168 return asSB(this)->refCachedImage(budgeted, kNo_ForceUnique); in newImageSnapshot()
171 SkImage* SkSurface::newImageSnapshot(SkBudgeted budgeted, ForceUnique unique) { in newImageSnapshot() argument
173 return asSB(this)->refCachedImage(budgeted, unique); in newImageSnapshot()
DSkSurface_Base.h117 SkImage* SkSurface_Base::refCachedImage(SkBudgeted budgeted, ForceUnique unique) { in refCachedImage() argument
127 snap = this->onNewImageSnapshot(budgeted, fcm); in refCachedImage()
/external/skia/include/gpu/
DGrTextureProvider.h32 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData,
36 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture() argument
37 return this->createTexture(desc, budgeted, NULL, 0); in createTexture()
/external/skia/src/gpu/
DGrTextureProvider.cpp32 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() argument
49 if (SkBudgeted::kNo == budgeted) { in createTexture()
57 return fGpu->createTexture(desc, budgeted, srcData, rowBytes); in createTexture()
DGrGpu.cpp91 GrTexture* GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted, in createTexture() argument
123 GrGpuResource::LifeCycle lifeCycle = SkBudgeted::kYes == budgeted ? in createTexture()
DSkGpuDevice.cpp151 SkGpuDevice* SkGpuDevice::Create(GrContext* context, SkBudgeted budgeted, in Create() argument
161 context, budgeted, info, sampleCount, customAllocator)); in Create()
189 GrContext* context, SkBudgeted budgeted, const SkImageInfo& origInfo, in CreateRenderTarget() argument
220 GrTexture* texture = context->textureProvider()->createTexture(desc, budgeted, nullptr, 0); in CreateRenderTarget()
324 SkBudgeted budgeted = fRenderTarget->resourcePriv().isBudgeted(); in replaceRenderTarget() local
327 this->context(), budgeted, this->imageInfo(), fRenderTarget->desc().fSampleCnt, in replaceRenderTarget()
DGrGpu.h96 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,