Searched refs:RenderThread (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp17 #include "RenderThread.h"
134 RenderThread* mRenderThread;
136 explicit DispatchFrameCallbacks(RenderThread* rt) : mRenderThread(rt) {}
145 bool RenderThread::hasInstance() {
149 RenderThread& RenderThread::getInstance() {
152 // because we don't want to delete the RenderThread normally.
153 static RenderThread* sInstance = new RenderThread();
158 RenderThread function in class:android::uirenderer::renderthread::RenderThread
[all...]
H A DTimeLord.h25 class RenderThread;
40 friend class RenderThread;
H A DEglManager.h30 class RenderThread;
64 friend class RenderThread;
65 explicit EglManager(RenderThread& thread);
75 RenderThread& mRenderThread;
H A DOpenGLPipeline.h31 OpenGLPipeline(RenderThread& thread);
62 static void prepareToDraw(const RenderThread& thread, Bitmap* bitmap);
63 static void invokeFunctor(const RenderThread& thread, Functor* functor);
69 RenderThread& mRenderThread;
H A DDrawFrameTask.h41 class RenderThread;
63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode);
82 RenderThread* mRenderThread;
H A DRenderThread.h76 class ANDROID_API RenderThread : public Thread { class in namespace:android::uirenderer::renderthread
77 PREVENT_COPY_AND_ASSIGN(RenderThread);
79 // RenderThread takes complete ownership of tasks that are queued
115 RenderThread();
116 virtual ~RenderThread();
119 static RenderThread& getInstance();
H A DRenderProxy.cpp27 #include "renderthread/RenderThread.h"
63 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent,
70 : mRenderThread(RenderThread::getInstance())
253 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) {
260 RenderThread& thread = RenderThread::getInstance();
342 CREATE_BRIDGE2(trimMemory, RenderThread* thread, int level) {
348 // Avoid creating a RenderThread to do a trimMemory.
349 if (RenderThread::hasInstance()) {
350 RenderThread
[all...]
H A DVulkanManager.h29 class RenderThread;
108 friend class RenderThread;
110 explicit VulkanManager(RenderThread& thread);
167 RenderThread& mRenderThread;
H A DCanvasContext.h34 #include "renderthread/RenderThread.h"
67 static CanvasContext* create(RenderThread& thread, bool translucent,
108 static void invokeFunctor(const RenderThread& thread, Functor* functor);
110 static void prepareToDraw(const RenderThread& thread, Bitmap* bitmap);
146 static void trimMemory(RenderThread& thread, int level);
198 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
217 RenderThread& mRenderThread;
/frameworks/base/libs/hwui/
H A DReadback.h19 #include "renderthread/RenderThread.h"
49 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {}
52 renderthread::RenderThread& mRenderThread;
H A DOpenGLReadback.h35 explicit OpenGLReadback(renderthread::RenderThread& thread) : Readback(thread) {}
47 OpenGLReadbackImpl(renderthread::RenderThread& thread) : OpenGLReadback(thread) {}
52 static bool copyLayerInto(renderthread::RenderThread& renderThread, GlLayer& layer,
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLReadback.h27 SkiaOpenGLReadback(renderthread::RenderThread& thread) : OpenGLReadback(thread) {}
H A DSkiaOpenGLPipeline.h27 SkiaOpenGLPipeline(renderthread::RenderThread& thread);
48 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
H A DSkiaVulkanPipeline.h28 SkiaVulkanPipeline(renderthread::RenderThread& thread);
49 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
H A DSkiaPipeline.h30 SkiaPipeline(renderthread::RenderThread& thread);
54 static void prepareToDraw(const renderthread::RenderThread& thread, Bitmap* bitmap);
107 renderthread::RenderThread& mRenderThread;
H A DSkiaOpenGLPipeline.cpp38 SkiaOpenGLPipeline::SkiaOpenGLPipeline(RenderThread& thread)
186 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) {
H A DSkiaVulkanPipeline.cpp43 SkiaVulkanPipeline::SkiaVulkanPipeline(renderthread::RenderThread& thread)
155 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) {
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h49 class RenderThread;
56 friend class renderthread::RenderThread;
125 explicit RenderState(renderthread::RenderThread& thread);
129 renderthread::RenderThread& mRenderThread;
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h28 #include <renderthread/RenderThread.h>
81 * Like gtest's TEST, but runs on the RenderThread, and 'renderThread' is passed, in top level scope
87 static void doTheThing(renderthread::RenderThread& renderThread); \
93 void test_case_name##_##test_name##_RenderThreadTest::doTheThing(renderthread::RenderThread& renderThread)
101 static void doTheThing(renderthread::RenderThread& renderThread); \
104 void test_case_name##_##test_name##_RenderThreadTest::doTheThing(renderthread::RenderThread& renderThread)
112 static void doTheThing(renderthread::RenderThread& renderThread); \
117 void test_case_name##_##test_name##_RenderThreadTest::doTheThing(renderthread::RenderThread& renderThread)
196 renderthread::RenderThread& renderThread);
199 renderthread::RenderThread
[all...]
H A DLeakChecker.cpp74 TestUtils::runOnRenderThread([&rtMemInfo](renderthread::RenderThread& thread) {
H A DTestUtils.cpp53 renderthread::RenderThread& renderThread) {
69 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height,
134 // RenderState only valid once RenderThread is running, so queried here
135 renderthread::RenderThread& renderThread = renderthread::RenderThread::getInstance();
/frameworks/base/libs/hwui/tests/microbench/
H A DFontBench.cpp28 TestUtils::runOnRenderThread([&state](renderthread::RenderThread& thread) {
H A DFrameBuilderBench.cpp62 TestUtils::runOnRenderThread([&state](RenderThread& thread) {
75 TestUtils::runOnRenderThread([&state](RenderThread& thread) {
115 TestUtils::runOnRenderThread([&state](RenderThread& thread) {
131 TestUtils::runOnRenderThread([&state](RenderThread& thread) {
/frameworks/base/libs/hwui/tests/unit/
H A DGpuMemoryTrackerTests.cpp22 #include "renderthread/RenderThread.h"
41 // This will destroy the EGLContext on RenderThread if it exists so that the
45 TestUtils::runOnRenderThread([](RenderThread& thread) {
/frameworks/base/libs/hwui/hwui/
H A DBitmap.h37 class RenderThread;
60 static sk_sp<Bitmap> allocateHardwareBitmap(uirenderer::renderthread::RenderThread&,

Completed in 6689 milliseconds

12