Commit Graph

422 Commits

Author SHA1 Message Date
David Rose ba30db6953 support window-type offscreen better 2009-03-10 20:43:33 +00:00
David Rose ff39b33308 support TexMemViewer on opt-4 build 2009-03-02 19:32:47 +00:00
rdb 17b0503778 Better depth_stencil/depth_component seperation 2009-02-27 18:59:27 +00:00
David Rose 7af1350e4e pass GraphicsEngine through to constructors 2009-02-25 23:04:45 +00:00
David Rose ee0c4dee8f replace assignment with assertion 2009-02-21 02:25:08 +00:00
David Rose ab530f5d80 hack fix around crash 2009-02-21 01:43:28 +00:00
David Rose b5ee150ff3 protect color mask in a few more places 2009-02-21 00:24:09 +00:00
rdb c0b420a74a Fix crash when no texture is assigned 2009-02-20 19:56:03 +00:00
rdb 02b2b9eacc Fix cubemap FBO's 2009-02-20 18:21:39 +00:00
David Rose 8288ee1ac9 fix untextured crash 2009-02-19 17:47:16 +00:00
rdb 32fbd87f5e whoops 2009-02-19 13:22:58 +00:00
rdb afb4776754 Made FBO's on linux work again 2009-02-19 13:21:38 +00:00
David Rose ae85a56385 shaders can exceed stated texture stage limits 2009-02-13 14:55:51 +00:00
David Rose a019d736ec fix render-to-texture issue 2009-02-13 14:38:55 +00:00
David Rose ab6081054c set_flash_texture 2009-02-06 01:45:25 +00:00
David Rose 2fc114a01e squelch compiler warning 2009-02-05 20:01:44 +00:00
David Rose 8f5f2d4717 fix perpetual texture reload 2009-02-05 19:43:11 +00:00
David Rose 1a4a978b3a dump texture ram between frames, not during a frame 2009-02-04 16:30:28 +00:00
David Rose 4d0d86c7cb gl-show-texture-usage 2009-02-04 02:53:33 +00:00
rdb 4afcd201a2 Fix FDepthComponent 2009-01-31 18:18:33 +00:00
David Rose df3fe996b9 add DisplayRegion::set_incomplete_render() 2009-01-26 20:40:48 +00:00
David Rose 81f6ebd44e fix various texture and OpenGL issues 2009-01-24 22:45:00 +00:00
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