Searched refs:mGrContext (Results 1 – 7 of 7) sorted by relevance
67 if (context != mGrContext) { in reset()72 mGrContext = std::move(context); in reset()73 mGrContext->getResourceCacheLimits(&mMaxResources, nullptr); in reset()74 mGrContext->setResourceCacheLimits(mMaxResources, mMaxResourceBytes); in reset()80 mGrContext.reset(nullptr); in destroy()106 if (!mGrContext) { in trimMemory()110 mGrContext->flush(); in trimMemory()115 mGrContext->freeGpuResources(); in trimMemory()122 mGrContext->purgeUnlockedResources(true); in trimMemory()123 mGrContext->setResourceCacheLimits(mMaxResources, mBackgroundResourceBytes); in trimMemory()[all …]
290 if (mGrContext) { in setGrContext()292 mGrContext->releaseResourcesAndAbandonContext(); in setGrContext()294 mGrContext = std::move(context); in setGrContext()295 if (mGrContext) { in setGrContext()297 DeviceInfo::setMaxTextureSize(mGrContext->maxRenderTargetSize()); in setGrContext()
105 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext()175 sk_sp<GrContext> mGrContext; variable
64 sk_sp<GrContext> mGrContext; variable
116 GrContext* mGrContext; variable
387 , mGrContext(grContext) in VulkanSurface()508 mGrContext, ANativeWindowBuffer_getHardwareBuffer(bufferInfo->buffer.get()), in dequeueNativeBuffer()
239 mGrContext.reset(); in onDestroy()243 mGrContext.reset(); in onIdle()250 LOG_ALWAYS_FATAL_IF(mGrContext, in onBeginUpload()257 if (!mGrContext) { in onBeginUpload()259 mGrContext = mVulkanManager.createContext(options); in onBeginUpload()260 LOG_ALWAYS_FATAL_IF(!mGrContext, "failed to create GrContext for vulkan uploads"); in onBeginUpload()271 sk_sp<SkImage> image = SkImage::MakeFromAHardwareBufferWithData(mGrContext.get(), in onUploadHardwareBitmap()276 sk_sp<GrContext> mGrContext; member in android::uirenderer::VkUploader