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

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

Issue 2138083002: skip call to clip::apply when clip is wide open Base URL: https://chromium.googlesource.com/skia.git@llist
Patch Set: rm gcmm Created 4 years, 5 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/GrProcessor.cpp ('k') | src/gpu/SkGpuDevice.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #ifndef GrStencilAttachment_DEFINED 9 #ifndef GrStencilAttachment_DEFINED
10 #define GrStencilAttachment_DEFINED 10 #define GrStencilAttachment_DEFINED
11 11
12 #include "GrClip.h" 12 #include "SkClipStack.h"
13 #include "GrGpuResource.h" 13 #include "GrGpuResource.h"
14 14
15 class GrRenderTarget; 15 class GrRenderTarget;
16 class GrResourceKey; 16 class GrResourceKey;
17 17
18 class GrStencilAttachment : public GrGpuResource { 18 class GrStencilAttachment : public GrGpuResource {
19 public: 19 public:
20 20
21 21
22 virtual ~GrStencilAttachment() { 22 virtual ~GrStencilAttachment() {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 int fSampleCnt; 70 int fSampleCnt;
71 71
72 int32_t fLastClipStackGenID; 72 int32_t fLastClipStackGenID;
73 SkIRect fLastClipStackRect; 73 SkIRect fLastClipStackRect;
74 SkIPoint fLastClipSpaceOffset; 74 SkIPoint fLastClipSpaceOffset;
75 75
76 typedef GrGpuResource INHERITED; 76 typedef GrGpuResource INHERITED;
77 }; 77 };
78 78
79 #endif 79 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrProcessor.cpp ('k') | src/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698