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

Side by Side Diff: src/gpu/GrStencilBuffer.h

Issue 947443003: Move clip off of draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 10 months 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/GrStencilAndCoverTextContext.cpp ('k') | src/gpu/GrTest.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 2011 Google Inc. 3 * Copyright 2011 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 9
10 #ifndef GrStencilBuffer_DEFINED 10 #ifndef GrStencilBuffer_DEFINED
11 #define GrStencilBuffer_DEFINED 11 #define GrStencilBuffer_DEFINED
12 12
13 #include "GrClipData.h" 13 #include "GrClip.h"
14 #include "GrGpuResource.h" 14 #include "GrGpuResource.h"
15 15
16 class GrRenderTarget; 16 class GrRenderTarget;
17 class GrResourceKey; 17 class GrResourceKey;
18 18
19 class GrStencilBuffer : public GrGpuResource { 19 class GrStencilBuffer : public GrGpuResource {
20 public: 20 public:
21 SK_DECLARE_INST_COUNT(GrStencilBuffer); 21 SK_DECLARE_INST_COUNT(GrStencilBuffer);
22 22
23 virtual ~GrStencilBuffer() { 23 virtual ~GrStencilBuffer() {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int fSampleCnt; 71 int fSampleCnt;
72 72
73 int32_t fLastClipStackGenID; 73 int32_t fLastClipStackGenID;
74 SkIRect fLastClipStackRect; 74 SkIRect fLastClipStackRect;
75 SkIPoint fLastClipSpaceOffset; 75 SkIPoint fLastClipSpaceOffset;
76 76
77 typedef GrGpuResource INHERITED; 77 typedef GrGpuResource INHERITED;
78 }; 78 };
79 79
80 #endif 80 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrStencilAndCoverTextContext.cpp ('k') | src/gpu/GrTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698