rdb
b4bfe7010c
A few convenience methods that allow for cleaner code in GSGs
2015-03-31 13:57:02 +02:00
rdb
0f8f4d63b0
Only query glVertexAttribIPointer when GL version >= 3.0
2015-03-29 18:11:12 +02:00
rdb
d447ec3bc6
If GL_RENDERER begins with "Gallium", disable GL_PRIMITIVE_RESTART_FIXED_INDEX
2015-02-15 14:19:47 +01:00
rdb
4d2dcdcef7
Fix OpenGL ES compiler errors
2015-02-11 21:41:48 +01:00
rdb
bcf0229978
Expose p3d_ClipPlane array to GLSL
2015-02-09 15:57:47 +01:00
rdb
dad8f79e96
Support using setShaderInput with a light to bind to GLSL struct
2015-02-08 01:42:11 +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
a7d1eb90c5
Expose has_extension to query whether OpenGL extension is supported
2015-01-24 21:56:06 +01:00
rdb
0dc0bbdf0c
Missed this section, no point generating shaders in draw any more
2015-01-23 21:41:43 +01:00
rdb
c2aa6991d6
Fix glObjectLabel error, fix crash on shutdown with pstats-gpu-timing
2015-01-23 13:22:31 +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
142bd6a021
Remove old MLightVector TexGen mode and FFP-based normal mapping
2015-01-22 12:26:22 +01:00
rdb
17aafeba15
Fix stencil clear: reset stencil mask before glClearStencil
2015-01-13 03:18:05 +01:00
rdb
75c1364373
Disable use of GL_NV_primitive_restart due to driver bugs
2015-01-08 11:43:28 +01:00
rdb
af15797a25
Many, many performance optimizations and enhancements
2015-01-07 19:30:01 +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
tzaeru
9c137426e3
Integer texture formats for 8-bit R, RG, RGB and RGBA channels
2014-12-22 21:18:34 +01:00
rdb
01b669ccd8
Implement texture clear, fix immutable tex support
2014-12-21 14:13:49 +01:00
rdb
89031b4e48
Fix mipmapping with sampler state
2014-12-12 20:27:08 +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
0473fa7ead
Simplify oddly redundant StencilAttrib implementation.
...
Also add RenderState::compare_mask().
2014-12-03 22:44:07 +01:00
rdb
5ee64279a4
Oops, stupid debug message, how embarrassing
2014-11-04 15:07:01 +00:00
rdb
ce1282c7e3
Fixes for primitive restart index stuff
2014-11-04 14:14:49 +00:00
rdb
0f35480fcf
Allow disabling primitive restart index. Also, better handling of unsupported shader languages.
2014-11-03 02:29:05 +00:00
David Rose
7bce2d6124
support GL_RGBA16, GL_LUMINANCE16, GL_LUMINANCE_ALPHA16 etc.
2014-10-28 21:44:45 +00:00
rdb
d3947d4b01
Fix scissoring crash. Also prevent crash when GLSL is not supported.
2014-10-27 16:09:33 +00:00
David Rose
9f896821e7
fix scissoring during the DisplayRegion's glClear() operation
2014-10-16 00:57:21 +00: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
ab8ebe6e30
Fix issues with point rendering, both software and hardware.
2014-10-11 01:28:32 +00:00
rdb
5f8fffccfe
Add GSG::get_supports_texture_srgb()
2014-10-08 15:13:26 +00:00
rdb
fbc3564bf9
More work on Android port
2014-10-08 15:09:25 +00:00
rdb
a25a9e655e
Support strip cut indices and (using those) support direct rendering of linestrips in OpenGL
2014-09-25 00:16:44 +00:00
rdb
db0fd516a0
Add GPU profiling capabilities to PStats using OpenGL timer queries
2014-09-24 23:53:37 +00:00
rdb
0e785de0ff
Fix crash in do_issue_scissor
2014-09-20 20:51:40 +00:00
rdb
8b7217b4f9
Add an "off" ScissorAttrib, don't apply scissoring to overlay display region so that a full-window clear is truly a full-window clear
2014-09-16 20:44:39 +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
29cfc2b778
Correct CPU mipmap generation for sRGB textures
2014-07-19 16:47:57 +00:00
rdb
0ef51b8723
Support for integer vertex attributes in GLSL
2014-07-18 15:39:49 +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
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
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
6e64ff951c
Add support for passing int arrays and vectors to GLSL shaders.
2014-07-03 21:54:45 +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
a16b98a468
Disable error checking by default for a substantial performance increase
2014-07-03 17:10:41 +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
de5031afde
gl-dump-compiled-shaders, pstats collector for compute-dispatch call, a few minor other things
2014-06-26 19:13:52 +00:00