Commit Graph

5370 Commits

Author SHA1 Message Date
David Rose c9501e7c1c minor output change 2006-04-10 23:23:17 +00:00
David Rose 18de188129 pre-compute GSG::_internal_transform 2006-04-10 22:14:43 +00:00
David Rose 7b3ad94bbf oops, EXPCL_PANDA, not PANDAEXPRESS 2006-04-10 22:08:41 +00:00
David Rose 1fabf70443 add ObjectDeletor; avoid unnecessary locks on RenderState 2006-04-10 21:19:48 +00:00
Roger Hughston 8ba6dd5b9f More OSX Stuff .. some one else if fidling witn ggs to window behaviour .. i need to stop and let this settle ;( 2006-04-10 20:04:18 +00:00
David Rose 889228f403 name mutexes for debugging; better UpdateSeq thread behavior 2006-04-09 23:23:15 +00:00
David Rose 9e986fce40 make PStats more thread-friendly 2006-04-09 20:17:26 +00:00
David Rose 4ef5b4d97e add Texture::reload(), fix TexturePool::release_texture() 2006-04-09 00:37:00 +00:00
David Rose 6119598f63 prevent crash on pview exit 2006-04-07 23:23:09 +00:00
David Rose 0f79e5a4ac remove defunct headers 2006-04-07 22:40:32 +00:00
David Rose 49f9aae9db remove defunct file: 2006-04-07 22:39:38 +00:00
Josh Yelon 9bc87afb04 *** empty log message *** 2006-04-07 20:45:07 +00:00
David Rose 838a261ae2 remove bogus assertion 2006-04-07 01:35:06 +00:00
David Rose e0825beb5f change color of App 2006-04-06 23:47:25 +00:00
David Rose 85ba9e05b8 occlusion test 2006-04-06 23:22:03 +00:00
David Rose 09623405f7 test_concurrency 2006-04-06 23:01:26 +00:00
David Rose 81b78cd075 test_concurrency 2006-04-06 22:32:58 +00:00
David Rose 9d77fe4e06 alpha mode issues 2006-04-06 21:54:46 +00:00
David Rose b40026c2c7 fix animated vertex flattening 2006-04-06 21:43:39 +00:00
David Rose d415ff755f disable State Cache by default 2006-04-06 18:10:23 +00:00
Josh Yelon cde115a055 Got hardware shadows in Cg working, for real this time 2006-04-06 16:44:38 +00:00
David Rose 82c0b5625f ALLOC_DELETED_CHAIN in RefCountObj 2006-04-05 22:34:05 +00:00
David Rose b115e2296c remove INLINE 2006-04-05 21:57:03 +00:00
David Rose 67e78844b3 typos 2006-04-05 21:53:21 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
Josh Yelon 6d0692fec6 *** empty log message *** 2006-04-05 16:47:19 +00:00
David Rose df0c99f67b fix lost vertex columns in flattenStrong() 2006-03-30 00:10:36 +00:00
David Rose 5173168621 more pstats options with z-buffer 2006-03-29 23:37:46 +00:00
David Rose 92a5776b2c LINK_IN_GLXGETPROCADDRESS 2006-03-29 22:08:06 +00:00
David Rose 4f31fe77d2 new files 2006-03-29 21:02:04 +00:00
David Rose c0844239f1 initial rough pass at hierarchical z-buffer visibility. experimental. 2006-03-29 20:28:33 +00:00
Josh Yelon cfdd323a13 FBO changes 2006-03-29 05:02:16 +00:00
Josh Yelon b3db9bdafc Pipeline composite 2006-03-29 04:08:51 +00:00
David Rose 1ec9170793 move average_frame_rate_interval to putil 2006-03-29 02:41:05 +00:00
David Rose f4ecb972b4 no longer depends on linmath 2006-03-29 00:29:19 +00:00
David Rose ac764876e4 ClockObject has moved to putil 2006-03-29 00:25:47 +00:00
David Rose 0e3f5c068a whoops, atomicAdjust et al needs to be in express 2006-03-29 00:14:19 +00:00
David Rose 91efb72ca7 move threading/pipelining stuff into new directory, reorganize in general 2006-03-28 23:59:32 +00:00
David Rose 403488715e compile-in reference to glXGetProcAddress() when possible 2006-03-28 17:04:10 +00:00
David Rose 09beba8436 retesselate-coplanar false by default 2006-03-28 16:39:28 +00:00
David Rose fa8881d18d auto-flip false by default 2006-03-28 15:16:16 +00:00
David Rose e83efe66cd don't consider fans by default 2006-03-28 05:38:06 +00:00
Dave Schuyler 2e3ca066dc formatting 2006-03-28 03:51:09 +00:00
aignacio_sf cb90d793d0 Fix shader issues on D3D Device Reset (resize window, ...)
Do not create a new shader context, but reuse old context and just set the D3D device for Cg.
2006-03-28 02:11:38 +00:00
David Rose 338791f68b prevent double-destruct 2006-03-28 00:29:12 +00:00
aignacio_sf 0cc4c2918f Update DX shader to where the GL shader is. 2006-03-27 23:06:52 +00:00
David Rose d47a1e6b40 fix assertion failure 2006-03-27 23:02:47 +00:00
David Rose f8bf91a461 new parameter should be optional for backward compatibility 2006-03-27 20:35:18 +00:00
David Rose 87d34eaed1 add glx-get-proc-address, glx-os-proc-address 2006-03-27 16:32:51 +00:00
David Rose 59f32111b3 improve ability of flattenStrong() to unify Geoms 2006-03-27 02:37:31 +00:00
David Rose df2e738dfe make ctattach behavior only when ctprojs defined 2006-03-26 23:12:53 +00:00
David Rose 2034bd25bb remove troublesome call 2006-03-25 21:17:15 +00:00
David Rose ffb676cc9a compute _net_transform, not _modelview_transform, at each node of cull traversal 2006-03-24 23:41:09 +00:00
David Rose c8633086c3 remove comment 2006-03-24 22:59:55 +00:00
David Rose a31f6e7894 files moved to cull 2006-03-24 21:46:45 +00:00
David Rose 36b51114a9 remove debug statement 2006-03-24 18:48:02 +00:00
David Rose 8af9c5b213 whoops, forgot cull 2006-03-24 18:42:05 +00:00
David Rose 539ab8291b comment 2006-03-24 01:09:43 +00:00
David Rose 38dde80e5f isolate cull from pgraph 2006-03-24 01:01:34 +00:00
Dave Schuyler 19de130ffd formatting 2006-03-24 00:36:55 +00:00
David Rose 6e9bab7195 preserve 40-degree default fov 2006-03-23 19:17:13 +00:00
David Rose 6335ebe61c fix compilation errors with new buffer merge 2006-03-23 19:02:16 +00:00
David Rose d1e65cd52d fix crash 2006-03-23 18:29:06 +00:00
Josh Yelon a8ffec28b6 Changes moving FrameBufferProperties into GraphicsOutput 2006-03-23 18:17:27 +00:00
David Rose b27ad8aacb fix loading rawtex 2006-03-23 03:35:16 +00:00
David Rose af64776780 whoops, broke basic texture loading 2006-03-23 02:52:43 +00:00
Chris Brunner 24154d4a4b Depreciated. Now at http://aspen.online.disney.com/mediawiki/index.php/How_to_install_Panda_on_Windows as a wiki. 2006-03-23 00:10:47 +00:00
David Rose 8b93f67c23 set_min_fov() 2006-03-22 22:45:36 +00:00
David Rose f803ef85ce explicit mipmap control 2006-03-22 22:23:56 +00:00
David Rose 03a861dfcb remove inappropriate include 2006-03-22 21:09:00 +00:00
Josh Yelon b2a96df6c9 It now compiles. But does it do anything? 2006-03-22 20:58:22 +00:00
David Rose 76252c5316 fix problem with hidden PGui items still being active 2006-03-22 19:02:58 +00:00
Josh Yelon f35a7469d0 More work on glGraphicsBuffers (will compile soon) 2006-03-22 04:14:46 +00:00
Dave Schuyler 67f79bc9c4 formatting 2006-03-22 02:03:57 +00:00
aignacio_sf 9f909bd865 Vast improvement for the framebuffer_copy_to_texture function by using StretchRect function. 2006-03-22 00:01:11 +00:00
aignacio_sf 506f2c8b5c Previous change to ARGB format for render to texture caused a problem for framebuffer to texture since the source and destination buffer formats had to match for DX the "CopyRects" function to work.
The code path is now split into ram type vs texture type destinations.
Match previous DX9 changes  set_context, ...
2006-03-21 21:00:43 +00:00
aignacio_sf af04cf8f74 Match DX8 render to texture / framebuffer changes. 2006-03-21 20:52:14 +00:00
aignacio_sf 6474496071 restrict setting render to texture 2006-03-21 20:47:57 +00:00
Roger Hughston beee323924 *** empty log message *** 2006-03-21 19:58:50 +00:00
aignacio_sf ed28850efa Fix DX 8 and 9 problem for render to texture after new graphics buffer changes.
The texture was being created before the set_render_to_texture was being called.  Therefore, it was not creating a texture that could be rendered to.
2006-03-21 04:18:30 +00:00
Roger Hughston b733a22493 OSX MAcro Colision 2006-03-21 02:28:44 +00:00
aignacio_sf 6d79bac2fe Fix missing line from editing merge conflct. 2006-03-21 02:27:18 +00:00
David Rose e79df2bfcc protect debug statements 2006-03-21 01:42:53 +00:00
David Rose 59eaa16056 init glShaderContext 2006-03-21 01:40:33 +00:00
Dave Schuyler 85d75121c4 image comment 2006-03-21 01:39:32 +00:00
aignacio_sf bd97d329c4 Add automipmap generation code to eliminate dynamic textures.
The automipmap generation filter is not as good as the D3DX box filter so dont' use it for now.
2006-03-20 23:08:38 +00:00
Dave Schuyler a29aaeb14f working on add impact 2006-03-20 23:01:50 +00:00
aignacio_sf 8a278fb946 Add _supports_automatic_mipmap_generation
Add debug display for SDK version
2006-03-20 22:43:26 +00:00
aignacio_sf b1fb705e86 set dx-management 1 as default
add dx-use-dynamic-textures config option
2006-03-20 22:39:37 +00:00
Josh Yelon b665a3707d Buffer overhaul phase one 2006-03-20 22:04:24 +00:00
David Rose 725e82e6f4 show_through() 2006-03-20 20:48:26 +00:00
Josh Yelon a176d3627c Buffer overhaul phase one 2006-03-20 17:56:51 +00:00
David Rose 10720e06e7 pnotify 2006-03-20 03:08:17 +00:00
David Rose 8e46c28d93 one more pnotify 2006-03-20 02:40:46 +00:00
David Rose 5294efe679 USE_MEMORY_NOWRAPPERS 2006-03-20 01:26:13 +00:00
David Rose aee05dc054 notify -> pnotify 2006-03-18 02:38:55 +00:00
Roger Hughston c0552ba84b OSX does not see typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2006-03-18 02:18:14 +00:00
Roger Hughston 477fdc8775 OSX Commit 2006-03-17 22:57:38 +00:00
David Rose 21c8a3685c more tweaks to pstats texusage 2006-03-17 04:08:47 +00:00
David Rose 0a4cb27405 move estimate_texture_memory() to Texture class 2006-03-17 02:18:53 +00:00
David Rose facee7431d PStats accounting for lru management 2006-03-17 01:10:20 +00:00
David Rose 706ce05aa8 fix minor ordering issues 2006-03-17 00:31:09 +00:00
David Rose 83a6c42496 better pstats tracking of texture/vbuffer memory 2006-03-16 21:26:56 +00:00
David Rose c83ac68e90 prebuild-bison 2006-03-16 20:48:48 +00:00
David Rose 9a9149ed9e fix assertion 2006-03-16 03:43:35 +00:00
David Rose c6f0b35ee9 PStats tracks compressed texture sizes 2006-03-16 00:29:54 +00:00
David Rose e6369ba5a4 compressed textures, texture objects 2006-03-15 20:05:36 +00:00
David Rose 4f9c62a0d6 remove accidental debug messages 2006-03-15 18:36:57 +00:00
Asad M. Zaman b025bfd79c muting some debug statements 2006-03-15 02:54:24 +00:00
Roger Hughston c4ebca5a20 Add OSX Gl is linked to this libray by default on OSX 2006-03-15 01:02:49 +00:00
Roger Hughston f585b94829 More osx Hacks 2006-03-14 23:12:55 +00:00
Roger Hughston 7b1d16480f More OSx Stuff .. lib prc refence 2006-03-14 22:06:59 +00:00
Roger Hughston f560ab5554 Add include to make osx happy 2006-03-14 20:36:49 +00:00
Asad M. Zaman 78f062149b portalClipper that clips with clip planes 2006-03-14 05:26:26 +00:00
Dave Schuyler b2a0448de9 work in progress: add_impact 2006-03-14 02:02:23 +00:00
David Rose efc319c451 visualize PlaneNodes 2006-03-14 01:32:58 +00:00
David Rose 71cbcb72d7 don't crash when clipping collision vizzes 2006-03-14 01:20:44 +00:00
Roger Hughston 783a2efc4d OSX Cleanup Work 2006-03-13 20:45:46 +00:00
aignacio_sf 17f75fffc8 Correct warning message: display adjusted/correct amount of memory. 2006-03-13 18:54:59 +00:00
David Rose 392bffee4e prevent crash when texture didn't load 2006-03-13 17:50:36 +00:00
aignacio_sf c86789fc83 Add debug for max anisotropy and dynamic textures support. 2006-03-13 17:12:15 +00:00
Dave Schuyler b015f6ff7a add_impact 2006-03-11 06:34:19 +00:00
Roger Hughston 325e42d530 Cleaning up Some.. 2006-03-11 01:54:02 +00:00
Dave Schuyler 5a52512d8e local torque and local impulse 2006-03-11 00:16:16 +00:00
Dave Schuyler 241942299a removed old code 2006-03-11 00:15:45 +00:00
Dave Schuyler c686acd92d added lvec4 cast 2006-03-11 00:14:09 +00:00
David Rose 0fc8016840 comment on threading 2006-03-10 03:23:11 +00:00
David Rose f4c996c0b9 fix copy-to-cubemap 2006-03-10 01:07:17 +00:00
Josh Yelon d1ea4b3570 Fixed bug in prepare_for_deletion 2006-03-09 23:08:30 +00:00
Dave Schuyler ddf42d32d5 add torque and impact 2006-03-09 22:53:07 +00:00
Dave Schuyler 18cc3f1b0f add impact 2006-03-09 22:52:35 +00:00
Dave Schuyler 294cc53817 add torque 2006-03-09 22:52:16 +00:00
Dave Schuyler 65c22c6737 clear physics object 2006-03-09 22:51:43 +00:00
Dave Schuyler 0f2a0eb759 clear physics node 2006-03-09 22:51:22 +00:00
David Rose 56b25dafe6 wstring utils 2006-03-09 22:36:24 +00:00
Dave Schuyler 0df4c3fa22 formatting 2006-03-09 21:59:59 +00:00
Dave Schuyler 1db07a09b2 changed function name 2006-03-09 21:59:10 +00:00
David Rose 04879e382e extra bracket 2006-03-09 20:40:35 +00:00
Roger Hughston 0752ccb35e Functional .. OSX mouse, gl, keyboard and window wrappers.... 2006-03-09 20:23:54 +00:00
David Rose 5f0febd8e8 clear frameRateMeter on window close 2006-03-09 19:19:12 +00:00
David Rose 210f74c2e3 more tweaking 2006-03-09 17:41:09 +00:00
Dave Schuyler 677986a4f4 removed some asserts 2006-03-09 03:39:38 +00:00
Chris Brunner 094c09f0e8 major overhaul to reflect new built system and moving away from the INSTALL trees 2006-03-09 01:51:28 +00:00
David Rose 5b2e37764a fix crash when PhysicsManager destructs first 2006-03-09 00:14:14 +00:00
David Rose 84e0aaf6ea clean up degenerate polygons better 2006-03-08 22:26:52 +00:00
David Rose b7fd641aa9 fixes to MultitexReducer 2006-03-08 00:24:31 +00:00
aignacio_sf ce55dd4956 Initial version of shader pool (this was ported from the font pool code). 2006-03-07 20:06:19 +00:00
David Rose 5eac3c7193 initialize type 2006-03-07 18:06:12 +00:00
Dave Schuyler f8c00270d3 assertions in remove physical 2006-03-07 04:25:44 +00:00
Dave Schuyler 9a647cf23f debug output 2006-03-07 04:25:10 +00:00
David Rose e096d63960 case-sensitivity problem 2006-03-07 00:11:28 +00:00
David Rose 5bf5ffb1fb text_wrap_mode 2006-03-06 23:26:07 +00:00
aignacio_sf 8ee41bbd21 Fix DX9 full screen problem.
Fix adapter search by D3DFORMAT.
DX9 requires an adapter mode search by a specific D3DFORMAT which was different from DX8 which gave all the adapter modes.
2006-03-04 02:50:24 +00:00
Dave Schuyler 4c9b5ea4dd linear control force 2006-03-03 23:39:26 +00:00
Dave Schuyler 9026749e4b *** empty log message *** 2006-03-03 22:54:30 +00:00
David Rose 3f622bbe81 track Cull:Setup time properly 2006-03-03 17:45:43 +00:00
Josh Yelon 5fa80f8c40 More code for shader matrix computation 2006-03-02 22:08:48 +00:00
David Rose b37791b9b0 re-active Draw:Primitive 2006-03-02 00:18:50 +00:00
David Rose e3b0ae1bc3 use PStats to count number of collision tests 2006-03-01 23:40:52 +00:00
Dave Schuyler d580f608c5 updated 2006-03-01 04:07:06 +00:00
David Rose fe4ac01e18 missing ifdefs 2006-02-28 23:55:37 +00:00
Josh Yelon ba74d9a772 Eliminated Cg references in gobj/shaderContext 2006-02-28 22:06:49 +00:00
Josh Yelon 12463722c6 Added calc_projection_mat to dx8, dx9 2006-02-28 17:01:35 +00:00
David Rose 136f12d71c minor pstats readjustments 2006-02-28 00:25:45 +00:00
David Rose 40e8313771 some thread-safe locks 2006-02-28 00:15:53 +00:00
David Rose 2dfc813470 oops, silly typo 2006-02-27 22:41:15 +00:00
Josh Yelon 97729823b1 Adding include directory for Cg 2006-02-27 22:34:39 +00:00
Josh Yelon 129cef9f62 Major overhaul to shader subsystem 2006-02-27 21:52:36 +00:00
David Rose 43bbca86fb traverse to all children of LOD node 2006-02-27 18:49:46 +00:00
David Rose a30470be19 flatten_medium() should also unify 2006-02-27 18:16:32 +00:00
David Rose c4306e0f4b fix paste-buffer corruption bug 2006-02-26 15:42:57 +00:00
David Rose 85ff01dba5 use 2-d texture coordinates when possible 2006-02-26 00:41:26 +00:00
David Rose 781207e5cf fix clip plane reset 2006-02-25 15:45:45 +00:00
David Rose 2109394560 register RescaleNormalAttrib 2006-02-24 19:54:41 +00:00
David Rose b101f9bcb4 also respect set_foreground(0) at window creation 2006-02-24 19:47:05 +00:00
David Rose 77204cbe3e allow set_foreground to be requested 2006-02-24 19:21:17 +00:00
David Rose 0a675eae03 fix crashes loading bam files 2006-02-24 19:09:35 +00:00
David Rose 825717c720 use modify_geom() instead of get_unique_geom() 2006-02-23 21:09:00 +00:00
David Rose 95826297fb assert against negative radius 2006-02-23 03:51:48 +00:00
David Rose 62aa19e606 missing include 2006-02-22 03:21:24 +00:00
David Rose 55b39a6ffe missing include 2006-02-22 02:12:28 +00:00
David Rose 851eb4cd8b move Pipeline* and Cycle* from putil, in order to pipeline the ClockObject class 2006-02-22 02:12:08 +00:00
David Rose 8c4afe0e13 move Pipeline* and Cycle* to express 2006-02-22 02:11:19 +00:00
David Rose 0a911d8c3b move mutexImpl etc. to dtoolconfig 2006-02-21 23:11:27 +00:00
David Rose 2cdd4644f3 new parameter on virtual method 2006-02-20 18:31:59 +00:00
Josh Yelon 44aab37572 Removed show_buffers. (I am about to add 'BufferViewer' class in direct) 2006-02-18 05:30:54 +00:00
Josh Yelon 0b02e92c0d A few fixes related to the recent begin-frame refactor 2006-02-18 05:29:48 +00:00
Josh Yelon dfab4fb786 Added a few convenience functions: add_vertices 2006-02-18 05:28:52 +00:00
Josh Yelon c7853c8c71 Added the start of support for NPOT textures 2006-02-18 05:25:53 +00:00
Josh Yelon 4535cdfbba More progress, but still not working 2006-02-18 05:25:06 +00:00
Dave Schuyler f7a3d5803a doing better with the coordinate system of local forces 2006-02-18 02:13:34 +00:00
Dave Schuyler 7492d74426 added conjugate, changed var name, added 4-d rotation 2006-02-18 02:12:08 +00:00
David Rose 995ce8b11a 16-bit-per-sample tiff files 2006-02-17 23:33:17 +00:00
David Rose 544e8dbc90 fix stereo mode 2006-02-17 22:10:24 +00:00
David Rose 82c0011f87 support red-blue stereo in dx8/9 2006-02-17 21:15:01 +00:00
David Rose 808cca4c3f whoops, typo 2006-02-17 19:35:32 +00:00
David Rose 84c88164ce add individual control over framebuffer-mode elements 2006-02-17 19:35:14 +00:00
David Rose 47c2e41c75 support stereo DisplayRegions 2006-02-17 19:17:06 +00:00
David Rose 90902c5cca move red-blue-stereo support lower; cache cull results between left and right stereo channels 2006-02-17 17:36:04 +00:00
aignacio_sf 748a50fe9e Make alpha textures the default texture format for Render to Texture have a fallback to non-alpha texture in case it is not supported. 2006-02-17 02:48:12 +00:00
aignacio_sf 4d63a51e9e Improve mapping from Panda vertex elements to vertex shader inputs.
Fix vertex element name issue.
Make alpha textures the default texture format for Render to Texture have a fallback to non-alpha texture in case it is not supported.
2006-02-17 01:21:51 +00:00
David Rose 8fbc824aab make PGui more thread-safe 2006-02-16 23:45:05 +00:00
David Rose 0e55bc8b2c pipeline animated blends, etc. better 2006-02-16 21:14:55 +00:00
Roger Hughston f0e9f34908 Some hack to get OSX gl to build 2006-02-16 20:38:23 +00:00
David Rose 8f087a2d56 whoops 2006-02-16 18:44:21 +00:00
David Rose bf965cae20 restore automatic pipeline expansion 2006-02-16 18:12:47 +00:00
David Rose 37b172d3d3 default-stereo-camera 2006-02-16 06:36:23 +00:00
David Rose 264fc31115 automatic stereo cameras for stereo windows 2006-02-16 06:17:51 +00:00
David Rose ffb92db022 stereo rendering 2006-02-16 02:28:20 +00:00
Roger Hughston 5daca17ee6 Move Some Functions Under #ifdef .... PVIEW 2006-02-16 02:28:19 +00:00
Roger Hughston 52a78687c0 Moved output into #ifdef 2006-02-16 01:48:38 +00:00
David Rose 799f0fcf19 slightly better viewport handling 2006-02-16 01:34:18 +00:00
Roger Hughston 986bf172c5 Cleaning Up Some Warnings OSX 2006-02-16 01:21:02 +00:00
Roger Hughston 2b32bad34f Cleaning Up Some Warnings 2006-02-16 01:20:07 +00:00
David Rose 0f7e9e7ffa proper ifdefs 2006-02-16 00:52:14 +00:00
David Rose 855a365c7f close windows properly 2006-02-16 00:37:18 +00:00
David Rose 882f71a3d9 proper #include 2006-02-15 22:12:50 +00:00
David Rose 0290873962 remove flatten from default 2006-02-15 21:57:37 +00:00
David Rose 7ed0bfe83a request PFD_STEREO on demand 2006-02-15 21:54:46 +00:00
David Rose 7b1b8bb4af report different types of cyclers in pstats 2006-02-15 21:44:52 +00:00
David Rose 11337e4c20 better pipelined animation (still needs work) 2006-02-15 21:44:08 +00:00
David Rose c251c7c484 include thread.h 2006-02-15 20:00:53 +00:00
David Rose 069fb87e7b control effect, etc., needs to be cycled 2006-02-15 19:20:55 +00:00
David Rose e122b6b78c fix bounds calculation agani 2006-02-15 18:14:06 +00:00
David Rose 2bb5462a4c fix cache in threaded pipeline 2006-02-15 15:37:45 +00:00
David Rose 4e4302b308 squelch windows warning 2006-02-15 15:37:22 +00:00
David Rose 303e2c77b1 indents 2006-02-15 15:36:34 +00:00
David Rose 1d2282a879 pipelining getting close; uprev bam version to 6.0 2006-02-14 19:07:47 +00:00
David Rose 7023429790 fix problem reading audiofiles compressed from vfs 2006-02-13 05:34:52 +00:00
David Rose 430a4b21e0 fix pview -i 2006-02-12 20:16:26 +00:00
David Rose c5844965e4 wrong case 2006-02-11 15:11:16 +00:00
David Rose 0a0377607d track number of cyclers in PStats 2006-02-11 03:31:11 +00:00
David Rose 863cac3baf logic error 2006-02-10 23:35:12 +00:00
aignacio_sf b58a54df1d Add a state to for valid/invalid shaders. Added some shader debug code. 2006-02-10 21:10:43 +00:00
aignacio_sf 2da70352f4 Keep from setting invalid shaders (missing shader files, shaders that did not compile, ...) 2006-02-10 21:09:44 +00:00
aignacio_sf 78b83fa797 use const strings for vshader, fshader. added partial parsing of vertex shader parameters for HLSL 2006-02-10 20:42:17 +00:00
aignacio_sf ffbde58774 Added get_load_error function. Needed to know if the file was properly loaded or not before using a shader. 2006-02-10 20:35:59 +00:00
David Rose bcb1ff0418 dconfig:c, etc 2006-02-10 20:20:33 +00:00
Roger Hughston 8065be4f57 More Motion in osx Land 2006-02-10 20:13:14 +00:00
David Rose 11e95884f8 WIN32_VC instead of WIN32, to avoid confusing interrogate 2006-02-10 19:56:19 +00:00
David Rose 7fdf481b0f posix threads 2006-02-10 18:52:41 +00:00
David Rose 1f11a05ff7 reset_prev_transform legal in sub-thread 2006-02-10 17:23:34 +00:00
David Rose 4d916f59e1 whoops 2006-02-10 02:16:54 +00:00
David Rose a05922ff66 missing body 2006-02-10 01:29:51 +00:00
David Rose 133c407b66 minor fixes 2006-02-10 00:36:21 +00:00
David Rose b60295be24 missing include 2006-02-09 23:51:33 +00:00
David Rose 79f1462eb1 mo' better pipelining 2006-02-09 23:47:29 +00:00
Dave Schuyler 40d1781c1f changed rotational integrator 2006-02-08 22:50:57 +00:00
aignacio_sf eec9125b58 fix DCAST problem 2006-02-08 19:57:11 +00:00
Josh Yelon 900f098890 A few more begin_frame fixes 2006-02-08 18:43:36 +00:00
Josh Yelon 4d38e1e57c Fixed it 2006-02-08 18:19:45 +00:00
Josh Yelon 2b9a8f0a8a Corrected cube-map orientations 2006-02-08 18:12:30 +00:00
Josh Yelon cee838c08e begin_frame refactor 2006-02-08 17:52:29 +00:00
David Rose 042626a373 fix ifdefs 2006-02-08 15:15:14 +00:00
David Rose ced6b0931a #ifdef for CGDX9 2006-02-08 07:27:40 +00:00
David Rose e16fabea35 oops 2006-02-08 07:13:22 +00:00
David Rose 0405754d17 use native Windows threading primitives 2006-02-08 07:00:12 +00:00
Josh Yelon 120e6ae0a7 More flexible cardmaker, supports 3 texcoords 2006-02-07 20:18:28 +00:00
Josh Yelon 947294fe99 Added fmax and fmin operators to vector 2006-02-07 20:18:07 +00:00
David Rose 82ccb687e4 oops 2006-02-06 23:04:31 +00:00
David Rose a49b03b61b correct forward reference 2006-02-06 19:52:43 +00:00
David Rose 3e4d735cea use cycle_2() 2006-02-06 19:51:14 +00:00
David Rose 7a6cda9915 better cycle() 2006-02-06 19:40:02 +00:00
David Rose cd71e8a224 more pipeline fixes 2006-02-04 00:27:37 +00:00
Josh Yelon 4477cdbafb First step in refactoring begin_frame and end_frame 2006-02-03 21:18:42 +00:00
Josh Yelon e62e3b1853 Starting to write actual code 2006-02-03 21:18:21 +00:00
David Rose 3cd01095c8 use ReMutex 2006-02-03 19:29:15 +00:00
David Rose b8b1e3d87e properly cast new operator * return values 2006-02-03 19:28:53 +00:00
David Rose c75b55eb98 better pipelining 2006-02-03 18:12:08 +00:00
Dave Schuyler 5ae60423ec added multiply by scalar 2006-02-02 23:25:29 +00:00
David Rose 7947752d19 revert previous change--this is now invalidated by recent earlier change 2006-02-01 23:15:56 +00:00
Josh Yelon 4e7ba0899f Moved tick to right before app processing 2006-02-01 22:55:11 +00:00
Josh Yelon be1d02eb18 These are just placeholder files 2006-02-01 21:06:00 +00:00
David Rose 629a2f087a first pass at cheesy pipelining 2006-02-01 19:44:03 +00:00
David Rose ad72a2b2fd fix TextureProjector some 2006-02-01 19:38:02 +00:00
David Rose 26912f6bbb oops 2006-01-31 19:03:20 +00:00
David Rose b7ceab1bff integrate PStatThread and Thread; better thread handling in GraphicsEngine::render_frame() 2006-01-31 18:59:49 +00:00
David Rose 979e202f90 fix bug: named joint should be included in subset 2006-01-31 05:58:28 +00:00
David Rose d78f7097a8 set_card_decal() should invalidate 2006-01-29 16:03:34 +00:00
David Rose 643fbbd763 give better error message if wrong version of DX9 SDK is installed 2006-01-29 16:01:44 +00:00
David Rose 28a500430f consolidate dx8 includes 2006-01-29 16:01:07 +00:00
aignacio_sf b36d67f3b9 Formatting changes. Added HLSL debug on/off. 2006-01-28 02:04:45 +00:00
aignacio_sf 0a06f19767 Added transpose matrix option. Removed extra transpose for HLSL. Formatting changes. 2006-01-28 01:49:37 +00:00
aignacio_sf 6a43f6757d Preliminary HLSL support. 2006-01-27 23:22:07 +00:00
aignacio_sf e1e47c64ac Added shader profiles to gsg. Added new types. 2006-01-27 23:21:39 +00:00
aignacio_sf 3d47d4fa06 Added shader profiles to gsg. 2006-01-27 23:20:49 +00:00
David Rose 3bb5bb8332 one more fix to my previous fix 2006-01-27 03:36:25 +00:00
Dave Schuyler 669d2c5c50 force node was not being used so it is removed 2006-01-27 00:44:51 +00:00
David Rose ecf6915a02 better diagnostic 2006-01-26 14:34:12 +00:00
Dave Schuyler 11ab5e8d80 formatting 2006-01-26 02:52:34 +00:00
David Rose 8e7e0f5332 retab 2006-01-26 01:50:26 +00:00
David Rose b99be8da93 whoops, infinite recursion 2006-01-26 01:48:44 +00:00
David Rose 9743b5276f make auto_unwrap a required parameter 2006-01-26 01:30:21 +00:00
David Rose 43a3b6a7a8 don't use concave quads in tristrips 2006-01-26 01:18:23 +00:00
David Rose 5c623893be flatten_strong() should unify too 2006-01-25 22:35:47 +00:00
aignacio_sf 757c5edae6 Added debug code and some formatiing changes. 2006-01-25 22:34:09 +00:00
aignacio_sf e62c1cb763 Some comment and formatiing changes. 2006-01-25 22:26:31 +00:00
David Rose ef9dfea9df be explicit with vfs->open_read_file(), etc. 2006-01-25 22:18:07 +00:00
David Rose bcef4b24de add -o options 2006-01-25 22:10:19 +00:00
Asad M. Zaman e19232aa88 fixed the patch error dure to uint16 overflow 2006-01-25 20:26:06 +00:00
David Rose 420ab68136 implicitly decompress/compress for input/output files named .pz; also support vfs-implicit-pz. 2006-01-25 17:45:31 +00:00
David Rose d673267be3 add is_wtext 2006-01-25 02:47:16 +00:00
David Rose 318b9e520a prevent reentrant locks 2006-01-24 17:26:39 +00:00
Josh Yelon 9456925099 Added vspos and vstrans 2006-01-24 07:28:38 +00:00
Asad M. Zaman b629960ae4 egg-rename tool had a bug: it needs to rename the eggnodes as well, not just the group nodes 2006-01-24 04:11:42 +00:00
aignacio_sf 19cd7a1a75 Change vertex error output level to warning level. Some formatting changes. 2006-01-24 02:12:47 +00:00
aignacio_sf 22648e6577 some formatting changes, moved memset to constructor phase. 2006-01-23 19:58:21 +00:00
aignacio_sf 9765a38c39 removed lru.h 2006-01-23 19:46:35 +00:00
aignacio_sf d3f439ba0c Some code formatting changes to conform to Panda style guide. 2006-01-23 19:41:23 +00:00
aignacio_sf 26c10bc231 Added missing include file. 2006-01-23 19:40:35 +00:00
aignacio_sf 6481cb76b1 Separated class VertexElementArray into its own file. 2006-01-23 19:06:37 +00:00
aignacio_sf 49c678b11d Added missing include: dxShaderContext9.h 2006-01-23 18:23:27 +00:00
aignacio_sf 606e13ba9a Remove include that is not needed. 2006-01-21 03:29:33 +00:00
aignacio_sf 1254664959 Clean up D3D 9 includes. Include d3d9 headers in one place only.
Added commented out define for D3D_DEBUG_INFO.
Uncomment it out for to debug DirectX objects.
2006-01-21 03:22:21 +00:00
aignacio_sf 9deba32241 Yet another work in progress. 2006-01-21 02:31:41 +00:00
Dave Schuyler 61a0e67462 changes from drose for rotation by hpr 2006-01-21 01:50:49 +00:00
David Rose ca8455d5ef don't auto-stop disjoint animations 2006-01-21 01:31:29 +00:00
David Rose 9164535479 operator = 2006-01-21 00:51:16 +00:00
David Rose b342a22c2f fix set_range(), clear_range() 2006-01-20 23:37:59 +00:00
David Rose 3be2b77316 fixes 2006-01-20 20:51:28 +00:00
David Rose 3c39318b34 add TextureStageCollection::sort() 2006-01-20 20:46:13 +00:00
David Rose a209d63185 rename type 2006-01-20 18:03:23 +00:00
David Rose ecec0779f0 BitArray (first pass) 2006-01-20 18:02:11 +00:00
David Rose aa837381d3 half-body animations 2006-01-20 02:45:03 +00:00
Dave Schuyler 1e5469d22f formatting 2006-01-20 01:42:29 +00:00
aignacio_sf 293b6cd493 Add option to disable some debug statements.
Disable some debug statements.
2006-01-19 02:11:25 +00:00
aignacio_sf e12f92b6fd Work in progress 3. 2006-01-19 02:09:28 +00:00
David Rose 58947f9dd1 whoops 2006-01-19 01:06:15 +00:00
David Rose 34c1491fbb Remove shear from BT_normalized_linear, add BT_componentwise and BT_componentwise_quat 2006-01-19 01:03:12 +00:00
David Rose 08a099ba3a use ReMutex 2006-01-18 23:55:42 +00:00
David Rose 273f091ecc more mutex fixes 2006-01-18 23:55:11 +00:00
aignacio_sf 8851a4edde More work in progress 2. 2006-01-18 02:27:44 +00:00
aignacio_sf 3e8cd1e273 More work in progress. 2006-01-18 01:20:11 +00:00
David Rose f5736f4853 filename case 2006-01-18 00:54:36 +00:00
David Rose 344a8621f9 better handling for max-poll-cycle 2006-01-18 00:45:01 +00:00
David Rose 6b6dd232ff whoops 2006-01-18 00:31:19 +00:00
David Rose c3aa9a995c more CHECK_REENTRANT_MUTEX 2006-01-18 00:23:37 +00:00
David Rose 01a2a7c13c define CHECK_REENTRANT_MUTEX 2006-01-17 19:12:20 +00:00
David Rose f71601ce86 check has_size 2006-01-17 04:01:10 +00:00
David Rose 8390e00363 add max-poll-cycle 2006-01-17 04:00:10 +00:00
David Rose 8567173ece more threading issues 2006-01-16 15:42:28 +00:00
David Rose 92b907eb07 more threading fixes 2006-01-16 00:05:34 +00:00
David Rose 1123896fc6 robustify threading some more 2006-01-15 22:43:12 +00:00
David Rose bac632973c assert non-reentrancy in non-threads case 2006-01-15 19:17:42 +00:00
David Rose 93c5b5abd0 remove reentrant lock 2006-01-15 19:16:30 +00:00
David Rose d80595c1be remove pandadx7 2006-01-15 18:23:32 +00:00
David Rose 33175eb521 remove warnings on Linux 2006-01-15 18:11:38 +00:00
David Rose 0f359f1f79 remove nested lock 2006-01-15 18:11:19 +00:00
David Rose cf01ef9cd6 add NodePath::find_material(), find_all_texcoords(), etc. Make Material be directly modifiable. 2006-01-15 06:34:33 +00:00
David Rose dced1a00cb add more loader options 2006-01-14 00:43:50 +00:00
David Rose 3f87411790 support-render-texture on by default 2006-01-13 22:05:26 +00:00
David Rose c9b27bd436 formally remove pandadx7 support 2006-01-13 21:50:04 +00:00
David Rose 9f178bdb25 fix indents 2006-01-13 18:56:51 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose 68326315de fix normal scaling 2006-01-13 16:02:34 +00:00
David Rose 9dab4ee9ea add gl-support-rescale-normal 2006-01-13 16:02:17 +00:00
David Rose 42b082e5b9 incorrect assert return 2006-01-13 15:40:33 +00:00
David Rose 5ea15b9dd7 add NodePath.has_texcoord() 2006-01-13 00:58:55 +00:00
David Rose 09243bcec3 don't include windows.h 2006-01-13 00:56:03 +00:00
David Rose cb9e5f2dad add generic ButtonThrower events: track keystrokes, too 2006-01-13 00:21:17 +00:00
David Rose 8c5504212e default GeomVertexWriter/Reader constructors 2006-01-13 00:20:46 +00:00
Dave Schuyler b164ac1834 changed friction out of range check 2006-01-12 03:50:14 +00:00
aignacio_sf 9a23eea39a work in progress 2006-01-12 02:08:07 +00:00
aignacio_sf aebc5ba5bd unbind needs GSG parameter 2006-01-12 02:07:22 +00:00
aignacio_sf ddc278b9d1 This version is an initial port of the original OpenGL version of the CG code.
This version basically compiles properly, but it will not work yet.
2006-01-11 19:55:13 +00:00
aignacio_sf c82636f835 This version is a copy of the original OpenGL version of the CG code. 2006-01-11 19:46:07 +00:00
aignacio_sf 8ecd64e785 Forgot to remove lru.cxx in dxgsg9 add lru.cxx in display. 2006-01-10 21:49:20 +00:00
aignacio_sf 00482ececd Whoops! Needed to use EXPCL_PANDA instead of EXPCL_PANDADX. 2006-01-10 21:48:33 +00:00
David Rose 152ad1a173 fix has_origin assertion 2006-01-10 18:57:54 +00:00
aignacio_sf 1a31424198 Prevent buffers being created that are larger than the display by cutting the requested size in half until it is small enough. 2006-01-09 23:02:17 +00:00
aignacio_sf bd23b0968d Output to debug some shader caps. 2006-01-09 20:00:15 +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
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
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
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
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
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
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
David Rose 35e37379f0 build dx9 now 2005-12-12 16:58:49 +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