Home
last modified time | relevance | path

Searched refs:WebViewFunctorManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/platform/host/
DWebViewFunctorManager.cpp57 WebViewFunctorManager& WebViewFunctorManager::instance() { in instance()
58 static WebViewFunctorManager sInstance; in instance()
62 int WebViewFunctorManager::createFunctor(void* data, const WebViewFunctorCallbacks& callbacks, in createFunctor()
67 void WebViewFunctorManager::releaseFunctor(int functor) {} in releaseFunctor()
69 void WebViewFunctorManager::onContextDestroyed() {} in onContextDestroyed()
71 void WebViewFunctorManager::destroyFunctor(int functor) {} in destroyFunctor()
73 void WebViewFunctorManager::reportRenderingThreads(int functor, const pid_t* thread_ids, in reportRenderingThreads()
76 std::vector<pid_t> WebViewFunctorManager::getRenderingThreadsForActiveFunctors() { in getRenderingThreadsForActiveFunctors()
80 sp<WebViewFunctor::Handle> WebViewFunctorManager::handleFor(int functor) { in handleFor()
/frameworks/base/libs/hwui/
DWebViewFunctorManager.cpp83 return WebViewFunctorManager::instance().createFunctor(data, prototype, functorMode); in WebViewFunctor_create()
87 WebViewFunctorManager::instance().releaseFunctor(functor); in WebViewFunctor_release()
91 WebViewFunctorManager::instance().reportRenderingThreads(functor, thread_ids, size); in WebViewFunctor_reportRenderingThreads()
272 WebViewFunctorManager& WebViewFunctorManager::instance() { in instance()
273 static WebViewFunctorManager sInstance; in instance()
298 int WebViewFunctorManager::createFunctor(void* data, const WebViewFunctorCallbacks& callbacks, in createFunctor()
312 void WebViewFunctorManager::releaseFunctor(int functor) { in releaseFunctor()
326 void WebViewFunctorManager::onContextDestroyed() { in onContextDestroyed()
344 void WebViewFunctorManager::destroyFunctor(int functor) { in destroyFunctor()
358 void WebViewFunctorManager::reportRenderingThreads(int functor, const pid_t* thread_ids, in reportRenderingThreads()
[all …]
DWebViewFunctorManager.h30 class WebViewFunctorManager; variable
107 class WebViewFunctorManager {
109 static WebViewFunctorManager& instance();
121 WebViewFunctorManager() = default;
122 ~WebViewFunctorManager() = default;
DAndroid.bp650 "WebViewFunctorManager.cpp",
672 "platform/host/WebViewFunctorManager.cpp",
/frameworks/base/libs/hwui/tests/unit/
DWebViewFunctorManagerTests.cpp55 auto handle = WebViewFunctorManager::instance().handleFor(functor); in TEST()
58 EXPECT_FALSE(WebViewFunctorManager::instance().handleFor(functor)); in TEST()
98 auto handle = WebViewFunctorManager::instance().handleFor(functor); in TEST()
127 auto handle = WebViewFunctorManager::instance().handleFor(functor); in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DFunctorDrawable.h41 , mWebViewHandle(WebViewFunctorManager::instance().handleFor(functor)) {} in FunctorDrawable()
/frameworks/base/libs/hwui/platform/host/renderthread/
DRenderThread.cpp62 , mFunctorManager(WebViewFunctorManager::instance()) in RenderThread()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.h238 WebViewFunctorManager& mFunctorManager;
DRenderThread.cpp234 , mFunctorManager(WebViewFunctorManager::instance()) in RenderThread()
DRenderProxy.cpp195 thread.queue().post([=]() { WebViewFunctorManager::instance().destroyFunctor(functor); }); in destroyFunctor()
DCanvasContext.cpp794 WebViewFunctorManager::instance().getRenderingThreadsForActiveFunctors()); in draw()