Index: src/gpu/GrTargetCommands.cpp |
diff --git a/src/gpu/GrTargetCommands.cpp b/src/gpu/GrTargetCommands.cpp |
index 84dbf9346e127d0036390c54ae04d70c2cc2cd4e..9585b655a3050050ee3309b3b803780cfd390e21 100644 |
--- a/src/gpu/GrTargetCommands.cpp |
+++ b/src/gpu/GrTargetCommands.cpp |
@@ -7,19 +7,19 @@ |
#include "GrTargetCommands.h" |
-#include "GrInOrderDrawBuffer.h" |
+#include "GrBufferedDrawTarget.h" |
void GrTargetCommands::reset() { |
fCmdBuffer.reset(); |
fBatchTarget.reset(); |
} |
-void GrTargetCommands::flush(GrInOrderDrawBuffer* iodb) { |
+void GrTargetCommands::flush(GrBufferedDrawTarget* bufferedDrawTarget) { |
if (fCmdBuffer.empty()) { |
return; |
} |
- GrGpu* gpu = iodb->getGpu(); |
+ GrGpu* gpu = bufferedDrawTarget->getGpu(); |
// Loop over all batches and generate geometry |
CmdBuffer::Iter genIter(fCmdBuffer); |
@@ -40,7 +40,7 @@ void GrTargetCommands::flush(GrInOrderDrawBuffer* iodb) { |
GrGpuTraceMarker newMarker("", -1); |
SkString traceString; |
if (iter->isTraced()) { |
- traceString = iodb->getCmdString(iter->markerID()); |
+ traceString = bufferedDrawTarget->getCmdString(iter->markerID()); |
newMarker.fMarker = traceString.c_str(); |
gpu->addGpuTraceMarker(&newMarker); |
} |