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

Side by Side Diff: src/gpu/gl/GrGLInterface.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/GrGLGpuProgramCache.cpp ('k') | src/gpu/gl/GrGLNameAllocator.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 2011 Google Inc. 2 * Copyright 2011 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 "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 #if GR_GL_PER_GL_FUNC_CALLBACK 69 #if GR_GL_PER_GL_FUNC_CALLBACK
70 fCallback = GrGLDefaultInterfaceCallback; 70 fCallback = GrGLDefaultInterfaceCallback;
71 fCallbackData = 0; 71 fCallbackData = 0;
72 #endif 72 #endif
73 } 73 }
74 74
75 GrGLInterface* GrGLInterface::NewClone(const GrGLInterface* interface) { 75 GrGLInterface* GrGLInterface::NewClone(const GrGLInterface* interface) {
76 SkASSERT(interface); 76 SkASSERT(interface);
77 77
78 GrGLInterface* clone = SkNEW(GrGLInterface); 78 GrGLInterface* clone = new GrGLInterface;
79 clone->fStandard = interface->fStandard; 79 clone->fStandard = interface->fStandard;
80 clone->fExtensions = interface->fExtensions; 80 clone->fExtensions = interface->fExtensions;
81 clone->fFunctions = interface->fFunctions; 81 clone->fFunctions = interface->fFunctions;
82 #if GR_GL_PER_GL_FUNC_CALLBACK 82 #if GR_GL_PER_GL_FUNC_CALLBACK
83 clone->fCallback = interface->fCallback; 83 clone->fCallback = interface->fCallback;
84 clone->fCallbackData = interface->fCallbackData; 84 clone->fCallbackData = interface->fCallbackData;
85 #endif 85 #endif
86 return clone; 86 return clone;
87 } 87 }
88 88
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 NULL == fFunctions.fGetDebugMessageLog || 709 NULL == fFunctions.fGetDebugMessageLog ||
710 NULL == fFunctions.fPushDebugGroup || 710 NULL == fFunctions.fPushDebugGroup ||
711 NULL == fFunctions.fPopDebugGroup || 711 NULL == fFunctions.fPopDebugGroup ||
712 NULL == fFunctions.fObjectLabel) { 712 NULL == fFunctions.fObjectLabel) {
713 RETURN_FALSE_INTERFACE 713 RETURN_FALSE_INTERFACE
714 } 714 }
715 } 715 }
716 716
717 return true; 717 return true;
718 } 718 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpuProgramCache.cpp ('k') | src/gpu/gl/GrGLNameAllocator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698