Commit ff1aa067 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

Patch ID: 3206528 Add support for NV_video_capture

parent 29b1af41
...@@ -42,6 +42,25 @@ if [ ! -d $1 ] ; then ...@@ -42,6 +42,25 @@ if [ ! -d $1 ] ; then
grep -v glGetIntegerIndexedvEXT $1/GL_EXT_transform_feedback > tmp grep -v glGetIntegerIndexedvEXT $1/GL_EXT_transform_feedback > tmp
mv tmp $1/GL_EXT_transform_feedback mv tmp $1/GL_EXT_transform_feedback
# remove duplicates from GL_NV_video_capture and GLX_NV_video_capture
grep -v glX $1/GL_NV_video_capture > tmp
mv tmp $1/GL_NV_video_capture
# add missing functions to GL_NV_video_capture
cat >> $1/GL_NV_video_capture <<EOT
void glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint* params)
void glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat* params)
void glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble* params)
void glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint* params)
void glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat* params)
void glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble* params)
EOT
# fix WGL_NV_video_capture
cat >> $1/WGL_NV_video_capture <<EOT
DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
EOT
# remove duplicates from GL_NV_present_video and GLX_NV_present_video # remove duplicates from GL_NV_present_video and GLX_NV_present_video
grep -v -F -f $1/GLX_NV_present_video $1/GL_NV_present_video > tmp grep -v -F -f $1/GLX_NV_present_video $1/GL_NV_present_video > tmp
mv tmp $1/GL_NV_present_video mv tmp $1/GL_NV_present_video
......
...@@ -12,4 +12,3 @@ SGIX/video_source.txt ...@@ -12,4 +12,3 @@ SGIX/video_source.txt
SGIX/hyperpipe_group.txt SGIX/hyperpipe_group.txt
OES/OES_fixed_point.txt OES/OES_fixed_point.txt
OES/OES_query_matrix.txt OES/OES_query_matrix.txt
NV/video_capture.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment