| 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 | 441 |
| 442 void invalidate() { | 442 void invalidate() { |
| 443 fSrcCoeff = kInvalid_GrBlendCoeff; | 443 fSrcCoeff = kInvalid_GrBlendCoeff; |
| 444 fDstCoeff = kInvalid_GrBlendCoeff; | 444 fDstCoeff = kInvalid_GrBlendCoeff; |
| 445 fConstColorValid = false; | 445 fConstColorValid = false; |
| 446 fEnabled = kUnknown_TriState; | 446 fEnabled = kUnknown_TriState; |
| 447 } | 447 } |
| 448 } fHWBlendState; | 448 } fHWBlendState; |
| 449 | 449 |
| 450 TriState fMSAAEnabled; | 450 TriState fMSAAEnabled; |
| 451 TriState fCoverageModulationEnabled; |
| 451 | 452 |
| 452 GrStencilSettings fHWStencilSettings; | 453 GrStencilSettings fHWStencilSettings; |
| 453 TriState fHWStencilTestEnabled; | 454 TriState fHWStencilTestEnabled; |
| 454 | 455 |
| 455 | 456 |
| 456 GrPipelineBuilder::DrawFace fHWDrawFace; | 457 GrPipelineBuilder::DrawFace fHWDrawFace; |
| 457 TriState fHWWriteToColor; | 458 TriState fHWWriteToColor; |
| 458 TriState fHWDitherEnabled; | 459 TriState fHWDitherEnabled; |
| 459 uint32_t fHWBoundRenderTargetUniqueID; | 460 uint32_t fHWBoundRenderTargetUniqueID; |
| 460 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; | 461 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; |
| 461 | 462 |
| 462 ///@} | 463 ///@} |
| 463 | 464 |
| 464 // we record what stencil format worked last time to hopefully exit early | 465 // we record what stencil format worked last time to hopefully exit early |
| 465 // from our loop that tries stencil formats and calls check fb status. | 466 // from our loop that tries stencil formats and calls check fb status. |
| 466 int fLastSuccessfulStencilFmtIdx; | 467 int fLastSuccessfulStencilFmtIdx; |
| 467 | 468 |
| 468 typedef GrGpu INHERITED; | 469 typedef GrGpu INHERITED; |
| 469 friend class GrGLPathRendering; // For accessing setTextureUnit. | 470 friend class GrGLPathRendering; // For accessing setTextureUnit. |
| 470 }; | 471 }; |
| 471 | 472 |
| 472 #endif | 473 #endif |
| OLD | NEW |