/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 115 void RenderThread::extendedFrameCallback(const AChoreographerFrameCallbackData* cbData, in extendedFrameCallback() 117 RenderThread* rt = reinterpret_cast<RenderThread*>(data); in extendedFrameCallback() 130 void RenderThread::frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos, in frameCallback() 143 void RenderThread::refreshRateCallback(int64_t vsyncPeriod, void* data) { in refreshRateCallback() 145 RenderThread* rt = reinterpret_cast<RenderThread*>(data); in refreshRateCallback() 152 ChoreographerSource(RenderThread* renderThread) : mRenderThread(renderThread) {} in ChoreographerSource() 156 RenderThread::extendedFrameCallback, mRenderThread); in requestNextVsync() 164 RenderThread* mRenderThread; 169 DummyVsyncSource(RenderThread* renderThread) : mRenderThread(renderThread) {} in DummyVsyncSource() 186 RenderThread* mRenderThread; [all …]
|
D | RenderProxy.cpp | 40 : mRenderThread(RenderThread::getInstance()), mContext(nullptr) { in RenderProxy() 160 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor() 176 auto& thread = RenderThread::getInstance(); in copyLayerInto() 200 if (RenderThread::hasInstance()) { in trimMemory() 201 RenderThread& thread = RenderThread::getInstance(); in trimMemory() 207 if (RenderThread::hasInstance()) { in purgeCaches() 208 RenderThread& thread = RenderThread::getInstance(); in purgeCaches() 219 RenderThread::getInstance().queue().runSync( in overrideProperty() 228 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() 272 if (RenderThread::hasInstance()) { in dumpGraphicsMemory() [all …]
|
D | RenderThread.h | 130 class RenderThread : private ThreadBase { 131 PREVENT_COPY_AND_ASSIGN(RenderThread); 198 friend class sp<RenderThread>; 200 RenderThread(); 201 virtual ~RenderThread(); 204 static RenderThread& getInstance();
|
D | CanvasContext.h | 68 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 110 static void invokeFunctor(const RenderThread& thread, Functor* functor); 112 static void prepareToDraw(const RenderThread& thread, Bitmap* bitmap); 151 static void trimMemory(RenderThread& thread, int level); 221 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 256 RenderThread& mRenderThread;
|
D | DrawFrameTask.h | 41 class RenderThread; variable 64 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode, 115 RenderThread* mRenderThread;
|
D | TimeLord.h | 25 class RenderThread; variable 43 friend class RenderThread;
|
D | CacheManager.h | 39 class RenderThread; variable 60 friend class RenderThread;
|
D | RenderProxy.h | 46 class RenderThread; variable 150 RenderThread& mRenderThread;
|
/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); 70 renderthread::RenderThread& mRenderThread;
|
D | RenderState.cpp | 23 RenderState::RenderState(renderthread::RenderThread& thread) : mRenderThread(thread) { in RenderState()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 73 static void doTheThing(renderthread::RenderThread& renderThread); \ 78 renderthread::RenderThread& renderThread) 86 static void doTheThing(renderthread::RenderThread& renderThread); \ 91 renderthread::RenderThread& renderThread) 156 renderthread::RenderThread& renderThread); 159 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, 244 typedef std::function<void(renderthread::RenderThread& thread)> RtCallback; 259 renderthread::RenderThread::getInstance().queue().runSync([&]() { task.run(); }); in runOnRenderThread() 263 auto& rt = renderthread::RenderThread::getInstance(); in runOnRenderThreadUnmanaged() 268 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); 54 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor); 55 static sk_sp<Bitmap> allocateHardwareBitmap(renderthread::RenderThread& thread,
|
D | SkiaPipeline.h | 36 explicit SkiaPipeline(renderthread::RenderThread& thread); 62 static void prepareToDraw(const renderthread::RenderThread& thread, Bitmap* bitmap); 77 renderthread::RenderThread& mRenderThread;
|
D | SkiaVulkanPipeline.cpp | 45 SkiaVulkanPipeline::SkiaVulkanPipeline(renderthread::RenderThread& thread) : SkiaPipeline(thread) { in SkiaVulkanPipeline() 166 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { in invokeFunctor() 170 sk_sp<Bitmap> SkiaVulkanPipeline::allocateHardwareBitmap(renderthread::RenderThread& renderThread, in allocateHardwareBitmap()
|
D | SkiaOpenGLPipeline.h | 34 SkiaOpenGLPipeline(renderthread::RenderThread& thread); 64 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
|
D | VkFunctorDrawable.cpp | 55 if (!renderthread::RenderThread::isCurrent()) in draw() 63 renderthread::RenderThread::getInstance().vulkanManager(); in draw()
|
/frameworks/base/libs/hwui/ |
D | Readback.h | 46 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {} in Readback() 64 renderthread::RenderThread& mRenderThread;
|
D | WebViewFunctorManager.cpp | 198 auto* grContext = renderthread::RenderThread::getInstance().getGrContext(); in destroyContext() 208 auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); in removeOverlays() 224 auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); in getSurfaceControl() 247 auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); in mergeTransaction() 256 auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); in reparentSurfaceControl()
|
D | AutoBackendTextureRelease.cpp | 41 if (!RenderThread::isCurrent()) { in unref() 45 RenderThread::getInstance().queue().post([this, releaseImage]() { unref(releaseImage); }); in unref()
|
D | DeviceInfo.h | 30 class RenderThread; variable 75 friend class renderthread::RenderThread;
|
/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
|