19993 Commits

Author SHA1 Message Date
rdb
40c880a1c0 Viewport array support on DisplayRegion. Not 100% sure if I want to end up sticking to this design, but it works. (I may revert this later.) 2014-07-07 19:10:15 +00:00
rdb
37da1427c0 Don't try to build check_adler and check_crc when ZLIB support has been disabled. 2014-07-07 12:32:40 +00:00
rdb
e5447a5fcd Use LVecBase4i to store _pixels in DisplayRegion 2014-07-06 10:26:09 +00:00
rdb
d5a61d3705 Accept integer samplers 2014-07-06 09:42:19 +00:00
rdb
03eddda4a2 Add more integer versions of set_shader_input 2014-07-04 17:34:49 +00:00
rdb
89c5f6f602 Allow using PTA's for float vectors 2014-07-04 14:47:41 +00:00
rdb
667b3a2729 Allow passing ints to set_shader_input 2014-07-04 12:16:35 +00:00
rdb
0b8d9fd08e Fixes for OpenGL ES 2014-07-03 22:24:34 +00:00
rdb
a3d80ae3eb Use explicit cast to try and squelch compile error 2014-07-03 22:06:51 +00:00
rdb
66e98f8c70 Allow passing matrices to GLSL shaders either via NodePath or directly as a Mat4 2014-07-03 21:59:22 +00:00
rdb
f8675fcd7b Allow calling dispatch_compute directly to GraphicsEngine 2014-07-03 21:57:33 +00:00
rdb
44aea55a66 Int shader inputs 2014-07-03 21:56:55 +00:00
rdb
6e64ff951c Add support for passing int arrays and vectors to GLSL shaders. 2014-07-03 21:54:45 +00:00
rdb
cc35d0dd41 Allow Shader parameter in ShaderAttrib::make 2014-07-03 19:14:36 +00:00
rdb
0e1f261ca5 Add F_r32i texture format (useful for atomic image writes from shaders) 2014-07-03 17:39:53 +00:00
rdb
7a610cc198 Revert accidental checkin of memory barrier 2014-07-03 17:11:17 +00:00
rdb
a16b98a468 Disable error checking by default for a substantial performance increase 2014-07-03 17:10:41 +00:00
David Rose
e7fd70c2bc fix some build issues on windows/ppremake 2014-07-01 17:42:24 +00:00
David Rose
a0fa038ec4 support 32-bit as well as 16-bit AE displacement maps 2014-07-01 17:41:26 +00:00
David Rose
06b2e69a49 support floating-point tiff files 2014-07-01 17:40:37 +00:00
rdb
a726ccf303 Fixes for image binding 2014-06-29 10:07:38 +00:00
rdb
ce6f243019 Clean up glShaderContext, separate GLSL shader context from Cg shader context 2014-06-29 08:28:16 +00:00
rdb
bddb2f6806 Fixes for apiclip_x (also change some invert operations to make use of inversion cache) 2014-06-28 15:45:29 +00:00
rdb
5d1e507aef Implement broken apiclip_of_x 2014-06-28 11:37:15 +00:00
rdb
2142fbb45b frame-rate-meter-milliseconds 2014-06-27 15:49:58 +00:00
rdb
cba254d0bc Add wstring type handle. Also add some useful MAKE_SEQs. 2014-06-26 20:06:04 +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
0a8b35bcea Add PTA class for integer vectors 2014-06-25 08:37:03 +00:00
rdb
756cc27589 Fix date 2014-06-25 08:36:41 +00:00
rdb
575e3dee85 Remove mesa from pandasymbols 2014-06-25 08:35:52 +00:00
rdb
8beac06328 update_texture should always make sure that there is a texture created, even if there is no image available 2014-06-20 15:04:39 +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
ef9f985406 Add ComputeNode to Sources.pp 2014-06-19 23:30:58 +00:00
rdb
633bbbafce Fix for MSVC compile issue 2014-06-19 21:56:59 +00:00
rdb
c9e00acd4b Check in cg-glsl-version variable. 2014-06-19 21:39:08 +00:00
rdb
39a321d0ba Compute shader support under OpenGL :-) 2014-06-19 21:29:35 +00:00
rdb
e8612f6ced Provide up-to-date wglext.h 2014-06-19 20:37:28 +00:00
rdb
1d5a95fb22 Fix broken include 2014-06-19 19:49:39 +00:00
rdb
1dc15d821f WGL srgb framebuffer support 2014-06-19 19:37:05 +00:00
rdb
601922e49e sRGB texture support, add floating-point flags to FrameBufferProperties 2014-06-19 19:32:03 +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
5a88e20894 Allow creating a buffer under a callback GSG 2014-06-18 21:02:28 +00:00
rdb
c33ef307d6 Delete MesaGL renderer, it seems not to be used any more 2014-06-18 14:59:11 +00:00
rdb
e4747ebf50 Extremely experimental support for GL_ARB_shader_image_load_store 2014-06-15 12:57:58 +00:00
rdb
37f9858e1b Add p3d_Material in GLSL 2014-06-11 21:54:15 +00:00
rdb
0090ebc465 more backward compatibility for GeomVertexWriter 2014-06-11 18:44:43 +00:00
rdb
5dae464394 Add integer vectors. Also add __pow__ operator to vectors. 2014-06-11 18:01:50 +00:00
rdb
634190281d Support __pow__ in interrogate 2014-06-11 17:17:45 +00:00