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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
409 | 409 |
410 struct { | 410 struct { |
411 TriState fMSAAEnabled; | 411 TriState fMSAAEnabled; |
412 TriState fSmoothLineEnabled; | 412 TriState fSmoothLineEnabled; |
413 void invalidate() { | 413 void invalidate() { |
414 fMSAAEnabled = kUnknown_TriState; | 414 fMSAAEnabled = kUnknown_TriState; |
415 fSmoothLineEnabled = kUnknown_TriState; | 415 fSmoothLineEnabled = kUnknown_TriState; |
416 } | 416 } |
417 } fHWAAState; | 417 } fHWAAState; |
418 | 418 |
419 | 419 |
robertphillips
2013/08/29 19:22:56
fixed -> Fixed?
bsalomon
2013/08/29 19:25:23
will do
| |
420 GrGLProgram::MatrixState fHWPathStencilMatrixState; | 420 GrGLProgram::MatrixState fHWfixedFunctionMatrixState; |
421 | 421 |
422 GrStencilSettings fHWStencilSettings; | 422 GrStencilSettings fHWStencilSettings; |
423 TriState fHWStencilTestEnabled; | 423 TriState fHWStencilTestEnabled; |
424 | 424 |
425 GrDrawState::DrawFace fHWDrawFace; | 425 GrDrawState::DrawFace fHWDrawFace; |
426 TriState fHWWriteToColor; | 426 TriState fHWWriteToColor; |
427 TriState fHWDitherEnabled; | 427 TriState fHWDitherEnabled; |
428 GrRenderTarget* fHWBoundRenderTarget; | 428 GrRenderTarget* fHWBoundRenderTarget; |
429 SkTArray<GrTexture*, true> fHWBoundTextures; | 429 SkTArray<GrTexture*, true> fHWBoundTextures; |
430 ///@} | 430 ///@} |
431 | 431 |
432 // we record what stencil format worked last time to hopefully exit early | 432 // we record what stencil format worked last time to hopefully exit early |
433 // from our loop that tries stencil formats and calls check fb status. | 433 // from our loop that tries stencil formats and calls check fb status. |
434 int fLastSuccessfulStencilFmtIdx; | 434 int fLastSuccessfulStencilFmtIdx; |
435 | 435 |
436 typedef GrGpu INHERITED; | 436 typedef GrGpu INHERITED; |
437 }; | 437 }; |
438 | 438 |
439 #endif | 439 #endif |
OLD | NEW |