/frameworks/base/libs/hwui/ |
D | BakedOpDispatcher.cpp | 46 void BakedOpDispatcher::onMergedBitmapOps(BakedOpRenderer& renderer, in onMergedBitmapOps() argument 52 Texture* texture = renderer.caches().textureCache.get(bitmap); in onMergedBitmapOps() 69 renderer.dirtyRenderTarget(opBounds); in onMergedBitmapOps() 75 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) in onMergedBitmapOps() 84 renderer.renderGlop(nullptr, clip, glop); in onMergedBitmapOps() 87 void BakedOpDispatcher::onMergedPatchOps(BakedOpRenderer& renderer, in onMergedPatchOps() argument 101 const Patch* opMesh = renderer.caches().patchCache.get( in onMergedPatchOps() 107 const bool dirtyRenderTarget = renderer.offscreenRenderTarget(); in onMergedPatchOps() 122 const Patch* opMesh = renderer.caches().patchCache.get( in onMergedPatchOps() 151 renderer.dirtyRenderTarget(Rect(tx, ty, in onMergedPatchOps() [all …]
|
D | FrameBuilder.h | 88 void replayBakedOps(Renderer& renderer) { in replayBakedOps() argument 100 [](void* renderer, const BakedOpState& state) { \ in replayBakedOps() 101 StaticDispatcher::on##Type(*(static_cast<Renderer*>(renderer)), \ in replayBakedOps() 112 [](void* renderer, const MergedBakedOpList& opList) { \ in replayBakedOps() 113 … StaticDispatcher::onMerged##Type##s(*(static_cast<Renderer*>(renderer)), opList); \ in replayBakedOps() 125 renderer.startRepaintLayer(layer.offscreenBuffer, layer.repaintRect); in replayBakedOps() 127 layer.replayBakedOpsImpl((void*)&renderer, unmergedReceivers, mergedReceivers); in replayBakedOps() 129 renderer.endLayer(); in replayBakedOps() 132 layer.offscreenBuffer = renderer.startTemporaryLayer(layer.width, layer.height); in replayBakedOps() 135 layer.replayBakedOpsImpl((void*)&renderer, unmergedReceivers, mergedReceivers); in replayBakedOps() [all …]
|
D | FrameInfoVisualizer.cpp | 92 void FrameInfoVisualizer::draw(IProfileRenderer& renderer) { in draw() argument 100 renderer.drawRect(mDirtyRegion.fLeft, mDirtyRegion.fTop, in draw() 115 initializeRects(renderer.getViewportHeight(), renderer.getViewportWidth()); in draw() 116 drawGraph(renderer); in draw() 117 drawThreshold(renderer); in draw() 198 void FrameInfoVisualizer::drawGraph(IProfileRenderer& renderer) { in drawGraph() argument 203 renderer.drawRects(mFastRects.get(), mNumFastRects * 4, paint); in drawGraph() 205 renderer.drawRects(mJankyRects.get(), mNumJankyRects * 4, paint); in drawGraph() 209 void FrameInfoVisualizer::drawThreshold(IProfileRenderer& renderer) { in drawThreshold() argument 212 float yLocation = renderer.getViewportHeight() - (FRAME_THRESHOLD * mVerticalUnit); in drawThreshold() [all …]
|
D | FrameInfoVisualizer.h | 49 void draw(IProfileRenderer& renderer); 59 void drawGraph(IProfileRenderer& renderer); 60 void drawThreshold(IProfileRenderer& renderer);
|
D | BakedOpDispatcher.h | 38 static void onMerged##Type##s(BakedOpRenderer& renderer, const MergedBakedOpList& opList); 44 static void on##Type(BakedOpRenderer& renderer, const Type& op, const BakedOpState& state);
|
D | ProfileRenderer.h | 26 ProfileRenderer(BakedOpRenderer& renderer) in ProfileRenderer() argument 27 : mRenderer(renderer) { in ProfileRenderer()
|
D | FontRenderer.h | 55 BakedOpRenderer* renderer, in TextDrawFunctor() argument 60 : renderer(renderer) in TextDrawFunctor() 73 BakedOpRenderer* renderer; variable
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameBuilderTests.cpp | 95 static void on##Type(TestRendererBase& renderer, const Type& op, const BakedOpState& state) { \ 96 renderer.on##Type(op, state); \ 103 static void onMerged##Type##s(TestRendererBase& renderer, const MergedBakedOpList& opList) { \ 104 renderer.onMerged##Type##s(opList); \ 141 SimpleTestRenderer renderer; in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 142 frameBuilder.replayBakedOps<TestDispatcher>(renderer); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 143 EXPECT_EQ(4, renderer.getIndex()); // 2 ops + start + end in RENDERTHREAD_OPENGL_PIPELINE_TEST() 169 SimpleStrokeTestRenderer renderer; in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 170 frameBuilder.replayBakedOps<TestDispatcher>(renderer); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 171 EXPECT_EQ(1, renderer.getIndex()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() [all …]
|
D | BakedOpRendererTests.cpp | 28 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 34 renderer.startRepaintLayer(&layer, Rect(200, 200)); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 36 renderer.endLayer(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 41 renderer.startRepaintLayer(&layer, Rect(100, 200)); // repainting left side in RENDERTHREAD_OPENGL_PIPELINE_TEST() 46 renderer.endLayer(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 51 renderer.startRepaintLayer(&layer, Rect(100, 0, 200, 200)); // repainting right side in RENDERTHREAD_OPENGL_PIPELINE_TEST() 54 renderer.endLayer(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 59 BakedOpRenderer renderer(Caches::getInstance(), renderState, true, false, sLightInfo); in drawFirstOp() local 61 renderer.startFrame(100, 100, Rect(100, 100)); in drawFirstOp() 75 renderer.renderGlop(nullptr, nullptr, glop); in drawFirstOp() [all …]
|
D | LeakCheckTests.cpp | 48 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 49 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 65 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 66 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | BakedOpDispatcherTests.cpp | 45 static void ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, in ValidatingGlopReceiver() argument 48 auto vbor = reinterpret_cast<ValidatingBakedOpRenderer*>(&renderer); in ValidatingGlopReceiver() 69 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver); in testUnmergedGlopDispatch() local 73 [](BakedOpRenderer& renderer, const BakedOpState& state) { \ in testUnmergedGlopDispatch() 74 BakedOpDispatcher::on##Type(renderer, static_cast<const Type&>(*(state.op)), state); \ in testUnmergedGlopDispatch() 78 unmergedReceivers[op->opId](renderer, *state); in testUnmergedGlopDispatch() 186 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 192 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 217 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator); in validateLayerDraw() local 222 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in validateLayerDraw()
|
/frameworks/base/core/java/android/view/ |
D | HardwareLayer.java | 40 private HardwareLayer(ThreadedRenderer renderer, long deferredUpdater) { in HardwareLayer() argument 41 if (renderer == null || deferredUpdater == 0) { in HardwareLayer() 42 throw new IllegalArgumentException("Either hardware renderer: " + renderer in HardwareLayer() 45 mRenderer = renderer; in HardwareLayer() 144 static HardwareLayer adoptTextureLayer(ThreadedRenderer renderer, long layer) { in adoptTextureLayer() argument 145 return new HardwareLayer(renderer, layer); in adoptTextureLayer()
|
D | DisplayListCanvas.java | 238 private static native void nCallDrawGLFunction(long renderer, in nCallDrawGLFunction() argument 254 private static native void nInsertReorderBarrier(long renderer, boolean enableReorder); in nInsertReorderBarrier() argument 256 private static native long nFinishRecording(long renderer); in nFinishRecording() argument 258 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument 260 private static native void nDrawLayer(long renderer, long layer); in nDrawLayer() argument 262 private static native void nDrawCircle(long renderer, long propCx, in nDrawCircle() argument 265 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, in nDrawRoundRect() argument
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | RecentsAnimation.cpp | 31 void createContent(int width, int height, Canvas& renderer) override { in createContent() argument 42 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent() 43 renderer.insertReorderBarrier(true); in createContent() 54 renderer.drawRenderNode(card.get()); in createContent() 59 renderer.insertReorderBarrier(false); in createContent()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | FrameBuilderBench.cpp | 86 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); in BM_FrameBuilder_deferAndRender() local 87 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in BM_FrameBuilder_deferAndRender() 88 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender() 145 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo); in BM_FrameBuilder_deferAndRender_scene() local 146 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in BM_FrameBuilder_deferAndRender_scene() 147 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender_scene()
|
/frameworks/base/media/java/android/media/ |
D | SubtitleController.java | 323 for (Renderer renderer: mRenderers) { in addTrack() 324 if (renderer.supports(format)) { in addTrack() 325 SubtitleTrack track = renderer.createTrack(format); in addTrack() 415 public void registerRenderer(Renderer renderer) { in registerRenderer() argument 418 if (!mRenderers.contains(renderer)) { in registerRenderer() 420 mRenderers.add(renderer); in registerRenderer() 429 for (Renderer renderer: mRenderers) { in hasRendererFor() 430 if (renderer.supports(format)) { in hasRendererFor()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 180 private void updateScaleIfNecessaryLocked(ImageRendererWrapper renderer) { in updateScaleIfNecessaryLocked() argument 181 if (renderer == null || renderer.source == null in updateScaleIfNecessaryLocked() 182 || renderer.scale > 0 || getWidth() == 0) { in updateScaleIfNecessaryLocked() 185 renderer.scale = Math.min( in updateScaleIfNecessaryLocked() 186 (float) getWidth() / (float) renderer.source.getImageWidth(), in updateScaleIfNecessaryLocked() 187 (float) getHeight() / (float) renderer.source.getImageHeight()); in updateScaleIfNecessaryLocked()
|
/frameworks/base/packages/PrintSpooler/ |
D | Android.mk | 25 src/com/android/printspooler/renderer/IPdfRenderer.aidl \ 26 src/com/android/printspooler/renderer/IPdfEditor.aidl
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLExtensions.cpp | 35 GLubyte const* renderer, in initWithGLStrings() argument 40 mRenderer = (char const*)renderer; in initWithGLStrings()
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 79 BakedOpRenderer renderer(caches, mRenderThread.renderState(), in draw() local 81 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in draw() 82 ProfileRenderer profileRenderer(renderer); in draw() 84 drew = renderer.didDraw(); in draw() 194 … BakedOpRenderer renderer(caches, mRenderThread.renderState(), opaque, wideColorGamut, lightInfo); in renderLayers() local 195 LOG_ALWAYS_FATAL_IF(renderer.didDraw(), "shouldn't draw in buildlayer case"); in renderLayers() 196 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer); in renderLayers()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 122 ThreadedRenderer renderer = view.getThreadedRenderer(); 123 if (renderer == null || view.getWidth() == 0) { 126 ThreadedRenderer threaded = (ThreadedRenderer) renderer; 146 FakeFrame(ThreadedRenderer renderer, View targetFrame, View targetBack) { in FakeFrame() argument 147 mRenderer = renderer; in FakeFrame()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderPassThrough.cpp | 46 const sp<Renderer> &renderer) in DecoderPassThrough() argument 49 mRenderer(renderer), in DecoderPassThrough() 56 ALOGW_IF(renderer == NULL, "expect a non-NULL renderer"); in DecoderPassThrough() 90 const sp<Renderer> &renderer) { in onSetRenderer() argument 92 ALOGW_IF(renderer != mRenderer, in onSetRenderer()
|
D | NuPlayerDecoderPassThrough.h | 30 const sp<Renderer> &renderer); 40 virtual void onSetRenderer(const sp<Renderer> &renderer);
|
D | NuPlayerDecoderBase.h | 43 void setRenderer(const sp<Renderer> &renderer); 78 virtual void onSetRenderer(const sp<Renderer> &renderer) = 0;
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PdfUtils.java | 57 PdfRenderer renderer = new PdfRenderer(pdfDescriptor); in openPdfThumbnail() local 58 PdfRenderer.Page frontPage = renderer.openPage(0); in openPdfThumbnail()
|