20064 Commits

Author SHA1 Message Date
rdb
e98618b105 Only use constexpr when the compiler conforms to C++11 2014-07-21 15:41:31 +00:00
rdb
29cfc2b778 Correct CPU mipmap generation for sRGB textures 2014-07-19 16:47:57 +00:00
rdb
875f4d9ddf Fix GLSL bug on nvidia cards with disabling vertex attribs 2014-07-18 19:24:39 +00:00
rdb
b60fce49b5 Support generating mipmaps for 32-bit float textures 2014-07-18 18:23:29 +00:00
rdb
0ef51b8723 Support for integer vertex attributes in GLSL 2014-07-18 15:39:49 +00:00
rdb
67a289fe4a Shader generator should use float3 for normals, not float4 2014-07-18 14:34:24 +00:00
rdb
4856804938 Add shininess shader input 2014-07-18 14:21:45 +00:00
rdb
c257ce624e Interrogate overhaul that dramatically increases performance for the simpler methods 2014-07-18 13:54:38 +00:00
rdb
a76a011105 Fix bugs with Cg shaders 2014-07-18 11:32:31 +00:00
rdb
dba717fe83 GCC 4.7 enables constexpr, not 4.6 2014-07-17 16:18:04 +00:00
rdb
f805098a03 Let's not name members "_object" since it confuses interrogate when parsing initialiser lists. 2014-07-17 13:12:35 +00:00
rdb
1be0fb5169 Add atomic adjust impl that uses GCC intrinsics. Also, make use of "constexpr" when available. 2014-07-17 13:11:06 +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
3983c0de05 Oops, I checked in too much 2014-07-15 11:16:56 +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
de54dda8c1 Add convenience methods to turn geometry into patches 2014-07-13 17:09:14 +00:00
rdb
ce88a95ddc dump-generated-shaders should truncate file when writing 2014-07-13 15:00:22 +00:00
rdb
bed35751ec Comment out bin2c compilation since it conflicts with PyCUDA, and it's a bit of an esoteric tool anyway. 2014-07-11 12:22:31 +00:00
rdb
2dd503df00 Improve font crispness dramatically by setting text-minfilter to linear by default 2014-07-08 20:24:00 +00:00
rdb
274659cdc3 Fix compile issue on Mac OS X with GLhandleARB 2014-07-07 23:28:40 +00:00
rdb
dda0d9c15f check in 32-bit float texture formats 2014-07-07 19:49:25 +00:00
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