90 Commits

Author SHA1 Message Date
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
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