Home
last modified time | relevance | path

Searched refs:RenderThread (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp103 DummyVsyncSource(RenderThread* renderThread) : mRenderThread(renderThread) {} in DummyVsyncSource()
113 RenderThread* mRenderThread;
116 bool RenderThread::hasInstance() { in hasInstance()
120 void RenderThread::setOnStartHook(JVMAttachHook onStartHook) { in setOnStartHook()
125 JVMAttachHook RenderThread::getOnStartHook() { in getOnStartHook()
129 RenderThread& RenderThread::getInstance() { in getInstance()
133 static RenderThread* sInstance = new RenderThread(); in getInstance()
138 RenderThread::RenderThread() in RenderThread() function in android::uirenderer::renderthread::RenderThread
151 RenderThread::~RenderThread() { in ~RenderThread()
155 void RenderThread::initializeDisplayEventReceiver() { in initializeDisplayEventReceiver()
[all …]
DRenderProxy.cpp44 : mRenderThread(RenderThread::getInstance()), mContext(nullptr) { in RenderProxy()
137 RenderThread& thread = RenderThread::getInstance(); in invokeFunctor()
151 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor()
167 auto& thread = RenderThread::getInstance(); in copyLayerInto()
191 if (RenderThread::hasInstance()) { in trimMemory()
192 RenderThread& thread = RenderThread::getInstance(); in trimMemory()
199 RenderThread::getInstance().queue().runSync( in overrideProperty()
208 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize()
247 if (RenderThread::hasInstance()) { in dumpGraphicsMemory()
248 auto& thread = RenderThread::getInstance(); in dumpGraphicsMemory()
[all …]
DRenderThread.h82 class RenderThread : private ThreadBase {
83 PREVENT_COPY_AND_ASSIGN(RenderThread);
142 RenderThread();
143 virtual ~RenderThread();
146 static RenderThread& getInstance();
DCanvasContext.h66 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
100 static void invokeFunctor(const RenderThread& thread, Functor* functor);
102 static void prepareToDraw(const RenderThread& thread, Bitmap* bitmap);
136 static void trimMemory(RenderThread& thread, int level);
203 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
222 RenderThread& mRenderThread;
DDrawFrameTask.h40 class RenderThread; variable
63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode);
93 RenderThread* mRenderThread;
DTimeLord.h25 class RenderThread; variable
40 friend class RenderThread;
DCacheManager.h39 class RenderThread; variable
56 friend class RenderThread;
DRenderProxy.h43 class RenderThread; variable
158 RenderThread& mRenderThread;
DCanvasContext.cpp63 CanvasContext* CanvasContext::create(RenderThread& thread, bool translucent, in create()
81 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor()
97 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { in prepareToDraw()
101 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, in CanvasContext()
617 void CanvasContext::trimMemory(RenderThread& thread, int level) { in trimMemory()
/frameworks/base/libs/hwui/renderstate/
DRenderState.h31 class RenderThread; variable
44 friend class renderthread::RenderThread;
58 renderthread::RenderThread& getRenderThread() const { return mRenderThread; } in getRenderThread()
61 explicit RenderState(renderthread::RenderThread& thread);
71 renderthread::RenderThread& mRenderThread;
DRenderState.cpp24 RenderState::RenderState(renderthread::RenderThread& thread) : mRenderThread(thread) { in RenderState()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h72 static void doTheThing(renderthread::RenderThread& renderThread); \
78 renderthread::RenderThread& renderThread)
86 static void doTheThing(renderthread::RenderThread& renderThread); \
92 renderthread::RenderThread& renderThread)
157 renderthread::RenderThread& renderThread);
160 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height,
252 typedef std::function<void(renderthread::RenderThread& thread)> RtCallback;
267 renderthread::RenderThread::getInstance().queue().runSync([&]() { task.run(); }); in runOnRenderThread()
271 auto& rt = renderthread::RenderThread::getInstance(); in runOnRenderThreadUnmanaged()
276 static bool isRenderThreadRunning() { return renderthread::RenderThread::hasInstance(); } in isRenderThreadRunning()
[all …]
DTestUtils.cpp55 renderthread::RenderThread& renderThread) { in createTextureLayerUpdater()
69 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, in createTextureLayerUpdater()
101 renderthread::RenderThread& renderThread = renderthread::RenderThread::getInstance(); in run()
/frameworks/base/libs/hwui/tests/unit/
DWebViewFunctorManagerTests.cpp34 TestUtils::runOnRenderThreadUnmanaged([](renderthread::RenderThread&) { in TEST() argument
51 TestUtils::runOnRenderThreadUnmanaged([](renderthread::RenderThread&) { in TEST() argument
75 TestUtils::runOnRenderThreadUnmanaged([](renderthread::RenderThread&) { in TEST() argument
102 TestUtils::runOnRenderThreadUnmanaged([](renderthread::RenderThread&) { in TEST() argument
147 TestUtils::runOnRenderThreadUnmanaged([](renderthread::RenderThread&) { in TEST() argument
DRenderThreadTests.cpp26 RENDERTHREAD_TEST(RenderThread, isLooper) { in RENDERTHREAD_TEST() argument
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.h31 explicit SkiaVulkanPipeline(renderthread::RenderThread& thread);
51 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
52 static sk_sp<Bitmap> allocateHardwareBitmap(renderthread::RenderThread& thread,
DSkiaVulkanPipeline.cpp44 SkiaVulkanPipeline::SkiaVulkanPipeline(renderthread::RenderThread& thread) in SkiaVulkanPipeline()
144 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor()
148 sk_sp<Bitmap> SkiaVulkanPipeline::allocateHardwareBitmap(renderthread::RenderThread& renderThread, in allocateHardwareBitmap()
DSkiaOpenGLPipeline.h32 SkiaOpenGLPipeline(renderthread::RenderThread& thread);
52 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
DSkiaPipeline.h33 explicit SkiaPipeline(renderthread::RenderThread& thread);
59 static void prepareToDraw(const renderthread::RenderThread& thread, Bitmap* bitmap);
115 renderthread::RenderThread& mRenderThread;
DVkFunctorDrawable.cpp54 if (!renderthread::RenderThread::isCurrent()) in draw()
62 renderthread::RenderThread::getInstance().vulkanManager(); in draw()
DSkiaOpenGLPipeline.cpp46 SkiaOpenGLPipeline::SkiaOpenGLPipeline(RenderThread& thread) in SkiaOpenGLPipeline()
208 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor()
/frameworks/base/libs/hwui/
DDeviceInfo.h28 class RenderThread; variable
48 friend class renderthread::RenderThread;
DReadback.h46 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {} in Readback()
63 renderthread::RenderThread& mRenderThread;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java55 private RenderThread mRenderThread;
92 mRenderThread = new RenderThread(getResources(), surface); in onSurfaceTextureAvailable()
120 Log.e(RenderThread.LOG_TAG, "Could not wait for render thread"); in onSurfaceTextureDestroyed()
129 private static class RenderThread extends Thread { class in GLTextureViewActivity
147 RenderThread(Resources resources, SurfaceTexture surface) { in RenderThread() method in GLTextureViewActivity.RenderThread
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java40 private RenderThread mRenderThread;
51 mRenderThread = new RenderThread(renderer); in setRenderer()
307 private static class RenderThread extends Thread { class in BlockingGLTextureView
325 public RenderThread(Renderer renderer) { in RenderThread() method in BlockingGLTextureView.RenderThread

12