5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_PROC_TABLE_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_PROC_TABLE_H_
9 #include <GLES2/gl2ext.h>
13 #include "flutter/fml/macros.h"
21 static std::shared_ptr<ProcTable>
Create();
25 virtual void GenTextures(GLsizei n, GLuint* textures)
const;
26 virtual void DeleteTextures(GLsizei n,
const GLuint* textures)
const;
27 virtual void BindTexture(GLenum target, GLuint texture)
const;
28 virtual void TexParameteri(GLenum target, GLenum pname, GLint param)
const;
37 const void* data)
const;
43 using GenTexturesProc = void(__stdcall*)(GLsizei n, GLuint* textures);
44 using DeleteTexturesProc = void(__stdcall*)(GLsizei n,
45 const GLuint* textures);
46 using BindTextureProc = void(__stdcall*)(GLenum target, GLuint texture);
47 using TexParameteriProc = void(__stdcall*)(GLenum target,
50 using TexImage2DProc = void(__stdcall*)(GLenum target,
60 GenTexturesProc gen_textures_;
61 DeleteTexturesProc delete_textures_;
62 BindTextureProc bind_texture_;
63 TexParameteriProc tex_parameteri_;
64 TexImage2DProc tex_image_2d_;
72 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_PROC_TABLE_H_