| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "GrDrawTarget.h" | 9 #include "GrDrawTarget.h" |
| 10 | 10 |
| 11 #include "GrAuditTrail.h" | 11 #include "GrAuditTrail.h" |
| 12 #include "GrCaps.h" | 12 #include "GrCaps.h" |
| 13 #include "GrGpu.h" | 13 #include "GrGpu.h" |
| 14 #include "GrPath.h" | 14 #include "GrPath.h" |
| 15 #include "GrPipeline.h" | 15 #include "GrPipeline.h" |
| 16 #include "GrMemoryPool.h" | 16 #include "GrMemoryPool.h" |
| 17 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
| 18 #include "GrResourceProvider.h" | 18 #include "GrResourceProvider.h" |
| 19 #include "GrRenderTargetPriv.h" | 19 #include "GrRenderTargetPriv.h" |
| 20 #include "GrSurfacePriv.h" | 20 #include "GrSurfacePriv.h" |
| 21 #include "GrTexture.h" | 21 #include "GrTexture.h" |
| 22 #include "GrVertexBuffer.h" | |
| 23 #include "gl/GrGLRenderTarget.h" | 22 #include "gl/GrGLRenderTarget.h" |
| 24 | 23 |
| 25 #include "SkStrokeRec.h" | 24 #include "SkStrokeRec.h" |
| 26 | 25 |
| 27 #include "batches/GrClearBatch.h" | 26 #include "batches/GrClearBatch.h" |
| 28 #include "batches/GrCopySurfaceBatch.h" | 27 #include "batches/GrCopySurfaceBatch.h" |
| 29 #include "batches/GrDiscardBatch.h" | 28 #include "batches/GrDiscardBatch.h" |
| 30 #include "batches/GrDrawBatch.h" | 29 #include "batches/GrDrawBatch.h" |
| 31 #include "batches/GrDrawPathBatch.h" | 30 #include "batches/GrDrawPathBatch.h" |
| 32 #include "batches/GrRectBatchFactory.h" | 31 #include "batches/GrRectBatchFactory.h" |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 } | 599 } |
| 601 | 600 |
| 602 return true; | 601 return true; |
| 603 } | 602 } |
| 604 | 603 |
| 605 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { | 604 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { |
| 606 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); | 605 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); |
| 607 this->recordBatch(batch); | 606 this->recordBatch(batch); |
| 608 batch->unref(); | 607 batch->unref(); |
| 609 } | 608 } |
| OLD | NEW |