OLD | NEW |
---|---|
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 #ifndef GrRenderTarget_DEFINED | 8 #ifndef GrRenderTarget_DEFINED |
9 #define GrRenderTarget_DEFINED | 9 #define GrRenderTarget_DEFINED |
10 | 10 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 // Allows the backends to perform any additional work that is required for a ttaching a | 168 // Allows the backends to perform any additional work that is required for a ttaching a |
169 // GrStencilAttachment. When this is called, the GrStencilAttachment has alr eady been put onto | 169 // GrStencilAttachment. When this is called, the GrStencilAttachment has alr eady been put onto |
170 // the GrRenderTarget. This function must return false if any failures occur when completing the | 170 // the GrRenderTarget. This function must return false if any failures occur when completing the |
171 // stencil attachment. | 171 // stencil attachment. |
172 virtual bool completeStencilAttachment() = 0; | 172 virtual bool completeStencilAttachment() = 0; |
173 | 173 |
174 friend class GrRenderTargetPriv; | 174 friend class GrRenderTargetPriv; |
175 | 175 |
176 GrStencilAttachment* fStencilAttachment; | 176 GrStencilAttachment* fStencilAttachment; |
177 SampleConfig fSampleConfig; | 177 SampleConfig fSampleConfig; |
178 // True if sample locations colocated at pixel center are currently in use, false if default | |
179 // sample locations are currently in use. | |
bsalomon
2015/09/29 17:41:57
I'm wondering whether this should be in the GL sub
vbuzinov
2015/09/30 06:08:29
I agree, I think this property belongs to the GL s
| |
180 bool fUsesColocatedSampleLocations; | |
178 | 181 |
179 SkIRect fResolveRect; | 182 SkIRect fResolveRect; |
180 | 183 |
181 typedef GrSurface INHERITED; | 184 typedef GrSurface INHERITED; |
182 }; | 185 }; |
183 | 186 |
184 | 187 |
185 #endif | 188 #endif |
OLD | NEW |