#ifndef __gl2ext_mrvl_h_
#define __gl2ext_mrvl_h_

/*------------------------------------------------------------------------*
 * MRVL extension tokens
 *------------------------------------------------------------------------*/
#ifndef GL_MRVL_upload_tex_physical
#define GL_MRVL_upload_tex_physical   1
#define GL_MRVL_UPLOAD_TEXTURE_PHYSICAL   0x9A00
#endif

#ifndef GL_MRVL_upload_Tex_Resolve
#define GL_MRVL_upload_Tex_Resolve    1
#define GL_MRVL_UPLOAD_TEXTURE_RESOLVE    0x9A01
#endif

#ifndef GL_MRVL_update_tex_discard
#define GL_MRVL_update_tex_discard    1
#define GL_MRVL_UPDATE_TEXTURE_DISCARD    0x9A02
#endif

/* GL_MRVL_texture_video */
#ifndef GL_MRVL_texture_video
#define GL_MRVL_texture_video 1
#define GL_UYVY_MRVL                                            0x9100
#define GL_I420_MRVL                                            0x9101
#define GL_YV12_MRVL                                            0x9102
#define GL_YUY2_MRVL                                            0x9103
#define GL_NV12_MRVL                                            0x9014

#ifdef GL_GLEXT_PROTOTYPES
GL_APICALL void GL_APIENTRY glTexImageVideo(GLenum target,GLsizei width,GLsizei height,GLenum Format,const void * pixels);
GL_APICALL void GL_APIENTRY glSetReadBuffer(GLsizei width,GLsizei height,GLenum format,GLenum type,void * pixels);
GL_APICALL void GL_APIENTRY glReadBuffer(GLint x,GLint y,GLsizei width,GLsizei height);
#endif
typedef void (GL_APIENTRYP PFNGLTEXIMAGEVIDEOPROC) ( GLenum target,GLsizei width,GLsizei height,GLenum Format,const void * pixels);
typedef void (GL_APIENTRYP PFNGLSETREADBUFFERPROC) (GLsizei width,GLsizei height,GLenum format,GLenum type,void * pixels);
typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLint x,GLint y,GLsizei width,GLsizei height);
#endif

#endif/* __gl2ext_mrvl_h_ */
