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

Side by Side Diff: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp

Issue 20436002: get genmipmap function in the struct (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix rebase conflicts Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 interface->fDrawArrays = glDrawArrays; 47 interface->fDrawArrays = glDrawArrays;
48 interface->fDrawBuffer = NULL; 48 interface->fDrawBuffer = NULL;
49 interface->fDrawBuffers = NULL; 49 interface->fDrawBuffers = NULL;
50 interface->fDrawElements = glDrawElements; 50 interface->fDrawElements = glDrawElements;
51 interface->fEnable = glEnable; 51 interface->fEnable = glEnable;
52 interface->fEnableVertexAttribArray = glEnableVertexAttribArray; 52 interface->fEnableVertexAttribArray = glEnableVertexAttribArray;
53 interface->fFinish = glFinish; 53 interface->fFinish = glFinish;
54 interface->fFlush = glFlush; 54 interface->fFlush = glFlush;
55 interface->fFrontFace = glFrontFace; 55 interface->fFrontFace = glFrontFace;
56 interface->fGenBuffers = glGenBuffers; 56 interface->fGenBuffers = glGenBuffers;
57 interface->fGenerateMipmap = glGenerateMipmap;
57 interface->fGetBufferParameteriv = glGetBufferParameteriv; 58 interface->fGetBufferParameteriv = glGetBufferParameteriv;
58 interface->fGetError = glGetError; 59 interface->fGetError = glGetError;
59 interface->fGetIntegerv = glGetIntegerv; 60 interface->fGetIntegerv = glGetIntegerv;
60 interface->fGetProgramInfoLog = glGetProgramInfoLog; 61 interface->fGetProgramInfoLog = glGetProgramInfoLog;
61 interface->fGetProgramiv = glGetProgramiv; 62 interface->fGetProgramiv = glGetProgramiv;
62 interface->fGetShaderInfoLog = glGetShaderInfoLog; 63 interface->fGetShaderInfoLog = glGetShaderInfoLog;
63 interface->fGetShaderiv = glGetShaderiv; 64 interface->fGetShaderiv = glGetShaderiv;
64 interface->fGetString = glGetString; 65 interface->fGetString = glGetString;
65 interface->fGenTextures = glGenTextures; 66 interface->fGenTextures = glGenTextures;
66 interface->fGetUniformLocation = glGetUniformLocation; 67 interface->fGetUniformLocation = glGetUniformLocation;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 interface->fBindVertexArray = glBindVertexArrayOES; 143 interface->fBindVertexArray = glBindVertexArrayOES;
143 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; 144 interface->fDeleteVertexArrays = glDeleteVertexArraysOES;
144 interface->fGenVertexArrays = glGenVertexArraysOES; 145 interface->fGenVertexArrays = glGenVertexArraysOES;
145 #endif 146 #endif
146 147
147 interface->fBindingsExported = kES2_GrGLBinding; 148 interface->fBindingsExported = kES2_GrGLBinding;
148 } 149 }
149 glInterface.get()->ref(); 150 glInterface.get()->ref();
150 return glInterface.get(); 151 return glInterface.get();
151 } 152 }
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ('k') | src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698