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

Side by Side Diff: src/gpu/GrInvariantOutput.cpp

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/GrImageIDTextureAdjuster.h ('k') | src/gpu/GrLayerAtlas.h » ('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 2014 Google Inc. 2 * Copyright 2014 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 #include "GrInvariantOutput.h" 8 #include "GrInvariantOutput.h"
9 9
10 #ifdef SK_DEBUG 10 #ifdef SK_DEBUG
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 bool GrInvariantOutput::colorComponentsAllEqual() const { 24 bool GrInvariantOutput::colorComponentsAllEqual() const {
25 unsigned colorA = GrColorUnpackA(fColor); 25 unsigned colorA = GrColorUnpackA(fColor);
26 return(GrColorUnpackR(fColor) == colorA && 26 return(GrColorUnpackR(fColor) == colorA &&
27 GrColorUnpackG(fColor) == colorA && 27 GrColorUnpackG(fColor) == colorA &&
28 GrColorUnpackB(fColor) == colorA); 28 GrColorUnpackB(fColor) == colorA);
29 } 29 }
30 30
31 #endif // end DEBUG 31 #endif // end DEBUG
32
OLDNEW
« no previous file with comments | « src/gpu/GrImageIDTextureAdjuster.h ('k') | src/gpu/GrLayerAtlas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698