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

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

Issue 1001503002: Implement support for mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@mix1
Patch Set: Handle numSamples cases in SkGpuDevice Created 5 years, 8 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
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 GrGLGpu_DEFINED 8 #ifndef GrGLGpu_DEFINED
9 #define GrGLGpu_DEFINED 9 #define GrGLGpu_DEFINED
10 10
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 442
443 void invalidate() { 443 void invalidate() {
444 fSrcCoeff = kInvalid_GrBlendCoeff; 444 fSrcCoeff = kInvalid_GrBlendCoeff;
445 fDstCoeff = kInvalid_GrBlendCoeff; 445 fDstCoeff = kInvalid_GrBlendCoeff;
446 fConstColorValid = false; 446 fConstColorValid = false;
447 fEnabled = kUnknown_TriState; 447 fEnabled = kUnknown_TriState;
448 } 448 }
449 } fHWBlendState; 449 } fHWBlendState;
450 450
451 TriState fMSAAEnabled; 451 TriState fMSAAEnabled;
452 TriState fCoverageModulationEnabled;
452 453
453 GrStencilSettings fHWStencilSettings; 454 GrStencilSettings fHWStencilSettings;
454 TriState fHWStencilTestEnabled; 455 TriState fHWStencilTestEnabled;
455 456
456 457
457 GrPipelineBuilder::DrawFace fHWDrawFace; 458 GrPipelineBuilder::DrawFace fHWDrawFace;
458 TriState fHWWriteToColor; 459 TriState fHWWriteToColor;
459 TriState fHWDitherEnabled; 460 TriState fHWDitherEnabled;
460 uint32_t fHWBoundRenderTargetUniqueID; 461 uint32_t fHWBoundRenderTargetUniqueID;
461 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; 462 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs;
462 463
463 ///@} 464 ///@}
464 465
465 // we record what stencil format worked last time to hopefully exit early 466 // we record what stencil format worked last time to hopefully exit early
466 // from our loop that tries stencil formats and calls check fb status. 467 // from our loop that tries stencil formats and calls check fb status.
467 int fLastSuccessfulStencilFmtIdx; 468 int fLastSuccessfulStencilFmtIdx;
468 469
469 typedef GrGpu INHERITED; 470 typedef GrGpu INHERITED;
470 friend class GrGLPathRendering; // For accessing setTextureUnit. 471 friend class GrGLPathRendering; // For accessing setTextureUnit.
471 }; 472 };
472 473
473 #endif 474 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698