Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGammaFontRenderer.h59 delete mRenderer; in ~ShaderGammaFontRenderer() local
63 delete mRenderer; in clear() local
64 mRenderer = NULL; in clear()
68 if (mRenderer) { in flush()
69 mRenderer->flushLargeCaches(); in flush()
74 if (!mRenderer) { in getFontRenderer()
75 mRenderer = new FontRenderer; in getFontRenderer()
77 return *mRenderer; in getFontRenderer()
85 return mRenderer ? mRenderer->getCacheSize(format) : 0; in getFontRendererSize()
96 FontRenderer* mRenderer; variable
[all …]
DGammaFontRenderer.cpp101 mRenderer = NULL; in ShaderGammaFontRenderer()
133 if (mRenderer) { in endPrecaching()
134 mRenderer->endPrecaching(); in endPrecaching()
152 mRenderer = NULL; in LookupGammaFontRenderer()
156 if (mRenderer) { in endPrecaching()
157 mRenderer->endPrecaching(); in endPrecaching()
DTextDropShadowCache.h147 mRenderer = &fontRenderer; in setFontRenderer()
170 FontRenderer* mRenderer; variable
DDisplayList.h71 : mDeferredList(deferredList), mRenderer(renderer), mReplayFlags(replayFlags) {} in DeferStateStruct()
73 OpenGLRenderer& mRenderer; member
79 : mRenderer(renderer), mDirty(dirty), mReplayFlags(replayFlags), in ReplayStateStruct()
81 OpenGLRenderer& mRenderer; member
DDisplayList.cpp464 iterate<DeferOperationHandler>(deferStruct.mRenderer, handler, level); in defer()
473 mReplayStruct.mRenderer.eventMark(operation->name()); in operator ()()
485 replayStruct.mRenderer.startMark(mName.string()); in replay()
486 iterate<ReplayOperationHandler>(replayStruct.mRenderer, handler, level); in replay()
487 replayStruct.mRenderer.endMark(); in replay()
DDisplayListOp.h96 applyState(deferStruct.mRenderer, saveCount); in defer()
105 applyState(replayStruct.mRenderer, saveCount); in replay()
123 deferStruct.mDeferredList.addDrawOp(deferStruct.mRenderer, this); in defer()
132 replayStruct.mDrawGlStatus |= applyDraw(replayStruct.mRenderer, replayStruct.mDirty); in replay()
269 int newSaveCount = deferStruct.mRenderer.save(mFlags); in defer()
270 deferStruct.mDeferredList.addSave(deferStruct.mRenderer, this, newSaveCount); in defer()
302 deferStruct.mDeferredList.addRestoreToCount(deferStruct.mRenderer, in defer()
304 deferStruct.mRenderer.restoreToCount(saveCount + mCount); in defer()
337 int newSaveCount = deferStruct.mRenderer.getSaveCount(); in defer()
338 deferStruct.mDeferredList.addSaveLayer(deferStruct.mRenderer, this, newSaveCount); in defer()
[all …]
DTextDropShadowCache.cpp179 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, text, 0, in get()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java52 private int mRenderer; field in GLES20Canvas
97 mRenderer = nCreateLayerRenderer(layer); in GLES20Canvas()
105 mRenderer = nCreateDisplayListRenderer(); in GLES20Canvas()
107 mRenderer = nCreateRenderer(); in GLES20Canvas()
114 if (mRenderer == 0) { in setupFinalizer()
117 mFinalizer = new CanvasFinalizer(mRenderer); in setupFinalizer()
122 nResetDisplayListRenderer(mRenderer); in resetDisplayListRenderer()
132 private final int mRenderer; field in GLES20Canvas.CanvasFinalizer
135 mRenderer = renderer; in CanvasFinalizer()
141 nDestroyRenderer(mRenderer); in finalize()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java80 protected ImageRendererWrapper mRenderer; field in TiledImageView
96 mRenderer = new ImageRendererWrapper(); in TiledImageView()
97 mRenderer.image = new TiledImageRenderer(this); in TiledImageView()
130 mRenderer.image.freeTextures();
157 mRenderer.source = source; in setTileSource()
158 mRenderer.isReadyCallback = isReadyCallback; in setTileSource()
159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource()
160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource()
161 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource()
162 mRenderer.scale = 0; in setTileSource()
[all …]
DBlockingGLTextureView.java319 private Renderer mRenderer; field in BlockingGLTextureView.RenderThread
327 mRenderer = renderer; in RenderThread()
332 if (mRenderer == null) { in checkRenderer()
400 mRenderer.onSurfaceCreated(mGL, mEglHelper.mEglConfig); in handleMessageLocked()
404 mRenderer.onSurfaceChanged(mGL, mWidth, mHeight); in handleMessageLocked()
407 mRenderer.onDrawFrame(mGL); in handleMessageLocked()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java72 final float imageWidth = mRenderer.source.getImageWidth(); in getImageDims()
73 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims()
90 float initialCenterX = mRenderer.source.getImageWidth() / 2f; in getEdgesHelper()
91 float initialCenterY = mRenderer.source.getImageHeight() / 2f; in getEdgesHelper()
100 final float scale = mRenderer.scale; in getEdgesHelper()
117 return mRenderer.rotation; in getImageRotation()
123 final float scale = mRenderer.scale; in getCrop()
134 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight()); in getSourceDimensions()
139 mCenterX = mRenderer.centerX; in setTileSource()
140 mCenterY = mRenderer.centerY; in setTileSource()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DDemoPresentation.java44 private CubeRenderer mRenderer; field in DemoPresentation
65 mRenderer = new CubeRenderer(false); in onCreate()
67 mSurfaceView.setRenderer(mRenderer); in onCreate()
74 mRenderer.explode(); in onCreate()
/frameworks/native/cmds/flatland/
DMain.cpp305 mRenderer = desc.rendererFactory(); in setUp()
306 result = mRenderer->setUp(helper); in setUp()
327 if (mRenderer != NULL) { in tearDown()
328 mRenderer->tearDown(); in tearDown()
329 delete mRenderer; in tearDown()
330 mRenderer = NULL; in tearDown()
342 return mRenderer->render(mSurface); in render()
372 Renderer* mRenderer; member in Layer
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp40 mRenderer = (char const*)renderer; in initWithGLStrings()
71 return mRenderer.string(); in getRenderer()
DGLExtensions.h42 String8 mRenderer; variable
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp464 mRenderer = new Renderer( in onMessageReceived()
469 looper()->registerHandler(mRenderer); in onMessageReceived()
564 mRenderer->queueEOS(audio, err); in onMessageReceived()
641 mRenderer->signalAudioSinkChanged(); in onMessageReceived()
703 mRenderer->queueEOS(audio, UNKNOWN_ERROR); in onMessageReceived()
819 CHECK(mRenderer != NULL); in onMessageReceived()
821 mRenderer->pause(); in onMessageReceived()
827 CHECK(mRenderer != NULL); in onMessageReceived()
829 mRenderer->resume(); in onMessageReceived()
857 mRenderer->signalTimeDiscontinuity(); in finishFlushIfPossible()
[all …]
DNuPlayer.h120 sp<Renderer> mRenderer; member
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java59 mRenderer = new ClearRenderer(); in ClearGLSurfaceView()
60 setRenderer(mRenderer); in ClearGLSurfaceView()
63 ClearRenderer mRenderer; field in ClearGLSurfaceView
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java75 mRenderer = new CamRenderer(context); in CamGLSurfaceView()
76 setRenderer(mRenderer); in CamGLSurfaceView()
85 mRenderer.setPosition(event.getX() / getWidth(), in onTouchEvent()
109 mRenderer.setCamera(mCamera); in onResume()
121 mRenderer.setAcceleration(accelerationVector); in onSensorChanged()
130 CamRenderer mRenderer; field in CamGLSurfaceView
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java48 MyRenderer mRenderer; field in MyGLSurfaceView
61 mRenderer = new MyRenderer(context); in init()
62 setRenderer(mRenderer); in init()
76 return mRenderer.getSurfaceTexture(); in getSurfaceTexture()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java68 VideoDumpRenderer mRenderer; field in VideoDumpView
116 mRenderer = new VideoDumpRenderer(context); in VideoDumpView()
117 setRenderer(mRenderer); in VideoDumpView()
155 mRenderer.setMediaPlayer(mMediaPlayer); in onResume()
156 mRenderer.setImageListWriter(mImageListWriter); in onResume()
/frameworks/av/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp569 : mRenderer(renderer) in RenderInput()
615 mRenderer->startRequest(NativeWindowRenderer::CMD_RENDER_INPUT); in render()
616 mRenderer->mThreadRenderInput = this; in render()
617 mRenderer->sendRequest(); in render()
DNativeWindowRenderer.h165 NativeWindowRenderer* mRenderer; variable
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java357 mRenderer = renderer; in setRenderer()
584 if (mDetached && (mRenderer != null)) { in onAttachedToWindow()
1501 view.mRenderer.onSurfaceCreated(gl, mEglHelper.mEglConfig); in guardedRun()
1512 view.mRenderer.onSurfaceChanged(gl, w, h); in guardedRun()
1523 view.mRenderer.onDrawFrame(gl); in guardedRun()
1931 private Renderer mRenderer; field in GLSurfaceView
/frameworks/base/docs/html/training/graphics/opengl/
Dtouch.jd78 mRenderer.mAngle += (dx + dy) * TOUCH_SCALE_FACTOR; // = 180.0f / 320