fix for xoom
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/918833003
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp
index f324018..0a18b49 100644
--- a/src/gpu/GrOvalRenderer.cpp
+++ b/src/gpu/GrOvalRenderer.cpp
@@ -1008,7 +1008,6 @@
SkAutoTUnref<GrGeometryProcessor> gp(EllipseEdgeEffect::Create(this->color(),
this->stroke(),
invert));
- SkASSERT(gp->getVertexStride() == sizeof(EllipseVertex));
batchTarget->initDraw(gp, pipeline);
@@ -1025,7 +1024,7 @@
int instanceCount = fGeoData.count();
int vertexCount = kVertsPerEllipse * instanceCount;
size_t vertexStride = gp->getVertexStride();
- SkASSERT(vertexStride == sizeof(CircleVertex));
+ SkASSERT(vertexStride == sizeof(EllipseVertex));
const GrVertexBuffer* vertexBuffer;
int firstVertex;
@@ -1306,8 +1305,6 @@
this->viewMatrix(),
this->mode()));
- SkASSERT(gp->getVertexStride() == sizeof(DIEllipseVertex));
-
batchTarget->initDraw(gp, pipeline);
// TODO this is hacky, but the only way we have to initialize the GP is to use the
@@ -1323,7 +1320,7 @@
int instanceCount = fGeoData.count();
int vertexCount = kVertsPerEllipse * instanceCount;
size_t vertexStride = gp->getVertexStride();
- SkASSERT(vertexStride == sizeof(CircleVertex));
+ SkASSERT(vertexStride == sizeof(DIEllipseVertex));
const GrVertexBuffer* vertexBuffer;
int firstVertex;