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

Side by Side Diff: include/gpu/GrCaps.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 | « no previous file | include/gpu/GrTypes.h » ('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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef GrCaps_DEFINED 8 #ifndef GrCaps_DEFINED
9 #define GrCaps_DEFINED 9 #define GrCaps_DEFINED
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 private: 100 private:
101 typedef SkRefCnt INHERITED; 101 typedef SkRefCnt INHERITED;
102 }; 102 };
103 103
104 /** 104 /**
105 * Represents the capabilities of a GrContext. 105 * Represents the capabilities of a GrContext.
106 */ 106 */
107 class GrCaps : public SkRefCnt { 107 class GrCaps : public SkRefCnt {
108 public: 108 public:
109
110
111 GrCaps(const GrContextOptions&); 109 GrCaps(const GrContextOptions&);
112 110
113 virtual SkString dump() const; 111 virtual SkString dump() const;
114 112
115 GrShaderCaps* shaderCaps() const { return fShaderCaps; } 113 GrShaderCaps* shaderCaps() const { return fShaderCaps; }
116 114
117 bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; } 115 bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; }
118 /** To avoid as-yet-unnecessary complexity we don't allow any partial suppor t of MIP Maps (e.g. 116 /** To avoid as-yet-unnecessary complexity we don't allow any partial suppor t of MIP Maps (e.g.
119 only for POT textures) */ 117 only for POT textures) */
120 bool mipMapSupport() const { return fMipMapSupport; } 118 bool mipMapSupport() const { return fMipMapSupport; }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 bool fConfigTextureSupport[kGrPixelConfigCnt]; 258 bool fConfigTextureSupport[kGrPixelConfigCnt];
261 259
262 private: 260 private:
263 bool fSupressPrints : 1; 261 bool fSupressPrints : 1;
264 bool fDrawPathMasksToCompressedTextureSupport : 1; 262 bool fDrawPathMasksToCompressedTextureSupport : 1;
265 263
266 typedef SkRefCnt INHERITED; 264 typedef SkRefCnt INHERITED;
267 }; 265 };
268 266
269 #endif 267 #endif
OLDNEW
« no previous file with comments | « no previous file | include/gpu/GrTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698