Commit Graph

6547 Commits

Author SHA1 Message Date
David Rose dfd8c1c7f2 revert accidental checkin 2008-09-05 01:28:24 +00:00
David Rose 9dbf584092 fix thrashing bug 2008-09-05 01:12:04 +00:00
David Rose c0b1f01a70 integrate with new adaptive lru 2008-09-05 00:35:06 +00:00
David Rose bd4486aadf revert accidental checkin of debug stuff 2008-09-05 00:27:57 +00:00
David Rose cc3c4aac5c remove debug, oops 2008-09-04 22:18:39 +00:00
David Rose d6eef63f61 update_texture() 2008-09-04 22:16:02 +00:00
David Rose e499287e8c RescaleNormalAttrib 2008-09-04 22:12:38 +00:00
David Rose 79050b0db3 avoid assert 2008-09-04 21:45:21 +00:00
David Rose 9c1361f02a missing include 2008-09-04 21:29:56 +00:00
David Rose 684810cbdd AdaptiveLru 2008-09-04 21:26:38 +00:00
rdb b41cebe1b5 Fixed bug with normals 2008-09-04 14:22:15 +00:00
aignacio_sf f508157c52 Add "glgsg->update_texture(tc, true);" for new cubemap only case. 2008-09-04 01:44:25 +00:00
aignacio_sf 34c5c69ede Optimize cubemap render to texture.
Calling glFramebufferTexture2D is very slow.
So, pre-create an fbo for each cubemap face and just bind the fbo when a cubemap face is selected.
2008-09-04 01:26:47 +00:00
David Rose b48a493323 consistent use of gl-debug-buffers 2008-09-03 23:08:43 +00:00
David Rose 34253520dd fix bug with transform on GeomNode 2008-09-03 20:00:41 +00:00
David Rose b515eea911 animation optimization 2008-09-03 20:00:21 +00:00
rdb 9bd12f0201 A fix for 64-bits 2008-09-03 14:39:09 +00:00
David Rose d6f8308127 fix bugs with shaders and with pre-compressed textures 2008-09-02 21:48:13 +00:00
David Rose f723924399 draw_set_shader_parameters pstats 2008-09-01 22:30:37 +00:00
David Rose 4473ebfdbe animation structure 2008-08-30 19:02:26 +00:00
David Rose a8ec068c05 graphics-memory-limit 2008-08-29 23:03:53 +00:00
Chris Brunner d9b8296fc8 handle an empty vector more gracefully 2008-08-29 21:54:47 +00:00
David Rose 844591b17c set_orig_file_size 2008-08-29 17:33:15 +00:00
David Rose 2fdbde7d3e compiler warning 2008-08-29 12:53:20 +00:00
David Rose 6718f4c9df oops, don't use vista-only function 2008-08-28 22:33:12 +00:00
David Rose 11ae34e109 apply_texture_colors() 2008-08-28 00:46:30 +00:00
David Rose 5050c994e0 create texture property in copy_to_texture 2008-08-28 00:45:30 +00:00
David Rose 515c6cd83a TexturePeeker 2008-08-27 01:38:08 +00:00
David Rose 7cb642fc2f more fixes from update_texture() changes 2008-08-26 18:12:00 +00:00
David Rose 9033b72aa5 directx update_texture() 2008-08-26 17:00:37 +00:00
rdb 09d15ccbcc Support for setParentWindow 2008-08-26 07:48:27 +00:00
David Rose 8c2e657f15 Add gsg::update_texture() 2008-08-25 22:58:58 +00:00
David Rose 788609a4e0 make collision polygons a tiny bit wider to protect against gaps (from ynjh_jo) 2008-08-24 16:24:04 +00:00
David Rose bf7eac8263 add anisotropic filtering, from forum user Laurens 2008-08-24 00:22:42 +00:00
David Rose 09dc4e3b84 add async-load-delay 2008-08-22 23:43:05 +00:00
David Rose 3e12bc0f65 fix disappearing avatar 2008-08-22 23:26:57 +00:00
David Rose 63a2d6bfd5 directx handling for unsupported compressed textures in cache 2008-08-22 20:45:39 +00:00
David Rose 59b5ab684d don't crash if loading cached compressed textures and compression unsupported 2008-08-22 19:19:07 +00:00
David Rose 4074c2717a directx extract_texture_data 2008-08-21 23:04:31 +00:00
David Rose 6eb99067ef oops 2008-08-21 21:43:12 +00:00
David Rose cb3ff73396 publish PTA::empty_array() 2008-08-21 20:04:23 +00:00
David Rose 86d753b4f9 better mipmap queries 2008-08-21 20:04:10 +00:00
David Rose 481e53fd77 small dds optimization 2008-08-21 01:21:38 +00:00
David Rose cd69554707 fix dx8 compressed textures; dx8 vs. dx9 cleanup 2008-08-20 23:21:57 +00:00
David Rose 7db5f2c148 fix dxt rgba setting 2008-08-20 23:21:02 +00:00
David Rose 790e3f5f97 properly invert dxt textures 2008-08-20 20:14:44 +00:00
David Rose 6b15f348b3 simple dds fixes (still inverted) 2008-08-20 00:43:52 +00:00
David Rose c76a53486f read dds files 2008-08-20 00:06:04 +00:00
David Rose 0a0bf8e38f better handling for non-blending case 2008-08-18 23:11:16 +00:00
David Rose 9e9e1eeef7 don't cache noncompressed textures inappropriately 2008-08-18 22:51:40 +00:00