Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp115 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 …]
DRenderProxy.cpp40 : 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 …]
DRenderThread.h130 class RenderThread : private ThreadBase {
131 PREVENT_COPY_AND_ASSIGN(RenderThread);
198 friend class sp<RenderThread>;
200 RenderThread();
201 virtual ~RenderThread();
204 static RenderThread& getInstance();
DCanvasContext.h68 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;
DDrawFrameTask.h41 class RenderThread; variable
64 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode,
115 RenderThread* mRenderThread;
DTimeLord.h25 class RenderThread; variable
43 friend class RenderThread;
DCacheManager.h39 class RenderThread; variable
60 friend class RenderThread;
DRenderProxy.h46 class RenderThread; variable
150 RenderThread& mRenderThread;
/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);
70 renderthread::RenderThread& mRenderThread;
DRenderState.cpp23 RenderState::RenderState(renderthread::RenderThread& thread) : mRenderThread(thread) { in RenderState()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h73 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 …]
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);
54 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
55 static sk_sp<Bitmap> allocateHardwareBitmap(renderthread::RenderThread& thread,
DSkiaPipeline.h36 explicit SkiaPipeline(renderthread::RenderThread& thread);
62 static void prepareToDraw(const renderthread::RenderThread& thread, Bitmap* bitmap);
77 renderthread::RenderThread& mRenderThread;
DSkiaVulkanPipeline.cpp45 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()
DSkiaOpenGLPipeline.h34 SkiaOpenGLPipeline(renderthread::RenderThread& thread);
64 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
DVkFunctorDrawable.cpp55 if (!renderthread::RenderThread::isCurrent()) in draw()
63 renderthread::RenderThread::getInstance().vulkanManager(); in draw()
/frameworks/base/libs/hwui/
DReadback.h46 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {} in Readback()
64 renderthread::RenderThread& mRenderThread;
DWebViewFunctorManager.cpp198 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()
DAutoBackendTextureRelease.cpp41 if (!RenderThread::isCurrent()) { in unref()
45 RenderThread::getInstance().queue().post([this, releaseImage]() { unref(releaseImage); }); in unref()
DDeviceInfo.h30 class RenderThread; variable
75 friend class renderthread::RenderThread;
/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