Searched defs:renderer (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DProfileRenderer.h26 ProfileRenderer(BakedOpRenderer& renderer) argument
27 : mRenderer(renderer) {
H A DFrameBuilder.h88 void replayBakedOps(Renderer& renderer) { argument
97 * StaticDispatcher::onBitmapOp(Renderer& renderer, const BitmapOp& op, const BakedOpState& state);
100 [](void* renderer, const BakedOpState& state) { \
101 StaticDispatcher::on##Type(*(static_cast<Renderer*>(renderer)), \
112 [](void* renderer, const MergedBakedOpList& opList) { \
113 StaticDispatcher::onMerged##Type##s(*(static_cast<Renderer*>(renderer)), opList); \
125 renderer.startRepaintLayer(layer.offscreenBuffer, layer.repaintRect);
127 layer.replayBakedOpsImpl((void*)&renderer, unmergedReceivers, mergedReceivers);
129 renderer.endLayer();
132 layer.offscreenBuffer = renderer
[all...]
H A DBakedOpRenderer.h39 * which has intentionally limited access to the renderer functionality.
106 static void DefaultGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, argument
108 renderer.renderGlopImpl(dirtyBounds, clip, glop);
H A DCanvasState.cpp25 CanvasState::CanvasState(CanvasStateClient& renderer) argument
29 , mCanvas(renderer)
H A DFontRenderer.h55 BakedOpRenderer* renderer,
60 : renderer(renderer)
73 BakedOpRenderer* renderer; member in class:android::uirenderer::TextDrawFunctor
54 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode mode, const SkPaint* paint) argument
H A DFrameInfoVisualizer.cpp92 void FrameInfoVisualizer::draw(IProfileRenderer& renderer) { argument
100 renderer.drawRect(mDirtyRegion.fLeft, mDirtyRegion.fTop,
115 initializeRects(renderer.getViewportHeight(), renderer.getViewportWidth());
116 drawGraph(renderer);
117 drawThreshold(renderer);
198 void FrameInfoVisualizer::drawGraph(IProfileRenderer& renderer) { argument
203 renderer.drawRects(mFastRects.get(), mNumFastRects * 4, paint);
205 renderer.drawRects(mJankyRects.get(), mNumJankyRects * 4, paint);
209 void FrameInfoVisualizer::drawThreshold(IProfileRenderer& renderer) { argument
[all...]
H A DBakedOpDispatcher.cpp46 void BakedOpDispatcher::onMergedBitmapOps(BakedOpRenderer& renderer, argument
52 Texture* texture = renderer.caches().textureCache.get(bitmap);
69 renderer.dirtyRenderTarget(opBounds);
75 GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
84 renderer.renderGlop(nullptr, clip, glop);
87 void BakedOpDispatcher::onMergedPatchOps(BakedOpRenderer& renderer, argument
101 const Patch* opMesh = renderer.caches().patchCache.get(
107 const bool dirtyRenderTarget = renderer.offscreenRenderTarget();
122 const Patch* opMesh = renderer
191 renderTextShadow(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& textOpState) argument
259 renderText(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& state, const ClipBase* renderClip, TextRenderType renderType) argument
314 onMergedTextOps(BakedOpRenderer& renderer, const MergedBakedOpList& opList) argument
340 renderVertexBuffer(BakedOpRenderer& renderer, const BakedOpState& state, const VertexBuffer& vertexBuffer, float translateX, float translateY, const SkPaint& paint, int vertexBufferRenderFlags) argument
360 renderConvexPath(BakedOpRenderer& renderer, const BakedOpState& state, const SkPath& path, const SkPaint& paint) argument
368 renderPathTexture(BakedOpRenderer& renderer, const BakedOpState& state, float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) argument
393 onArcOp(BakedOpRenderer& renderer, const ArcOp& op, const BakedOpState& state) argument
420 onBitmapOp(BakedOpRenderer& renderer, const BitmapOp& op, const BakedOpState& state) argument
438 onBitmapMeshOp(BakedOpRenderer& renderer, const BitmapMeshOp& op, const BakedOpState& state) argument
504 onBitmapRectOp(BakedOpRenderer& renderer, const BitmapRectOp& op, const BakedOpState& state) argument
529 onColorOp(BakedOpRenderer& renderer, const ColorOp& op, const BakedOpState& state) argument
545 onFunctorOp(BakedOpRenderer& renderer, const FunctorOp& op, const BakedOpState& state) argument
549 onLinesOp(BakedOpRenderer& renderer, const LinesOp& op, const BakedOpState& state) argument
557 onOvalOp(BakedOpRenderer& renderer, const OvalOp& op, const BakedOpState& state) argument
580 onPatchOp(BakedOpRenderer& renderer, const PatchOp& op, const BakedOpState& state) argument
608 onPathOp(BakedOpRenderer& renderer, const PathOp& op, const BakedOpState& state) argument
618 onPointsOp(BakedOpRenderer& renderer, const PointsOp& op, const BakedOpState& state) argument
629 onRectOp(BakedOpRenderer& renderer, const RectOp& op, const BakedOpState& state) argument
668 onRoundRectOp(BakedOpRenderer& renderer, const RoundRectOp& op, const BakedOpState& state) argument
687 renderShadow(BakedOpRenderer& renderer, const BakedOpState& state, float casterAlpha, const VertexBuffer* ambientShadowVertexBuffer, const VertexBuffer* spotShadowVertexBuffer) argument
714 onShadowOp(BakedOpRenderer& renderer, const ShadowOp& op, const BakedOpState& state) argument
719 onSimpleRectsOp(BakedOpRenderer& renderer, const SimpleRectsOp& op, const BakedOpState& state) argument
731 onTextOp(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& state) argument
736 onTextOnPathOp(BakedOpRenderer& renderer, const TextOnPathOp& op, const BakedOpState& state) argument
765 onTextureLayerOp(BakedOpRenderer& renderer, const TextureLayerOp& op, const BakedOpState& state) argument
783 renderRectForLayer(BakedOpRenderer& renderer, const LayerOp& op, const BakedOpState& state, int color, SkBlendMode mode, SkColorFilter* colorFilter) argument
793 onLayerOp(BakedOpRenderer& renderer, const LayerOp& op, const BakedOpState& state) argument
825 onCopyToLayerOp(BakedOpRenderer& renderer, const CopyToLayerOp& op, const BakedOpState& state) argument
831 onCopyFromLayerOp(BakedOpRenderer& renderer, const CopyFromLayerOp& op, const BakedOpState& state) argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLExtensions.cpp35 GLubyte const* renderer,
40 mRenderer = (char const*)renderer;
33 initWithGLStrings( GLubyte const* vendor, GLubyte const* renderer, GLubyte const* version, GLubyte const* extensions) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp86 void NuPlayer::DecoderBase::setRenderer(const sp<Renderer> &renderer) { argument
88 msg->setObject("renderer", renderer);
149 CHECK(msg->findObject("renderer", &obj));
202 // in the renderer. We signal to the player the error so it can shutdown/release the
H A DNuPlayerDecoderPassThrough.cpp46 const sp<Renderer> &renderer)
49 mRenderer(renderer),
56 ALOGW_IF(renderer == NULL, "expect a non-NULL renderer");
90 const sp<Renderer> &renderer) {
91 // renderer can't be changed during offloading
92 ALOGW_IF(renderer != mRenderer,
93 "ignoring request to change renderer");
43 DecoderPassThrough( const sp<AMessage> &notify, const sp<Source> &source, const sp<Renderer> &renderer) argument
89 onSetRenderer( const sp<Renderer> &renderer) argument
H A DNuPlayerDecoder.cpp63 const sp<Renderer> &renderer,
69 mRenderer(renderer),
453 void NuPlayer::Decoder::onSetRenderer(const sp<Renderer> &renderer) { argument
454 mRenderer = renderer;
578 // in the renderer. We signal to the player the error so it can shutdown/release the
751 // send the buffer to renderer.
58 Decoder( const sp<AMessage> &notify, const sp<Source> &source, pid_t pid, uid_t uid, const sp<Renderer> &renderer, const sp<Surface> &surface, const sp<CCDecoder> &ccDecoder) argument
H A DNuPlayer.cpp905 // get playback settings used by renderer, as it may be
1212 ALOGV("got message from old renderer, generation(%d:%d)",
1257 ALOGV("renderer %s flush completed.", audio ? "audio" : "video");
1428 ALOGW("resume called when renderer is gone or not set");
1441 ALOGE("renderer should not be set when instantiating secure decoders");
1569 ALOGW("pause called when renderer is gone or not set");
1587 // We wait for both the decoder flush and the renderer flush to complete
1655 // is possible; otherwise the decoders call the renderer openAudioSink directly.
1717 ALOGW("No renderer can be used to determine audio mode. Use non-offload for safety.");
2084 sp<Renderer> renderer local
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java40 private HardwareLayer(ThreadedRenderer renderer, long deferredUpdater) { argument
41 if (renderer == null || deferredUpdater == 0) {
42 throw new IllegalArgumentException("Either hardware renderer: " + renderer
45 mRenderer = renderer;
144 static HardwareLayer adoptTextureLayer(ThreadedRenderer renderer, long layer) { argument
145 return new HardwareLayer(renderer, layer);
H A DDisplayListCanvas.java154 * functionality used by webview for calling into their renderer from our display lists.
164 * functionality used by webview for calling into their renderer from our display lists.
238 private static native void nCallDrawGLFunction(long renderer, argument
254 private static native void nInsertReorderBarrier(long renderer, boolean enableReorder); argument
256 private static native long nFinishRecording(long renderer); argument
258 private static native void nDrawRenderNode(long renderer, long renderNode); argument
260 private static native void nDrawLayer(long renderer, long layer); argument
262 private static native void nDrawCircle(long renderer, long propCx, argument
265 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, argument
H A DSurface.java752 private static native void nHwuiSetSurface(long renderer, long surface); argument
753 private static native void nHwuiDraw(long renderer); argument
754 private static native void nHwuiDestroy(long renderer); argument
/frameworks/rs/driver/
H A DrsdGL.h43 const uint8_t * renderer; member in struct:RsdGLRec::__anon1989
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp45 static void ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, argument
48 auto vbor = reinterpret_cast<ValidatingBakedOpRenderer*>(&renderer);
69 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
73 [](BakedOpRenderer& renderer, const BakedOpState& state) { \
74 BakedOpDispatcher::on##Type(renderer, static_cast<const Type&>(*(state.op)), state); \
78 unmergedReceivers[op->opId](renderer, *state);
186 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
192 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer);
217 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator);
222 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer);
[all...]
H A DFrameBuilderTests.cpp88 * Dispatches all static methods to similar formed methods on renderer, which fail by default but
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; local
142 frameBuilder.replayBakedOps<TestDispatcher>(renderer);
143 EXPECT_EQ(4, renderer.getIndex()); // 2 ops + start + end
169 SimpleStrokeTestRenderer renderer; local
170 frameBuilder.replayBakedOps<TestDispatcher>(renderer);
198 ArcStrokeClipTestRenderer renderer; local
215 FailRenderer renderer; local
251 SimpleBatchingTestRenderer renderer; local
278 DeferRenderNodeTranslateClipTestRenderer renderer; local
348 DeferRenderNodeSceneTestRenderer renderer; local
370 FailRenderer renderer; local
389 EmptyNoFbo0TestRenderer renderer; local
413 EmptyWithFbo0TestRenderer renderer; local
444 AvoidOverdrawRectsTestRenderer renderer; local
487 AvoidOverdrawBitmapsTestRenderer renderer; local
529 ClippedMergingTestRenderer renderer; local
558 RegionClipStopsMergeTestRenderer renderer; local
588 TextMergingTestRenderer renderer; local
622 TextStrikethroughTestRenderer renderer; local
680 TextStyleTestRenderer renderer; local
714 TextureLayerClipLocalMatrixTestRenderer renderer; local
746 TextureLayerCombineMatricesTestRenderer renderer; local
768 FailRenderer renderer; local
792 FunctorTestRenderer renderer; local
817 ColorTestRenderer renderer; local
864 RenderNodeTestRenderer renderer; local
891 ClippedTestRenderer renderer; local
940 SaveLayerSimpleTestRenderer renderer; local
1023 SaveLayerNestedTestRenderer renderer; local
1046 FailRenderer renderer; local
1091 SaveLayerUnclippedSimpleTestRenderer renderer; local
1125 SaveLayerUnclippedRoundTestRenderer renderer; local
1182 SaveLayerUnclippedMergedClearsTestRenderer renderer; local
1225 SaveLayerUnclippedClearClipTestRenderer renderer; local
1244 FailRenderer renderer; local
1312 SaveLayerUnclippedComplexTestRenderer renderer; local
1373 HwLayerSimpleTestRenderer renderer; local
1480 HwLayerComplexTestRenderer renderer; local
1538 BuildLayerTestRenderer renderer; local
1616 ZReorderTestRenderer renderer; local
1709 ProjectionReorderTestRenderer renderer; local
1797 ProjectionHwLayerTestRenderer renderer; local
1855 ProjectionChildScrollTestRenderer renderer; local
1900 ShadowTestRenderer renderer; local
1946 ShadowSaveLayerTestRenderer renderer; local
2001 ShadowHwLayerTestRenderer renderer; local
2031 ShadowLayeringTestRenderer renderer; local
2061 ShadowClippingTestRenderer renderer; local
2319 ClipReplaceTestRenderer renderer; local
2349 ZReorderTestRenderer renderer; local
2381 ZReorderTestRenderer renderer; local
2410 ZReorderTestRenderer renderer; local
2439 ZReorderTestRenderer renderer; local
2462 ZReorderTestRenderer renderer; local
2495 ZReorderTestRenderer renderer; local
2528 ZReorderTestRenderer renderer; local
2560 ZReorderTestRenderer renderer; local
2593 ZReorderTestRenderer renderer; local
2626 ZReorderTestRenderer renderer; local
2663 ZReorderTestRenderer renderer; local
[all...]
/frameworks/base/media/java/android/media/
H A DSubtitleController.java323 for (Renderer renderer: mRenderers) {
324 if (renderer.supports(format)) {
325 SubtitleTrack track = renderer.createTrack(format);
390 * renderer
412 * @param renderer a {@link SubtitleController.Renderer} object that adds
415 public void registerRenderer(Renderer renderer) { argument
418 if (!mRenderers.contains(renderer)) {
420 mRenderers.add(renderer);
429 for (Renderer renderer: mRenderers) {
430 if (renderer
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java17 package com.android.printspooler.renderer;
46 "com.android.printspooler.renderer.ACTION_GET_RENDERER";
48 "com.android.printspooler.renderer.ACTION_GET_EDITOR";
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiProducerActivity.java122 ThreadedRenderer renderer = view.getThreadedRenderer();
123 if (renderer == null || view.getWidth() == 0) {
126 ThreadedRenderer threaded = (ThreadedRenderer) renderer;
146 FakeFrame(ThreadedRenderer renderer, View targetFrame, View targetBack) { argument
147 mRenderer = renderer;
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java44 // The render nodes for the multi threaded renderer.
79 public BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, argument
85 mRenderer = renderer;
186 * All resources of the renderer will be released. This function can be called from the
187 * the UI thread as well as the renderer thread.
204 // Exit the renderer loop.
280 // Inform the renderer of the content's new bounds
402 * Sends a message to the renderer to wake up and perform the next action which can be
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java47 public void setRenderer(Renderer renderer) { argument
51 mRenderThread = new RenderThread(renderer);
325 public RenderThread(Renderer renderer) { argument
327 mRenderer = renderer;
345 // renderer then
H A DTiledImageView.java180 private void updateScaleIfNecessaryLocked(ImageRendererWrapper renderer) { argument
181 if (renderer == null || renderer.source == null
182 || renderer.scale > 0 || getWidth() == 0) {
185 renderer.scale = Math.min(
186 (float) getWidth() / (float) renderer.source.getImageWidth(),
187 (float) getHeight() / (float) renderer.source.getImageHeight());
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1245 private static native void nSetHighContrastText(long renderer, boolean highContrastText); argument

Completed in 424 milliseconds

12