| Index: src/gpu/GrInOrderDrawBuffer.cpp
|
| diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
|
| index f1031ce17cbfa8c30456a5b504a4840b2114f53f..875734d8a5a78a2f74af13c77eb020da63ce93e0 100644
|
| --- a/src/gpu/GrInOrderDrawBuffer.cpp
|
| +++ b/src/gpu/GrInOrderDrawBuffer.cpp
|
| @@ -559,17 +559,12 @@ void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount,
|
| !indexCount &&
|
| kReserved_GeometrySrcType == this->getGeomSrc().fIndexSrc;
|
|
|
| - // we don't want to finalize any reserved geom on the target since
|
| - // we don't know that the client has finished writing to it.
|
| - bool targetHasReservedGeom = fDstGpu->hasReservedVerticesOrIndices();
|
| -
|
| int vcount = vertexCount;
|
| int icount = indexCount;
|
|
|
| if (!insideGeoPush &&
|
| !unreleasedVertexSpace &&
|
| !unreleasedIndexSpace &&
|
| - !targetHasReservedGeom &&
|
| this->geometryHints(&vcount, &icount)) {
|
| this->flush();
|
| }
|
|
|