Reenable reordering
authorjoshualitt <joshualitt@chromium.org>
Tue, 2 Jun 2015 20:48:38 +0000 (13:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 20:48:38 +0000 (13:48 -0700)
TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/1160063003

src/gpu/GrInOrderDrawBuffer.cpp

index d26850342b0f08cac6cad8f58fcccd6a1aa4b143..2a2b5b6912d77bfda3cc8340d443ae614ac10215 100644 (file)
@@ -10,8 +10,7 @@
 // We will use the reordering buffer, unless we have NVPR.
 // TODO move NVPR to batch so we can reorder
 static inline bool allow_reordering(const GrCaps* caps) {
-    //return caps && caps->shaderCaps() && !caps->shaderCaps()->pathRenderingSupport();
-    return false;
+    return caps && caps->shaderCaps() && !caps->shaderCaps()->pathRenderingSupport();
 }
 
 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrContext* context)