Home | History | Annotate | Download | only in batches

Lines Matching full:viewmatrix

634 bool check_bounds(const SkMatrix& viewMatrix, const SkRect& devBounds, void* vertices, int vCount)
639 if (viewMatrix.hasPerspective()) {
643 SkASSERT(viewMatrix.isIdentity());
655 viewMatrix.mapPoints(&pos, 1);
738 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) {
743 if (this->viewMatrix().hasPerspective() &&
744 !this->viewMatrix().cheapEqualTo(that->viewMatrix())) {
760 if (this->usesLocalCoords() && !this->viewMatrix().cheapEqualTo(that->viewMatrix())) {
772 const SkMatrix& viewMatrix() const { return fGeoData[0].fViewMatrix; }
791 // Setup the viewmatrix and localmatrix for the GrGeometryProcessor.
793 if (!this->viewMatrix().invert(&invert)) {
797 // we will transform to identity space if the viewmatrix does not have perspective
798 bool hasPerspective = this->viewMatrix().hasPerspective();
804 geometryProcessorViewM = &this->viewMatrix();
806 toDevice = &this->viewMatrix();
952 const SkMatrix& viewMatrix,
958 if (GrPathRenderer::IsStrokeHairlineOrEquivalent(stroke, viewMatrix, &hairlineCoverage)) {
965 geometry.fViewMatrix = viewMatrix;
991 SkMatrix viewMatrix = GrTest::TestMatrix(random);
996 return create_hairline_batch(color, viewMatrix, path, stroke, devClipBounds);