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

Side by Side Diff: src/gpu/gl/GrGLCaps.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 | « src/gpu/GrCaps.cpp ('k') | src/gpu/gl/GrGLCaps.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 GrGLCaps_DEFINED 9 #ifndef GrGLCaps_DEFINED
10 #define GrGLCaps_DEFINED 10 #define GrGLCaps_DEFINED
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 /// Is there support for GL_EXT_direct_state_access? 290 /// Is there support for GL_EXT_direct_state_access?
291 bool directStateAccessSupport() const { return fDirectStateAccessSupport; } 291 bool directStateAccessSupport() const { return fDirectStateAccessSupport; }
292 292
293 /// Is there support for GL_KHR_debug? 293 /// Is there support for GL_KHR_debug?
294 bool debugSupport() const { return fDebugSupport; } 294 bool debugSupport() const { return fDebugSupport; }
295 295
296 /// Is there support for ES2 compatability? 296 /// Is there support for ES2 compatability?
297 bool ES2CompatibilitySupport() const { return fES2CompatibilitySupport; } 297 bool ES2CompatibilitySupport() const { return fES2CompatibilitySupport; }
298 298
299 /// Can we call glDisable(GL_MULTISAMPLE)?
300 bool multisampleDisableSupport() const { return fMultisampleDisableSupport; }
301
302 /// Is there support for glDraw*Indirect? Note that the baseInstance fields of indirect draw 299 /// Is there support for glDraw*Indirect? Note that the baseInstance fields of indirect draw
303 /// commands cannot be used unless we have base instance support. 300 /// commands cannot be used unless we have base instance support.
304 bool drawIndirectSupport() const { return fDrawIndirectSupport; } 301 bool drawIndirectSupport() const { return fDrawIndirectSupport; }
305 302
306 /// Is there support for glMultiDraw*Indirect? Note that the baseInstance fi elds of indirect 303 /// Is there support for glMultiDraw*Indirect? Note that the baseInstance fi elds of indirect
307 /// draw commands cannot be used unless we have base instance support. 304 /// draw commands cannot be used unless we have base instance support.
308 bool multiDrawIndirectSupport() const { return fMultiDrawIndirectSupport; } 305 bool multiDrawIndirectSupport() const { return fMultiDrawIndirectSupport; }
309 306
310 /// Are the baseInstance fields supported in indirect draw commands? 307 /// Are the baseInstance fields supported in indirect draw commands?
311 bool baseInstanceSupport() const { return fBaseInstanceSupport; } 308 bool baseInstanceSupport() const { return fBaseInstanceSupport; }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 bool fUnpackFlipYSupport : 1; 388 bool fUnpackFlipYSupport : 1;
392 bool fPackRowLengthSupport : 1; 389 bool fPackRowLengthSupport : 1;
393 bool fPackFlipYSupport : 1; 390 bool fPackFlipYSupport : 1;
394 bool fTextureUsageSupport : 1; 391 bool fTextureUsageSupport : 1;
395 bool fTextureRedSupport : 1; 392 bool fTextureRedSupport : 1;
396 bool fImagingSupport : 1; 393 bool fImagingSupport : 1;
397 bool fVertexArrayObjectSupport : 1; 394 bool fVertexArrayObjectSupport : 1;
398 bool fDirectStateAccessSupport : 1; 395 bool fDirectStateAccessSupport : 1;
399 bool fDebugSupport : 1; 396 bool fDebugSupport : 1;
400 bool fES2CompatibilitySupport : 1; 397 bool fES2CompatibilitySupport : 1;
401 bool fMultisampleDisableSupport : 1;
402 bool fDrawIndirectSupport : 1; 398 bool fDrawIndirectSupport : 1;
403 bool fMultiDrawIndirectSupport : 1; 399 bool fMultiDrawIndirectSupport : 1;
404 bool fBaseInstanceSupport : 1; 400 bool fBaseInstanceSupport : 1;
405 bool fUseNonVBOVertexAndIndexDynamicData : 1; 401 bool fUseNonVBOVertexAndIndexDynamicData : 1;
406 bool fIsCoreProfile : 1; 402 bool fIsCoreProfile : 1;
407 bool fBindFragDataLocationSupport : 1; 403 bool fBindFragDataLocationSupport : 1;
408 bool fRGBA8888PixelsOpsAreSlow : 1; 404 bool fRGBA8888PixelsOpsAreSlow : 1;
409 bool fPartialFBOReadIsSlow : 1; 405 bool fPartialFBOReadIsSlow : 1;
410 bool fBindUniformLocationSupport : 1; 406 bool fBindUniformLocationSupport : 1;
411 bool fRectangleTextureSupport : 1; 407 bool fRectangleTextureSupport : 1;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 481
486 GrSwizzle fSwizzle; 482 GrSwizzle fSwizzle;
487 }; 483 };
488 484
489 ConfigInfo fConfigTable[kGrPixelConfigCnt]; 485 ConfigInfo fConfigTable[kGrPixelConfigCnt];
490 486
491 typedef GrCaps INHERITED; 487 typedef GrCaps INHERITED;
492 }; 488 };
493 489
494 #endif 490 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698