Lines Matching refs:GrGLfloat
373 static const GrGLfloat vdata[] = { in createPLSSetupProgram()
2040 GrGLfloat r, g, b, a; in onClear()
2041 static const GrGLfloat scale255 = 1.f / 255.f; in onClear()
2043 GrGLfloat scaleRGB = scale255; in onClear()
2665 attribs->set(this, 0, arrayBuffer, kVec2f_GrVertexAttribType, 2 * sizeof(GrGLfloat), 0); in stampRectUsingProgram()
2698 GrGLfloat dx0 = 2.0f * (bounds.left() - 1) / width - 1.0f; in setupPixelLocalStorage()
2699 GrGLfloat dx1 = 2.0f * (bounds.right() + 1) / width - 1.0f; in setupPixelLocalStorage()
2700 GrGLfloat dy0 = -2.0f * (bounds.top() - 1) / height + 1.0f; in setupPixelLocalStorage()
2701 GrGLfloat dy1 = -2.0f * (bounds.bottom() + 1) / height + 1.0f; in setupPixelLocalStorage()
2936 GrGLfloat c[4]; in flushBlend()
3489 static const GrGLfloat vdata[] = { in createCopyPrograms()
3579 static const GrGLfloat vdata[] = { in createWireRectProgram()
3606 GrGLfloat edges[4]; in drawDebugWireRect()
3621 GrGLfloat channels[4]; in drawDebugWireRect()
3622 static const GrGLfloat scale255 = 1.f / 255.f; in drawDebugWireRect()
3638 attribs->set(this, 0, fWireRectArrayBuffer, kVec2f_GrVertexAttribType, 2 * sizeof(GrGLfloat), in drawDebugWireRect()
3687 attribs->set(this, 0, fCopyProgramArrayBuffer, kVec2f_GrVertexAttribType, 2 * sizeof(GrGLfloat), in copySurfaceAsDraw()
3694 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw()
3695 GrGLfloat dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw()
3696 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw()
3697 GrGLfloat dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; in copySurfaceAsDraw()
3703 GrGLfloat sx0 = (GrGLfloat)srcRect.fLeft; in copySurfaceAsDraw()
3704 GrGLfloat sx1 = (GrGLfloat)(srcRect.fLeft + w); in copySurfaceAsDraw()
3705 GrGLfloat sy0 = (GrGLfloat)srcRect.fTop; in copySurfaceAsDraw()
3706 GrGLfloat sy1 = (GrGLfloat)(srcRect.fTop + h); in copySurfaceAsDraw()