| 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" |
| 22 #include "gl/GrGLRenderTarget.h" | 23 #include "gl/GrGLRenderTarget.h" |
| 23 | 24 |
| 24 #include "SkStrokeRec.h" | 25 #include "SkStrokeRec.h" |
| 25 | 26 |
| 26 #include "batches/GrClearBatch.h" | 27 #include "batches/GrClearBatch.h" |
| 27 #include "batches/GrCopySurfaceBatch.h" | 28 #include "batches/GrCopySurfaceBatch.h" |
| 28 #include "batches/GrDiscardBatch.h" | 29 #include "batches/GrDiscardBatch.h" |
| 29 #include "batches/GrDrawBatch.h" | 30 #include "batches/GrDrawBatch.h" |
| 30 #include "batches/GrDrawPathBatch.h" | 31 #include "batches/GrDrawPathBatch.h" |
| 31 #include "batches/GrRectBatchFactory.h" | 32 #include "batches/GrRectBatchFactory.h" |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 } | 600 } |
| 600 | 601 |
| 601 return true; | 602 return true; |
| 602 } | 603 } |
| 603 | 604 |
| 604 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { | 605 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend
erTarget* rt) { |
| 605 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); | 606 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); |
| 606 this->recordBatch(batch); | 607 this->recordBatch(batch); |
| 607 batch->unref(); | 608 batch->unref(); |
| 608 } | 609 } |
| OLD | NEW |