| 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 GrGpuGL_DEFINED | 8 #ifndef GrGpuGL_DEFINED |
| 9 #define GrGpuGL_DEFINED | 9 #define GrGpuGL_DEFINED |
| 10 | 10 |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 fEnabled = kUnknown_TriState; | 435 fEnabled = kUnknown_TriState; |
| 436 } | 436 } |
| 437 } fHWBlendState; | 437 } fHWBlendState; |
| 438 | 438 |
| 439 TriState fMSAAEnabled; | 439 TriState fMSAAEnabled; |
| 440 | 440 |
| 441 GrStencilSettings fHWStencilSettings; | 441 GrStencilSettings fHWStencilSettings; |
| 442 TriState fHWStencilTestEnabled; | 442 TriState fHWStencilTestEnabled; |
| 443 | 443 |
| 444 | 444 |
| 445 GrOptDrawState::DrawFace fHWDrawFace; | 445 GrDrawState::DrawFace fHWDrawFace; |
| 446 TriState fHWWriteToColor; | 446 TriState fHWWriteToColor; |
| 447 TriState fHWDitherEnabled; | 447 TriState fHWDitherEnabled; |
| 448 uint32_t fHWBoundRenderTargetUniqueID; | 448 uint32_t fHWBoundRenderTargetUniqueID; |
| 449 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; | 449 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; |
| 450 | 450 |
| 451 ///@} | 451 ///@} |
| 452 | 452 |
| 453 // we record what stencil format worked last time to hopefully exit early | 453 // we record what stencil format worked last time to hopefully exit early |
| 454 // from our loop that tries stencil formats and calls check fb status. | 454 // from our loop that tries stencil formats and calls check fb status. |
| 455 int fLastSuccessfulStencilFmtIdx; | 455 int fLastSuccessfulStencilFmtIdx; |
| 456 | 456 |
| 457 typedef GrGpu INHERITED; | 457 typedef GrGpu INHERITED; |
| 458 friend class GrGLPathRendering; // For accessing setTextureUnit. | 458 friend class GrGLPathRendering; // For accessing setTextureUnit. |
| 459 }; | 459 }; |
| 460 | 460 |
| 461 #endif | 461 #endif |
| OLD | NEW |