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

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

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 3 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/GrGLContext.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 #include "GrGLCaps.h" 9 #include "GrGLCaps.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 fMultisampleDisableSupport = false; 47 fMultisampleDisableSupport = false;
48 fUseNonVBOVertexAndIndexDynamicData = false; 48 fUseNonVBOVertexAndIndexDynamicData = false;
49 fIsCoreProfile = false; 49 fIsCoreProfile = false;
50 fBindFragDataLocationSupport = false; 50 fBindFragDataLocationSupport = false;
51 fSRGBWriteControl = false; 51 fSRGBWriteControl = false;
52 fRGBA8888PixelsOpsAreSlow = false; 52 fRGBA8888PixelsOpsAreSlow = false;
53 fPartialFBOReadIsSlow = false; 53 fPartialFBOReadIsSlow = false;
54 54
55 fReadPixelsSupportedCache.reset(); 55 fReadPixelsSupportedCache.reset();
56 56
57 fShaderCaps.reset(SkNEW_ARGS(GrGLSLCaps, (contextOptions))); 57 fShaderCaps.reset(new GrGLSLCaps(contextOptions));
58 58
59 this->init(contextOptions, ctxInfo, glInterface); 59 this->init(contextOptions, ctxInfo, glInterface);
60 } 60 }
61 61
62 void GrGLCaps::init(const GrContextOptions& contextOptions, 62 void GrGLCaps::init(const GrContextOptions& contextOptions,
63 const GrGLContextInfo& ctxInfo, 63 const GrGLContextInfo& ctxInfo,
64 const GrGLInterface* gli) { 64 const GrGLInterface* gli) {
65 GrGLStandard standard = ctxInfo.standard(); 65 GrGLStandard standard = ctxInfo.standard();
66 GrGLVersion version = ctxInfo.version(); 66 GrGLVersion version = ctxInfo.version();
67 67
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 for (int p = 0; p < kGrSLPrecisionCount; ++p) { 1237 for (int p = 0; p < kGrSLPrecisionCount; ++p) {
1238 glslCaps->fFloatPrecisions[kGeometry_GrShaderType][p] = 1238 glslCaps->fFloatPrecisions[kGeometry_GrShaderType][p] =
1239 glslCaps->fFloatPrecisions[kVerte x_GrShaderType][p]; 1239 glslCaps->fFloatPrecisions[kVerte x_GrShaderType][p];
1240 } 1240 }
1241 } 1241 }
1242 } 1242 }
1243 1243
1244 1244
1245 1245
1246 1246
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698