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

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

Issue 205343008: Distance field fixes for Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix int->float conversion issues Created 6 years, 9 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/GrDistanceFieldTextureEffect.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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 bool isCoreProfile() const { return fIsCoreProfile; } 244 bool isCoreProfile() const { return fIsCoreProfile; }
245 245
246 bool fixedFunctionSupport() const { return fFixedFunctionSupport; } 246 bool fixedFunctionSupport() const { return fFixedFunctionSupport; }
247 247
248 /// Is there support for discarding the frame buffer 248 /// Is there support for discarding the frame buffer
249 bool discardFBSupport() const { return fDiscardFBSupport; } 249 bool discardFBSupport() const { return fDiscardFBSupport; }
250 250
251 bool fullClearIsFree() const { return fFullClearIsFree; } 251 bool fullClearIsFree() const { return fFullClearIsFree; }
252 252
253 bool dropsTileOnZeroDivide() const { return fDropsTileOnZeroDivide; }
254
253 private: 255 private:
254 /** 256 /**
255 * Maintains a bit per GrPixelConfig. It is used to avoid redundantly 257 * Maintains a bit per GrPixelConfig. It is used to avoid redundantly
256 * performing glCheckFrameBufferStatus for the same config. 258 * performing glCheckFrameBufferStatus for the same config.
257 */ 259 */
258 struct VerifiedColorConfigs { 260 struct VerifiedColorConfigs {
259 VerifiedColorConfigs() { 261 VerifiedColorConfigs() {
260 this->reset(); 262 this->reset();
261 } 263 }
262 264
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 bool fTextureRedSupport : 1; 327 bool fTextureRedSupport : 1;
326 bool fImagingSupport : 1; 328 bool fImagingSupport : 1;
327 bool fTwoFormatLimit : 1; 329 bool fTwoFormatLimit : 1;
328 bool fFragCoordsConventionSupport : 1; 330 bool fFragCoordsConventionSupport : 1;
329 bool fVertexArrayObjectSupport : 1; 331 bool fVertexArrayObjectSupport : 1;
330 bool fUseNonVBOVertexAndIndexDynamicData : 1; 332 bool fUseNonVBOVertexAndIndexDynamicData : 1;
331 bool fIsCoreProfile : 1; 333 bool fIsCoreProfile : 1;
332 bool fFixedFunctionSupport : 1; 334 bool fFixedFunctionSupport : 1;
333 bool fDiscardFBSupport : 1; 335 bool fDiscardFBSupport : 1;
334 bool fFullClearIsFree : 1; 336 bool fFullClearIsFree : 1;
337 bool fDropsTileOnZeroDivide : 1;
335 338
336 typedef GrDrawTargetCaps INHERITED; 339 typedef GrDrawTargetCaps INHERITED;
337 }; 340 };
338 341
339 #endif 342 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDistanceFieldTextureEffect.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698