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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 fEnabled = kUnknown_TriState; | 424 fEnabled = kUnknown_TriState; |
425 } | 425 } |
426 } fHWBlendState; | 426 } fHWBlendState; |
427 | 427 |
428 TriState fMSAAEnabled; | 428 TriState fMSAAEnabled; |
429 | 429 |
430 GrStencilSettings fHWStencilSettings; | 430 GrStencilSettings fHWStencilSettings; |
431 TriState fHWStencilTestEnabled; | 431 TriState fHWStencilTestEnabled; |
432 | 432 |
433 | 433 |
434 GrDrawState::DrawFace fHWDrawFace; | 434 GrOptDrawState::DrawFace fHWDrawFace; |
435 TriState fHWWriteToColor; | 435 TriState fHWWriteToColor; |
436 TriState fHWDitherEnabled; | 436 TriState fHWDitherEnabled; |
437 uint32_t fHWBoundRenderTargetUniqueID; | 437 uint32_t fHWBoundRenderTargetUniqueID; |
438 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; | 438 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; |
439 | 439 |
440 ///@} | 440 ///@} |
441 | 441 |
442 // we record what stencil format worked last time to hopefully exit early | 442 // we record what stencil format worked last time to hopefully exit early |
443 // from our loop that tries stencil formats and calls check fb status. | 443 // from our loop that tries stencil formats and calls check fb status. |
444 int fLastSuccessfulStencilFmtIdx; | 444 int fLastSuccessfulStencilFmtIdx; |
445 | 445 |
446 typedef GrGpu INHERITED; | 446 typedef GrGpu INHERITED; |
447 friend class GrGLPathRendering; // For accessing setTextureUnit. | 447 friend class GrGLPathRendering; // For accessing setTextureUnit. |
448 }; | 448 }; |
449 | 449 |
450 #endif | 450 #endif |
OLD | NEW |