Index: src/gpu/GrCommandBuilder.cpp |
diff --git a/src/gpu/GrCommandBuilder.cpp b/src/gpu/GrCommandBuilder.cpp |
index 76f830dca03d0ab08d92ad6c556584e730dabe55..86c1668ae23d4a006a801db93329463055146c96 100644 |
--- a/src/gpu/GrCommandBuilder.cpp |
+++ b/src/gpu/GrCommandBuilder.cpp |
@@ -18,20 +18,6 @@ GrCommandBuilder* GrCommandBuilder::Create(GrGpu* gpu, bool reorder) { |
} |
} |
-GrTargetCommands::Cmd* GrCommandBuilder::recordClear(const SkIRect& rect, |
- GrColor color, |
- GrRenderTarget* renderTarget) { |
- SkASSERT(renderTarget); |
- SkASSERT(rect.fLeft <= rect.fRight && rect.fTop <= rect.fBottom); |
- |
- Clear* clr = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), Clear, (renderTarget)); |
- GrColorIsPMAssert(color); |
- clr->fColor = color; |
- clr->fRect = rect; |
- GrBATCH_INFO("Recording clear %d\n", clr->uniqueID()); |
- return clr; |
-} |
- |
GrTargetCommands::Cmd* GrCommandBuilder::recordClearStencilClip(const SkIRect& rect, |
bool insideClip, |
GrRenderTarget* renderTarget) { |
@@ -46,15 +32,6 @@ GrTargetCommands::Cmd* GrCommandBuilder::recordClearStencilClip(const SkIRect& r |
return clr; |
} |
-GrTargetCommands::Cmd* GrCommandBuilder::recordDiscard(GrRenderTarget* renderTarget) { |
- SkASSERT(renderTarget); |
- |
- Clear* clr = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), Clear, (renderTarget)); |
- clr->fColor = GrColor_ILLEGAL; |
- GrBATCH_INFO("Recording discard %d\n", clr->uniqueID()); |
- return clr; |
-} |
- |
GrTargetCommands::Cmd* GrCommandBuilder::recordCopySurface(GrSurface* dst, |
GrSurface* src, |
const SkIRect& srcRect, |