Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 6b6490c7eaea5ff33bc57c2851690e1120054a8f..3827830de94dbdabc95f979cd28b5c0fa7969528 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -7,9 +7,11 @@ |
#include "GrInOrderDrawBuffer.h" |
+static const bool kEnableReordering = true; |
+ |
GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrContext* context) |
: INHERITED(context) |
- , fCommands(GrCommandBuilder::Create(context->getGpu(), false)) |
+ , fCommands(GrCommandBuilder::Create(context->getGpu(), kEnableReordering)) |
, fPathIndexBuffer(kPathIdxBufferMinReserve * sizeof(char)/4) |
, fPathTransformBuffer(kPathXformBufferMinReserve * sizeof(float)/4) |
, fPipelineBuffer(kPipelineBufferMinReserve) |