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

Side by Side Diff: src/gpu/gl/GrGLCaps.h

Issue 1158963002: Add caps overrides to GMs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 5 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/GrTest.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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 kGeneralEnable_AdvBlendEqInteraction, //<! layout(blend_support_all_e quations) out 381 kGeneralEnable_AdvBlendEqInteraction, //<! layout(blend_support_all_e quations) out
382 kSpecificEnables_AdvBlendEqInteraction, //<! Specific layout qualifiers per equation 382 kSpecificEnables_AdvBlendEqInteraction, //<! Specific layout qualifiers per equation
383 383
384 kLast_AdvBlendEqInteraction = kSpecificEnables_AdvBlendEqInteraction 384 kLast_AdvBlendEqInteraction = kSpecificEnables_AdvBlendEqInteraction
385 }; 385 };
386 386
387 /** 387 /**
388 * Initializes the GrGLSLCaps to the set of features supported in the curren t 388 * Initializes the GrGLSLCaps to the set of features supported in the curren t
389 * OpenGL context accessible via ctxInfo. 389 * OpenGL context accessible via ctxInfo.
390 */ 390 */
391 GrGLSLCaps(const GrGLContextInfo&, const GrGLInterface*, const GrGLCaps&); 391 GrGLSLCaps(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterf ace*,
392 const GrGLCaps&);
392 393
393 /** 394 /**
394 * Some helper functions for encapsulating various extensions to read FB Buf fer on openglES 395 * Some helper functions for encapsulating various extensions to read FB Buf fer on openglES
395 * 396 *
396 * TODO(joshualitt) On desktop opengl 4.2+ we can achieve something similar to this effect 397 * TODO(joshualitt) On desktop opengl 4.2+ we can achieve something similar to this effect
397 */ 398 */
398 bool fbFetchSupport() const { return fFBFetchSupport; } 399 bool fbFetchSupport() const { return fFBFetchSupport; }
399 400
400 bool fbFetchNeedsCustomOutput() const { return fFBFetchNeedsCustomOutput; } 401 bool fbFetchNeedsCustomOutput() const { return fFBFetchNeedsCustomOutput; }
401 402
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 const char* fFBFetchColorName; 434 const char* fFBFetchColorName;
434 const char* fFBFetchExtensionString; 435 const char* fFBFetchExtensionString;
435 436
436 AdvBlendEqInteraction fAdvBlendEqInteraction; 437 AdvBlendEqInteraction fAdvBlendEqInteraction;
437 438
438 typedef GrShaderCaps INHERITED; 439 typedef GrShaderCaps INHERITED;
439 }; 440 };
440 441
441 442
442 #endif 443 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698