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

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

Issue 597323002: Split GrDrawState and GrOptDrawState into separate classes and remove base class. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More nits Created 6 years, 2 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/GrRODrawState.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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « src/gpu/GrRODrawState.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698