| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrDrawTarget.h" | 8 #include "GrDrawTarget.h" |
| 9 | 9 |
| 10 #include "GrAuditTrail.h" | 10 #include "GrAuditTrail.h" |
| 11 #include "GrCaps.h" | 11 #include "GrCaps.h" |
| 12 #include "GrDrawContext.h" | 12 #include "GrDrawContext.h" |
| 13 #include "GrGpu.h" | 13 #include "GrGpu.h" |
| 14 #include "GrGpuCommandBuffer.h" | 14 #include "GrGpuCommandBuffer.h" |
| 15 #include "GrPath.h" | 15 #include "GrPath.h" |
| 16 #include "GrPipeline.h" | 16 #include "GrPipeline.h" |
| 17 #include "GrMemoryPool.h" | 17 #include "GrMemoryPool.h" |
| 18 #include "GrPipelineBuilder.h" |
| 18 #include "GrRenderTarget.h" | 19 #include "GrRenderTarget.h" |
| 19 #include "GrResourceProvider.h" | 20 #include "GrResourceProvider.h" |
| 20 #include "GrRenderTargetPriv.h" | 21 #include "GrRenderTargetPriv.h" |
| 21 #include "GrStencilAttachment.h" | 22 #include "GrStencilAttachment.h" |
| 22 #include "GrSurfacePriv.h" | 23 #include "GrSurfacePriv.h" |
| 23 #include "GrTexture.h" | 24 #include "GrTexture.h" |
| 24 #include "gl/GrGLRenderTarget.h" | 25 #include "gl/GrGLRenderTarget.h" |
| 25 | 26 |
| 26 #include "SkStrokeRec.h" | 27 #include "SkStrokeRec.h" |
| 27 | 28 |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 } | 593 } |
| 593 } | 594 } |
| 594 | 595 |
| 595 /////////////////////////////////////////////////////////////////////////////// | 596 /////////////////////////////////////////////////////////////////////////////// |
| 596 | 597 |
| 597 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { | 598 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { |
| 598 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); | 599 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); |
| 599 this->recordBatch(batch, batch->bounds()); | 600 this->recordBatch(batch, batch->bounds()); |
| 600 batch->unref(); | 601 batch->unref(); |
| 601 } | 602 } |
| OLD | NEW |