Commit Graph

58 Commits

Author SHA1 Message Date
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 08c29313b2 Reduce redundant state changes, add gl-fixed-vertex-attrib-locations 2015-12-22 20:22:24 +01:00
rdb 49d69a6b36 OpenGL debug tweaks, allow disabling texture LOD functionality 2015-12-15 12:45:50 +01:00
rdb 68f762aa20 Fix leak of prepared contexts, prevent deleting GL resources in wrong context in multi-GSG applications 2015-11-08 00:01:45 +01:00
rdb a24531ff7b Various GL tweaks 2015-08-11 15:45:27 +02:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb 220015a234 Drop support for vertex blend/matrix palette in OpenGL, no driver ever supported it (well) 2015-07-09 14:26:24 +02:00
rdb e2dfc935a1 Various refactoring, esp. of GLSL input system 2015-05-21 14:16:45 +02:00
rdb 07ea84a1a0 Optimize shader matrix generator, allow changing GL internal coord system 2015-05-11 18:07:14 +02:00
rdb b06100afdd Changes to support building universal Mac rtdist for 1.9 2015-03-28 00:31:10 +01:00
rdb 4d2dcdcef7 Fix OpenGL ES compiler errors 2015-02-11 21:41:48 +01:00
rdb 3b1bd9ef39 This fixes most issues with Cg's GLSL profiles on non-NVIDIA cards 2015-02-02 16:31:23 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 0f35480fcf Allow disabling primitive restart index. Also, better handling of unsupported shader languages. 2014-11-03 02:29:05 +00:00
rdb db0fd516a0 Add GPU profiling capabilities to PStats using OpenGL timer queries 2014-09-24 23:53:37 +00:00
rdb cea09d4b9e Turn off gl-immutable-texture-storage by default (it seems to cause trouble on NVIDIA cards, which demand a sized internal format be used) 2014-07-15 12:45:38 +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 a16b98a468 Disable error checking by default for a substantial performance increase 2014-07-03 17:10:41 +00:00
rdb de5031afde gl-dump-compiled-shaders, pstats collector for compute-dispatch call, a few minor other things 2014-06-26 19:13:52 +00:00
rdb 128f82863e Support OpenGL debugging features (see gl-debug).
Also fixed the GLX code not to call reset() on the temp context but on the real context instead.
2014-06-20 13:17:01 +00:00
rdb df30721f79 Seamless cube map sampling in OpenGL 2014-06-18 22:29:50 +00:00
rdb 8d3f7d62f4 Remove use of CLP() macro for config variables 2014-06-18 21:45:20 +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 f23f2a0ea7 Add gl-separate-specular-color, enabled by default 2013-07-28 22:01:36 +00:00
David Rose a8519d5f0b fix color in doc string 2011-08-16 13:36:34 +00:00
rdb d8fe8dda6a Build for OpenGL ES (2) 2009-07-01 10:13:51 +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
David Rose 4d0d86c7cb gl-show-texture-usage 2009-02-04 02:53:33 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose aaa4e12223 gl-finish 2008-04-10 20:18:20 +00:00
David Rose 78a08bafcd gl-min-buffer-usage-hint, gl-debug-buffers 2007-10-19 15:35:43 +00:00
David Rose 1d5038e9f0 gl-max-errors 2007-08-07 03:30:25 +00:00
David Rose 732bbafaa9 define NodePath::premunge_scene() and supporting implementation 2007-05-21 16:05:22 +00:00
Zachary Pavlov 322fad4dd5 fix for debug mode 2006-11-14 04:05:08 +00:00
David Rose c0844239f1 initial rough pass at hierarchical z-buffer visibility. experimental. 2006-03-29 20:28:33 +00:00
Josh Yelon cfdd323a13 FBO changes 2006-03-29 05:02:16 +00:00
David Rose f803ef85ce explicit mipmap control 2006-03-22 22:23:56 +00:00
David Rose 59eaa16056 init glShaderContext 2006-03-21 01:40:33 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose 9dab4ee9ea add gl-support-rescale-normal 2006-01-13 16:02:17 +00:00
David Rose ef0f485932 more egg texture options; add gl-support-clamp-to-border 2005-12-22 18:32:33 +00:00
David Rose ea51a7a6f7 ColorMunger 2005-03-21 17:52:15 +00:00
David Rose 0bcbaa6056 work around driver crash with GL_COMPILE_AND_EXECUTE 2005-03-19 15:36:58 +00:00
David Rose dbed74e410 ibuffers as well as vbuffers 2005-03-18 20:18:57 +00:00
David Rose 85b019feda vertex buffers? 2005-03-18 03:32:08 +00:00
David Rose 001abb0edd unify Texture, ImageBuffer, and PixelBuffer; add 3-d and cube map textures 2005-03-03 20:12:09 +00:00
David Rose 2a39759b85 fix PandaSystem.hasSystem() etc. 2005-02-19 00:00:47 +00:00