Clear and discard stencil buffers on tilers

Bug: skia:
Change-Id: I42e99cb75567825ac7751fc0ec56e4c45132628b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210425
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/gl/GrGLGpuCommandBuffer.cpp b/src/gpu/gl/GrGLGpuCommandBuffer.cpp
index 1412aa3..655b915 100644
--- a/src/gpu/gl/GrGLGpuCommandBuffer.cpp
+++ b/src/gpu/gl/GrGLGpuCommandBuffer.cpp
@@ -11,22 +11,9 @@
 #include "src/gpu/GrFixedClip.h"
 #include "src/gpu/GrRenderTargetPriv.h"
 
-void GrGLGpuRTCommandBuffer::begin() {
-    if (GrLoadOp::kClear == fColorLoadAndStoreInfo.fLoadOp) {
-        fGpu->clear(GrFixedClip::Disabled(), fColorLoadAndStoreInfo.fClearColor,
-                    fRenderTarget, fOrigin);
-    }
-    if (GrLoadOp::kClear == fStencilLoadAndStoreInfo.fLoadOp) {
-        GrStencilAttachment* sb = fRenderTarget->renderTargetPriv().getStencilAttachment();
-        if (sb && (sb->isDirty() || fRenderTarget->alwaysClearStencil())) {
-            fGpu->clearStencil(fRenderTarget, 0x0);
-        }
-    }
-}
-
-void GrGLGpuRTCommandBuffer::set(GrRenderTarget* rt, GrSurfaceOrigin origin,
-                                 const GrGpuRTCommandBuffer::LoadAndStoreInfo& colorInfo,
-                                 const GrGpuRTCommandBuffer::StencilLoadAndStoreInfo& stencilInfo) {
+void GrGLGpuRTCommandBuffer::set(
+        GrRenderTarget* rt, GrSurfaceOrigin origin, const LoadAndStoreInfo& colorInfo,
+        const StencilLoadAndStoreInfo& stencilInfo) {
     SkASSERT(fGpu);
     SkASSERT(!fRenderTarget);
     SkASSERT(fGpu == rt->getContext()->priv().getGpu());