/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 44 : mRenderThread(RenderThread::getInstance()), mContext(nullptr) { in RenderProxy() 45 mContext = mRenderThread.queue().runSync([&]() -> CanvasContext* { in RenderProxy() 46 return CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory); in RenderProxy() 48 mDrawFrameTask.setContext(&mRenderThread, mContext, rootRenderNode); in RenderProxy() 60 mRenderThread.queue().runSync([this]() { delete mContext; }); in destroyContext() 66 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior() 70 return mRenderThread.queue().runSync([this]() -> bool { in loadSystemProperties() 82 mRenderThread.queue().runSync([this, name]() { mContext->setName(std::string(name)); }); in setName() 86 mRenderThread.queue().post( in setSurface() 91 mRenderThread.queue().post([=]() { mContext->allocateBuffers(); }); in allocateBuffers() [all …]
|
D | CanvasContext.cpp | 104 : mRenderThread(thread) in CanvasContext() 107 , mAnimationContext(contextFactory->createAnimationContext(mRenderThread.timeLord())) in CanvasContext() 174 mRenderThread.removeFrameCallback(this); in setSurface() 185 return mRenderThread.removeFrameCallback(this); in pauseSurface() 193 mRenderThread.removeFrameCallback(this); in setStopped() 196 mRenderThread.postFrameCallback(this); in setStopped() 259 nsecs_t frameInterval = mRenderThread.timeLord().frameIntervalNanos(); in isSwapChainStuffed() 293 mRenderThread.removeFrameCallback(this); in prepareTree() 333 nsecs_t latestVsync = mRenderThread.timeLord().latestVsync(); in prepareTree() 379 mRenderThread.postFrameCallback(this); in prepareTree() [all …]
|
D | DrawFrameTask.cpp | 33 : mRenderThread(nullptr) in DrawFrameTask() 42 mRenderThread = thread; in setContext() 80 mRenderThread->queue().post([this]() { run(); }); in postAndWait() 131 mRenderThread->timeLord().vsyncReceived(vsync); in syncFrameState()
|
D | CanvasContext.h | 108 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() 155 RenderState& getRenderState() { return mRenderThread.renderState(); } in getRenderState() 222 RenderThread& mRenderThread; variable
|
D | RenderThread.cpp | 103 DummyVsyncSource(RenderThread* renderThread) : mRenderThread(renderThread) {} in DummyVsyncSource() 106 mRenderThread->queue().postDelayed(16_ms, in requestNextVsync() 107 [this]() { mRenderThread->drainDisplayEventQueue(); }); in requestNextVsync() 113 RenderThread* mRenderThread; member in android::uirenderer::renderthread::DummyVsyncSource
|
D | DrawFrameTask.h | 93 RenderThread* mRenderThread; variable
|
D | RenderProxy.h | 158 RenderThread& mRenderThread;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 40 private RenderThread mRenderThread; field in BlockingGLTextureView 48 if (mRenderThread != null) { in setRenderer() 51 mRenderThread = new RenderThread(renderer); in setRenderer() 55 mRenderThread.render(); in render() 59 if (mRenderThread != null) { in destroy() 60 mRenderThread.finish(); in destroy() 61 mRenderThread = null; in destroy() 68 mRenderThread.setSurface(surface); in onSurfaceTextureAvailable() 69 mRenderThread.setSize(width, height); in onSurfaceTextureAvailable() 75 mRenderThread.setSize(width, height); in onSurfaceTextureSizeChanged() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaVulkanPipeline.cpp | 50 mRenderThread.renderState().removeContextCallback(this); in ~SkiaVulkanPipeline() 75 ShaderCache::get().onVkFrameFlushed(mRenderThread.getGrContext()); in draw() 111 mRenderThread.requireVkContext(); in createTextureLayer() 113 return new DeferredLayerUpdater(mRenderThread.renderState()); in createTextureLayer() 127 mRenderThread.requireVkContext(); in setSurface() 130 mRenderThread.getGrContext(), extraBuffers); in setSurface()
|
D | SkiaPipeline.cpp | 45 SkiaPipeline::SkiaPipeline(RenderThread& thread) : mRenderThread(thread) { in SkiaPipeline() 55 mRenderThread.cacheManager().trimStaleResources(); in onDestroyHardwareResources() 60 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) { in pinImages() 71 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext()); in unpinImages() 170 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 171 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 182 mRenderThread.cacheManager().dumpMemoryUsage(cachesOutput, in createOrUpdateLayer() 183 &mRenderThread.renderState()); in createOrUpdateLayer() 191 << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 214 sp<VectorDrawableAtlas> atlas = mRenderThread.cacheManager().acquireVectorDrawableAtlas(); in renderVectorDrawableCache() [all …]
|
D | SkiaOpenGLPipeline.cpp | 52 mRenderThread.renderState().removeContextCallback(this); in ~SkiaOpenGLPipeline() 97 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw() 99 mRenderThread.getGrContext(), backendRT, this->getSurfaceOrigin(), colorType, in draw() 142 mRenderThread.requireGlContext(); in createTextureLayer() 143 return new DeferredLayerUpdater(mRenderThread.renderState()); in createTextureLayer() 182 mRenderThread.requireGlContext(); in setSurface()
|
D | SkiaPipeline.h | 115 renderthread::RenderThread& mRenderThread; variable
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | GlTextureViewActivity.java | 34 private ImageFlipRenderThread mRenderThread; field in GlTextureViewActivity 50 mRenderThread = new ImageFlipRenderThread(getResources(), surface); in onSurfaceTextureAvailable() 51 mRenderThread.start(); in onSurfaceTextureAvailable() 76 mRenderThread.finish(); in onSurfaceTextureDestroyed() 78 mRenderThread.join(); in onSurfaceTextureDestroyed()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 88 if (!mRenderThread.getGrContext()) { in copyLayerInto() 110 mRenderThread.requireGlContext(); in copyImageInto() 112 mRenderThread.requireVkContext(); in copyImageInto() 119 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto() 145 Layer layer(mRenderThread.renderState(), nullptr, 255, SkBlendMode::kSrc); in copyImageInto() 168 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 176 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copyLayerInto() 184 if (!skiapipeline::LayerDrawable::DrawLayer(mRenderThread.getGrContext(), in copyLayerInto()
|
D | Readback.h | 46 explicit Readback(renderthread::RenderThread& thread) : mRenderThread(thread) {} in Readback() 63 renderthread::RenderThread& mRenderThread; variable
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.cpp | 24 RenderState::RenderState(renderthread::RenderThread& thread) : mRenderThread(thread) { in RenderState() 43 mRenderThread.queue().post([object]() { object->decStrong(nullptr); }); in postDecStrong()
|
D | RenderState.h | 58 renderthread::RenderThread& getRenderThread() const { return mRenderThread; } in getRenderThread() 71 renderthread::RenderThread& mRenderThread; variable
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 55 private RenderThread mRenderThread; field in GLTextureViewActivity 92 mRenderThread = new RenderThread(getResources(), surface); in onSurfaceTextureAvailable() 93 mRenderThread.start(); in onSurfaceTextureAvailable() 116 mRenderThread.finish(); in onSurfaceTextureDestroyed() 118 mRenderThread.join(); in onSurfaceTextureDestroyed()
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 760 private Thread mRenderThread; 786 if (mRenderThread == null) { 787 mRenderThread = Thread.currentThread(); 808 if (Thread.currentThread() == mRenderThread) {
|