Commit Graph

483 Commits

Author SHA1 Message Date
rdb eafe6572a9 Fix compile issue on OSX 2009-12-22 10:52:14 +00:00
rdb c136904fa9 Add hardware instancing support 2009-12-21 14:22:12 +00:00
rdb 98281d31c6 Changes from Keith: glPrioritizeTextures, initial_clear, slightly more helpful error reporting 2009-12-16 08:58:12 +00:00
David Rose 6505a4fbe5 int != GLint 2009-10-21 18:05:38 +00:00
rdb c6796739e9 Fixes for geometry shaders in GLSL, and fixes for nvidia's implementation of GLSL 2009-10-21 17:12:32 +00:00
David Rose 3f6192c963 clamp shininess at 128 2009-10-16 04:25:29 +00:00
rdb 30a2c57cb3 Fix an issue with programs being destroyed and then reused by different copies of the same shader. Also, added better error reporting system for Cg errors. 2009-09-19 09:55:05 +00:00
David Rose b137e55464 fix fog-flickering-nametag issue: shaders not resetting fog state 2009-09-14 22:50:31 +00:00
rdb 89d68a083c Fix a typo that causes texture flickering with custom shaders 2009-09-14 09:17:15 +00:00
rdb 5f4fe3bc32 Fix some compiler warnings 2009-09-12 10:45:49 +00:00
David Rose c07d10f74b fix crashing bug with compressed texture 2009-09-09 18:06:46 +00:00
Bei Yang 61bb918380 Modified glGsg to support Pointer Textures 2009-09-07 22:47:43 +00:00
David Rose 472d40b850 GL_ARB_multisample mainstream as of 1.3 2009-08-13 21:41:26 +00:00
rdb b2c4018466 Very very very minor optimization 2009-08-12 10:32:58 +00:00
rdb 6c89228477 Generic fixes and cleanup for geometry shaders and split shaders 2009-07-28 13:37:09 +00:00
David Rose 8826b702ca fix build errors: change int -> GLint 2009-07-14 22:13:24 +00:00
rdb bb5b817ce8 More builtin uniforms & vertex attribs 2009-07-02 18:00:41 +00:00
rdb ebf6291663 Fix build errors for mainstream OpenGL 2009-07-02 15:19:37 +00:00
rdb 66349ecaba This is another big commit - chief new features are:
* Working OpenGL ES 2.x support. Yay!
 * The shader code now supports separate vertex/fragment/geometry shaders.
 * The GLSL code supports passing vertex attrib arrays.
2009-07-02 15:01:36 +00:00
David Rose fb630dc7cf fix from keith leonard 2009-07-01 22:23:13 +00:00
rdb 442ef013c4 OpenGL ES 2.x doesn't require glEnable/glDisable on GL_TEXTURE_* targets anymore, apparently. 2009-07-01 14:28:56 +00:00
rdb e3fde823b0 More work on OpenGL ES 2 support 2009-07-01 13:11:24 +00:00
rdb 71dcf4bc55 Fix crash with OpenGL ES 1.x 2009-07-01 12:32:04 +00:00
rdb d8fe8dda6a Build for OpenGL ES (2) 2009-07-01 10:13:51 +00:00
Zachary Pavlov 909b86d68e fix for panda gl compile crash in vs 2003 2009-06-29 20:54:49 +00:00
rdb ab2737ac1a Fix crash when cleaning up GLSL shader 2009-06-29 13:48:43 +00:00
rdb 7c3999289d Fix Mesa compile error 2009-06-27 13:12:40 +00:00
rdb 100400f425 Add support for GLSL shaders 2009-06-26 13:11:24 +00:00
David Rose 179fcf2cf0 fix anisotropy bug 2009-06-16 15:45:43 +00:00
rdb 09c229f2a9 Get FBO's working correctly with OpenGL ES 2009-06-16 13:07:39 +00:00
rdb ee765a2c9c OpenGL ES does support GL_ALPHA. 2009-06-16 08:16:22 +00:00
rdb 98902127b1 Fix for some driver bug on OSX.
For some reason, it reports it has the GL_ATI_draw_buffers extension even when no ATI card is in use,
resulting in an 'unrecognized ATI_draw_buffers hint' error from cgc.
2009-06-15 18:54:24 +00:00
rdb ca03ef35ac More OpenGL ES stuff 2009-06-15 18:09:44 +00:00
rdb 86e921716d Forgot one build error 2009-06-15 17:05:06 +00:00
rdb ee548e8056 Whoops, only use GL_OES_framebuffer_object when OPENGLES is defined 2009-06-15 17:01:31 +00:00
rdb ef4a79028a Revert before someone finds out I broke the build 2009-06-15 16:59:21 +00:00
rdb 9a6fd6fab7 Some OpenGL ES fixes 2009-06-15 14:05:11 +00:00
rdb cbe036c849 This commit adds more+better support for OpenGL ES:
* Support for many OES extensions
  * Support for OpenGL ES 2.x
  * Compile fixes for OpenGL ES 1.x
  * Support for FBO's in both versions
2009-06-15 13:40:42 +00:00
David Rose aefe3d35c2 merge dev_bam_2009 to trunk 2009-06-10 17:54:40 +00:00
rdb 506154a6b6 Fix compile error on OpenGL ES 2009-06-09 13:30:27 +00:00
David Rose f42935b8e9 prevent GL error; fix indentation issues etc. 2009-06-03 21:15:23 +00:00
rdb 159026571b Added shadow mapping support to Panda 2009-06-02 09:24:03 +00:00
David Rose 8d94f6b35f new typedefs needed now 2009-06-02 04:41:42 +00:00
David Rose 1787e9ce1e better fix for cg 1.x 2009-06-01 23:32:00 +00:00
David Rose aa7a6bb5f7 protect for cg 1.x 2009-06-01 23:27:32 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose e0a7f0fed7 additional debug output 2009-05-27 02:36:09 +00:00
rdb be1213fa71 Fix texture padding issue with buffers 2009-05-05 14:40:58 +00:00
David Rose 114f0650f7 no UH_stream in OpenGL ES 2009-05-02 03:40:26 +00:00
David Rose 0f39a32569 better handling of opengl extension pointers 2009-05-01 19:43:03 +00:00