Lines Matching defs:interface
19 #define GR_GL_GET_PROC(F) interface->f ## F = (GrGL ## F ## Proc) \
21 #define GR_GL_GET_PROC_SUFFIX(F, S) interface->f ## F = (GrGL ## F ## Proc) \
44 GrGLInterface* interface = new GrGLInterface();
46 interface->fActiveTexture = glActiveTexture;
52 interface->fBindTexture = glBindTexture;
53 interface->fBlendFunc = glBlendFunc;
63 interface->fClear = glClear;
64 interface->fClearColor = glClearColor;
65 interface->fClearStencil = glClearStencil;
66 interface->fClientActiveTexture = glClientActiveTexture;
67 interface->fColorMask = glColorMask;
69 interface->fCompressedTexImage2D = glCompressedTexImage2D;
70 interface->fCopyTexSubImage2D = glCopyTexSubImage2D;
73 interface->fCullFace = glCullFace;
78 interface->fDeleteTextures = glDeleteTextures;
79 interface->fDepthMask = glDepthMask;
80 interface->fDisable = glDisable;
81 interface->fDisableClientState = glDisableClientState;
83 interface->fDrawArrays = glDrawArrays;
84 interface->fDrawBuffer = glDrawBuffer;
86 interface->fDrawElements = glDrawElements;
87 interface->fEnable = glEnable;
88 interface->fEnableClientState = glEnableClientState;
91 interface->fFinish = glFinish;
92 interface->fFlush = glFlush;
93 interface->fFrontFace = glFrontFace;
97 interface->fGetError = glGetError;
98 interface->fGetIntegerv = glGetIntegerv;
114 interface->fGetString = glGetString;
116 interface->fGetTexLevelParameteriv = glGetTexLevelParameteriv;
118 interface->fGenTextures = glGenTextures;
120 interface->fLineWidth = glLineWidth;
123 interface->fPixelStorei = glPixelStorei;
124 interface->fReadBuffer = glReadBuffer;
125 interface->fReadPixels = glReadPixels;
126 interface->fScissor = glScissor;
128 interface->fStencilFunc = glStencilFunc;
130 interface->fStencilMask = glStencilMask;
132 interface->fStencilOp = glStencilOp;
134 interface->fTexImage2D = glTexImage2D;
135 interface->fTexGenf = glTexGenf;
136 interface->fTexGenfv = glTexGenfv;
137 interface->fTexGeni = glTexGeni;
138 interface->fTexParameteri = glTexParameteri;
139 interface->fTexParameteriv = glTexParameteriv;
145 interface->fTexSubImage2D = glTexSubImage2D;
170 interface->fViewport = glViewport;
218 delete interface;
278 interface->fBindingsExported = kDesktop_GrGLBinding;
280 return interface;