Chromium Code Reviews| Index: src/gpu/GrOvalRenderer.cpp |
| diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
| index fe223f0382d7c52eaa1858e9ed9f0c91e10ff358..6406dd635d2063554d18329e2c47454e9e2d5203 100644 |
| --- a/src/gpu/GrOvalRenderer.cpp |
| +++ b/src/gpu/GrOvalRenderer.cpp |
| @@ -183,7 +183,7 @@ private: |
| , fLocalMatrix(localMatrix) |
| , fUsesLocalCoords(usesLocalCoords) { |
| this->initClassID<CircleEdgeEffect>(); |
| - fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType)); |
| + fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, kHigh_GrSLPrecision)); |
|
joshualitt
2015/05/20 20:36:10
newline
Stephen White
2015/05/20 20:47:43
Done.
|
| fInCircleEdge = &this->addVertexAttrib(Attribute("inCircleEdge", |
| kVec4f_GrVertexAttribType)); |
| fStroke = stroke; |
| @@ -556,7 +556,7 @@ private: |
| , fViewMatrix(viewMatrix) |
| , fUsesLocalCoords(usesLocalCoords) { |
| this->initClassID<DIEllipseEdgeEffect>(); |
| - fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType)); |
| + fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, kHigh_GrSLPrecision)); |
|
joshualitt
2015/05/20 20:36:10
newline
Stephen White
2015/05/20 20:47:43
Done.
|
| fInEllipseOffsets0 = &this->addVertexAttrib(Attribute("inEllipseOffsets0", |
| kVec2f_GrVertexAttribType)); |
| fInEllipseOffsets1 = &this->addVertexAttrib(Attribute("inEllipseOffsets1", |