Commit Graph

46 Commits

Author SHA1 Message Date
rdb 6c89228477 Generic fixes and cleanup for geometry shaders and split shaders 2009-07-28 13:37:09 +00:00
David Rose fb630dc7cf fix from keith leonard 2009-07-01 22:23:13 +00:00
rdb 09c229f2a9 Get FBO's working correctly with OpenGL ES 2009-06-16 13:07:39 +00:00
rdb ca03ef35ac More OpenGL ES stuff 2009-06-15 18:09:44 +00:00
rdb ef4a79028a Revert before someone finds out I broke the build 2009-06-15 16:59:21 +00:00
rdb cbe036c849 This commit adds more+better support for OpenGL ES:
* Support for many OES extensions
  * Support for OpenGL ES 2.x
  * Compile fixes for OpenGL ES 1.x
  * Support for FBO's in both versions
2009-06-15 13:40:42 +00:00
David Rose f42935b8e9 prevent GL error; fix indentation issues etc. 2009-06-03 21:15:23 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose a08b08f8d3 initial iphone stuff, w.i.p. 2009-04-17 18:11:25 +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
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
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
rdb 4afcd201a2 Fix FDepthComponent 2009-01-31 18:18:33 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +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 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 7cb642fc2f more fixes from update_texture() changes 2008-08-26 18:12:00 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Josh Yelon 846c2a9fcc Enabled shader generator to suppress alphatest and alpha-write 2008-05-06 16:27:18 +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
Josh Yelon b3b365c99e Work on issues related to resizing buffers 2008-02-28 23:16:13 +00:00
Josh Yelon 6fe75c8eed Added some error-checking 2008-02-26 23:02:27 +00:00
aignacio_sf 6dfe4ab030 Add depth buffer sharing. 2008-02-13 01:08:36 +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 1ed7f72e86 A minor optimization involving pad regions 2007-10-26 21:55:13 +00:00
Josh Yelon 7c6a8ad215 Workaround for ATI_draw_buffers bug 2007-06-17 05:28:02 +00:00
David Rose cbdb7e76b1 fix blue flash, fix offscreen buffer leakage 2007-03-05 22:07:16 +00:00
Josh Yelon a4bbdb9901 Added support for depth-stencil textures. 2007-02-23 20:18:10 +00:00
aignacio_sf 9189ad4362 Graphics buffer is no longer valid when closed. 2006-09-21 02:56:47 +00:00
David Rose 1940682af9 pass WindowProperties to GraphicsEngine::open_buffer and to related constructors 2006-06-15 14:02:40 +00:00
Josh Yelon e8f749cf1e Buffer/Window creation overhaul 2006-06-07 17:38:32 +00:00
David Rose ddd1046462 factor out Thread::get_current_thread() some more 2006-04-26 07:31:23 +00:00
Josh Yelon 7108474f44 *** empty log message *** 2006-04-11 18:01:16 +00:00
Josh Yelon 9bc87afb04 *** empty log message *** 2006-04-07 20:45:07 +00:00
Josh Yelon 6d0692fec6 *** empty log message *** 2006-04-05 16:47:19 +00:00
Josh Yelon cfdd323a13 FBO changes 2006-03-29 05:02:16 +00:00
Josh Yelon a8ffec28b6 Changes moving FrameBufferProperties into GraphicsOutput 2006-03-23 18:17:27 +00:00
Josh Yelon b2a96df6c9 It now compiles. But does it do anything? 2006-03-22 20:58:22 +00:00
Josh Yelon f35a7469d0 More work on glGraphicsBuffers (will compile soon) 2006-03-22 04:14:46 +00:00
Josh Yelon 4535cdfbba More progress, but still not working 2006-02-18 05:25:06 +00:00
Josh Yelon e62e3b1853 Starting to write actual code 2006-02-03 21:18:21 +00:00
Josh Yelon be1d02eb18 These are just placeholder files 2006-02-01 21:06:00 +00:00