Commit Graph

9994 Commits

Author SHA1 Message Date
Dave Schuyler 86f4c2e68e remove extra paren from assert 2006-01-09 22:18:28 +00:00
aignacio_sf bd23b0968d Output to debug some shader caps. 2006-01-09 20:00:15 +00:00
Dave Schuyler 0e4199bc2a formatting 2006-01-07 04:42:32 +00:00
Dave Schuyler d2ec490913 *** empty log message *** 2006-01-07 04:20:29 +00:00
Dave Schuyler dbf7ac0bd8 formatting 2006-01-07 04:19:58 +00:00
aignacio_sf aba7296a4d added lru.cxx, lru.h 2006-01-06 19:11:23 +00:00
aignacio_sf 1d798c9df2 moved here from dxgsg9 2006-01-06 19:10:56 +00:00
aignacio_sf 00fe985041 moved to display 2006-01-06 19:10:02 +00:00
aignacio_sf a4590db6a6 update comments, ... 2006-01-06 19:08:54 +00:00
aignacio_sf 52d7042b5c move lru to display directory 2006-01-06 19:08:29 +00:00
David Rose a9e3575367 install lerp_helpers.h 2006-01-06 01:15:30 +00:00
aignacio_sf 601f46896e Add check for redundant render state changes.
Added functions: set_render_state, set_texture_stage_state, set_sampler_state to replace direct calls to the DirectX version of the function.
2006-01-06 00:50:46 +00:00
David Rose 98c7d82385 declare methods const 2006-01-05 19:55:48 +00:00
David Rose c0c9347983 add set_scale() 2006-01-05 19:20:58 +00:00
aignacio_sf 068ae5eed3 Add EXPCL_PANDADX to classes.
Update some documentation.
2006-01-05 19:14:20 +00:00
aignacio_sf 56d607b8d0 Fix bug! 2006-01-05 18:42:33 +00:00
aignacio_sf a5159fdba3 Disable texturing before setting the render context in the cubemap case also. 2006-01-05 18:33:51 +00:00
aignacio_sf 56250d2c8d Use pre-defined constant 2006-01-05 18:27:58 +00:00
aignacio_sf cb9cc6576e Add some redundancy checks for render states. 2006-01-05 18:21:11 +00:00
Dave Schuyler 6382598273 reversed order of values and context on create 2006-01-05 03:26:27 +00:00
Dave Schuyler e53483a8cd added filler arg for create complete 2006-01-05 01:17:33 +00:00
Samir Naik cdcb57aa73 *** empty log message *** 2006-01-04 23:53:37 +00:00
David Rose b4e6656f49 cleanly disable texturing before rendering to a texture 2006-01-04 22:10:58 +00:00
David Rose 742c4173b8 use D3DTA_CONSTANT 2006-01-04 19:40:15 +00:00
aignacio_sf 54185735cd Avoid redundant setting of FVF. 2006-01-04 19:36:32 +00:00
aignacio_sf 4731e7e50e Unbind texture stages 0 and 1 before setting render context. 2006-01-04 19:35:38 +00:00
Dave Schuyler 16bcff247e change how temp objects generate so that they re not in the doId2do 2006-01-04 19:28:08 +00:00
Dave Schuyler 3c2665ec2e fix to isInDoTables 2006-01-04 19:27:47 +00:00
Dave Schuyler 7bd4d31e8c isInDoTables 2006-01-04 19:19:09 +00:00
aignacio_sf 9ea324117a Fix an error reported by DirectX in debug mode.
Can't pass 0 for SetTextureStageState (..., D3DSAMP_MAXANISOTROPY, ... )
2006-01-04 03:10:53 +00:00
aignacio_sf 680b7878e4 Fix an error reported by DirectX in debug mode.
Can't pass 0 for SetSamplerState (..., D3DSAMP_MAXANISOTROPY, ... )
2006-01-04 03:07:23 +00:00
aignacio_sf ac39c20f8e Added debug more code.
Added a check to create a new depth stencil buffer if the render to texture size is bigger than the original depth stencil buffer.
Set depth stencil surface each time the render target is changed (this may or may not help the render to texture bug).
2006-01-04 01:36:31 +00:00
David Rose 80667761b4 use more net bandwidth 2006-01-04 00:31:28 +00:00
David Rose 8cef27663e optimizations, a few more interfaces 2006-01-04 00:31:00 +00:00
Redmond Urbino ac1a7e272e changed to handle the side streets in blizzard boulevard 2006-01-03 23:32:49 +00:00
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