OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 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 "GrTest.h" | 9 #include "GrTest.h" |
10 | 10 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 GrVertexBuffer* onCreateVertexBuffer(size_t size, bool dynamic) override { r
eturn NULL; } | 194 GrVertexBuffer* onCreateVertexBuffer(size_t size, bool dynamic) override { r
eturn NULL; } |
195 | 195 |
196 GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override { ret
urn NULL; } | 196 GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override { ret
urn NULL; } |
197 | 197 |
198 void onClear(GrRenderTarget*, const SkIRect* rect, GrColor color, | 198 void onClear(GrRenderTarget*, const SkIRect* rect, GrColor color, |
199 bool canIgnoreRect) override {} | 199 bool canIgnoreRect) override {} |
200 | 200 |
201 void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideCli
p) override {} | 201 void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideCli
p) override {} |
202 | 202 |
203 void onDraw(const DrawArgs&, const GrDrawTarget::DrawInfo&) override {} | 203 void onDraw(const DrawArgs&, const GrVertices&) override {} |
204 | 204 |
205 void onStencilPath(const GrPath* path, const StencilPathState& state) overri
de {} | 205 void onStencilPath(const GrPath* path, const StencilPathState& state) overri
de {} |
206 | 206 |
207 void onDrawPath(const DrawArgs&, const GrPath*, const GrStencilSettings&) ov
erride {} | 207 void onDrawPath(const DrawArgs&, const GrPath*, const GrStencilSettings&) ov
erride {} |
208 | 208 |
209 void onDrawPaths(const DrawArgs&, | 209 void onDrawPaths(const DrawArgs&, |
210 const GrPathRange*, | 210 const GrPathRange*, |
211 const void* indices, | 211 const void* indices, |
212 GrDrawTarget::PathIndexType, | 212 GrDrawTarget::PathIndexType, |
213 const float transformValues[], | 213 const float transformValues[], |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // these objects are required for any of tests that use this context. TODO:
make stop allocating | 266 // these objects are required for any of tests that use this context. TODO:
make stop allocating |
267 // resources in the buffer pools. | 267 // resources in the buffer pools. |
268 SkDELETE(fDrawBuffer); | 268 SkDELETE(fDrawBuffer); |
269 SkDELETE(fDrawBufferVBAllocPool); | 269 SkDELETE(fDrawBufferVBAllocPool); |
270 SkDELETE(fDrawBufferIBAllocPool); | 270 SkDELETE(fDrawBufferIBAllocPool); |
271 | 271 |
272 fDrawBuffer = NULL; | 272 fDrawBuffer = NULL; |
273 fDrawBufferVBAllocPool = NULL; | 273 fDrawBufferVBAllocPool = NULL; |
274 fDrawBufferIBAllocPool = NULL; | 274 fDrawBufferIBAllocPool = NULL; |
275 } | 275 } |
OLD | NEW |