Commit Graph

259 Commits

Author SHA1 Message Date
rdb 34068dc0c1 Implement support for SSBOs 2016-12-13 21:22:17 +01:00
rdb b1d61b7b10 Fix back-to-front sorting with gl-coordinate-system set to a custom value 2016-12-07 19:36:31 +01:00
rdb 84789ecdd1 Fix GL compile error on Mac OS X 2016-12-04 21:28:52 +01:00
rdb 441b791e57 Fix extract_texture_data for buffer textures 2016-11-29 23:05:01 +01:00
rdb 723c1de520 Fix various emscripten compile issues 2016-04-28 21:15:46 +02:00
rdb f0cd1ce315 ColorBlendAttrib: support separate alpha mode and dual-src blend. bam 6.42 2016-04-08 15:44:57 +02:00
rdb e73a89705b Improve OpenGL ES support, add OpenGL ES 3 support 2016-04-04 17:00:27 +02:00
rdb 82ab126ea7 Add support for glLogicOp via LogicOpAttrib / NodePath::set_logic_op 2016-03-25 17:33:30 +01:00
rdb 46562b700d Support FBOs without any attachments 2016-03-12 20:42:27 +01:00
rdb 711c97ad6d A few glgsg fixes from tobspr 2016-03-02 16:24:38 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 6eb460c359 Add ability to cache compiled GLSL shaders, remove unused ShaderUtilization 2016-01-13 19:58:11 +01:00
rdb 9e14c16e1a Collect supported shader binary formats 2015-12-26 20:07:28 +01:00
rdb 08c29313b2 Reduce redundant state changes, add gl-fixed-vertex-attrib-locations 2015-12-22 20:22:24 +01:00
rdb 927a5bd48b More efficiently manage which vertex arrays are enabled/disabled 2015-12-21 21:23:20 +01:00
rdb 88e5cdfd86 More efficient clears for FBO 2015-12-21 17:59:48 +01:00
rdb dc0f40cadd Use multibind when binding textures and samplers to a shader 2015-12-21 17:59:28 +01:00
rdb 49d69a6b36 OpenGL debug tweaks, allow disabling texture LOD functionality 2015-12-15 12:45:50 +01:00
rdb 735bdaf924 Merge branch 'release/1.9.x'
Conflicts:
	panda/src/glstuff/glGraphicsStateGuardian_src.h
2015-12-10 13:58:24 +01:00
rdb c0f48900e0 More OpenGL compatibility for versions older than 2.0 2015-12-10 13:52:40 +01:00
rdb 8822ac0b05 Support DSA version of mipmap generation 2015-11-11 17:08:09 +01:00
rdb bac5401a9d Add GL function pointers for indirect draw 2015-10-28 13:18:12 +01:00
rdb aca077916d Add flag enabling vertex shader control over point size 2015-10-17 12:11:11 +02:00
rdb 3ece15bba0 Implement texture clears for buffer textures 2015-08-23 17:13:12 +02:00
rdb 782c4db634 Instead of checking every 100 end_frame() calls, check for errors every second. 2015-08-11 19:11:56 +02:00
rdb a24531ff7b Various GL tweaks 2015-08-11 15:45:27 +02:00
rdb c41a4120bc Fix OSX compile error due to Apple's broken glext.h 2015-08-07 21:41:15 +02:00
rdb 62cefcab8b Update glext to make more recent GL functionality available 2015-07-31 13:20:38 +02:00
rdb f22cc71995 Fix double-precision build blibli 2015-07-29 14:07:06 +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 f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb 1bb1cc79f4 Improve reporting of supported extensions and compressed formats 2015-07-19 20:13:55 +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 ef9908c277 More robust Cg support on non-NVIDIA card + automatically enable hardware skinning in Shader Generator 2015-07-07 02:51:48 +02:00
rdb 82e098e578 Move auto-rescale-normal handling out of GSG, support normalizing normals in shader generator 2015-06-13 18:20:18 +02:00
rdb e2dfc935a1 Various refactoring, esp. of GLSL input system 2015-05-21 14:16:45 +02:00
rdb 18533a29bf Merge branch 'release/1.9.x' 2015-05-18 02:08:27 +02:00
rdb 49e0ff000c Track residency of graphics buffers (both RTT and renderbuffers) 2015-05-18 02:07:35 +02:00
rdb 90ad6f00bf Change p3d_Color behavior to take ColorAttrib into account; assign white if missing 2015-05-02 15:48:21 +02:00
rdb fdc8918946 Add packed unsigned 11/10/10-bit floating point vertex format 2015-05-02 14:20:51 +02:00
rdb 2ff9083812 Add support for buffer textures 2015-04-16 16:55:29 +02:00
rdb cda7c1f171 OpenGL ES 2 optimizations and better support 2015-04-04 21:58:29 +02:00
rdb b323d73622 Reduce redundant state changes and error checks 2015-04-04 21:04:27 +02: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 a7d1eb90c5 Expose has_extension to query whether OpenGL extension is supported 2015-01-24 21:56:06 +01:00
rdb 77c9e6cf6c Add support for instance arrays via vertex attrib divisors 2015-01-22 17:04:25 +01:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb 75c1364373 Disable use of GL_NV_primitive_restart due to driver bugs 2015-01-08 11:43:28 +01:00
rdb 3831d44576 Fix issue with resetting ScissorAttrib state
https://www.panda3d.org/forums/viewtopic.php?f=1&t=17505
2015-01-02 22:38:02 +01:00