/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 103 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 …]
|
D | RenderProxy.cpp | 44 : 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 …]
|
D | RenderThread.h | 82 class RenderThread : private ThreadBase { 83 PREVENT_COPY_AND_ASSIGN(RenderThread); 142 RenderThread(); 143 virtual ~RenderThread(); 146 static RenderThread& getInstance();
|
D | CanvasContext.h | 66 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;
|
D | DrawFrameTask.h | 40 class RenderThread; variable 63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode); 93 RenderThread* mRenderThread;
|
D | TimeLord.h | 25 class RenderThread; variable 40 friend class RenderThread;
|
D | CacheManager.h | 39 class RenderThread; variable 56 friend class RenderThread;
|
D | RenderProxy.h | 43 class RenderThread; variable 158 RenderThread& mRenderThread;
|
D | CanvasContext.cpp | 63 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/ |
D | RenderState.h | 31 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;
|
D | RenderState.cpp | 24 RenderState::RenderState(renderthread::RenderThread& thread) : mRenderThread(thread) { in RenderState()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 72 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 …]
|
D | TestUtils.cpp | 55 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/ |
D | WebViewFunctorManagerTests.cpp | 34 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
|
D | RenderThreadTests.cpp | 26 RENDERTHREAD_TEST(RenderThread, isLooper) { in RENDERTHREAD_TEST() argument
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaVulkanPipeline.h | 31 explicit SkiaVulkanPipeline(renderthread::RenderThread& thread); 51 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor); 52 static sk_sp<Bitmap> allocateHardwareBitmap(renderthread::RenderThread& thread,
|
D | SkiaVulkanPipeline.cpp | 44 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()
|
D | SkiaOpenGLPipeline.h | 32 SkiaOpenGLPipeline(renderthread::RenderThread& thread); 52 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
|
D | SkiaPipeline.h | 33 explicit SkiaPipeline(renderthread::RenderThread& thread); 59 static void prepareToDraw(const renderthread::RenderThread& thread, Bitmap* bitmap); 115 renderthread::RenderThread& mRenderThread;
|
D | VkFunctorDrawable.cpp | 54 if (!renderthread::RenderThread::isCurrent()) in draw() 62 renderthread::RenderThread::getInstance().vulkanManager(); in draw()
|
D | SkiaOpenGLPipeline.cpp | 46 SkiaOpenGLPipeline::SkiaOpenGLPipeline(RenderThread& thread) in SkiaOpenGLPipeline() 208 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.h | 28 class RenderThread; variable 48 friend class renderthread::RenderThread;
|
D | Readback.h | 46 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {} in Readback() 63 renderthread::RenderThread& mRenderThread;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 55 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/ |
D | BlockingGLTextureView.java | 40 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
|