Commit Graph

112 Commits

Author SHA1 Message Date
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
rdb 8b67ab31f5 Fix obscure compile error 2016-07-10 16:49:00 +02:00
rdb f06f184850 Prefer core/ARB version of FBOs instead of EXT version 2016-04-14 21:02:35 +02:00
rdb 5a2a9a3020 Merge branch 'release/1.9.x' 2016-04-12 20:46:32 +02:00
rdb 82fdb30957 Fix incorrect format selection for renderbuffers (missing alpha channel) 2016-04-12 20:44:07 +02:00
rdb e73a89705b Improve OpenGL ES support, add OpenGL ES 3 support 2016-04-04 17:00:27 +02:00
rdb 46562b700d Support FBOs without any attachments 2016-03-12 20:42:27 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 88e5cdfd86 More efficient clears for FBO 2015-12-21 17:59:48 +01:00
rdb 75caef56aa Fix another snprintf issue on MSVC 2010 2015-11-28 18:51:47 +01:00
rdb 8822ac0b05 Support DSA version of mipmap generation 2015-11-11 17:08:09 +01:00
rdb 1adb0e48f4 Merge branch 'release/1.9.x' 2015-11-03 20:30:33 +01:00
rdb bd354a9cde Fix crash on shutdown of buffer in threaded pipeline 2015-11-02 16:41:17 +01:00
rdb a24531ff7b Various GL tweaks 2015-08-11 15:45:27 +02:00
rdb e4c3301bd0 Shader context input state tracking system, for more efficiently updating shader inputs 2015-07-28 16:33:34 +02:00
rdb 4206e349c9 Fix obscure GL crash 2015-07-27 12:57:14 +02:00
rdb 8fcbfd72a1 Intel driver fixes (merge) 2015-07-19 09:32:09 +02:00
rdb 23441aa5bb Fix intel driver issues, particularly with geometry shaders 2015-07-19 09:22:57 +02:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb 49e0ff000c Track residency of graphics buffers (both RTT and renderbuffers) 2015-05-18 02:07:35 +02:00
rdb 96de270320 Fall back to depth textures when depth-stencil textures aren't supported 2015-05-11 20:31:10 +02:00
rdb 36525784fd Robustify GL FBO framebuffer properties handling 2015-03-09 15:27:38 +01:00
rdb 4d2dcdcef7 Fix OpenGL ES compiler errors 2015-02-11 21:41:48 +01:00
rdb 0f1243230d Fix OpenGL error on FBO shutdown
(caused by call to glGetError while context was already shut down)
2015-01-24 19:50:25 +01:00
rdb c2aa6991d6 Fix glObjectLabel error, fix crash on shutdown with pstats-gpu-timing 2015-01-23 13:22:31 +01:00
rdb bc24576b02 Split up color-bits into red-bits + green-bits + blue-bits 2014-12-06 16:10:01 +01:00
rdb 9567247c9a Allow using rgb32 and rgb16 for render to texture when alpha-bits is 0 2014-12-06 14:00:17 +01:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb fbc3564bf9 More work on Android port 2014-10-08 15:09:25 +00:00
rdb db0fd516a0 Add GPU profiling capabilities to PStats using OpenGL timer queries 2014-09-24 23:53:37 +00:00
rdb b24adbcad1 Fix issues resizing OpenGL FBOs. Use LVecBase2i for storing buffer size. 2014-09-16 14:51:13 +00:00
rdb 1055c2e0fd Use glClearBufferfv to clear MRTs more efficiently (without having to call glDrawBuffers several times) 2014-08-17 16:41:19 +00:00
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