| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 int height) SK_OVERRIDE { | 143 int height) SK_OVERRIDE { |
| 144 return false; | 144 return false; |
| 145 } | 145 } |
| 146 | 146 |
| 147 virtual bool attachStencilBufferToRenderTarget(GrStencilBuffer*, GrRenderTar
get*) SK_OVERRIDE { | 147 virtual bool attachStencilBufferToRenderTarget(GrStencilBuffer*, GrRenderTar
get*) SK_OVERRIDE { |
| 148 return false; | 148 return false; |
| 149 } | 149 } |
| 150 | 150 |
| 151 virtual bool flushGraphicsState(const GrOptDrawState&, | 151 virtual bool flushGraphicsState(const GrOptDrawState&, |
| 152 DrawType, | 152 DrawType, |
| 153 const GrClipMaskManager::ScissorState&, | |
| 154 const GrDeviceCoordTexture* dstCopy) SK_OVE
RRIDE { | 153 const GrDeviceCoordTexture* dstCopy) SK_OVE
RRIDE { |
| 155 return false; | 154 return false; |
| 156 } | 155 } |
| 157 | 156 |
| 158 virtual void clearStencil(GrRenderTarget* target) SK_OVERRIDE { } | 157 virtual void clearStencil(GrRenderTarget* target) SK_OVERRIDE { } |
| 159 | 158 |
| 160 virtual void didAddGpuTraceMarker() SK_OVERRIDE { } | 159 virtual void didAddGpuTraceMarker() SK_OVERRIDE { } |
| 161 virtual void didRemoveGpuTraceMarker() SK_OVERRIDE { } | 160 virtual void didRemoveGpuTraceMarker() SK_OVERRIDE { } |
| 162 | 161 |
| 163 typedef GrGpu INHERITED; | 162 typedef GrGpu INHERITED; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 180 // these objects are required for any of tests that use this context. TODO:
make stop allocating | 179 // these objects are required for any of tests that use this context. TODO:
make stop allocating |
| 181 // resources in the buffer pools. | 180 // resources in the buffer pools. |
| 182 SkDELETE(fDrawBuffer); | 181 SkDELETE(fDrawBuffer); |
| 183 SkDELETE(fDrawBufferVBAllocPool); | 182 SkDELETE(fDrawBufferVBAllocPool); |
| 184 SkDELETE(fDrawBufferIBAllocPool); | 183 SkDELETE(fDrawBufferIBAllocPool); |
| 185 | 184 |
| 186 fDrawBuffer = NULL; | 185 fDrawBuffer = NULL; |
| 187 fDrawBufferVBAllocPool = NULL; | 186 fDrawBufferVBAllocPool = NULL; |
| 188 fDrawBufferIBAllocPool = NULL; | 187 fDrawBufferIBAllocPool = NULL; |
| 189 } | 188 } |
| OLD | NEW |