Commit Graph

6880 Commits

Author SHA1 Message Date
David Rose 5a6b6d995c glHint for compression 2009-01-15 00:17:49 +00:00
David Rose 31f9d1994e driver-compress-textures 2009-01-15 00:08:10 +00:00
David Rose b2604316e5 add alpha scalars 2009-01-14 22:35:13 +00:00
rdb 64203dcf87 various opencv and artoolkit fixes 2009-01-14 21:06:22 +00:00
David Rose b0d64ab831 compiler warnings 2009-01-14 02:33:19 +00:00
David Rose c44da02cee fix issues with texture compression of small, L8 textures 2009-01-14 01:33:14 +00:00
David Rose 06c855c7d2 fix depth buffer range 2009-01-13 23:37:40 +00:00
David Rose b37a30fe63 add support for libsquish 2009-01-12 23:29:55 +00:00
rdb 6954933382 Fixed a segfault and removed überconfusing OpenCV comments 2009-01-12 21:06:11 +00:00
David Rose ef14dd5121 new ColorAttrib should have -1 override so it won't have precedence over scene graph attrib 2009-01-10 19:10:08 +00:00
David Rose e0c65512aa saner treatment of ColorAttrib 2009-01-10 01:19:16 +00:00
David Rose cb2819a5d7 respect vertex color properly 2009-01-09 20:03:41 +00:00
David Rose a1ce73a85c fix particle color 2009-01-09 04:06:42 +00:00
David Rose f86e9a8cd6 fix flickering light 2009-01-08 23:42:44 +00:00
David Rose 3e620c2df6 fix flickering light 2009-01-08 23:33:33 +00:00
aignacio_sf b3f25daed7 Fix graphics buffer tracking. 2009-01-08 22:30:14 +00:00
aignacio_sf f4b377e90d Fix graphics buffer tracking. 2009-01-08 22:01:46 +00:00
David Rose f81493e6e0 add missing envtype keywords 2009-01-08 21:47:12 +00:00
rdb 4542477442 Fix compiler warnings 2009-01-08 15:00:03 +00:00
David Rose b0dd18aa3f fix RopeNode and SheetNode (weren't rendering) 2009-01-08 03:26:09 +00:00
David Rose e5cf8b1517 fix for wrong-color objects in directx 2009-01-08 03:15:12 +00:00
David Rose db667ad5ca report long and short normals 2009-01-08 02:59:40 +00:00
Zachary Pavlov 7a052ec814 it can't be this easy, can it? 2009-01-07 04:43:17 +00:00
rdb ecb6b7f507 Made comment less confusing, suggestion from _Hypnos 2009-01-06 17:21:47 +00:00
David Rose 6090507c4c need true mutexes in a few places for vertex paging 2008-12-31 20:22:27 +00:00
rdb 2d648de716 Added color scale, and some TextureStage blend modes. 2008-12-31 11:17:56 +00:00
David Rose 807cae3bfa fix for incorrect within events 2008-12-31 01:12:22 +00:00
David Rose b4871afe1f a little better yielding during resize texture 2008-12-31 00:03:44 +00:00
David Rose 36946ca4af still more fixes for reload() 2008-12-30 23:30:30 +00:00
David Rose 961b21115d incorporate Clemens Pecinovsky's dynamic_merge optimization 2008-12-30 00:43:43 +00:00
David Rose e4a154ea4e we don't really need UH_client 2008-12-30 00:42:19 +00:00
David Rose f35a2d2a9a fix reload some more 2008-12-30 00:42:04 +00:00
David Rose 6750577676 assert that Task is not null 2008-12-29 15:59:51 +00:00
rdb 82a071864c Fix crash 2008-12-29 15:38:51 +00:00
David Rose d452b4dbf6 fix runaway controls task 2008-12-28 20:04:50 +00:00
rdb f5eaaf86a1 Added wheel_left and wheel_right 2008-12-28 18:48:33 +00:00
rdb 8f95e65bc0 Optimized the get_ram_image_as function more 2008-12-28 15:02:45 +00:00
treeform 83803724e6 i was working on openAL and found one bug which would cause infinite
loop when if avcodec_decode_audio (ffmpeg function) returned  0 in the
loop its in and when fixed in the loop above it.
see post  http://panda3d.org/phpbb2/viewtopic.php?p=30331#30331

most changes are to   ffmpegAudioCursor.cxx and movieAudio.h

It basically changes to proper error handling with 0 as DONE

-      if (len < 0) {
+      if (len <= 0) {

and create a give up counter

+  // give up after 100 tries to fetch data
+  int give_up_after = 100;
+
+  while (desired && give_up_after > 0) {
+    give_up_after --;

and some helpful debug messages for the next poor coder to step into this code.
2008-12-28 06:24:14 +00:00
David Rose 889ccb9860 remove bogus assert 2008-12-27 02:21:33 +00:00
David Rose a32fe74070 3-stage multitexture 2008-12-27 02:21:22 +00:00
David Rose a9825fe78f texgen 2008-12-27 01:42:50 +00:00
David Rose ea2f07943a supports_stencil 2008-12-26 23:00:01 +00:00
David Rose 7a3d75d331 get_supports_stencil 2008-12-26 20:07:32 +00:00
rdb f2f1ebf213 Added Texture::get_ram_image_as 2008-12-25 20:29:02 +00:00
rdb 1770e50147 Fix annoying compiler warnings 2008-12-25 14:27:20 +00:00
David Rose f7770ced0d limit re-queueing of texture load requests 2008-12-25 00:47:10 +00:00
David Rose 9d1bba55aa clarify complex if logic 2008-12-25 00:07:24 +00:00
David Rose 7dc6ea0356 asynchronous load priorities 2008-12-24 22:55:22 +00:00
David Rose 7fcf84909a less-restrictive instance_to: return existing instance if it already exists 2008-12-24 21:07:39 +00:00
David Rose a31d6cbc37 minor warning fix 2008-12-24 01:29:24 +00:00