Home
last modified time | relevance | path

Searched refs:OpenGLRenderer (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp135 static OpenGLRenderer* android_view_GLES20Canvas_createRenderer(JNIEnv* env, jobject clazz) { in android_view_GLES20Canvas_createRenderer()
137 OpenGLRenderer* renderer = new OpenGLRenderer(); in android_view_GLES20Canvas_createRenderer()
143 OpenGLRenderer* renderer) { in android_view_GLES20Canvas_destroyRenderer()
153 OpenGLRenderer* renderer, jint width, jint height) { in android_view_GLES20Canvas_setViewport()
158 OpenGLRenderer* renderer, jboolean opaque) { in android_view_GLES20Canvas_prepare()
163 OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, in android_view_GLES20Canvas_prepareDirty()
169 OpenGLRenderer* renderer) { in android_view_GLES20Canvas_finish()
178 jobject clazz, OpenGLRenderer* renderer, jstring name) { in android_view_GLES20Canvas_setName()
189 OpenGLRenderer* renderer, jboolean enabled) { in android_view_GLES20Canvas_setCountOverdrawEnabled()
194 OpenGLRenderer* renderer) { in android_view_GLES20Canvas_getOverdraw()
[all …]
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp122 OpenGLRenderer::OpenGLRenderer(): in OpenGLRenderer() function in android::uirenderer::OpenGLRenderer
137 OpenGLRenderer::~OpenGLRenderer() { in ~OpenGLRenderer()
142 void OpenGLRenderer::initProperties() { in initProperties()
157 void OpenGLRenderer::setName(const char* name) { in setName()
165 const char* OpenGLRenderer::getName() const { in getName()
169 bool OpenGLRenderer::isDeferred() { in isDeferred()
173 void OpenGLRenderer::setViewport(int width, int height) { in setViewport()
182 void OpenGLRenderer::initViewport(int width, int height) { in initViewport()
192 void OpenGLRenderer::setupFrameState(float left, float top, in setupFrameState()
206 status_t OpenGLRenderer::startFrame() { in startFrame()
[all …]
DDeferredDisplayList.h41 class OpenGLRenderer; variable
109 status_t flush(OpenGLRenderer& renderer, Rect& dirty);
111 void addClip(OpenGLRenderer& renderer, ClipOp* op);
112 void addSaveLayer(OpenGLRenderer& renderer, SaveLayerOp* op, int newSaveCount);
113 void addSave(OpenGLRenderer& renderer, SaveOp* op, int newSaveCount);
114 void addRestoreToCount(OpenGLRenderer& renderer, StateOp* op, int newSaveCount);
120 void addDrawOp(OpenGLRenderer& renderer, DrawOp* op);
139 void storeStateOpBarrier(OpenGLRenderer& renderer, StateOp* op);
140 void storeRestoreToCountBarrier(OpenGLRenderer& renderer, StateOp* op, int newSaveCount);
DDisplayListOp.h108 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const = 0;
135 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0;
144 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, in multiDraw()
164 virtual void onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, in onDefer()
181 return OpenGLRenderer::getAlphaDirect(mPaint); in getPaintAlpha()
191 SkPaint* getPaint(OpenGLRenderer& renderer) { in getPaint()
206 SkXfermode::Mode mode = OpenGLRenderer::getXfermodeDirect(mPaint); in isOpaqueOverBounds()
273 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const { in applyState()
307 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const { in applyState()
346 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const { in applyState()
[all …]
DDeferredDisplayList.cpp54 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
93 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay()
263 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay()
307 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay()
329 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay()
353 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { in replay()
413 void DeferredDisplayList::addClip(OpenGLRenderer& renderer, ClipOp* op) { in addClip()
438 void DeferredDisplayList::addSaveLayer(OpenGLRenderer& renderer, in addSaveLayer()
451 void DeferredDisplayList::addSave(OpenGLRenderer& renderer, SaveOp* op, int newSaveCount) { in addSave()
473 void DeferredDisplayList::addRestoreToCount(OpenGLRenderer& renderer, StateOp* op, in addRestoreToCount()
[all …]
DDisplayListRenderer.cpp163 return OpenGLRenderer::save(flags); in save()
174 OpenGLRenderer::restore(); in restore()
180 OpenGLRenderer::restoreToCount(saveCount); in restoreToCount()
186 return OpenGLRenderer::save(flags); in saveLayer()
194 OpenGLRenderer::translate(dx, dy); in translate()
199 OpenGLRenderer::rotate(degrees); in rotate()
204 OpenGLRenderer::scale(sx, sy); in scale()
209 OpenGLRenderer::skew(sx, sy); in skew()
215 OpenGLRenderer::setMatrix(matrix); in setMatrix()
221 OpenGLRenderer::concatMatrix(matrix); in concatMatrix()
[all …]
DDisplayList.h58 class OpenGLRenderer; variable
70 DeferStateStruct(DeferredDisplayList& deferredList, OpenGLRenderer& renderer, int replayFlags) in DeferStateStruct()
73 OpenGLRenderer& mRenderer;
78 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) in ReplayStateStruct()
81 OpenGLRenderer& mRenderer;
460 inline void setViewProperties(OpenGLRenderer& renderer, T& handler, const int level);
463 inline void iterate(OpenGLRenderer& renderer, T& handler, const int level);
DLayer.h44 class OpenGLRenderer; variable
85 void updateDeferred(OpenGLRenderer* renderer, DisplayList* displayList, in updateDeferred()
286 OpenGLRenderer* renderer;
DFontRenderer.h52 class OpenGLRenderer; variable
66 TextSetupFunctor(OpenGLRenderer* renderer, float x, float y, bool pureTranslate, in TextSetupFunctor()
75 OpenGLRenderer* renderer;
DLayerRenderer.cpp67 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); in prepareDirty()
81 return OpenGLRenderer::clear(left, top, right, bottom, opaque); in clear()
85 OpenGLRenderer::finish(); in finish()
121 return OpenGLRenderer::getRegion(); in getRegion()
439 renderer.OpenGLRenderer::prepareDirty(0.0f, 0.0f, in copyLayer()
DLayerRenderer.h45 class LayerRenderer: public OpenGLRenderer {
DAndroid.mk30 OpenGLRenderer.cpp \
DOpenGLRenderer.h114 class OpenGLRenderer {
116 ANDROID_API OpenGLRenderer();
117 virtual ~OpenGLRenderer();
DLayer.cpp135 OpenGLRenderer::getAlphaAndModeDirect(paint, &alpha, &mode); in setPaint()
DDisplayList.cpp403 void DisplayList::setViewProperties(OpenGLRenderer& renderer, T& handler, in setViewProperties()
503 void DisplayList::iterate(OpenGLRenderer& renderer, T& handler, const int level) { in iterate()
DDisplayListRenderer.h59 class DisplayListRenderer: public OpenGLRenderer {