Commit Graph

400 Commits

Author SHA1 Message Date
David Rose 32581604cf better fixes for auto-compressed textures 2009-01-16 18:01:35 +00:00
David Rose a398ac7517 fix removing windows, and also gl hack for compressed mipmaps 2009-01-16 01:25:53 +00:00
David Rose 5a6b6d995c glHint for compression 2009-01-15 00:17:49 +00:00
David Rose 7a3d75d331 get_supports_stencil 2008-12-26 20:07:32 +00:00
David Rose c7f9706553 fix crash with identity state 2008-11-24 21:42:22 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
David Rose 7b7b973a7a optimize light state a bit 2008-11-12 22:20:21 +00:00
David Rose 51cbe1fb72 clean up Sources.pp files 2008-11-11 23:31:09 +00:00
David Rose d4c2c9858d SIMPLE_THREADS_NO_MUTEX -> LightMutex 2008-10-08 23:23:40 +00:00
aignacio_sf 05fba9b3c8 Remove hard-coded texture format to allow different FBO formats.
Use the internal format when creating FBOs to allow different FBO formats.
2008-09-18 01:05:45 +00:00
aignacio_sf eb2a64d99d Fix mispelling. 2008-09-17 21:15:25 +00:00
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