Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp122 OpenGLRenderer* renderer) { in android_view_GLES20Canvas_destroyRenderer() argument
124 delete renderer; in android_view_GLES20Canvas_destroyRenderer()
132 OpenGLRenderer* renderer, jint width, jint height) { in android_view_GLES20Canvas_setViewport() argument
133 renderer->setViewport(width, height); in android_view_GLES20Canvas_setViewport()
137 OpenGLRenderer* renderer, jboolean opaque) { in android_view_GLES20Canvas_prepare() argument
138 return renderer->prepare(opaque); in android_view_GLES20Canvas_prepare()
142 OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, in android_view_GLES20Canvas_prepareDirty() argument
144 return renderer->prepareDirty(left, top, right, bottom, opaque); in android_view_GLES20Canvas_prepareDirty()
148 OpenGLRenderer* renderer) { in android_view_GLES20Canvas_finish() argument
149 renderer->finish(); in android_view_GLES20Canvas_finish()
[all …]
/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp290 void DisplayList::output(OpenGLRenderer& renderer, uint32_t level) { in output() argument
303 int saveCount = renderer.getSaveCount() - 1; in output()
305 outputViewProperties(renderer, (char*) indent); in output()
341 SkPaint* paint = getPaint(renderer); in output()
409 renderer.outputDisplayList(displayList, level + 1); in output()
416 SkPaint* paint = getPaint(renderer); in output()
425 SkPaint* paint = getPaint(renderer); in output()
433 SkPaint* paint = getPaint(renderer); in output()
448 SkPaint* paint = getPaint(renderer); in output()
457 SkPaint* paint = getPaint(renderer); in output()
[all …]
DGammaFontRenderer.cpp126 FontRenderer* renderer = mRenderers[gamma]; in getRenderer() local
127 if (!renderer) { in getRenderer()
128 renderer = new FontRenderer(); in getRenderer()
129 mRenderers[gamma] = renderer; in getRenderer()
130 renderer->setGammaTable(&mGammaTable[gamma * 256]); in getRenderer()
133 return renderer; in getRenderer()
DGammaFontRenderer.h50 FontRenderer* renderer = mRenderers[fontRenderer]; in getFontRendererSize() local
51 if (!renderer) return 0; in getFontRendererSize()
53 return renderer->getCacheSize(); in getFontRendererSize()
DLayer.h59 renderer = NULL; in Layer()
87 void updateDeferred(OpenGLRenderer* renderer, DisplayList* displayList, in updateDeferred()
89 this->renderer = renderer; in updateDeferred()
257 OpenGLRenderer* renderer; member
DLayerRenderer.cpp429 LayerRenderer renderer(layer); in copyLayer() local
430 renderer.setViewport(bitmap->width(), bitmap->height()); in copyLayer()
431 renderer.OpenGLRenderer::prepareDirty(0.0f, 0.0f, in copyLayer()
435 renderer.translate(0.0f, bitmap->height()); in copyLayer()
436 renderer.scale(1.0f, -1.0f); in copyLayer()
450 renderer.drawTextureLayer(layer, bounds); in copyLayer()
DDisplayListRenderer.h127 void setViewProperties(OpenGLRenderer& renderer, uint32_t level);
128 void outputViewProperties(OpenGLRenderer& renderer, char* indent);
136 status_t replay(OpenGLRenderer& renderer, Rect& dirty, int32_t flags, uint32_t level = 0);
138 void output(OpenGLRenderer& renderer, uint32_t level = 0);
458 SkPaint* getPaint(OpenGLRenderer& renderer) { in getPaint() argument
459 return renderer.filterPaint((SkPaint*) getInt()); in getPaint()
DLayerCache.cpp182 layer->renderer = NULL; in put()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java127 private static native void nResetDisplayListRenderer(int renderer); in nResetDisplayListRenderer() argument
128 private static native void nDestroyRenderer(int renderer); in nDestroyRenderer() argument
133 public CanvasFinalizer(int renderer) { in CanvasFinalizer() argument
134 mRenderer = renderer; in CanvasFinalizer()
160 static native void nUpdateRenderLayer(int layerId, int renderer, int displayList, in nUpdateRenderLayer() argument
215 private static native void nSetViewport(int renderer, int width, int height); in nSetViewport() argument
227 private static native int nPrepare(int renderer, boolean opaque); in nPrepare() argument
228 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, in nPrepareDirty() argument
236 private static native void nFinish(int renderer); in nFinish() argument
261 private static native int nCallDrawGLFunction(int renderer, int drawGLFunction); in nCallDrawGLFunction() argument
[all …]
DWindowManagerImpl.java536 HardwareRenderer renderer = root.getView().mAttachInfo.mHardwareRenderer; in dumpGfxInfo() local
537 if (renderer != null) { in dumpGfxInfo()
538 renderer.dumpGfxInfo(pw); in dumpGfxInfo()
555 HardwareRenderer renderer = root.getView().mAttachInfo.mHardwareRenderer; in dumpGfxInfo() local
556 if (renderer != null) { in dumpGfxInfo()
557 pw.printf(", %d frames rendered", renderer.getFrameCount()); in dumpGfxInfo()
DHardwareRenderer.java1069 final HardwareRenderer renderer = attachInfo.mHardwareRenderer; in run() local
1070 if (renderer == null || !renderer.isEnabled() || renderer != GlRenderer.this) { in run()
/frameworks/av/libvideoeditor/lvpp/
DPreviewRenderer.cpp32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height); in CreatePreviewRenderer() local
34 if (renderer->init() != 0) { in CreatePreviewRenderer()
35 delete renderer; in CreatePreviewRenderer()
39 return renderer; in CreatePreviewRenderer()
DNativeWindowRenderer.h163 RenderInput(NativeWindowRenderer* renderer, GLuint textureId);
DVideoEditorPlayer.cpp31 VideoEditorPlayer::VideoEditorPlayer(NativeWindowRenderer* renderer) in VideoEditorPlayer() argument
32 : mPlayer(new PreviewPlayer(renderer)) { in VideoEditorPlayer()
DNativeWindowRenderer.cpp570 RenderInput::RenderInput(NativeWindowRenderer* renderer, GLuint textureId) in RenderInput() argument
571 : mRenderer(renderer) in RenderInput()
/frameworks/native/services/surfaceflinger/
DGLExtensions.cpp37 GLubyte const* renderer, in initWithGLStrings() argument
45 mRenderer = (char const*)renderer; in initWithGLStrings()
DGLExtensions.h76 GLubyte const* renderer,
/frameworks/base/docs/html/training/graphics/opengl/
Dtouch.jd90 renderer that it is time to render the frame. This approach is the most efficient in this example
92 does not have any impact on efficiency unless you also request that the renderer only redraw when
94 method, so make sure this line is uncommented in the renderer:</p>
106 <p>The example code above requires that you expose the rotation angle through your renderer by
107 adding a public member. Since the renderer code is running on a separate thread from the main user
Denvironment.jd21 <li><a href="#renderer">Build a Renderer Class</a></li>
170 <h2 id="renderer">Build a Renderer Class</h2>
172 <p>The implementation of the {@link android.opengl.GLSurfaceView.Renderer} class, or renderer,
176 three methods in a renderer that are called by the Android system in order to figure out what and
189 <p>Here is a very basic implementation of an OpenGL ES renderer, that does nothing more than draw a
Ddraw.jd49 android.opengl.GLSurfaceView.Renderer#onSurfaceCreated onSurfaceCreated()} method of your renderer
98 the OpenGL ES environment. To compile this code, create a utility method in your renderer class:</p>
178 {@code draw()} method from within your renderer’s {@link
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph47 @filter SurfaceRenderFilter renderer {
55 @connect camera[video] => renderer[frame];
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverRS.java.template22 // This is the renderer for the driver
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
DDriverRS.java.template22 // This is the renderer for the driver
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java346 public void setRenderer(Renderer renderer) { in setRenderer() argument
357 mRenderer = renderer; in setRenderer()
1867 String renderer = gl.glGetString(GL10.GL_RENDERER); in checkGLDriver() local
1870 ! renderer.startsWith(kMSM7K_RENDERER_PREFIX); in checkGLDriver()
1875 … Log.w(TAG, "checkGLDriver renderer = \"" + renderer + "\" multipleContextsAllowed = " in checkGLDriver()
/frameworks/rs/driver/
DrsdGL.h46 const uint8_t * renderer; member

12