Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: src/gpu/gl/GrGpuGL.h

Issue 430493003: Revert of Remove gpu support for willUseHWAALines. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 TriState fEnabled; 436 TriState fEnabled;
437 437
438 void invalidate() { 438 void invalidate() {
439 fSrcCoeff = kInvalid_GrBlendCoeff; 439 fSrcCoeff = kInvalid_GrBlendCoeff;
440 fDstCoeff = kInvalid_GrBlendCoeff; 440 fDstCoeff = kInvalid_GrBlendCoeff;
441 fConstColorValid = false; 441 fConstColorValid = false;
442 fEnabled = kUnknown_TriState; 442 fEnabled = kUnknown_TriState;
443 } 443 }
444 } fHWBlendState; 444 } fHWBlendState;
445 445
446 TriState fMSAAEnabled; 446 struct {
447 TriState fMSAAEnabled;
448 TriState fSmoothLineEnabled;
449 void invalidate() {
450 fMSAAEnabled = kUnknown_TriState;
451 fSmoothLineEnabled = kUnknown_TriState;
452 }
453 } fHWAAState;
454
447 455
448 GrGLProgram::MatrixState fHWProjectionMatrixState; 456 GrGLProgram::MatrixState fHWProjectionMatrixState;
449 457
450 GrStencilSettings fHWStencilSettings; 458 GrStencilSettings fHWStencilSettings;
451 TriState fHWStencilTestEnabled; 459 TriState fHWStencilTestEnabled;
452 GrStencilSettings fHWPathStencilSettings; 460 GrStencilSettings fHWPathStencilSettings;
453 461
454 GrDrawState::DrawFace fHWDrawFace; 462 GrDrawState::DrawFace fHWDrawFace;
455 TriState fHWWriteToColor; 463 TriState fHWWriteToColor;
456 TriState fHWDitherEnabled; 464 TriState fHWDitherEnabled;
(...skipping 12 matching lines...) Expand all
469 // we record what stencil format worked last time to hopefully exit early 477 // we record what stencil format worked last time to hopefully exit early
470 // from our loop that tries stencil formats and calls check fb status. 478 // from our loop that tries stencil formats and calls check fb status.
471 int fLastSuccessfulStencilFmtIdx; 479 int fLastSuccessfulStencilFmtIdx;
472 480
473 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator; 481 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator;
474 482
475 typedef GrGpu INHERITED; 483 typedef GrGpu INHERITED;
476 }; 484 };
477 485
478 #endif 486 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698