aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrInOrderDrawBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.cpp')
-rw-r--r--src/gpu/GrInOrderDrawBuffer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index f1031ce17c..875734d8a5 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();
}