OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |