Home
last modified time | relevance | path

Searched refs:getActiveContext (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp326 if (getActiveContext()) { in useProtectedContext()
327 getActiveContext()->purgeUnlockedScratchResources(); in useProtectedContext()
336 if (getActiveContext()) { in useProtectedContext()
337 getActiveContext()->resetContextIfApplicable(); in useProtectedContext()
342 SkiaGpuContext* SkiaRenderEngine::getActiveContext() { in getActiveContext() function in android::renderengine::skia::SkiaRenderEngine
424 auto context = getActiveContext(); in mapExternalTextureBuffer()
490 getActiveContext()->makeBackendTexture(buffer->toAHardwareBuffer(), isOutputBuffer); in getOrCreateBackendTexture()
537 return kMapper.mouriMap(getActiveContext(), parameters.shader, ratio); in createRuntimeEffectShader()
698 auto context = getActiveContext(); in drawLayersInternal()
1208 getActiveContext()->setResourceCacheLimit(maxResourceBytes); in onActiveDisplaySizeChanged()
[all …]
DSkiaRenderEngine.h99 SkiaGpuContext* getActiveContext();
/frameworks/base/libs/hwui/
DWebViewFunctorManager.cpp129 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in prepareRootSurfaceControl()
223 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in getSurfaceControl()
246 renderthread::CanvasContext* activeContext = renderthread::CanvasContext::getActiveContext(); in mergeTransaction()
DTonemapper.cpp58 const auto* context = renderthread::CanvasContext::getActiveContext(); in createLinearEffectColorFilter()
DRecordingCanvas.cpp504 auto pixelSnap = renderthread::CanvasContext::getActiveContext()->getPixelSnapMatrix(); in draw()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp65 static CanvasContext* getActiveContext() { return sActiveContext; } in getActiveContext() function in android::uirenderer::renderthread::__anonb5f34f6b0111::ScopedActiveContext
1125 CanvasContext* CanvasContext::getActiveContext() { in getActiveContext() function in android::uirenderer::renderthread::CanvasContext
1126 return ScopedActiveContext::getActiveContext(); in getActiveContext()
1158 CanvasContext* self = getActiveContext(); in shouldDither()
DCanvasContext.h229 static CanvasContext* getActiveContext();
/frameworks/base/libs/hwui/effects/
DGainmapRenderer.cpp61 CanvasContext* context = CanvasContext::getActiveContext(); in getTargetHdrSdrRatio()