Commit Graph

389 Commits

Author SHA1 Message Date
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 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 a8ec068c05 graphics-memory-limit 2008-08-29 23:03:53 +00:00
David Rose 2fdbde7d3e compiler warning 2008-08-29 12:53:20 +00:00
David Rose 7cb642fc2f more fixes from update_texture() changes 2008-08-26 18:12:00 +00:00
David Rose 8c2e657f15 Add gsg::update_texture() 2008-08-25 22:58:58 +00:00
David Rose bf7eac8263 add anisotropic filtering, from forum user Laurens 2008-08-24 00:22:42 +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 4ebbd72ab1 more robust driver protection 2008-08-18 17:18:01 +00:00
David Rose 33b54effd2 work around egregious driver bug 2008-08-16 00:23:15 +00:00
David Rose 617a769ef7 more work towards asynchronous texture loads: auto-caching compressed texture versions 2008-08-14 23:50:17 +00:00
David Rose 75de7a30c9 pstats tracking async loads 2008-08-13 16:10:28 +00:00
David Rose d7e6603118 work-in-progress: asynchronous texture loads 2008-08-13 01:13:09 +00:00
David Rose 7e5c276403 more robust copy-to-texture 2008-08-11 22:19:26 +00:00
David Rose 6073c8dee9 RenderModeAttrib::M_filled_flat 2008-08-05 17:49:35 +00:00
David Rose 62b406d83b typo comment 2008-08-01 17:27:28 +00:00
David Rose 8537bd7320 ScissorAttrib, ScissorEffect 2008-07-31 01:53:12 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose bed33fb763 GSG::is_hardware() 2008-05-14 00:57:36 +00:00
aignacio_sf 57ca8e62c0 Add max simultaneous render targets. 2008-05-08 23:38:42 +00:00
Josh Yelon 846c2a9fcc Enabled shader generator to suppress alphatest and alpha-write 2008-05-06 16:27:18 +00:00
David Rose 33eca53d00 fix cubemap bug 2008-05-06 15:27:17 +00:00
David Rose 45c2aafe47 reverse order for robustness 2008-05-05 23:31:39 +00:00
David Rose 6d90cf5b70 tinydisplay 2008-04-30 22:21:24 +00:00
aignacio_sf 1dc357a7f1 Remove (comment out) hard coded tex->set_format(Texture::F_rgba); So that the texture format can be selected externally via Texture.set_format(). 2008-04-18 19:19:48 +00:00
David Rose 9f8b1cbd0e work around mesa craziness 2008-04-12 00:34:37 +00:00
David Rose aaa4e12223 gl-finish 2008-04-10 20:18:20 +00:00
David Rose a667e91dce TextureAttrib::_implicit_sort 2008-04-10 00:45:43 +00:00
Josh Yelon b4427c874d Buffer fixes and bug fixes 2008-03-04 07:00:23 +00:00
Josh Yelon 0a4633cf81 Fixed a bug in copy_to_texture for depth buffers 2008-03-03 22:45:06 +00:00
Josh Yelon b3b365c99e Work on issues related to resizing buffers 2008-02-28 23:16:13 +00:00
Josh Yelon 17a1700b26 Fixes for texture padding 2008-02-28 18:45:40 +00:00
David Rose 93fb935b6f MIN_GL_VERSION, MIN_MESA_VERSION 2008-02-27 21:20:09 +00:00
Josh Yelon 6fe75c8eed Added some error-checking 2008-02-26 23:02:27 +00:00
Josh Yelon b70b3d7102 Took out debugging code. 2008-02-26 19:42:00 +00:00
Josh Yelon 172f8f7386 Fixed a bug when trying to use windows sofware renderer 2008-02-26 05:50:48 +00:00
Josh Yelon b98c5f0bf5 Refactored code for glClear - added aux bitplane clears 2008-02-21 19:55:40 +00:00
aignacio_sf 6dfe4ab030 Add depth buffer sharing. 2008-02-13 01:08:36 +00:00
Josh Yelon 4814634f95 Fixed an end_scene related bug (failure to clean up shader data) 2008-01-29 17:05:24 +00:00
Josh Yelon 1d954d5104 Improvements to Shader Generator 2008-01-28 17:28:09 +00:00
David Rose 4fd2a6ba3c fix build issues on osx from kaweh kazemi 2008-01-17 20:27:43 +00:00
Josh Yelon b3909c97fa Adding the shader generator 2007-12-16 05:46:54 +00:00
Josh Yelon 2288645d39 Added support for textures_auto_power_2 and shader_auto_utilization 2007-12-15 07:08:14 +00:00
Josh Yelon d8e6dc13a3 Modifications to eliminate class ShaderExpansion 2007-12-13 20:56:29 +00:00
Josh Yelon c31a9d079c Added support for glow maps. 2007-12-07 07:51:37 +00:00