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

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

Issue 427823002: Remove gpu support for willUseHWAALines. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Nits 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 struct { 446 TriState fMSAAEnabled;
447 TriState fMSAAEnabled;
448 TriState fSmoothLineEnabled;
449 void invalidate() {
450 fMSAAEnabled = kUnknown_TriState;
451 fSmoothLineEnabled = kUnknown_TriState;
452 }
453 } fHWAAState;
454
455 447
456 GrGLProgram::MatrixState fHWProjectionMatrixState; 448 GrGLProgram::MatrixState fHWProjectionMatrixState;
457 449
458 GrStencilSettings fHWStencilSettings; 450 GrStencilSettings fHWStencilSettings;
459 TriState fHWStencilTestEnabled; 451 TriState fHWStencilTestEnabled;
460 GrStencilSettings fHWPathStencilSettings; 452 GrStencilSettings fHWPathStencilSettings;
461 453
462 GrDrawState::DrawFace fHWDrawFace; 454 GrDrawState::DrawFace fHWDrawFace;
463 TriState fHWWriteToColor; 455 TriState fHWWriteToColor;
464 TriState fHWDitherEnabled; 456 TriState fHWDitherEnabled;
(...skipping 12 matching lines...) Expand all
477 // we record what stencil format worked last time to hopefully exit early 469 // we record what stencil format worked last time to hopefully exit early
478 // from our loop that tries stencil formats and calls check fb status. 470 // from our loop that tries stencil formats and calls check fb status.
479 int fLastSuccessfulStencilFmtIdx; 471 int fLastSuccessfulStencilFmtIdx;
480 472
481 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator; 473 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator;
482 474
483 typedef GrGpu INHERITED; 475 typedef GrGpu INHERITED;
484 }; 476 };
485 477
486 #endif 478 #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