410 Commits

Author SHA1 Message Date
David Rose
d7ee644809 simple error prevented driver-generate-mipmaps from working 2011-09-08 01:14:13 +00:00
David Rose
dcc4a33ae9 protect x11 namespace better; support building with x11 support on osx too 2011-08-28 23:31:28 +00:00
David Rose
6872488839 stereo/multiview textures 2011-08-08 18:55:26 +00:00
rdb
f38f17b116 remove a 'fix' that didn't work anyway 2011-05-04 10:41:13 +00:00
David Rose
0062e134b1 fix cegui + shader issue 2011-03-26 00:12:09 +00:00
David Rose
44375f019d explicit occlusion culling support from community member teedee, with additional enhancements by drwr 2011-03-18 01:56:09 +00:00
rdb
6fbdca0c96 Experimental texture compression with OpenGL ES 2011-03-01 19:20:32 +00:00
rdb
100bec43b6 Work around annoyance in Mesa's GLES implementation 2011-01-26 15:22:33 +00:00
rdb
0ea72a4712 Remove GLU dependency from Panda3D. Yes. That's right, folks.
And now I shall make myself some coffee and wake up, in that order.
2010-12-19 07:03:49 +00:00
rdb
34f39259ca Fallback case for get_error_string in case we're not building with GLU 2010-12-18 12:47:15 +00:00
rdb
089f99659d Don't use GLU when compiling for GLES 2010-12-09 17:58:44 +00:00
Bei Yang
626cb5966a Added a windows OpenGL implementation of finish frame and begin finish. This allows for frame flip syncronization across multiple machines. This is a change made by WDI to aid cave rendering 2010-06-11 16:43:53 +00:00
rdb
fb70cee298 I think this should fix a compilation error with OpenGL ES 2010-05-12 18:21:58 +00:00
rdb
045f7acb41 Fix compilation error when compiling without support for Cg 2010-05-05 15:19:41 +00:00
Mike Christel
01b720ceb9 Added get_supports_cg_profile 2010-05-05 14:13:24 +00:00
Mike Christel
5dfa504370 Texture arrays added to Texture class, passed to shader through setShaderInput(name, texture). A new Cg type sampler2DArray has been added to the panda3d Shader Class. 2010-04-29 14:48:44 +00:00
rdb
a464e45c0e Apply fix from andresv to fix flickering objects with a shader 2010-04-18 15:50:15 +00:00
David Rose
181663ad66 fix error handling in NDEBUG case 2010-03-07 17:44:32 +00:00
rdb
0a372b463a Fix compile issue with OpenGL ES 2010-01-26 17:10:27 +00:00
rdb
c136904fa9 Add hardware instancing support 2009-12-21 14:22: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
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
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
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
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
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
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