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

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

Issue 307543002: Revert of Add compressed texture capabilities for GPU devices (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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/GrDrawTargetCaps.h ('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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 int bitIdx = config % 32; 306 int bitIdx = config % 32;
307 return SkToBool(fVerifiedColorConfigs[u32Idx] & (1 << bitIdx)); 307 return SkToBool(fVerifiedColorConfigs[u32Idx] & (1 << bitIdx));
308 } 308 }
309 }; 309 };
310 310
311 void initFSAASupport(const GrGLContextInfo&, const GrGLInterface*); 311 void initFSAASupport(const GrGLContextInfo&, const GrGLInterface*);
312 void initStencilFormats(const GrGLContextInfo&); 312 void initStencilFormats(const GrGLContextInfo&);
313 // This must be called after initFSAASupport(). 313 // This must be called after initFSAASupport().
314 void initConfigRenderableTable(const GrGLContextInfo&); 314 void initConfigRenderableTable(const GrGLContextInfo&);
315 315
316 void initCompressedTextureSupport(const GrGLContextInfo &);
317
318 // tracks configs that have been verified to pass the FBO completeness when 316 // tracks configs that have been verified to pass the FBO completeness when
319 // used as a color attachment 317 // used as a color attachment
320 VerifiedColorConfigs fVerifiedColorConfigs; 318 VerifiedColorConfigs fVerifiedColorConfigs;
321 319
322 SkTArray<StencilFormat, true> fStencilFormats; 320 SkTArray<StencilFormat, true> fStencilFormats;
323 // tracks configs that have been verified to pass the FBO completeness when 321 // tracks configs that have been verified to pass the FBO completeness when
324 // used as a color attachment when a particular stencil format is used 322 // used as a color attachment when a particular stencil format is used
325 // as a stencil attachment. 323 // as a stencil attachment.
326 SkTArray<VerifiedColorConfigs, true> fStencilVerifiedColorConfigs; 324 SkTArray<VerifiedColorConfigs, true> fStencilVerifiedColorConfigs;
327 325
(...skipping 24 matching lines...) Expand all
352 bool fVertexArrayObjectSupport : 1; 350 bool fVertexArrayObjectSupport : 1;
353 bool fUseNonVBOVertexAndIndexDynamicData : 1; 351 bool fUseNonVBOVertexAndIndexDynamicData : 1;
354 bool fIsCoreProfile : 1; 352 bool fIsCoreProfile : 1;
355 bool fFullClearIsFree : 1; 353 bool fFullClearIsFree : 1;
356 bool fDropsTileOnZeroDivide : 1; 354 bool fDropsTileOnZeroDivide : 1;
357 355
358 typedef GrDrawTargetCaps INHERITED; 356 typedef GrDrawTargetCaps INHERITED;
359 }; 357 };
360 358
361 #endif 359 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTargetCaps.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698