Sam Edwards
8b876843d4
Merge branch 'master' into cmake
2015-05-02 11:33:52 -07: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
aac24a3a13
Merge branch 'release/1.9.x'
2015-05-01 20:15:54 +02:00
rdb
74f936115e
Force p3d_Vertex to attribute location 0 to fix disappearing geometry when an attribute is not bound
2015-05-01 20:15:00 +02:00
rdb
9303c247b6
Support signed int vertex data, normalize 16-bit uint colors properly, don't normalize int columns passed to shaders
2015-04-30 20:13:36 +02:00
rdb
24ec0d6c46
Merge branch 'release/1.9.x'
2015-04-30 19:57:23 +02:00
rdb
589a1b52ac
Revert unintentional debug message check-in
2015-04-26 15:07:09 +02:00
rdb
2ff9083812
Add support for buffer textures
2015-04-16 16:55:29 +02:00
rdb
d7552f0d8a
Merge in bugfixes from branch 'release/1.9.x'
2015-04-14 15:50:53 +02:00
rdb
0343c4f186
GLSL robustness and issue fixes:
...
* Int params were not being implicitly converted to float properly
* p3d_TextureN now accepts other sampler types
* More error checking for parameter types
* p3d_ColorScale et al also allows vec3 instead of vec4 now
2015-04-14 15:48:48 +02:00
rdb
0c3fd953fc
oops, revert accidental checkin of debug message
2015-04-06 15:11:55 +02:00
rdb
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +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
059f67d1b5
Improve GLSL error reporting, fix GLSL ES shader loading
2015-04-04 20:57:04 +02:00
rdb
87451d8000
Support wireframe and point rendering modes in OpenGL ES
2015-04-04 16:00:19 +02:00
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
Sam Edwards
69c22868e1
Merge branch 'master' into cmake
2015-03-28 10:23:28 -07:00
rdb
b06100afdd
Changes to support building universal Mac rtdist for 1.9
2015-03-28 00:31:10 +01:00
rdb
b894954fda
Better type matching (and error reporting) for GLSL shader inputs
2015-03-24 22:41:13 +01:00
rdb
36525784fd
Robustify GL FBO framebuffer properties handling
2015-03-09 15:27:38 +01:00
rdb
d345246a93
Fix compilation with STDFLOAT_DOUBLE
2015-03-08 15:55:43 +01:00
Sam Edwards
25e2e0221d
Merge branch 'master' into cmake
2015-03-05 09:46:52 -08:00
rdb
97c24c9ef0
Fix a Cg crash with GL_BGRA color arrays, on NVIDIA cards this time
2015-03-01 17:32:20 +01:00
rdb
d447ec3bc6
If GL_RENDERER begins with "Gallium", disable GL_PRIMITIVE_RESTART_FIXED_INDEX
2015-02-15 14:19:47 +01:00
rdb
7ed8cc9831
Add p3d_Color uniform in GLSL shaders
2015-02-11 21:54:34 +01:00
rdb
4d2dcdcef7
Fix OpenGL ES compiler errors
2015-02-11 21:41:48 +01:00
Sam Edwards
6ee1170453
Merge branch 'master' into cmake
...
Conflicts:
panda/src/display/pythonGraphicsWindowProc.cxx
panda/src/putil/config_util.cxx
2015-02-11 09:53:13 -08:00
rdb
bcf0229978
Expose p3d_ClipPlane array to GLSL
2015-02-09 15:57:47 +01:00
rdb
bd86907181
Fix assortment of compilation issues and annoyances
2015-02-08 23:25:11 +01:00
rdb
dad8f79e96
Support using setShaderInput with a light to bind to GLSL struct
2015-02-08 01:42:11 +01:00
rdb
3bf2a0f814
Proper unbinding of GLSL matrix attribute arrays
2015-02-05 13:27:35 +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
3aefaff8b1
Show source filename in GLSL error logs
2015-02-01 19:25:51 +01:00
rdb
a7d1eb90c5
Expose has_extension to query whether OpenGL extension is supported
2015-01-24 21:56:06 +01:00
rdb
0f1243230d
Fix OpenGL error on FBO shutdown
...
(caused by call to glGetError while context was already shut down)
2015-01-24 19:50:25 +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
a7f7d54f10
Support vertex attributes with matrix type
2015-01-19 00:16:59 +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