Commit Graph

80 Commits

Author SHA1 Message Date
rdb efa258ebf3 Memory barriers, immutable texture storage, bindless textures, fixes for multisample FBOs, code cleanup, etc. 2014-07-15 08:46:58 +00:00
rdb 601922e49e sRGB texture support, add floating-point flags to FrameBufferProperties 2014-06-19 19:32:03 +00:00
rdb 6454ddddc5 Eliminate GLP() macro (so we can write glEnable instead of GLP(Enable) again). 2014-06-18 21:06:05 +00:00
rdb d792c93026 Overhaul stereo FBOs in Panda making it more reliable, fix MRT bugs, disable auto-GLSL profile choosing on AMD, add max_color_targets (not yet implemented) 2014-04-04 08:45:49 +00:00
rdb 8c12dd1f84 Compile fixes for GLES 2 2014-03-08 12:03:57 +00:00
rdb 82eb82d026 Restructure code slightly to reduce code duplication, fix GLES compile errors 2014-03-05 15:23:12 +00:00
David Rose f615e0beeb fix some stereo-fbo and cube map issues, introducing DisplayRegion::set_target_tex_page() 2013-12-06 23:45:40 +00:00
David Rose 741203a693 some minor debug aids and robustness additions 2013-12-06 20:53:40 +00:00
rdb 64c598abb1 various fixes for FBOs and image formats, including tobspr's patch for F_r16, F_rg16, F_rgb16 support. 2013-09-17 22:08:31 +00:00
rdb eaab45dc9a Support for stereo FBOs 2013-08-25 19:52:31 +00:00
rdb ef9e2def2e A bit more work toward trying to get a framebuffer without color attachment 2013-08-15 09:06:58 +00:00
rdb 3f56259c7f try to fix some FBO bugs on Intel HD Graphics 2013-08-14 22:51:54 +00:00
rdb 2274f2e651 FBO overhaul: support layered framebuffers (RTM_bind_layered), support render-to-2d-array, better respect FrameBufferProperties, more simple handling of RTP_depth_stencil 2013-08-13 12:44:27 +00:00
rdb 31b9233ec6 Fix compilation with OpenGL ES 2013-01-30 11:49:58 +00:00
David Rose de10a2ae4e more bitdepth fixes 2013-01-11 21:01:49 +00:00
David Rose 6a1beaf609 try to report the correct number of depth bits 2013-01-11 02:26:10 +00:00
David Rose 3a75ebde9a DepthOffsetAttrib::min_value, max_value 2012-02-17 19:11:22 +00:00
David Rose 841bfb0743 fix Tut-Fireflies demo (problem with initially zero-sized buffers) 2012-02-12 21:40:16 +00:00
David Rose bb8867fb77 move GSG::get_supports_render_texture() into GraphicsOutput to support render-to-texture on non-Windows platform. Also, further fixes to FBO render-to-texture. 2012-02-11 21:09:35 +00:00
rdb 9afc789755 no GL_MULTISAMPLE in gles 2012-02-11 09:47:02 +00:00
rdb 1c8f6f378a Attempt to unbreak OpenGL ES build 2012-02-11 09:21:54 +00:00
David Rose fffc982206 fixes to depth buffer for cube maps 2012-02-11 02:21:05 +00:00
David Rose abf84dbd0a something's broken with FBO-based cube maps and the depth buffer. Needs more research. 2012-02-08 23:30:46 +00:00
rdb ce696a157e temporarily revert most of zhao's FBO changes, it seems to break a lot of things 2012-01-08 14:00:51 +00:00
Zhao Huang ebc948b3f8 Fixed FBO Float Buffers; Multisample FBOS were left untouched and needs more work. 2011-12-31 21:43:18 +00:00
David Rose e91fb0d53e better implementation of set_one_shot() 2011-10-04 18:05:08 +00:00
David Rose bee4cb326a pipeline GraphicsOutput::set_active() to better support offscreen rendering in threaded mode 2011-10-03 20:23:17 +00:00
David Rose 6872488839 stereo/multiview textures 2011-08-08 18:55:26 +00:00
rdb 730a278372 minor cleanup 2011-03-02 11:33:23 +00:00
rdb 926f4e5b30 NULL -> 0 2011-03-02 11:27:55 +00:00
rdb 009c00d9f1 commit super awesome patch from 11thPenguin 2011-02-13 06:51:18 +00:00
rdb 54769c76b5 Fix compilation error for OpenGL ES 2 2010-04-23 12:13:37 +00:00
rdb 2e503bd284 Fix error message 2010-02-24 15:57:02 +00:00
rdb 98281d31c6 Changes from Keith: glPrioritizeTextures, initial_clear, slightly more helpful error reporting 2009-12-16 08:58:12 +00:00
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