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

12

/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.cpp81 void NuPlayer::DecoderBase::setRenderer(const sp<Renderer> &renderer) { argument
83 msg->setObject("renderer", renderer);
152 CHECK(msg->findObject("renderer", &obj));
219 // in the renderer. We signal to the player the error so it can shutdown/release the
H A DNuPlayerDecoderPassThrough.cpp45 const sp<Renderer> &renderer)
48 mRenderer(renderer),
55 ALOGW_IF(renderer == NULL, "expect a non-NULL renderer");
89 const sp<Renderer> &renderer) {
90 // renderer can't be changed during offloading
91 ALOGW_IF(renderer != mRenderer,
92 "ignoring request to change renderer");
42 DecoderPassThrough( const sp<AMessage> &notify, const sp<Source> &source, const sp<Renderer> &renderer) argument
88 onSetRenderer( const sp<Renderer> &renderer) argument
H A DNuPlayerDecoder.cpp52 const sp<Renderer> &renderer,
58 mRenderer(renderer),
339 void NuPlayer::Decoder::onSetRenderer(const sp<Renderer> &renderer) { argument
341 mRenderer = renderer;
477 // in the renderer. We signal to the player the error so it can shutdown/release the
605 // send the buffer to renderer.
48 Decoder( const sp<AMessage> &notify, const sp<Source> &source, pid_t pid, const sp<Renderer> &renderer, const sp<Surface> &surface, const sp<CCDecoder> &ccDecoder) argument
/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.java162 private static native void nInsertReorderBarrier(long renderer, boolean enableReorder); argument
170 * functionality used by webview for calling into their renderer from our display lists.
180 * functionality used by webview for calling into their renderer from our display lists.
194 private static native void nCallDrawGLFunction(long renderer, argument
201 protected static native long nFinishRecording(long renderer); argument
213 private static native void nDrawRenderNode(long renderer, long renderNode); argument
228 private static native void nDrawLayer(long renderer, long layer); argument
240 private static native void nDrawCircle(long renderer, long propCx, argument
252 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, argument
H A DSurface.java658 private static native void nHwuiSetSurface(long renderer, long surface); argument
659 private static native void nHwuiDraw(long renderer); argument
660 private static native void nHwuiDestroy(long renderer); argument
/frameworks/base/libs/hwui/
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 DTreeInfo.h95 // The renderer that will be drawing the next frame. Use this to push any
97 OpenGLRenderer* renderer = nullptr; member in class:android::uirenderer::TreeInfo
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 DDisplayList.h77 PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator) argument
78 : mRenderer(renderer)
97 DeferStateStruct(DeferredDisplayList& deferredList, OpenGLRenderer& renderer, int replayFlags) argument
98 : PlaybackStateStruct(renderer, replayFlags, &(deferredList.mAllocator)),
105 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
106 : PlaybackStateStruct(renderer, replayFlags, &mReplayAllocator),
H A DFontRenderer.h59 BakedOpRenderer* renderer,
63 OpenGLRenderer* renderer,
67 : renderer(renderer)
83 BakedOpRenderer* renderer; member in class:android::uirenderer::TextDrawFunctor
87 OpenGLRenderer* renderer; member in class:android::uirenderer::TextDrawFunctor
57 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkXfermode::Mode mode, const SkPaint* paint) argument
H A DFrameInfoVisualizer.cpp95 void FrameInfoVisualizer::draw(ContentRenderer* renderer) { argument
103 renderer->drawRect(mDirtyRegion.fLeft, mDirtyRegion.fTop,
118 initializeRects(renderer->getViewportHeight(), renderer->getViewportWidth());
119 drawGraph(renderer);
120 drawThreshold(renderer);
201 void FrameInfoVisualizer::drawGraph(ContentRenderer* renderer) { argument
206 renderer->drawRects(mFastRects.get(), mNumFastRects * 4, &paint);
208 renderer->drawRects(mJankyRects.get(), mNumJankyRects * 4, &paint);
212 void FrameInfoVisualizer::drawThreshold(ContentRenderer* renderer) { argument
[all...]
H A DCanvasState.cpp25 CanvasState::CanvasState(CanvasStateClient& renderer) argument
30 , mCanvas(renderer)
H A DDeferredDisplayList.cpp57 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
96 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
103 renderer.restoreDisplayState(*state);
106 renderer.eventMark(op->name());
108 op->applyDraw(renderer, dirty);
116 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
255 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
260 DrawBatch::replay(renderer, dirty, -1);
265 renderer.setupMergedMultiDraw(mClipSideFlags ? &mClipRect : nullptr);
269 renderer
338 replay(OpenGLRenderer& renderer, Rect& dirty, int index) argument
397 addClip(OpenGLRenderer& renderer, ClipOp* op) argument
422 addSaveLayer(OpenGLRenderer& renderer, SaveLayerOp* op, int newSaveCount) argument
435 addSave(OpenGLRenderer& renderer, SaveOp* op, int newSaveCount) argument
457 addRestoreToCount(OpenGLRenderer& renderer, StateOp* op, int newSaveCount) argument
475 addDrawOp(OpenGLRenderer& renderer, DrawOp* op) argument
607 storeStateOpBarrier(OpenGLRenderer& renderer, StateOp* op) argument
616 storeRestoreToCountBarrier(OpenGLRenderer& renderer, StateOp* op, int newSaveCount) argument
633 replayBatchList(const std::vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument
644 flush(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DLayer.h337 std::unique_ptr<OpenGLRenderer> renderer; member in class:android::uirenderer::Layer
H A DBakedOpDispatcher.cpp45 void BakedOpDispatcher::onMergedBitmapOps(BakedOpRenderer& renderer, argument
51 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(bitmap->pixelRef());
52 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(bitmap);
73 renderer.dirtyRenderTarget(opBounds);
79 GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
88 renderer.renderGlop(nullptr, clip, glop);
91 void BakedOpDispatcher::onMergedPatchOps(BakedOpRenderer& renderer, argument
95 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(
107 const Patch* opMesh = renderer
197 renderTextShadow(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& textOpState) argument
265 renderText(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& state, const ClipBase* renderClip, TextRenderType renderType) argument
320 onMergedTextOps(BakedOpRenderer& renderer, const MergedBakedOpList& opList) argument
346 renderVertexBuffer(BakedOpRenderer& renderer, const BakedOpState& state, const VertexBuffer& vertexBuffer, float translateX, float translateY, const SkPaint& paint, int vertexBufferRenderFlags) argument
366 renderConvexPath(BakedOpRenderer& renderer, const BakedOpState& state, const SkPath& path, const SkPaint& paint) argument
374 renderPathTexture(BakedOpRenderer& renderer, const BakedOpState& state, float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) argument
399 onArcOp(BakedOpRenderer& renderer, const ArcOp& op, const BakedOpState& state) argument
426 onBitmapOp(BakedOpRenderer& renderer, const BitmapOp& op, const BakedOpState& state) argument
444 onBitmapMeshOp(BakedOpRenderer& renderer, const BitmapMeshOp& op, const BakedOpState& state) argument
518 onBitmapRectOp(BakedOpRenderer& renderer, const BitmapRectOp& op, const BakedOpState& state) argument
543 onColorOp(BakedOpRenderer& renderer, const ColorOp& op, const BakedOpState& state) argument
559 onFunctorOp(BakedOpRenderer& renderer, const FunctorOp& op, const BakedOpState& state) argument
563 onLinesOp(BakedOpRenderer& renderer, const LinesOp& op, const BakedOpState& state) argument
571 onOvalOp(BakedOpRenderer& renderer, const OvalOp& op, const BakedOpState& state) argument
594 onPatchOp(BakedOpRenderer& renderer, const PatchOp& op, const BakedOpState& state) argument
623 onPathOp(BakedOpRenderer& renderer, const PathOp& op, const BakedOpState& state) argument
633 onPointsOp(BakedOpRenderer& renderer, const PointsOp& op, const BakedOpState& state) argument
644 onRectOp(BakedOpRenderer& renderer, const RectOp& op, const BakedOpState& state) argument
683 onRoundRectOp(BakedOpRenderer& renderer, const RoundRectOp& op, const BakedOpState& state) argument
702 renderShadow(BakedOpRenderer& renderer, const BakedOpState& state, float casterAlpha, const VertexBuffer* ambientShadowVertexBuffer, const VertexBuffer* spotShadowVertexBuffer) argument
729 onShadowOp(BakedOpRenderer& renderer, const ShadowOp& op, const BakedOpState& state) argument
734 onSimpleRectsOp(BakedOpRenderer& renderer, const SimpleRectsOp& op, const BakedOpState& state) argument
746 onTextOp(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& state) argument
751 onTextOnPathOp(BakedOpRenderer& renderer, const TextOnPathOp& op, const BakedOpState& state) argument
780 onTextureLayerOp(BakedOpRenderer& renderer, const TextureLayerOp& op, const BakedOpState& state) argument
794 renderRectForLayer(BakedOpRenderer& renderer, const LayerOp& op, const BakedOpState& state, int color, SkXfermode::Mode mode, SkColorFilter* colorFilter) argument
804 onLayerOp(BakedOpRenderer& renderer, const LayerOp& op, const BakedOpState& state) argument
836 onCopyToLayerOp(BakedOpRenderer& renderer, const CopyToLayerOp& op, const BakedOpState& state) argument
842 onCopyFromLayerOp(BakedOpRenderer& renderer, const CopyFromLayerOp& op, const BakedOpState& state) argument
[all...]
/frameworks/rs/driver/
H A DrsdGL.h43 const uint8_t * renderer; member in struct:RsdGLRec::__anon1645
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp44 static void ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, argument
47 auto vbor = reinterpret_cast<ValidatingBakedOpRenderer*>(&renderer);
68 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
72 [](BakedOpRenderer& renderer, const BakedOpState& state) { \
73 BakedOpDispatcher::on##Type(renderer, static_cast<const Type&>(*(state.op)), state); \
77 unmergedReceivers[op->opId](renderer, *state);
187 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver);
193 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer);
218 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator);
223 frameBuilder.replayBakedOps<BakedOpDispatcher>(renderer);
[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.java123 ThreadedRenderer renderer = view.getHardwareRenderer();
124 if (renderer == null || view.getWidth() == 0) {
127 ThreadedRenderer threaded = (ThreadedRenderer) renderer;
147 FakeFrame(ThreadedRenderer renderer, View targetFrame, View targetBack) { argument
148 mRenderer = renderer;
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java44 // The render nodes for the multi threaded renderer.
78 public BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, argument
84 mRenderer = renderer;
182 * All resources of the renderer will be released. This function can be called from the
183 * the UI thread as well as the renderer thread.
200 // Exit the renderer loop.
276 // Inform the renderer of the content's new bounds
406 * 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());

Completed in 436 milliseconds

12