aignacio_sf
eb8ae8461d
Modify delta memory debug display.
2005-12-28 22:52:19 +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
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
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
ef4822717f
fix redirects
2005-12-17 19:41:08 +00:00
Mark Mine
73b717f47c
Changes to make compatible with VRPN 07.03
2005-12-17 03:08:45 +00:00
aignacio_sf
58484fd621
Update render to texture format. Automatically select the texture format by matching the render format.
2005-12-16 18:47:37 +00:00
aignacio_sf
6db8e96427
Update lost device support for D3DPOOL_DEFAULT and improve render to texture support.
2005-12-16 01:35:36 +00:00
aignacio_sf
578aefebc4
Add render to texture option.
2005-12-16 00:47:51 +00:00
Justin Butler
e0a4f3ba06
Updated name of setup script to reflect what it actually is.
2005-12-16 00:14:31 +00:00
aignacio_sf
f0da9ce2ba
remove a comment
2005-12-14 20:05:40 +00:00
aignacio_sf
d149ca28bb
Fix framebuffer_copy_to_ram function.
...
GetRenderTargetData function requires the target buffer size to be the
same size as the backbuffer.
2005-12-14 19:55:04 +00:00
aignacio_sf
8e33595bd0
minor code cleanup
2005-12-14 19:53:17 +00:00
aignacio_sf
6c2d17a6d0
Fix render to cubemap texture for DX8
2005-12-14 19:31:05 +00:00
aignacio_sf
068099e597
Update render to texture support for DX9
2005-12-14 19:22:53 +00:00
aignacio_sf
7216359719
Update render to texture support for DX9
2005-12-14 19:07:01 +00:00
aignacio_sf
269d0e7e83
Add render to texture support for DX8
2005-12-14 02:01:23 +00:00
aignacio_sf
aa20bc165d
Fix function d3d_surface_to_texture.
...
The 16-bit color source to 24-bit color copy was incorrect. See difference.
2005-12-13 19:47:19 +00:00
aignacio_sf
093b07b81c
Fix function d3d_surface_to_texture.
...
The 16-bit color source to 24-bit color copy was incorrect. See difference.
2005-12-13 19:29:45 +00:00
aignacio_sf
fc917fb34a
no message
2005-12-13 02:39:52 +00:00
aignacio_sf
830d509665
preliminary version of render to texture, still needs cleanup, testing
2005-12-13 01:57:38 +00:00
aignacio_sf
4c14e47297
preliminary version
2005-12-13 01:56:44 +00:00
aignacio_sf
dd024406b1
fix framebuffer_copy_to_texture
...
Not very efficient since it copies the entire render target to system memory
and then copies the rectangle to the texture, but there does not seem to
be another way for DX9.
2005-12-10 03:54:12 +00:00
aignacio_sf
76cdd23bab
fix framebuffer_copy_to_ram function
2005-12-10 02:24:39 +00:00
aignacio_sf
b8ee93827d
test render-to-texture
2005-12-09 22:23:23 +00:00
aignacio_sf
0246695237
port dx8 to dx9
2005-12-09 21:48:34 +00:00
David Rose
d48584de2f
fix particle explosion
2005-12-07 21:43:01 +00:00
David Rose
6148912b62
read from bam properly
2005-12-07 21:42:35 +00:00
aignacio_sf
54b97daf34
add Draw:Transfer:Create Vertex Buffer pstat collector
2005-12-07 20:03:27 +00:00
David Rose
d44e498146
fix booboo
2005-12-01 21:22:52 +00:00
David Rose
0aeb31a2b4
further hacks around 64K client buffer bug--indexed geometry
2005-12-01 18:27:08 +00:00
David Rose
e7dd8aea19
hack for ati bug with client buffers
2005-11-30 23:42:43 +00:00
David Rose
65244d9d90
fix vp sky
2005-11-30 18:19:59 +00:00
David Rose
b3fe8def76
disable sync in dx8 windowed mode
2005-11-29 19:32:08 +00:00