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 GrGLGpu_DEFINED | 8 #ifndef GrGLGpu_DEFINED |
9 #define GrGLGpu_DEFINED | 9 #define GrGLGpu_DEFINED |
10 | 10 |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
473 /** IDs for copy surface program. */ | 473 /** IDs for copy surface program. */ |
474 struct { | 474 struct { |
475 GrGLuint fProgram; | 475 GrGLuint fProgram; |
476 GrGLint fTextureUniform; | 476 GrGLint fTextureUniform; |
477 GrGLint fTexCoordXformUniform; | 477 GrGLint fTexCoordXformUniform; |
478 GrGLint fPosXformUniform; | 478 GrGLint fPosXformUniform; |
479 GrGLuint fArrayBuffer; | 479 GrGLuint fArrayBuffer; |
480 } fCopyProgram; | 480 } fCopyProgram; |
481 | 481 |
482 TriState fMSAAEnabled; | 482 TriState fMSAAEnabled; |
483 TriState fCoverageModulationEnabled; | |
Chris Dalton
2015/06/09 17:39:52
After discussions with the hardware guys, we can j
| |
483 | 484 |
484 GrStencilSettings fHWStencilSettings; | 485 GrStencilSettings fHWStencilSettings; |
485 TriState fHWStencilTestEnabled; | 486 TriState fHWStencilTestEnabled; |
486 | 487 |
487 | 488 |
488 GrPipelineBuilder::DrawFace fHWDrawFace; | 489 GrPipelineBuilder::DrawFace fHWDrawFace; |
489 TriState fHWWriteToColor; | 490 TriState fHWWriteToColor; |
490 TriState fHWDitherEnabled; | 491 TriState fHWDitherEnabled; |
491 uint32_t fHWBoundRenderTargetUniqueID; | 492 uint32_t fHWBoundRenderTargetUniqueID; |
492 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; | 493 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; |
493 | 494 |
494 ///@} | 495 ///@} |
495 | 496 |
496 // we record what stencil format worked last time to hopefully exit early | 497 // we record what stencil format worked last time to hopefully exit early |
497 // from our loop that tries stencil formats and calls check fb status. | 498 // from our loop that tries stencil formats and calls check fb status. |
498 int fLastSuccessfulStencilFmtIdx; | 499 int fLastSuccessfulStencilFmtIdx; |
499 | 500 |
500 typedef GrGpu INHERITED; | 501 typedef GrGpu INHERITED; |
501 friend class GrGLPathRendering; // For accessing setTextureUnit. | 502 friend class GrGLPathRendering; // For accessing setTextureUnit. |
502 }; | 503 }; |
503 | 504 |
504 #endif | 505 #endif |
OLD | NEW |