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

Side by Side Diff: include/gpu/GrCaps.h

Issue 2062443002: Move multisampleDisableSupport into GrCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/gpu/GrCaps.cpp » ('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 #ifndef GrCaps_DEFINED 8 #ifndef GrCaps_DEFINED
9 #define GrCaps_DEFINED 9 #define GrCaps_DEFINED
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 */ 151 */
152 bool srgbWriteControl() const { return fSRGBWriteControl; } 152 bool srgbWriteControl() const { return fSRGBWriteControl; }
153 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; } 153 bool twoSidedStencilSupport() const { return fTwoSidedStencilSupport; }
154 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; } 154 bool stencilWrapOpsSupport() const { return fStencilWrapOpsSupport; }
155 bool discardRenderTargetSupport() const { return fDiscardRenderTargetSupport ; } 155 bool discardRenderTargetSupport() const { return fDiscardRenderTargetSupport ; }
156 bool gpuTracingSupport() const { return fGpuTracingSupport; } 156 bool gpuTracingSupport() const { return fGpuTracingSupport; }
157 bool compressedTexSubImageSupport() const { return fCompressedTexSubImageSup port; } 157 bool compressedTexSubImageSupport() const { return fCompressedTexSubImageSup port; }
158 bool oversizedStencilSupport() const { return fOversizedStencilSupport; } 158 bool oversizedStencilSupport() const { return fOversizedStencilSupport; }
159 bool textureBarrierSupport() const { return fTextureBarrierSupport; } 159 bool textureBarrierSupport() const { return fTextureBarrierSupport; }
160 bool sampleLocationsSupport() const { return fSampleLocationsSupport; } 160 bool sampleLocationsSupport() const { return fSampleLocationsSupport; }
161 bool multisampleDisableSupport() const { return fMultisampleDisableSupport; }
161 bool usesMixedSamples() const { return fUsesMixedSamples; } 162 bool usesMixedSamples() const { return fUsesMixedSamples; }
162 163
163 bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; } 164 bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; }
164 bool useDrawInsteadOfPartialRenderTargetWrite() const { 165 bool useDrawInsteadOfPartialRenderTargetWrite() const {
165 return fUseDrawInsteadOfPartialRenderTargetWrite; 166 return fUseDrawInsteadOfPartialRenderTargetWrite;
166 } 167 }
167 168
168 bool useDrawInsteadOfAllRenderTargetWrites() const { 169 bool useDrawInsteadOfAllRenderTargetWrites() const {
169 return fUseDrawInsteadOfAllRenderTargetWrites; 170 return fUseDrawInsteadOfAllRenderTargetWrites;
170 } 171 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 bool fTwoSidedStencilSupport : 1; 288 bool fTwoSidedStencilSupport : 1;
288 bool fStencilWrapOpsSupport : 1; 289 bool fStencilWrapOpsSupport : 1;
289 bool fDiscardRenderTargetSupport : 1; 290 bool fDiscardRenderTargetSupport : 1;
290 bool fReuseScratchTextures : 1; 291 bool fReuseScratchTextures : 1;
291 bool fReuseScratchBuffers : 1; 292 bool fReuseScratchBuffers : 1;
292 bool fGpuTracingSupport : 1; 293 bool fGpuTracingSupport : 1;
293 bool fCompressedTexSubImageSupport : 1; 294 bool fCompressedTexSubImageSupport : 1;
294 bool fOversizedStencilSupport : 1; 295 bool fOversizedStencilSupport : 1;
295 bool fTextureBarrierSupport : 1; 296 bool fTextureBarrierSupport : 1;
296 bool fSampleLocationsSupport : 1; 297 bool fSampleLocationsSupport : 1;
298 bool fMultisampleDisableSupport : 1;
297 bool fUsesMixedSamples : 1; 299 bool fUsesMixedSamples : 1;
298 bool fSupportsInstancedDraws : 1; 300 bool fSupportsInstancedDraws : 1;
299 bool fFullClearIsFree : 1; 301 bool fFullClearIsFree : 1;
300 bool fMustClearUploadedBufferData : 1; 302 bool fMustClearUploadedBufferData : 1;
301 303
302 // Driver workaround 304 // Driver workaround
303 bool fUseDrawInsteadOfClear : 1; 305 bool fUseDrawInsteadOfClear : 1;
304 bool fUseDrawInsteadOfPartialRenderTargetWrite : 1; 306 bool fUseDrawInsteadOfPartialRenderTargetWrite : 1;
305 bool fUseDrawInsteadOfAllRenderTargetWrites : 1; 307 bool fUseDrawInsteadOfAllRenderTargetWrites : 1;
306 308
(...skipping 20 matching lines...) Expand all
327 private: 329 private:
328 virtual void onApplyOptionsOverrides(const GrContextOptions&) {}; 330 virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
329 331
330 bool fSuppressPrints : 1; 332 bool fSuppressPrints : 1;
331 bool fImmediateFlush: 1; 333 bool fImmediateFlush: 1;
332 334
333 typedef SkRefCnt INHERITED; 335 typedef SkRefCnt INHERITED;
334 }; 336 };
335 337
336 #endif 338 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698