7314 Commits

Author SHA1 Message Date
rdb
b0c4875ad9 This is a big commit for OpenGL ES stuff:
* Added GLES, GLES2 and EGL packages to the ppremake files.
 * New glesgsg and gles2gsg modules.
 * Added egldisplay module that is like glxdisplay, but through the EGL library.
 * Added pandagles and pandagles2 metalibs (only supporting egldisplay yet)
 * The iphonedisplay module depends on glesgsg instead of embedding it.
 * The glesext_shadow.h file is removed, we don't need it anymore.
2009-06-16 09:17:33 +00:00
rdb
ee765a2c9c OpenGL ES does support GL_ALPHA. 2009-06-16 08:16:22 +00:00
David Rose
4f8cf4ea52 missing header file 2009-06-15 22:31:10 +00:00
David Rose
cbfa38d2b5 simplify ConfigureDecl etc. 2009-06-15 22:25:52 +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
rdb
7bb2991ccb Fix compiler warning 2009-06-15 10:36:56 +00:00
David Rose
3a7b87b178 build without python 2009-06-15 01:15:33 +00:00
David Rose
aee00fc3de pstrtod 2009-06-14 16:27:44 +00:00
David Rose
4a8cad4d30 flush meter with top of screen again 2009-06-13 16:07:51 +00:00
rdb
afa7801696 Fix cgc warnings/errors 2009-06-13 09:56:00 +00:00
David Rose
739ca67e1f compile on osx 10.4 2009-06-12 19:25:14 +00:00
rdb
0e24827b9d Support for 1D, 3D textures and cubemaps 2009-06-12 15:17:17 +00:00
rdb
b83e30b645 Add support for more TexGen modes 2009-06-12 13:47:49 +00:00
rdb
4bd2bdda96 Move TexGen and TexMatrix to the fragment shader to improve accuracy on lowpoly models 2009-06-12 10:39:41 +00:00
rdb
d1f9183119 Support for TexMatrix and projected textures 2009-06-12 10:13:50 +00:00
rdb
620a38cbfb Identify texmat_x by texture stage ID, not by texturematrix ID. 2009-06-12 09:40:24 +00:00
rdb
b3d8d834d4 Add support for texmat_x parameters in shaders 2009-06-12 08:41:23 +00:00
rdb
50c1eb00e7 show-scene-graph-analyzer-meter 2009-06-12 08:33:48 +00:00
David Rose
4b51a7e4a9 yielding the timeslice, win32 2009-06-11 19:41:35 +00:00
David Rose
fc28b55b29 yielding the timeslice 2009-06-11 19:26:30 +00:00
rdb
44169b9e75 Add OpenAL support to ppremake 2009-06-11 15:19:34 +00:00
rdb
eb5b308edf Added support for parallax mapping 2009-06-11 11:04:47 +00:00
David Rose
f1f496cc29 move lodNodes and sceneGraphAnalyzer to pgraphnodes, in an attempt to reduce size of pgraph some more 2009-06-11 02:37:19 +00:00
David Rose
3f42a08968 automatically reload texture when changing compression mode 2009-06-10 22:11:28 +00:00
David Rose
b9f19d6663 fix problems opening an OpenGL window on some drivers 2009-06-10 21:35:23 +00:00
David Rose
aefe3d35c2 merge dev_bam_2009 to trunk 2009-06-10 17:54:40 +00:00
rdb
d427b8559f Fixes from Mike Christel to work with the latest Direct X SDK 2009-06-10 05:51:21 +00:00
David Rose
edd8e59a26 add texture compression explication 2009-06-09 21:47:11 +00:00
rdb
506154a6b6 Fix compile error on OpenGL ES 2009-06-09 13:30:27 +00:00
rdb
9f9df68529 get_ram_image_as fix for ARM processors 2009-06-09 12:47:48 +00:00
rdb
d67059f365 Allow compiling without HAVE_CG 2009-06-09 12:47:23 +00:00
David Rose
8c6229ff7f formatting 2009-06-09 00:33:25 +00:00
David Rose
eccc5cfdf9 error-check parameters to setup_texture() 2009-06-07 17:13:36 +00:00
David Rose
c57cd2fa14 accept 'utf-8' as well as 'utf8' 2009-06-07 01:28:59 +00:00
David Rose
c61f5f2b64 oops typo 2009-06-05 00:25:32 +00:00
David Rose
9f094d495a fix the bam crash for real this time. 2009-06-03 23:46:21 +00:00
David Rose
6f8c011bb3 further fixes to bam crash 2009-06-03 23:06:42 +00:00
David Rose
f42935b8e9 prevent GL error; fix indentation issues etc. 2009-06-03 21:15:23 +00:00
David Rose
3cb7a6598c prevent crash when finalizing lightAttrib 2009-06-03 00:58:13 +00:00
David Rose
ece078a5cd revert Schell Games changes to fmod--seems crashy, might be code rot 2009-06-03 00:49:04 +00:00
David Rose
648e3d3f09 build for windows 2009-06-02 19:39:32 +00:00
David Rose
e4e8d3e401 fix for new ShaderGenerator stuff 2009-06-02 19:37:20 +00:00
David Rose
adabf179e2 missing includes 2009-06-02 19:14:56 +00:00
rdb
557abfae5e Fixes for this circular dependency mess 2009-06-02 15:21:36 +00:00