Home
last modified time | relevance | path

Searched refs:combinedMatrix (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/
DGrAARectRenderer.h45 const SkMatrix& combinedMatrix, in fillAARect() argument
49 if (combinedMatrix.rectStaysRect()) { in fillAARect()
51 rect, combinedMatrix); in fillAARect()
54 rect, combinedMatrix); in fillAARect()
58 rect, combinedMatrix, in fillAARect()
66 const SkMatrix& combinedMatrix,
75 const SkMatrix& combinedMatrix,
93 const SkMatrix& combinedMatrix,
100 const SkMatrix& combinedMatrix);
105 const SkMatrix& combinedMatrix);
DGrAARectRenderer.cpp456 const SkMatrix& combinedMatrix, in geometryFillAARect() argument
485 if (combinedMatrix.rectStaysRect()) { in geometryFillAARect()
491 combinedMatrix.mapRect(&devRect, rect); in geometryFillAARect()
499 { combinedMatrix[SkMatrix::kMScaleX], combinedMatrix[SkMatrix::kMSkewY] }, in geometryFillAARect()
500 { combinedMatrix[SkMatrix::kMSkewX], combinedMatrix[SkMatrix::kMScaleY] } in geometryFillAARect()
511 combinedMatrix.mapPointsWithStride(fan0Pos, vsize, 4); in geometryFillAARect()
605 const SkMatrix& combinedMatrix) { in shaderFillAARect() argument
609 combinedMatrix.mapPoints(&center, 1); in shaderFillAARect()
612 SkVector dir = { combinedMatrix[SkMatrix::kMSkewX], combinedMatrix[SkMatrix::kMScaleY] }; in shaderFillAARect()
617 { combinedMatrix[SkMatrix::kMScaleX], combinedMatrix[SkMatrix::kMSkewY] }, in shaderFillAARect()
[all …]
DGrContext.cpp720 const SkMatrix& combinedMatrix, in apply_aa_to_rect() argument
754 if (!combinedMatrix.preservesAxisAlignment()) { in apply_aa_to_rect()
760 if (!combinedMatrix.preservesRightAngles()) { in apply_aa_to_rect()
766 combinedMatrix.mapRect(devBoundRect, rect); in apply_aa_to_rect()
798 SkMatrix combinedMatrix = target->drawState()->getViewMatrix(); in drawRect() local
800 combinedMatrix.preConcat(*matrix); in drawRect()
818 if (!combinedMatrix.invert(&invM)) { in drawRect()
842 bool doAA = needAA && apply_aa_to_rect(target, rect, width, combinedMatrix, &devBoundRect, in drawRect()
854 combinedMatrix, devBoundRect, in drawRect()
859 rect, combinedMatrix, devBoundRect, in drawRect()
DGrInOrderDrawBuffer.cpp169 SkMatrix combinedMatrix; in onDrawRect() local
171 combinedMatrix = *matrix; in onDrawRect()
173 combinedMatrix.reset(); in onDrawRect()
175 combinedMatrix.postConcat(drawState->getViewMatrix()); in onDrawRect()
187 combinedMatrix.mapPointsWithStride(geo.positions(), vsize, 4); in onDrawRect()
/external/skia/src/gpu/
DGrAARectRenderer.h45 const SkMatrix& combinedMatrix, in fillAARect() argument
49 if (combinedMatrix.rectStaysRect()) { in fillAARect()
51 rect, combinedMatrix); in fillAARect()
54 rect, combinedMatrix); in fillAARect()
58 rect, combinedMatrix, in fillAARect()
66 const SkMatrix& combinedMatrix,
75 const SkMatrix& combinedMatrix,
93 const SkMatrix& combinedMatrix,
100 const SkMatrix& combinedMatrix);
105 const SkMatrix& combinedMatrix);
DGrAARectRenderer.cpp456 const SkMatrix& combinedMatrix, in geometryFillAARect() argument
485 if (combinedMatrix.rectStaysRect()) { in geometryFillAARect()
491 combinedMatrix.mapRect(&devRect, rect); in geometryFillAARect()
499 { combinedMatrix[SkMatrix::kMScaleX], combinedMatrix[SkMatrix::kMSkewY] }, in geometryFillAARect()
500 { combinedMatrix[SkMatrix::kMSkewX], combinedMatrix[SkMatrix::kMScaleY] } in geometryFillAARect()
511 combinedMatrix.mapPointsWithStride(fan0Pos, vsize, 4); in geometryFillAARect()
605 const SkMatrix& combinedMatrix) { in shaderFillAARect() argument
609 combinedMatrix.mapPoints(&center, 1); in shaderFillAARect()
612 SkVector dir = { combinedMatrix[SkMatrix::kMSkewX], combinedMatrix[SkMatrix::kMScaleY] }; in shaderFillAARect()
617 { combinedMatrix[SkMatrix::kMScaleX], combinedMatrix[SkMatrix::kMSkewY] }, in shaderFillAARect()
[all …]
DGrContext.cpp720 const SkMatrix& combinedMatrix, in apply_aa_to_rect() argument
754 if (!combinedMatrix.preservesAxisAlignment()) { in apply_aa_to_rect()
760 if (!combinedMatrix.preservesRightAngles()) { in apply_aa_to_rect()
766 combinedMatrix.mapRect(devBoundRect, rect); in apply_aa_to_rect()
798 SkMatrix combinedMatrix = target->drawState()->getViewMatrix(); in drawRect() local
800 combinedMatrix.preConcat(*matrix); in drawRect()
818 if (!combinedMatrix.invert(&invM)) { in drawRect()
842 bool doAA = needAA && apply_aa_to_rect(target, rect, width, combinedMatrix, &devBoundRect, in drawRect()
854 combinedMatrix, devBoundRect, in drawRect()
859 rect, combinedMatrix, devBoundRect, in drawRect()
DGrInOrderDrawBuffer.cpp169 SkMatrix combinedMatrix; in onDrawRect() local
171 combinedMatrix = *matrix; in onDrawRect()
173 combinedMatrix.reset(); in onDrawRect()
175 combinedMatrix.postConcat(drawState->getViewMatrix()); in onDrawRect()
187 combinedMatrix.mapPointsWithStride(geo.positions(), vsize, 4); in onDrawRect()
/external/skia/src/effects/
DSkColorFilterImageFilter.cpp70 SkScalar combinedMatrix[20]; in Create() local
71 mult_color_matrix(colorMatrix, inputMatrix, combinedMatrix); in Create()
72 SkAutoTUnref<SkColorFilter> newCF(SkColorMatrixFilter::Create(combinedMatrix)); in Create()
/external/chromium_org/third_party/skia/src/effects/
DSkColorFilterImageFilter.cpp70 SkScalar combinedMatrix[20]; in Create() local
71 mult_color_matrix(colorMatrix, inputMatrix, combinedMatrix); in Create()
72 SkAutoTUnref<SkColorFilter> newCF(SkColorMatrixFilter::Create(combinedMatrix)); in Create()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp222 SkMatrix combinedMatrix = srcRotInv; in DrawDashLine() local
223 combinedMatrix.postConcat(vm); in DrawDashLine()
379 setup_dashed_rect(bounds, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()
387 setup_dashed_rect(startRect, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()
395 setup_dashed_rect(endRect, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()
/external/chromium_org/third_party/skia/src/gpu/effects/
DGrDashingEffect.cpp222 SkMatrix combinedMatrix = srcRotInv; in DrawDashLine() local
223 combinedMatrix.postConcat(vm); in DrawDashLine()
379 setup_dashed_rect(bounds, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()
387 setup_dashed_rect(startRect, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()
395 setup_dashed_rect(endRect, verts, curVIdx, combinedMatrix, startOffset, devBloat, in DrawDashLine()