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

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

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/gl/GrGLAssembleInterface.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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ConfigFormats() { 421 ConfigFormats() {
422 // Inits to known bad GL enum values. 422 // Inits to known bad GL enum values.
423 memset(this, 0xAB, sizeof(ConfigFormats)); 423 memset(this, 0xAB, sizeof(ConfigFormats));
424 } 424 }
425 GrGLenum fBaseInternalFormat; 425 GrGLenum fBaseInternalFormat;
426 GrGLenum fSizedInternalFormat; 426 GrGLenum fSizedInternalFormat;
427 427
428 /** The external format and type are to be used when uploading/downloadi ng data using this 428 /** The external format and type are to be used when uploading/downloadi ng data using this
429 config where both the CPU data and GrSurface are the same config. To get the external 429 config where both the CPU data and GrSurface are the same config. To get the external
430 format and type when converting between configs while copying to/fro m memory use 430 format and type when converting between configs while copying to/fro m memory use
431 getExternalFormat(). 431 getExternalFormat().
432 The kTexImage external format is usually the same as kOther except f or kSRGBA on some 432 The kTexImage external format is usually the same as kOther except f or kSRGBA on some
433 GL contexts. */ 433 GL contexts. */
434 GrGLenum fExternalFormat[kExternalFormatUsageCnt]; 434 GrGLenum fExternalFormat[kExternalFormatUsageCnt];
435 GrGLenum fExternalType; 435 GrGLenum fExternalType;
436 436
437 437
438 // Either the base or sized internal format depending on the GL and conf ig. 438 // Either the base or sized internal format depending on the GL and conf ig.
439 GrGLenum fInternalFormatTexImage; 439 GrGLenum fInternalFormatTexImage;
440 GrGLenum fInternalFormatRenderbuffer; 440 GrGLenum fInternalFormatRenderbuffer;
441 }; 441 };
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 473
474 GrSwizzle fSwizzle; 474 GrSwizzle fSwizzle;
475 }; 475 };
476 476
477 ConfigInfo fConfigTable[kGrPixelConfigCnt]; 477 ConfigInfo fConfigTable[kGrPixelConfigCnt];
478 478
479 typedef GrCaps INHERITED; 479 typedef GrCaps INHERITED;
480 }; 480 };
481 481
482 #endif 482 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698