Lines Matching refs:interface
32 // interface
35 GrGLInterface* interface = new GrGLInterface;
36 glInterface.reset(interface);
41 interface->fBindingsExported = kDesktop_GrGLBinding;
42 interface->fActiveTexture = glActiveTexture;
43 interface->fAttachShader = glAttachShader;
44 interface->fBeginQuery = glBeginQuery;
45 interface->fBindAttribLocation = glBindAttribLocation;
46 interface->fBindBuffer = glBindBuffer;
49 interface->fBindFragDataLocation = glBindFragDataLocation;
51 interface->fBindFragDataLocation = GET_PROC(BindFragDataLocation);
54 interface->fBindTexture = glBindTexture;
55 interface->fBlendColor = glBlendColor;
56 interface->fBlendFunc = glBlendFunc;
57 interface->fBufferData = glBufferData;
58 interface->fBufferSubData = glBufferSubData;
59 interface->fClear = glClear;
60 interface->fClearColor = glClearColor;
61 interface->fClearStencil = glClearStencil;
62 interface->fColorMask = glColorMask;
63 interface->fColorPointer = glColorPointer;
64 interface->fCompileShader = glCompileShader;
65 interface->fCompressedTexImage2D = glCompressedTexImage2D;
66 interface->fCreateProgram = glCreateProgram;
67 interface->fCreateShader = glCreateShader;
68 interface->fCullFace = glCullFace;
69 interface->fDeleteBuffers = glDeleteBuffers;
70 interface->fDeleteProgram = glDeleteProgram;
71 interface->fDeleteQueries = glDeleteQueries;
72 interface->fDeleteShader = glDeleteShader;
73 interface->fDeleteTextures = glDeleteTextures;
74 interface->fDepthMask = glDepthMask;
75 interface->fDisable = glDisable;
76 interface->fDisableVertexAttribArray =
78 interface->fDrawArrays = glDrawArrays;
79 interface->fDrawBuffer = glDrawBuffer;
80 interface->fDrawBuffers = glDrawBuffers;
81 interface->fDrawElements = glDrawElements;
82 interface->fEnable = glEnable;
83 interface->fEnableVertexAttribArray = glEnableVertexAttribArray;
84 interface->fEndQuery = glEndQuery;
85 interface->fFinish = glFinish;
86 interface->fFlush = glFlush;
87 interface->fFrontFace = glFrontFace;
88 interface->fGenBuffers = glGenBuffers;
89 interface->fGenQueries = glGenQueries;
90 interface->fGetBufferParameteriv = glGetBufferParameteriv;
91 interface->fGetError = glGetError;
92 interface->fGetIntegerv = glGetIntegerv;
93 interface->fGetProgramInfoLog = glGetProgramInfoLog;
94 interface->fGetProgramiv = glGetProgramiv;
95 interface->fGetQueryiv = glGetQueryiv;
96 interface->fGetQueryObjectiv = glGetQueryObjectiv;
97 interface->fGetQueryObjectuiv = glGetQueryObjectuiv;
98 interface->fGetShaderInfoLog = glGetShaderInfoLog;
99 interface->fGetShaderiv = glGetShaderiv;
100 interface->fGetString = glGetString;
101 interface->fGetTexLevelParameteriv = glGetTexLevelParameteriv;
102 interface->fGenTextures = glGenTextures;
103 interface->fGetUniformLocation = glGetUniformLocation;
104 interface->fLineWidth = glLineWidth;
105 interface->fLinkProgram = glLinkProgram;
106 interface->fMapBuffer = glMapBuffer;
107 interface->fPixelStorei = glPixelStorei;
108 interface->fReadBuffer = glReadBuffer;
109 interface->fReadPixels = glReadPixels;
110 interface->fScissor = glScissor;
111 interface->fShaderSource = glShaderSource;
112 interface->fStencilFunc = glStencilFunc;
113 interface->fStencilFuncSeparate = glStencilFuncSeparate;
114 interface->fStencilMask = glStencilMask;
115 interface->fStencilMaskSeparate = glStencilMaskSeparate;
116 interface->fStencilOp = glStencilOp;
117 interface->fStencilOpSeparate = glStencilOpSeparate;
120 interface->fTexImage2D = (GrGLTexImage2DProc)glTexImage2D;
121 interface->fTexParameteri = glTexParameteri;
123 interface->fTexStorage2D = glTexStorage2D
125 interface->fTexStorage2D = glTexStorage2DEXT;
134 interface->fTexSubImage2D = glTexSubImage2D;
135 interface->fUniform1f = glUniform1f;
136 interface->fUniform1i = glUniform1i;
137 interface->fUniform1fv = glUniform1fv;
138 interface->fUniform1iv = glUniform1iv;
139 interface->fUniform2f = glUniform2f;
140 interface->fUniform2i = glUniform2i;
141 interface->fUniform2fv = glUniform2fv;
142 interface->fUniform2iv = glUniform2iv;
143 interface->fUniform3f = glUniform3f;
144 interface->fUniform3i = glUniform3i;
145 interface->fUniform3fv = glUniform3fv;
146 interface->fUniform3iv = glUniform3iv;
147 interface->fUniform4f = glUniform4f;
148 interface->fUniform4i = glUniform4i;
149 interface->fUniform4fv = glUniform4fv;
150 interface->fUniform4iv = glUniform4iv;
151 interface->fUniform4fv = glUniform4fv;
152 interface->fUniformMatrix2fv = glUniformMatrix2fv;
153 interface->fUniformMatrix3fv = glUniformMatrix3fv;
154 interface->fUniformMatrix4fv = glUniformMatrix4fv;
155 interface->fUnmapBuffer = glUnmapBuffer;
156 interface->fUseProgram = glUseProgram;
157 interface->fVertexAttrib4fv = glVertexAttrib4fv;
158 interface->fVertexAttribPointer = glVertexAttribPointer;
159 interface->fViewport = glViewport;
164 interface->fQueryCounter = glQueryCounter;
165 interface->fGetQueryObjecti64v = glGetQueryObjecti64v;
166 interface->fGetQueryObjectui64v = glGetQueryObjectui64v;
168 interface->fQueryCounter = GET_PROC(QueryCounter);
169 interface->fGetQueryObjecti64v = GET_PROC(GetQueryObjecti64v);
170 interface->fGetQueryObjectui64v = GET_PROC(GetQueryObjectui64v);
174 interface->fGetQueryObjecti64v = glGetQueryObjecti64vEXT;
175 interface->fGetQueryObjectui64v = glGetQueryObjectui64vEXT;
177 interface->fGetQueryObjecti64v = GET_PROC_SUFFIX(GetQueryObjecti64v, EXT);
178 interface->fGetQueryObjectui64v = GET_PROC_SUFFIX(GetQueryObjectui64v, EXT);
185 interface->fGenFramebuffers = glGenFramebuffers;
186 interface->fGetFramebufferAttachmentParameteriv = glGetFramebufferAttachmentParameteriv;
187 interface->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv;
188 interface->fBindFramebuffer = glBindFramebuffer;
189 interface->fFramebufferTexture2D = glFramebufferTexture2D;
190 interface->fCheckFramebufferStatus = glCheckFramebufferStatus;
191 interface->fDeleteFramebuffers = glDeleteFramebuffers;
192 interface->fRenderbufferStorage = glRenderbufferStorage;
193 interface->fGenRenderbuffers = glGenRenderbuffers;
194 interface->fDeleteRenderbuffers = glDeleteRenderbuffers;
195 interface->fFramebufferRenderbuffer = glFramebufferRenderbuffer;
196 interface->fBindRenderbuffer = glBindRenderbuffer;
197 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultisample;
198 interface->fBlitFramebuffer = glBlitFramebuffer;
200 interface->fGenFramebuffers = GET_PROC(GenFramebuffers);
201 interface->fGetFramebufferAttachmentParameteriv = GET_PROC(GetFramebufferAttachmentParameteriv);
202 interface->fGetRenderbufferParameteriv = GET_PROC(GetRenderbufferParameteriv);
203 interface->fBindFramebuffer = GET_PROC(BindFramebuffer);
204 interface->fFramebufferTexture2D = GET_PROC(FramebufferTexture2D);
205 interface->fCheckFramebufferStatus = GET_PROC(CheckFramebufferStatus);
206 interface->fDeleteFramebuffers = GET_PROC(DeleteFramebuffers);
207 interface->fRenderbufferStorage = GET_PROC(RenderbufferStorage);
208 interface->fGenRenderbuffers = GET_PROC(GenRenderbuffers);
209 interface->fDeleteRenderbuffers = GET_PROC(DeleteRenderbuffers);
210 interface->fFramebufferRenderbuffer = GET_PROC(FramebufferRenderbuffer);
211 interface->fBindRenderbuffer = GET_PROC(BindRenderbuffer);
212 interface->fRenderbufferStorageMultisample = GET_PROC(RenderbufferStorageMultisample);
213 interface->fBlitFramebuffer = GET_PROC(BlitFramebuffer);
218 interface->fGenFramebuffers = glGenFramebuffersEXT;
219 interface->fGetFramebufferAttachmentParameteriv = glGetFramebufferAttachmentParameterivEXT;
220 interface->fGetRenderbufferParameteriv = glGetRenderbufferParameterivEXT;
221 interface->fBindFramebuffer = glBindFramebufferEXT;
222 interface->fFramebufferTexture2D = glFramebufferTexture2DEXT;
223 interface->fCheckFramebufferStatus = glCheckFramebufferStatusEXT;
224 interface->fDeleteFramebuffers = glDeleteFramebuffersEXT;
225 interface->fRenderbufferStorage = glRenderbufferStorageEXT;
226 interface->fGenRenderbuffers = glGenRenderbuffersEXT;
227 interface->fDeleteRenderbuffers = glDeleteRenderbuffersEXT;
228 interface->fFramebufferRenderbuffer = glFramebufferRenderbufferEXT;
229 interface->fBindRenderbuffer = glBindRenderbufferEXT;
231 interface->fGenFramebuffers = GET_PROC_SUFFIX(GenFramebuffers, EXT);
232 interface->fGetFramebufferAttachmentParameteriv = GET_PROC_SUFFIX(GetFramebufferAttachmentParameteriv, EXT);
233 interface->fGetRenderbufferParameteriv = GET_PROC_SUFFIX(GetRenderbufferParameteriv, EXT);
234 interface->fBindFramebuffer = GET_PROC_SUFFIX(BindFramebuffer, EXT);
235 interface->fFramebufferTexture2D = GET_PROC_SUFFIX(FramebufferTexture2D, EXT);
236 interface->fCheckFramebufferStatus = GET_PROC_SUFFIX(CheckFramebufferStatus, EXT);
237 interface->fDeleteFramebuffers = GET_PROC_SUFFIX(DeleteFramebuffers, EXT);
238 interface->fRenderbufferStorage = GET_PROC_SUFFIX(RenderbufferStorage, EXT);
239 interface->fGenRenderbuffers = GET_PROC_SUFFIX(GenRenderbuffers, EXT);
240 interface->fDeleteRenderbuffers = GET_PROC_SUFFIX(DeleteRenderbuffers, EXT);
241 interface->fFramebufferRenderbuffer = GET_PROC_SUFFIX(FramebufferRenderbuffer, EXT);
242 interface->fBindRenderbuffer = GET_PROC_SUFFIX(BindRenderbuffer, EXT);
247 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampleEXT;
249 interface->fRenderbufferStorageMultisample = GET_PROC_SUFFIX(RenderbufferStorageMultisample, EXT);
254 interface->fBlitFramebuffer = glBlitFramebufferEXT;
256 interface->fBlitFramebuffer = GET_PROC_SUFFIX(BlitFramebuffer, EXT);
263 interface->fBindFragDataLocationIndexed = glBindFragDataLocationIndexed;
265 interface->fBindFragDataLocationIndexed = GET_PROC(BindFragDataLocationIndexed);
269 interface->fBindingsExported = kDesktop_GrGLBinding;