Searched refs:currentSnapshot (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
H A DCanvasState.h155 inline const mat4* currentTransform() const { return currentSnapshot()->transform; }
156 inline const Rect& currentRenderTargetClip() const { return currentSnapshot()->getRenderTargetClip(); }
157 inline Region* currentRegion() const { return currentSnapshot()->region; }
158 inline int currentFlags() const { return currentSnapshot()->flags; }
159 const Vector3& currentLightCenter() const { return currentSnapshot()->getRelativeLightCenter(); }
160 inline bool currentlyIgnored() const { return currentSnapshot()->isIgnored(); }
161 int getViewportWidth() const { return currentSnapshot()->getViewportWidth(); }
162 int getViewportHeight() const { return currentSnapshot()->getViewportHeight(); }
165 bool clipIsSimple() const { return currentSnapshot()->clipIsSimple(); }
167 inline const Snapshot* currentSnapshot() cons function in class:android::uirenderer::CanvasState
[all...]
H A DOpenGLRenderer.cpp152 if (currentSnapshot()->fbo == 0) {
217 mRenderState.bindFramebuffer(currentSnapshot()->fbo);
500 const Snapshot& previous = *(currentSnapshot()->previous);
790 .setRoundRectClipState(currentSnapshot()->roundRectClipState)
793 .setTransform(*currentSnapshot(), TransformFlags::None)
802 .setRoundRectClipState(currentSnapshot()->roundRectClipState)
806 .setTransform(*currentSnapshot(), TransformFlags::MeshIgnoresCanvasTransform)
823 .setRoundRectClipState(currentSnapshot()->roundRectClipState)
826 .setTransform(*currentSnapshot(), TransformFlags::None)
964 .setRoundRectClipState(currentSnapshot()
[all...]
H A DRecordingCanvas.cpp124 const Snapshot& previous = *mState.currentSnapshot();
190 *mState.currentSnapshot()->transform,
275 *mState.currentSnapshot()->transform,
286 *mState.currentSnapshot()->transform,
294 *(mState.currentSnapshot()->transform),
327 *(mState.currentSnapshot()->transform),
362 *(mState.currentSnapshot()->transform),
384 *(mState.currentSnapshot()->transform),
406 *(mState.currentSnapshot()->transform),
415 *(mState.currentSnapshot()
[all...]
H A DFrameBuilder.cpp95 Vector3 lightCenter = mCanvasState.currentSnapshot()->getRelativeLightCenter();
277 bool quickRejected = mCanvasState.currentSnapshot()->getRenderTargetClip().isEmpty()
442 *mCanvasState.currentSnapshot()->transform);
455 mCanvasState.currentSnapshot()->getRelativeLightCenter(),
542 *mCanvasState.currentSnapshot()->transform);
836 auto previous = mCanvasState.currentSnapshot();
890 auto previous = mCanvasState.currentSnapshot();
944 Matrix4 boundsTransform(*(mCanvasState.currentSnapshot()->transform));
950 dstRect.doIntersect(mCanvasState.currentSnapshot()->getRenderTargetClip());
H A DOpenGLRenderer.h729 inline const Snapshot* currentSnapshot() const { return mState.currentSnapshot(); } function in class:android::uirenderer::OpenGLRenderer
H A DFontRenderer.cpp82 .setRoundRectClipState(renderer->currentSnapshot()->roundRectClipState)
84 .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, renderer->currentSnapshot()->alpha)
85 .setTransform(*(renderer->currentSnapshot()), transformFlags)

Completed in 3044 milliseconds