Home | History | Annotate | Download | only in hwui

Lines Matching refs:CanvasState

19 #include "CanvasState.h"
26 CanvasState::CanvasState(CanvasStateClient& renderer)
37 CanvasState::~CanvasState() {
41 void CanvasState::initializeSaveStack(float clipLeft, float clipTop,
51 void CanvasState::setViewport(int width, int height) {
75 int CanvasState::saveSnapshot(int flags) {
80 int CanvasState::save(int flags) {
87 void CanvasState::restoreSnapshot() {
98 void CanvasState::restore() {
104 void CanvasState::restoreToCount(int saveCount) {
116 void CanvasState::getMatrix(SkMatrix* matrix) const {
120 void CanvasState::translate(float dx, float dy, float dz) {
124 void CanvasState::rotate(float degrees) {
128 void CanvasState::scale(float sx, float sy) {
132 void CanvasState::skew(float sx, float sy) {
136 void CanvasState::setMatrix(const SkMatrix& matrix) {
140 void CanvasState::setMatrix(const Matrix4& matrix) {
144 void CanvasState::concatMatrix(const SkMatrix& matrix) {
149 void CanvasState::concatMatrix(const Matrix4& matrix) {
157 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) {
162 bool CanvasState::clipPath(const SkPath* path, SkRegion::Op op) {
167 bool CanvasState::clipRegion(const SkRegion* region, SkRegion::Op op) {
172 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) {
187 void CanvasState::setClippingRoundRect(LinearAllocator& allocator,
192 void CanvasState::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) {
210 bool CanvasState::calculateQuickRejectForScissor(float left, float top,
240 bool CanvasState::quickRejectConservative(float left, float top,