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

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: GrRenderTarget::BufferBits, BackendRTDesc::fFlags and hasMixedSamplesModulation 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 void invalidate() { 442 void invalidate() {
443 fSrcCoeff = kInvalid_GrBlendCoeff; 443 fSrcCoeff = kInvalid_GrBlendCoeff;
444 fDstCoeff = kInvalid_GrBlendCoeff; 444 fDstCoeff = kInvalid_GrBlendCoeff;
445 fConstColorValid = false; 445 fConstColorValid = false;
446 fEnabled = kUnknown_TriState; 446 fEnabled = kUnknown_TriState;
447 } 447 }
448 } fHWBlendState; 448 } fHWBlendState;
449 449
450 TriState fMSAAEnabled; 450 TriState fMSAAEnabled;
451 TriState fCoverageModulationEnabled;
Mark Kilgard 2015/04/08 03:20:09 is fCoverageModulationMode a better name for this?
vbuzinov 2015/04/08 12:05:30 Since we only use GL_RGBA at this point I thought
451 452
452 GrStencilSettings fHWStencilSettings; 453 GrStencilSettings fHWStencilSettings;
453 TriState fHWStencilTestEnabled; 454 TriState fHWStencilTestEnabled;
454 455
455 456
456 GrPipelineBuilder::DrawFace fHWDrawFace; 457 GrPipelineBuilder::DrawFace fHWDrawFace;
457 TriState fHWWriteToColor; 458 TriState fHWWriteToColor;
458 TriState fHWDitherEnabled; 459 TriState fHWDitherEnabled;
459 uint32_t fHWBoundRenderTargetUniqueID; 460 uint32_t fHWBoundRenderTargetUniqueID;
460 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; 461 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs;
461 462
462 ///@} 463 ///@}
463 464
464 // we record what stencil format worked last time to hopefully exit early 465 // we record what stencil format worked last time to hopefully exit early
465 // from our loop that tries stencil formats and calls check fb status. 466 // from our loop that tries stencil formats and calls check fb status.
466 int fLastSuccessfulStencilFmtIdx; 467 int fLastSuccessfulStencilFmtIdx;
467 468
468 typedef GrGpu INHERITED; 469 typedef GrGpu INHERITED;
469 friend class GrGLPathRendering; // For accessing setTextureUnit. 470 friend class GrGLPathRendering; // For accessing setTextureUnit.
470 }; 471 };
471 472
472 #endif 473 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698