Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1298)

Side by Side Diff: src/gpu/GrTest.cpp

Issue 742763002: scissor state on optstate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrOptDrawState.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/GrOptDrawState.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698