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

Side by Side Diff: src/gpu/GrTexture.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/GrTest.h ('k') | src/gpu/GrTraceMarker.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
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 #include "GrContext.h" 8 #include "GrContext.h"
10 #include "GrCaps.h" 9 #include "GrCaps.h"
11 #include "GrGpu.h" 10 #include "GrGpu.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 SkASSERT(desc.fSampleCnt < (1 << 8)); 118 SkASSERT(desc.fSampleCnt < (1 << 8));
120 SkASSERT(flags < (1 << 10)); 119 SkASSERT(flags < (1 << 10));
121 SkASSERT(static_cast<int>(origin) < (1 << 8)); 120 SkASSERT(static_cast<int>(origin) < (1 << 8));
122 121
123 GrScratchKey::Builder builder(key, kType, 3); 122 GrScratchKey::Builder builder(key, kType, 3);
124 builder[0] = desc.fWidth; 123 builder[0] = desc.fWidth;
125 builder[1] = desc.fHeight; 124 builder[1] = desc.fHeight;
126 builder[2] = desc.fConfig | (desc.fIsMipMapped << 5) | (desc.fSampleCnt << 6 ) | (flags << 14) 125 builder[2] = desc.fConfig | (desc.fIsMipMapped << 5) | (desc.fSampleCnt << 6 ) | (flags << 14)
127 | (origin << 24); 126 | (origin << 24);
128 } 127 }
OLDNEW
« no previous file with comments | « src/gpu/GrTest.h ('k') | src/gpu/GrTraceMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698