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

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

Issue 1166513002: Re-enable advanced blend with a blacklist (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix msvc Created 5 years, 6 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/GrCustomXfermode.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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 #if !GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 297 #if !GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT
298 return false; 298 return false;
299 #endif 299 #endif
300 int u32Idx = config / 32; 300 int u32Idx = config / 32;
301 int bitIdx = config % 32; 301 int bitIdx = config % 32;
302 return SkToBool(fVerifiedColorConfigs[u32Idx] & (1 << bitIdx)); 302 return SkToBool(fVerifiedColorConfigs[u32Idx] & (1 << bitIdx));
303 } 303 }
304 }; 304 };
305 305
306 void initFSAASupport(const GrGLContextInfo&, const GrGLInterface*); 306 void initFSAASupport(const GrGLContextInfo&, const GrGLInterface*);
307 void initBlendEqationSupport(const GrGLContextInfo&);
307 void initStencilFormats(const GrGLContextInfo&); 308 void initStencilFormats(const GrGLContextInfo&);
308 // This must be called after initFSAASupport(). 309 // This must be called after initFSAASupport().
309 void initConfigRenderableTable(const GrGLContextInfo&); 310 void initConfigRenderableTable(const GrGLContextInfo&);
310 void initConfigTexturableTable(const GrGLContextInfo&, const GrGLInterface*) ; 311 void initConfigTexturableTable(const GrGLContextInfo&, const GrGLInterface*) ;
311 312
312 bool doReadPixelsSupported(const GrGLInterface* intf, GrGLenum format, GrGLe num type) const; 313 bool doReadPixelsSupported(const GrGLInterface* intf, GrGLenum format, GrGLe num type) const;
313 314
314 // tracks configs that have been verified to pass the FBO completeness when 315 // tracks configs that have been verified to pass the FBO completeness when
315 // used as a color attachment 316 // used as a color attachment
316 VerifiedColorConfigs fVerifiedColorConfigs; 317 VerifiedColorConfigs fVerifiedColorConfigs;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 443
443 AdvBlendEqInteraction fAdvBlendEqInteraction; 444 AdvBlendEqInteraction fAdvBlendEqInteraction;
444 445
445 friend class GrGLCaps; // For initialization. 446 friend class GrGLCaps; // For initialization.
446 447
447 typedef GrShaderCaps INHERITED; 448 typedef GrShaderCaps INHERITED;
448 }; 449 };
449 450
450 451
451 #endif 452 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrCustomXfermode.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698