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

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

Issue 1420033002: Revert of Add version string and force highp NDS transfrom to GLSLCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@renameShaderVar
Patch Set: Created 5 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/effects/GrTextureDomain.cpp ('k') | src/gpu/gl/GrGLCaps.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 2012 Google Inc. 2 * Copyright 2012 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 8
9 #ifndef GrGLCaps_DEFINED 9 #ifndef GrGLCaps_DEFINED
10 #define GrGLCaps_DEFINED 10 #define GrGLCaps_DEFINED
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 LATCAlias latcAlias() const { return fLATCAlias; } 264 LATCAlias latcAlias() const { return fLATCAlias; }
265 265
266 bool rgba8888PixelsOpsAreSlow() const { return fRGBA8888PixelsOpsAreSlow; } 266 bool rgba8888PixelsOpsAreSlow() const { return fRGBA8888PixelsOpsAreSlow; }
267 bool partialFBOReadIsSlow() const { return fPartialFBOReadIsSlow; } 267 bool partialFBOReadIsSlow() const { return fPartialFBOReadIsSlow; }
268 268
269 const GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fS haderCaps.get()); } 269 const GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fS haderCaps.get()); }
270 270
271 private: 271 private:
272 void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterfa ce*); 272 void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterfa ce*);
273 void initGLSL(const GrContextOptions&, const GrGLContextInfo&, const GrGLInt erface*);
274 bool hasPathRenderingSupport(const GrGLContextInfo&, const GrGLInterface*); 273 bool hasPathRenderingSupport(const GrGLContextInfo&, const GrGLInterface*);
275 274
276 /** 275 /**
277 * Maintains a bit per GrPixelConfig. It is used to avoid redundantly 276 * Maintains a bit per GrPixelConfig. It is used to avoid redundantly
278 * performing glCheckFrameBufferStatus for the same config. 277 * performing glCheckFrameBufferStatus for the same config.
279 */ 278 */
280 struct VerifiedColorConfigs { 279 struct VerifiedColorConfigs {
281 VerifiedColorConfigs() { 280 VerifiedColorConfigs() {
282 this->reset(); 281 this->reset();
283 } 282 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 && fType == rhs.fType 374 && fType == rhs.fType
376 && fFboFormat == rhs.fFboFormat; 375 && fFboFormat == rhs.fFboFormat;
377 } 376 }
378 }; 377 };
379 mutable SkTHashMap<ReadPixelsSupportedFormat, bool> fReadPixelsSupportedCach e; 378 mutable SkTHashMap<ReadPixelsSupportedFormat, bool> fReadPixelsSupportedCach e;
380 379
381 typedef GrCaps INHERITED; 380 typedef GrCaps INHERITED;
382 }; 381 };
383 382
384 #endif 383 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrTextureDomain.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698