| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE { return; } | 133 void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE { return; } |
| 134 | 134 |
| 135 bool createStencilBufferForRenderTarget(GrRenderTarget*, int width, int heig
ht) SK_OVERRIDE { | 135 bool createStencilBufferForRenderTarget(GrRenderTarget*, int width, int heig
ht) SK_OVERRIDE { |
| 136 return false; | 136 return false; |
| 137 } | 137 } |
| 138 | 138 |
| 139 bool attachStencilBufferToRenderTarget(GrStencilBuffer*, GrRenderTarget*) SK
_OVERRIDE { | 139 bool attachStencilBufferToRenderTarget(GrStencilBuffer*, GrRenderTarget*) SK
_OVERRIDE { |
| 140 return false; | 140 return false; |
| 141 } | 141 } |
| 142 | 142 |
| 143 bool flushGraphicsState(const GrOptDrawState&, DrawType) SK_OVERRIDE { retur
n false; } | 143 bool flushGraphicsState(const GrOptDrawState&) SK_OVERRIDE { return false; } |
| 144 | 144 |
| 145 void clearStencil(GrRenderTarget* target) SK_OVERRIDE {} | 145 void clearStencil(GrRenderTarget* target) SK_OVERRIDE {} |
| 146 | 146 |
| 147 void didAddGpuTraceMarker() SK_OVERRIDE { } | 147 void didAddGpuTraceMarker() SK_OVERRIDE { } |
| 148 | 148 |
| 149 void didRemoveGpuTraceMarker() SK_OVERRIDE { } | 149 void didRemoveGpuTraceMarker() SK_OVERRIDE { } |
| 150 | 150 |
| 151 typedef GrGpu INHERITED; | 151 typedef GrGpu INHERITED; |
| 152 }; | 152 }; |
| 153 | 153 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 168 // these objects are required for any of tests that use this context. TODO:
make stop allocating | 168 // these objects are required for any of tests that use this context. TODO:
make stop allocating |
| 169 // resources in the buffer pools. | 169 // resources in the buffer pools. |
| 170 SkDELETE(fDrawBuffer); | 170 SkDELETE(fDrawBuffer); |
| 171 SkDELETE(fDrawBufferVBAllocPool); | 171 SkDELETE(fDrawBufferVBAllocPool); |
| 172 SkDELETE(fDrawBufferIBAllocPool); | 172 SkDELETE(fDrawBufferIBAllocPool); |
| 173 | 173 |
| 174 fDrawBuffer = NULL; | 174 fDrawBuffer = NULL; |
| 175 fDrawBufferVBAllocPool = NULL; | 175 fDrawBufferVBAllocPool = NULL; |
| 176 fDrawBufferIBAllocPool = NULL; | 176 fDrawBufferIBAllocPool = NULL; |
| 177 } | 177 } |
| OLD | NEW |