Searched refs:scale255 (Results 1 – 1 of 1) sorted by relevance
2041 static const GrGLfloat scale255 = 1.f / 255.f; in onClear() local2042 a = GrColorUnpackA(color) * scale255; in onClear()2043 GrGLfloat scaleRGB = scale255; in onClear()3622 static const GrGLfloat scale255 = 1.f / 255.f; in drawDebugWireRect() local3623 channels[0] = GrColorUnpackR(color) * scale255; in drawDebugWireRect()3624 channels[1] = GrColorUnpackG(color) * scale255; in drawDebugWireRect()3625 channels[2] = GrColorUnpackB(color) * scale255; in drawDebugWireRect()3626 channels[3] = GrColorUnpackA(color) * scale255; in drawDebugWireRect()