Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.h34 AutoBackendTextureRelease(GrContext* context, AHardwareBuffer* buffer);
45 void makeImage(AHardwareBuffer* buffer, android_dataspace dataspace, GrContext* context);
47 void newBufferContent(GrContext* context);
DAutoBackendTextureRelease.cpp28 AutoBackendTextureRelease::AutoBackendTextureRelease(GrContext* context, AHardwareBuffer* buffer) { in AutoBackendTextureRelease()
71 GrContext* context) { in makeImage()
84 void AutoBackendTextureRelease::newBufferContent(GrContext* context) { in newBufferContent()
DDeferredLayerUpdater.h109 bool forceCreate, GrContext* context);
DDeferredLayerUpdater.cpp192 GrContext* context) { in createIfNeeded()
DReadback.cpp122 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()
DHardwareBitmapUploader.cpp285 sk_sp<GrContext> mGrContext;
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h40 sk_sp<SkColorSpace> colorSpace, GrContext* grContext,
106 VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, GrContext* grContext);
119 GrContext* mGrContext;
DVulkanManager.h62 SkColorType surfaceColorType, GrContext* grContext,
73 status_t fenceWait(int fence, GrContext* grContext);
77 status_t createReleaseFence(int* nativeFence, GrContext* grContext);
84 sk_sp<GrContext> createContext(const GrContextOptions& options);
DCacheManager.h61 void reset(sk_sp<GrContext> grContext);
67 sk_sp<GrContext> mGrContext;
DRenderThread.h109 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext()
110 void setGrContext(sk_sp<GrContext> cxt);
189 sk_sp<GrContext> mGrContext;
DRenderThread.cpp193 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); in requireGlContext()
207 sk_sp<GrContext> grContext = mVkManager->createContext(options); in requireVkContext()
266 void RenderThread::setGrContext(sk_sp<GrContext> context) { in setGrContext()
DVulkanManager.cpp372 sk_sp<GrContext> VulkanManager::createContext(const GrContextOptions& options) { in createContext()
391 return GrContext::MakeVulkan(backendContext, options); in createContext()
561 SkColorType surfaceColorType, GrContext* grContext, in createSurface()
572 status_t VulkanManager::fenceWait(int fence, GrContext* grContext) { in fenceWait()
620 status_t VulkanManager::createReleaseFence(int* nativeFence, GrContext* grContext) { in createReleaseFence()
DIRenderPipeline.h29 class GrContext; variable
DCacheManager.cpp64 void CacheManager::reset(sk_sp<GrContext> context) { in reset()
DVulkanSurface.cpp120 GrContext* grContext, const VulkanManager& vkManager, in Create()
313 GrContext* grContext) in VulkanSurface()
DCanvasContext.h108 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext()
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp29 static size_t getCacheUsage(GrContext* grContext) { in getCacheUsage()
38 GrContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.h35 static bool DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, const SkRect* srcRect,
DShaderCache.h83 void onVkFrameFlushed(GrContext* context);
DSkiaPipeline.cpp88 sk_sp<GrContext> cachedContext; in renderLayersImpl()
144 GrContext* currentContext = layerNode->getLayerSurface()->getCanvas()->getGrContext(); in renderLayersImpl()
203 GrContext* context = thread.getGrContext(); in prepareToDraw()
DLayerDrawable.cpp70 bool LayerDrawable::DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, in DrawLayer()
DShaderCache.cpp209 void ShaderCache::onVkFrameFlushed(GrContext* context) { in onVkFrameFlushed()