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

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

Issue 1264003002: SRGB read and write pixels working and unit test (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 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/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.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 GrGLGpu_DEFINED 8 #ifndef GrGLGpu_DEFINED
9 #define GrGLGpu_DEFINED 9 #define GrGLGpu_DEFINED
10 10
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 TriState fMSAAEnabled; 482 TriState fMSAAEnabled;
483 483
484 GrStencilSettings fHWStencilSettings; 484 GrStencilSettings fHWStencilSettings;
485 TriState fHWStencilTestEnabled; 485 TriState fHWStencilTestEnabled;
486 486
487 487
488 GrPipelineBuilder::DrawFace fHWDrawFace; 488 GrPipelineBuilder::DrawFace fHWDrawFace;
489 TriState fHWWriteToColor; 489 TriState fHWWriteToColor;
490 TriState fHWDitherEnabled; 490 TriState fHWDitherEnabled;
491 uint32_t fHWBoundRenderTargetUniqueID; 491 uint32_t fHWBoundRenderTargetUniqueID;
492 TriState fHWSRGBFramebuffer;
492 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs; 493 SkTArray<uint32_t, true> fHWBoundTextureUniqueIDs;
493 494
494 ///@} 495 ///@}
495 496
496 // we record what stencil format worked last time to hopefully exit early 497 // we record what stencil format worked last time to hopefully exit early
497 // from our loop that tries stencil formats and calls check fb status. 498 // from our loop that tries stencil formats and calls check fb status.
498 int fLastSuccessfulStencilFmtIdx; 499 int fLastSuccessfulStencilFmtIdx;
499 500
500 typedef GrGpu INHERITED; 501 typedef GrGpu INHERITED;
501 friend class GrGLPathRendering; // For accessing setTextureUnit. 502 friend class GrGLPathRendering; // For accessing setTextureUnit.
502 }; 503 };
503 504
504 #endif 505 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698