]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
implemented use of GL_ARB_uniform_buffer_object for r_glsl_skeletal
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 28 Feb 2013 09:30:03 +0000 (09:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 28 Feb 2013 09:30:03 +0000 (09:30 +0000)
commita0214de923ad8e4f9583306f7520c1dcbe31dc3c
treec992b83779bc658e12c520c730197f02dba6e611
parentc977451eca9d2cc6643b1aff20901bc0b0ea2130
implemented use of GL_ARB_uniform_buffer_object for r_glsl_skeletal
added R_BufferData_ system which allows arbitrary vertex/index/uniform
buffers to be dynamically built during a frame (in the same way as the
R_FrameData_ system), this has vastly better performance than uploading
them individually and code should be migrated to use it as appropriate
vid.support.glshaderversion added (typically 140)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11915 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cl_screen.c
client.h
gl_backend.c
gl_backend.h
gl_rmain.c
glquake.h
model_shared.c
model_shared.h
render.h
shader_glsl.h
vid.h
vid_shared.c