Commit Graph

9959 Commits

Author SHA1 Message Date
aignacio_sf c2eacaed78 Added creation of new depth stencil buffer if a dimension of the requested buffer size is bigger than the existing depth stencil surface.
Added error message support.
2006-01-03 19:41:10 +00:00
Dave Schuyler 843b750325 formatting 2005-12-31 01:06:36 +00:00
aignacio_sf f3110d821c Added forced creation of a depth stencil surface for render to texture. 2005-12-30 20:01:19 +00:00
aignacio_sf b75a855d53 Added some dxgsg9 error messages. 2005-12-30 19:36:20 +00:00
aignacio_sf 270d09a9d6 no message 2005-12-30 02:35:49 +00:00
aignacio_sf 8a8ecf20f4 Add preliminary fix to RTT 2005-12-30 02:35:27 +00:00
aignacio_sf a83ac32cc6 Don't destroy the LRU on Reset.
Remove useless comments leftover during DX8 to DX9 conversion.
2005-12-30 02:15:50 +00:00
aignacio_sf d0573a9544 Move Lru comment block from .cxx to .h 2005-12-29 21:37:38 +00:00
aignacio_sf 0e4acd7a33 Add more LRU stats. 2005-12-29 21:27:27 +00:00
aignacio_sf 7cefd816e2 Improve/fix comments for LRU config variables. 2005-12-29 19:06:58 +00:00
aignacio_sf 5ae5135044 Add more options and debug options for DX9 LRU. 2005-12-29 18:53:35 +00:00
aignacio_sf 49ccbd9c97 Remove setting average frame utilization to 1.0 after page in since it screws up the average. 2005-12-29 18:52:49 +00:00
aignacio_sf c1616b9810 Add DirectX LRU video memory management config variables:
dx-management
dx-lru-management
dx-lru-maximum-pages
dx-lru-free-memory-requirement
dx-lru-minimum-memory-requirement
dx-lru-maximum-memory-requirement
2005-12-29 02:50:54 +00:00
Joe Shochet e502aa8180 better class name printing for inheritors of FSM 2005-12-29 00:58:19 +00:00
aignacio_sf eb8ae8461d Modify delta memory debug display. 2005-12-28 22:52:19 +00:00
David Rose 92c0793706 getenv() now works at static init on Linux 2005-12-28 22:48:39 +00:00
David Rose b98eab780f publish ExecutionEnvironment 2005-12-28 22:48:09 +00:00
aignacio_sf 55a02393d7 Add a retry when allocating/creating textures, vertex buffers, and index buffers.
Added a fail-safe if DirectX can't allocate video memory.
2005-12-28 20:25:33 +00:00
aignacio_sf 9a84565fd8 Some formatting changes to adhere to Panda coding style guide. 2005-12-28 18:40:48 +00:00
aignacio_sf 49915c3080 add mutex 2005-12-28 02:26:29 +00:00
aignacio_sf 750bae7b34 add some documentation
add more stats for lru
2005-12-28 00:09:47 +00:00
aignacio_sf 412e67d036 add lru 2005-12-28 00:07:46 +00:00
aignacio_sf cd0b12a41b Handle the case where pre-allocated LruPages have run out by dynamically allocating new LruPages.
Fix and check for LRU system memory leaks.
Remove unused/bad code (old partial update).
Add unit test #ifdef
2005-12-27 19:30:04 +00:00
aignacio_sf 56c453f547 Add textures to LRU memory management.
Keep LRU disabled for now in GSG, so DX managment is still used.
LRU code needs more testing, ...
2005-12-23 21:02:29 +00:00
aignacio_sf 48f95c62b4 Fix updates getting stuck in one priority level.
It got stuck when the maximum updates is not reached.
Therefore the next start update was not updated at all.
2005-12-23 20:59:50 +00:00
aignacio_sf 44c8384f99 Turn off LRU memory management.
Switch back to slow DirectX managed for now.
2005-12-23 01:54:46 +00:00
aignacio_sf 2c28f1a62f Preliminary LRU.
Only manages vertex buffers and index buffers at this time.
Textures still need to added to LRU.
Code needs reformatting and cleanup, error handling, and messaging.
Config options need to be added.
2005-12-23 01:49:19 +00:00
Chris Brunner 1dbdffc35c drose: should add lib to PATH without requiring PENV 2005-12-22 22:22:29 +00:00
David Rose f754d65fb9 fix multitexture flattening with only one texture and an override 2005-12-22 22:06:55 +00:00
Chris Brunner d9fac9bcb7 drose: compile in multiproc environment 2005-12-22 21:31:55 +00:00
David Rose 456a76b045 include file 2005-12-22 19:58:27 +00:00
David Rose d16ec2f500 prebuild-bison 2005-12-22 18:32:56 +00:00
David Rose ef0f485932 more egg texture options; add gl-support-clamp-to-border 2005-12-22 18:32:33 +00:00
David Rose 9e82e17ae7 prevent crash from bam files 2005-12-22 17:35:37 +00:00
David Rose c39ef34932 incorporate DisplayRegion scale fix from Douglas Warren 2005-12-22 17:33:57 +00:00
Dave Schuyler f1c0b0e852 changed config type 2005-12-21 22:41:13 +00:00
Dave Schuyler 699be47bab formatting 2005-12-21 04:18:47 +00:00
Dave Schuyler 9c2634a40b formatting 2005-12-21 02:09:12 +00:00
Dave Schuyler fe44e75267 changed imports 2005-12-20 23:11:41 +00:00
Dave Schuyler 8900f25533 PandaObject to DirectObject 2005-12-20 22:51:18 +00:00
Chris Brunner 6f16cdb12e Added information on the new otp_server and uberdog for Toontown plus other fixes 2005-12-20 22:33:40 +00:00
David Rose a9067e2128 report nassert_raise() message even when squelched 2005-12-20 18:37:04 +00:00
David Rose 0e136bdf9a don't send zero-length datagrams 2005-12-20 18:36:03 +00:00
Dave Schuyler c76f0eea10 PandaObject to DirectObject 2005-12-20 04:26:50 +00:00
Darren Ranalli 9506f53809 don't crash the AI 2005-12-20 03:41:25 +00:00
Darren Ranalli 80d2643c24 added INTEREST DEBUG debugging, fixed scopeId allocator 2005-12-20 03:25:19 +00:00
David Rose 6b1c079635 forgot the .h file 2005-12-19 04:55:23 +00:00
David Rose 091e9b0c60 add sound icons 2005-12-19 04:27:47 +00:00
David Rose 5eaff58212 add sound icons 2005-12-19 04:27:15 +00:00
David Rose ef4822717f fix redirects 2005-12-17 19:41:08 +00:00