Home
last modified time | relevance | path

Searched refs:GR_Scalar1 (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrMatrix.cpp17 const GrScalar GrMatrix::gRESCALE(GR_Scalar1);
68 fM[0] = GR_Scalar1; fM[1] = 0; fM[2] = 0;
69 fM[3] = 0; fM[4] = GR_Scalar1; fM[5] = 0;
75 fM[0] = GR_Scalar1; fM[1] = 0; fM[2] = dx;
76 fM[3] = 0; fM[4] = GR_Scalar1; fM[5] = dy;
85 fTypeMask = (GR_Scalar1 != sx || GR_Scalar1 != sy) ? kScale_TypeBit : 0;
89 fM[0] = GR_Scalar1; fM[1] = skx; fM[2] = 0;
90 fM[3] = sky; fM[4] = GR_Scalar1; fM[5] = 0;
249 (GR_Scalar1 == fM[kScaleX] && 0 == fM[kSkewX] && 0 == fM[kTransX] &&
250 0 == fM[kSkewY] && GR_Scalar1 == fM[kScaleY] && 0 == fM[kTransY] &&
[all …]
DGrGpu.cpp318 { GR_Scalar1, 0 }, in getUnitSquareVertexBuffer()
319 { GR_Scalar1, GR_Scalar1 }, in getUnitSquareVertexBuffer()
320 { 0, GR_Scalar1 } in getUnitSquareVertexBuffer()
323 GrPoint(GR_Scalar1,0), in getUnitSquareVertexBuffer()
324 GrPoint(GR_Scalar1,GR_Scalar1), in getUnitSquareVertexBuffer()
325 GrPoint(0, GR_Scalar1) in getUnitSquareVertexBuffer()
DGrDefaultPathRenderer.cpp346 GrScalar tol = GR_Scalar1; in internalDrawPath()
DSkGpuDevice.cpp1561 GrRect::MakeWH(GR_Scalar1 * w / texture->width(), in drawSprite()
1562 GR_Scalar1 * h / texture->height())); in drawSprite()
1593 GrRect srcRect = GrRect::MakeWH(GR_Scalar1 * w / devTex->width(), in drawDevice()
1594 GR_Scalar1 * h / devTex->height()); in drawDevice()
DGrAAConvexPathRenderer.cpp92 area = GrScalarDiv(GR_Scalar1, area); in center_of_mass()
DGrContext.cpp970 strokeSize.set(GR_Scalar1, GR_Scalar1); in drawRect()
1649 matrix.set(GrMatrix::kMScaleY, -GR_Scalar1); in internalReadRenderTargetPixels()
DGrTesselatedPathRenderer.cpp364 GrScalar tol = GR_Scalar1; in onDrawPath()
/external/skia/include/gpu/
DGrScalar.h27 #define GR_Scalar1 SK_Scalar1 macro
DGrSamplerState.h211 bool radial2IsDegenerate() const { return GR_Scalar1 == fRadial2CenterX1; } in radial2IsDegenerate()
/external/skia/src/gpu/gl/
DGrGpuGLShaders.cpp410 GrIntToScalar(2) / rt->width(), 0, -GR_Scalar1, in flushViewMatrix()
411 0,-GrIntToScalar(2) / rt->height(), GR_Scalar1, in flushViewMatrix()
536 GrScalar a = GrMul(centerX1, centerX1) - GR_Scalar1; in flushRadial2()
DGrGpuGL.cpp123 invY.setAll(GR_Scalar1, 0, 0, in AdjustTextureMatrix()
124 0, -GR_Scalar1, GR_Scalar1, in AdjustTextureMatrix()