Commit Graph

477 Commits

Author SHA1 Message Date
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
rdb bf4e982082 See previous commit message 2009-04-28 09:59:18 +00:00
David Rose 37a5fdf2f3 border_clamp 2009-04-24 23:34:53 +00:00
David Rose 6a874264ac missing symbol 2009-04-21 20:03:37 +00:00
David Rose 91efcfbf10 iphone tweaks 2009-04-21 15:04:25 +00:00
David Rose 172171eec4 more iphone work 2009-04-21 00:48:51 +00:00
David Rose a08b08f8d3 initial iphone stuff, w.i.p. 2009-04-17 18:11:25 +00:00