Lines Matching refs:interface
17 #define GR_GL_GET_PROC(F) interface->f ## F = (GrGL ## F ## Proc) \
19 #define GR_GL_GET_PROC_SUFFIX(F, S) interface->f ## F = (GrGL ## F ## Proc) \
33 GrGLInterface* interface = new GrGLInterface(); in GrGLCreateNativeInterface() local
35 interface->fActiveTexture = glActiveTexture; in GrGLCreateNativeInterface()
41 interface->fBindTexture = glBindTexture; in GrGLCreateNativeInterface()
42 interface->fBlendColor = glBlendColor; in GrGLCreateNativeInterface()
43 interface->fBlendFunc = glBlendFunc; in GrGLCreateNativeInterface()
46 interface->fClear = glClear; in GrGLCreateNativeInterface()
47 interface->fClearColor = glClearColor; in GrGLCreateNativeInterface()
48 interface->fClearStencil = glClearStencil; in GrGLCreateNativeInterface()
49 interface->fColorMask = glColorMask; in GrGLCreateNativeInterface()
50 interface->fColorPointer = glColorPointer; in GrGLCreateNativeInterface()
52 interface->fCompressedTexImage2D = glCompressedTexImage2D; in GrGLCreateNativeInterface()
55 interface->fCullFace = glCullFace; in GrGLCreateNativeInterface()
60 interface->fDeleteTextures = glDeleteTextures; in GrGLCreateNativeInterface()
61 interface->fDepthMask = glDepthMask; in GrGLCreateNativeInterface()
62 interface->fDisable = glDisable; in GrGLCreateNativeInterface()
64 interface->fDrawArrays = glDrawArrays; in GrGLCreateNativeInterface()
65 interface->fDrawBuffer = glDrawBuffer; in GrGLCreateNativeInterface()
67 interface->fDrawElements = glDrawElements; in GrGLCreateNativeInterface()
68 interface->fEnable = glEnable; in GrGLCreateNativeInterface()
71 interface->fFinish = glFinish; in GrGLCreateNativeInterface()
72 interface->fFlush = glFlush; in GrGLCreateNativeInterface()
73 interface->fFrontFace = glFrontFace; in GrGLCreateNativeInterface()
76 interface->fGetError = glGetError; in GrGLCreateNativeInterface()
77 interface->fGetIntegerv = glGetIntegerv; in GrGLCreateNativeInterface()
94 interface->fGetString = glGetString; in GrGLCreateNativeInterface()
95 interface->fGetTexLevelParameteriv = glGetTexLevelParameteriv; in GrGLCreateNativeInterface()
97 interface->fGenTextures = glGenTextures; in GrGLCreateNativeInterface()
99 interface->fLineWidth = glLineWidth; in GrGLCreateNativeInterface()
102 interface->fPixelStorei = glPixelStorei; in GrGLCreateNativeInterface()
103 interface->fReadBuffer = glReadBuffer; in GrGLCreateNativeInterface()
104 interface->fReadPixels = glReadPixels; in GrGLCreateNativeInterface()
105 interface->fScissor = glScissor; in GrGLCreateNativeInterface()
107 interface->fStencilFunc = glStencilFunc; in GrGLCreateNativeInterface()
109 interface->fStencilMask = glStencilMask; in GrGLCreateNativeInterface()
111 interface->fStencilOp = glStencilOp; in GrGLCreateNativeInterface()
113 interface->fTexImage2D = glTexImage2D; in GrGLCreateNativeInterface()
114 interface->fTexParameteri = glTexParameteri; in GrGLCreateNativeInterface()
121 interface->fTexSubImage2D = glTexSubImage2D; in GrGLCreateNativeInterface()
145 interface->fViewport = glViewport; in GrGLCreateNativeInterface()
191 delete interface; in GrGLCreateNativeInterface()
194 interface->fBindingsExported = kDesktop_GrGLBinding; in GrGLCreateNativeInterface()
196 return interface; in GrGLCreateNativeInterface()