Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(274)

Unified Diff: src/gpu/GrInOrderDrawBuffer.cpp

Issue 6608043: Fixed bug(s) in batching of rects (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Reset flag when clip is wide open Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrInOrderDrawBuffer.cpp
===================================================================
--- src/gpu/GrInOrderDrawBuffer.cpp (revision 5804)
+++ src/gpu/GrInOrderDrawBuffer.cpp (working copy)
@@ -190,7 +190,7 @@
GeometryPoolState& poolState = fGeoPoolStateStack.back();
appendToPreviousDraw =
- kDraw_Cmd != fCmds.back() &&
+ kDraw_Cmd == fCmds.back() &&
lastDraw.fVertexBuffer == poolState.fPoolVertexBuffer &&
(fCurrQuad * 4 + lastDraw.fStartVertex) == poolState.fPoolStartVertex;
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b