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

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

Issue 739133004: Small cleanups after GrDrawState/GrOptDrawState base class elimination. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 6 years, 1 month 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/GrOptDrawState.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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « src/gpu/GrOptDrawState.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698