Home
last modified time | relevance | path

Searched refs:GrContext (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.h72 void prepareForDraw(GrContext* context);
78 void repackIfNeeded(GrContext* context);
91 AtlasEntry requestNewEntry(int width, int height, GrContext* context);
199 sk_sp<SkSurface> createSurface(int width, int height, GrContext* context);
205 void repack(GrContext* context);
DVectorDrawableAtlas.cpp35 void VectorDrawableAtlas::prepareForDraw(GrContext* context) { in prepareForDraw()
61 void VectorDrawableAtlas::repackIfNeeded(GrContext* context) { in repackIfNeeded()
76 void VectorDrawableAtlas::repack(GrContext* context) { in repack()
152 AtlasEntry VectorDrawableAtlas::requestNewEntry(int width, int height, GrContext* context) { in requestNewEntry()
264 sk_sp<SkSurface> VectorDrawableAtlas::createSurface(int width, int height, GrContext* context) { in createSurface()
DLayerDrawable.h35 static bool DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, const SkRect* srcRect,
DShaderCache.h83 void onVkFrameFlushed(GrContext* context);
DSkiaPipeline.cpp93 sk_sp<GrContext> cachedContext; in renderLayersImpl()
141 GrContext* currentContext = layerNode->getLayerSurface()->getCanvas()->getGrContext(); in renderLayersImpl()
201 GrContext* context = thread.getGrContext(); in prepareToDraw()
DLayerDrawable.cpp53 bool LayerDrawable::DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, in DrawLayer()
DShaderCache.cpp209 void ShaderCache::onVkFrameFlushed(GrContext* context) { in onVkFrameFlushed()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h38 sk_sp<SkColorSpace> colorSpace, GrContext* grContext,
105 SkISize maxWindowSize, GrContext* grContext);
116 GrContext* mGrContext;
DVulkanManager.h62 SkColorType surfaceColorType, GrContext* grContext,
73 status_t fenceWait(sp<Fence>& fence, GrContext* grContext);
77 status_t createReleaseFence(sp<Fence>& nativeFence, GrContext* grContext);
84 sk_sp<GrContext> createContext(const GrContextOptions& options);
DRenderThread.h105 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext()
106 void setGrContext(sk_sp<GrContext> cxt);
175 sk_sp<GrContext> mGrContext;
DCacheManager.h60 void reset(sk_sp<GrContext> grContext);
64 sk_sp<GrContext> mGrContext;
DRenderThread.cpp213 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); in requireGlContext()
227 sk_sp<GrContext> grContext = mVkManager->createContext(options); in requireVkContext()
286 void RenderThread::setGrContext(sk_sp<GrContext> context) { in setGrContext()
DVulkanManager.cpp380 sk_sp<GrContext> VulkanManager::createContext(const GrContextOptions& options) { in createContext()
399 return GrContext::MakeVulkan(backendContext, options); in createContext()
559 SkColorType surfaceColorType, GrContext* grContext, in createSurface()
570 status_t VulkanManager::fenceWait(sp<Fence>& fence, GrContext* grContext) { in fenceWait()
618 status_t VulkanManager::createReleaseFence(sp<Fence>& nativeFence, GrContext* grContext) { in createReleaseFence()
DIRenderPipeline.h29 class GrContext; variable
DCacheManager.cpp66 void CacheManager::reset(sk_sp<GrContext> context) { in reset()
DCanvasContext.h108 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext()
DVulkanSurface.cpp165 GrContext* grContext, const VulkanManager& vkManager, in Create()
384 SkISize minWindowSize, SkISize maxWindowSize, GrContext* grContext) in VulkanSurface()
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp61 AutoBackendTextureRelease(GrContext* context, GraphicBuffer* buffer);
72 GrContext* context);
90 AutoBackendTextureRelease::AutoBackendTextureRelease(GrContext* context, GraphicBuffer* buffer) { in AutoBackendTextureRelease()
140 android_dataspace dataspace, GrContext* context) { in makeImage()
159 GrContext* context) { in createIfNeeded()
DImageConsumer.h83 bool forceCreate, GrContext* context);
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp29 static size_t getCacheUsage(GrContext* grContext) { in getCacheUsage()
37 GrContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/
DReadback.cpp119 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()
DHardwareBitmapUploader.cpp276 sk_sp<GrContext> mGrContext;
DVectorDrawable.h658 void updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context);
DVectorDrawable.cpp489 void Tree::updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context) { in updateCache()