rdb
a6eb3fa442
Make NodePathCollection and TextureCollection constructors extensions
2015-02-11 14:14:03 +01:00
rdb
cbd70ad8af
Move all Python bindings out of core DLLs into the .pyd files.
2015-02-10 14:30:51 +01:00
rdb
79d025e9a8
Fix incorrect transformation of CollisionBox loaded from .egg file
2015-02-09 20:43:04 +01:00
rdb
8998fef903
Merge branch 'master' of github.com:panda3d/panda3d
2015-02-09 16:53:45 +01:00
rdb
e9a64736a3
Fix 32-bit Windows compilation issues with Eigen
2015-02-09 16:51:59 +01:00
rdb
bcf0229978
Expose p3d_ClipPlane array to GLSL
2015-02-09 15:57:47 +01:00
rdb
b4a87b58f2
Support halfVector struct parameter for GLSL light source inputs
2015-02-08 23:38:07 +01:00
rdb
bd86907181
Fix assortment of compilation issues and annoyances
2015-02-08 23:25:11 +01:00
rdb
91568b02bc
Add EggVertex::make_average(v1, v2)
2015-02-08 19:51:18 +01:00
rdb
f6453fd83e
Fix internal name coercion error with new interrogate system
2015-02-08 13:04:53 +01:00
rdb
b2f73d0877
Merge branch 'master' into interrogate-overhaul
2015-02-08 12:11:19 +01:00
rdb
dad8f79e96
Support using setShaderInput with a light to bind to GLSL struct
2015-02-08 01:42:11 +01:00
rdb
028c09add5
Implicit cast string to InternalName in c++, also optimize for string literals
2015-02-07 16:43:25 +01:00
rdb
78f8f65ef9
Add M_filled_wireframe render mode
2015-02-06 12:15:25 +01:00
rdb
eaabc1bfa5
Add ConfigVariableColor
2015-02-05 13:34:52 +01:00
rdb
3bf2a0f814
Proper unbinding of GLSL matrix attribute arrays
2015-02-05 13:27:35 +01:00
rdb
7c14d1872a
Fix race condition when manipulating node transform in thread (LP #1417715 )
2015-02-04 00:06:14 +01:00
rdb
6b10409890
Fix add_consecutive_vertices / show_bounds crash
2015-02-03 17:18:58 +01:00
rdb
083e160f89
Partially fix excessive event spam when resizing windows
2015-02-02 19:18:32 +01:00
rdb
987ba2083b
Use notify-level-shader instead of gobj for shader logging
2015-02-02 19:03:14 +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
13fb8079ec
Better shader caching, GLSL "#pragma include" support, better error reporting
2015-02-01 17:52:52 +01:00
rdb
9b2e322f29
Display better error when encountering invalid prim index
2015-02-01 17:41:55 +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
a6cf0960fa
Remove EventStorePandaNode, it is no longer necessary
...
(since PandaNode now directly inherits from TypedWritableReferenceCount)
2015-01-24 19:50:14 +01:00
rdb
0a64bdb33b
Fix MouseRecorder & let PandaNode inherit from TypedWritableReferenceCount
2015-01-24 16:12:04 +01:00
rdb
0dc0bbdf0c
Missed this section, no point generating shaders in draw any more
2015-01-23 21:41:43 +01:00
rdb
c3ca2f1a65
Fix regression with Actor loading
2015-01-23 21:24:29 +01:00
rdb
7ba0469148
Shader generation should be done in cull, not in draw
2015-01-23 15:03:50 +01:00
rdb
a56f722c09
GeomPrimitive optimizations & tweaks
2015-01-23 13:54:29 +01:00
rdb
c2aa6991d6
Fix glObjectLabel error, fix crash on shutdown with pstats-gpu-timing
2015-01-23 13:22:31 +01:00
rdb
c5dd6c69dd
fix Loader error reporting
2015-01-23 13:20:14 +01:00
rdb
7b18e5aa41
Merge ../panda3d-git
2015-01-22 17:10:28 +01:00
rdb
eacb420d3f
Merge branch 'master' of github.com:panda3d/panda3d
2015-01-22 17:09:54 +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
536d6e7810
Fix obscure bug with BitMask64::get_next_higher_different_bit()
2015-01-22 14:02:01 +01:00
rdb
142bd6a021
Remove old MLightVector TexGen mode and FFP-based normal mapping
2015-01-22 12:26:22 +01:00
rdb
3423a09f4f
Merge branch 'master' of github.com:panda3d/panda3d
2015-01-21 22:12:53 +01:00
rdb
94e5bbf579
Changes to support a custom GraphicsWindow derivation
2015-01-21 20:32:00 +01:00
rdb
a7f7d54f10
Support vertex attributes with matrix type
2015-01-19 00:16:59 +01:00
rdb
095a402853
Fix window-resizing regression on Windows
2015-01-14 20:23:16 +01:00
rdb
17aafeba15
Fix stencil clear: reset stencil mask before glClearStencil
2015-01-13 03:18:05 +01:00
rdb
0b2a3f0c95
Fix assertion trigger in PandaNode
2015-01-12 21:52:09 +01:00
rdb
763727fbb1
attempted crash fix
2015-01-12 21:34:47 +01:00
rdb
b9899ba747
Cull improvements: tighter sphere generation
2015-01-08 23:17:06 +01:00
rdb
c04cd29246
Cull improvements: don't compute bounds when not necessary
2015-01-08 23:16:38 +01:00
rdb
75c1364373
Disable use of GL_NV_primitive_restart due to driver bugs
2015-01-08 11:43:28 +01:00
rdb
65f786c8ff
Fix #1186845 : get_texture_card() no longer hangs multi-threaded pipeline.
2015-01-08 01:43:14 +01:00
rdb
3c30c8de56
Expose OpenSSLWrapper to Python (as requested)
2015-01-07 23:05:14 +01:00
rdb
6ce891f748
Finally fix the aspect ratio on the blasted FPS meter
2015-01-07 22:34:43 +01:00
rdb
b5a49efc2e
Merge branch 'master' into interrogate-overhaul
2015-01-07 19:34:15 +01:00
rdb
af15797a25
Many, many performance optimizations and enhancements
2015-01-07 19:30:01 +01:00
rdb
b19ff5b10e
Fix crash that may occur when handle_reshape in called before the window is fully created.
...
Not sure if this affects any renderer but the tinydisplay renderer.
2015-01-05 22:38:09 +01:00
rdb
8a5f07f9c3
Forgot two HAVE_FMODEX lines
2015-01-05 18:10:45 +01:00
rdb
e2cdade9d2
Merge branch 'master' into interrogate-overhaul
2015-01-04 20:39:58 +01:00
rdb
936fa653b0
Remove unneeded HAVE_ flags from dtool_config.h generation
2015-01-04 20:34:59 +01:00
rdb
5e905d4463
Fix various parser bugs, improve error reporting
...
(to show the included file chain -vv is now needed)
2015-01-04 20:30:24 +01:00
rdb
34761a0b9b
Merge branch 'master' into interrogate-overhaul
...
Conflicts:
dtool/src/cppparser/cppBison.yxx
2015-01-03 16:52:44 +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
rdb
5e5a04031f
Remove old decal system to simplify cull/draw process a bit more
2015-01-02 15:26:47 +01:00
rdb
e8905b840c
Use C++11 move semantics to dramatically improve PointerTo performance
2015-01-02 15:25:58 +01:00
rdb
6db5d0dc11
Huge cppparser and interrogate overhaul, bringing:
...
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb
9c3553b3fc
Add r8i, rg8i, rgb8i, rgba8i to switches it's missing from
2014-12-30 11:39:40 +01:00
rdb
624b3dad14
Delete DirectX 8 support
2014-12-30 02:00:43 +01:00
rdb
8c0b0990a8
Dramatically improve performance when sorting vectors of PointerTo objects
2014-12-30 00:06:15 +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
cd8c6ee37f
fix compile error on gcc/clang
2014-12-21 14:26:06 +01:00
rdb
01b669ccd8
Implement texture clear, fix immutable tex support
2014-12-21 14:13:49 +01:00
rdb
cb66a51bbc
fmin and fmax should be const methods
2014-12-18 16:58:03 -05:00
rdb
270667ece2
Use sampler states in Direct3D 8
2014-12-12 20:39:24 +01:00
rdb
8a5452b0b6
Support sampler states in tinyGL renderer
2014-12-12 20:32:36 +01:00
rdb
89031b4e48
Fix mipmapping with sampler state
2014-12-12 20:27:08 +01:00
rdb
fe3f4a6d2a
Fix linear mipmapping crash in tinydisplay
2014-12-12 20:18:34 +01:00
rdb
09741ecf33
implement get_next_higher_bit using get_highest_on_bit to benefit from optimisations
2014-12-12 19:16:26 +01:00
rdb
a0409c54c1
Direct3D 9 supports LOD bias
2014-12-12 16:21:09 +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
7d0c1420c2
Bypass view frustum cull entirely when camera has OmniBV
2014-12-11 16:27:51 +01:00
rdb
5aaaf72851
Fix issue with Eigen when matrix determinant is nearly 0
...
also fix error message for singular matrix
2014-12-10 16:32:04 +01:00
rdb
40a40b20cf
Rename EventStoreValue to ParamValue to make it more generic,
...
in anticipation of new parameter system
2014-12-10 00:26:26 +01:00
rdb
3fbdc43fbb
Fix compile errors with clang
2014-12-06 22:38:40 +01:00
rdb
ba25fc540b
I shouldn't forget that green is a colour, too
2014-12-06 16:40:50 +01:00
rdb
bc24576b02
Split up color-bits into red-bits + green-bits + blue-bits
2014-12-06 16:10:01 +01:00
tobspr
0358abfc0e
Added clear_dispatches() to ComputeNode
...
Signed-off-by: rdb <git@rdb.name>
2014-12-06 14:35:20 +01:00
rdb
9567247c9a
Allow using rgb32 and rgb16 for render to texture when alpha-bits is 0
2014-12-06 14:00:17 +01:00
David Rose
cabe17abdb
Merge branch 'master' of https://github.com/panda3d/panda3d
2014-12-04 17:18:12 -08:00
David Rose
255027b18d
add optional undist_lut parameter to PfmVizzer::project()
2014-12-04 17:17:57 -08:00
rdb
0473fa7ead
Simplify oddly redundant StencilAttrib implementation.
...
Also add RenderState::compare_mask().
2014-12-03 22:44:07 +01:00
David Rose
ad449848c2
extend .gitignores for more ppremake files
2014-12-02 09:48:04 -08:00
David Rose
06a4daf9f2
add divide_sub_image()
2014-11-27 02:10:53 +00:00
rdb
1082e75d87
Fix more compiler warnings
2014-11-20 00:22:06 +00:00
rdb
963186e1ec
Fix compiler warning. "const int" return type makes no sense
2014-11-18 19:50:07 +00: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
rdb
2c4fbf08be
Also use MSVC intrinsics for bit scanning (up to 2x as fast on 64-bit systems)
2014-10-31 17:05:10 +00:00
rdb
10a72e595b
Improve pbitops performance by enabling GCC intrinsics when available
2014-10-29 21:18:28 +00:00
David Rose
747e1fe381
we have to install config_framework.h now
2014-10-29 17:00:24 +00:00
rdb
52a4278b80
Fix cwiseProduct compile error when building with Eigen
2014-10-29 12:20:22 +00:00
David Rose
5d5150c5aa
componentwise_mult()
2014-10-28 21:46:15 +00:00
David Rose
5dad10cf78
PfmFile::add_sub_image(), mult_sub_image()
2014-10-28 21:45:41 +00:00
David Rose
7bce2d6124
support GL_RGBA16, GL_LUMINANCE16, GL_LUMINANCE_ALPHA16 etc.
2014-10-28 21:44:45 +00:00
David Rose
df33105e30
workaround for some artifacts with missing points in distortion map
2014-10-28 21:43:27 +00:00
rdb
d3947d4b01
Fix scissoring crash. Also prevent crash when GLSL is not supported.
2014-10-27 16:09:33 +00:00
rdb
d7b21c9aeb
Replace assert with more helpful error
2014-10-27 15:18:49 +00:00
rdb
6d6a4398c6
Change max vertices to 65534 to avoid conflict with strip cut index
2014-10-27 13:25:38 +00:00
rdb
241adfe34d
Implement comparison and hashing in NetAddress. Clean up Socket_Address code a bit.
2014-10-27 12:09:56 +00:00
rdb
5c681a0346
public -> private
2014-10-21 21:40:53 +00:00
rdb
0181fae076
This should fix LP bug #954257 ; replace locked BamWriters mechanism with atomic list.
2014-10-21 20:45:30 +00:00
David Rose
a9d1d1ad54
fix build issue, should include look_at.h instead of look_at_src.h
2014-10-21 18:07:27 +00:00
rdb
3ce705519d
Oops, forgot these two files. Part of cfsworks' patch
2014-10-20 11:02:42 +00:00
rdb
a65b477734
Commit patches by cfsworks:
...
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb
783d8552ef
Fix bin2c to generate an include to stddef.h (for size_t definition)
2014-10-19 22:32:30 +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
902bedc314
Fix Python 3 crash on Windows, and fix some Python 3-related compile errors
2014-10-10 13:45:05 +00:00
rdb
296476f7dd
Fix compile error when compiling with optimize level 4
2014-10-09 14:24:03 +00:00
rdb
7524299de9
Fix regressions with Direct3D support. Add sRGB support to DX9 renderer.
2014-10-08 19:56:28 +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
32a9e4d9ed
Add support for sRGB framebuffers and blending to tinydisplay renderer.
2014-10-08 11:34:41 +00:00
rdb
4ffb512fae
Fix error in get_region_pixels_i that causes crash in tinydisplay
2014-10-08 11:27:40 +00:00
rdb
0a84dd9ca3
Android fixes
2014-10-06 17:44:58 +00:00
rdb
e7c08ec2fe
Fix some errors with shader object labels
2014-10-03 12:21:59 +00:00
rdb
24386cdc1e
Use a table to make InternalName::make more efficient for Python interned strings
2014-10-02 18:28:06 +00:00
rdb
bce1f2dd5a
Commit patch by Technologicat (closes LP #1214782 )
2014-09-26 15:17:14 +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
de95ed855d
Support enumeration of different pixel formats in WebcamVideo, support for RGB pixel formats in Video4Linux
2014-09-24 15:33:40 +00:00
rdb
162786ae3b
Forgot to change these cases of _x_size and _y_size
2014-09-21 13:27:08 +00:00
rdb
0e785de0ff
Fix crash in do_issue_scissor
2014-09-20 20:51:40 +00:00
rdb
c178aba639
Add property support to interrogate (using MAKE_PROPERTY or using published members)
2014-09-19 15:23:52 +00:00
rdb
4be5346a1a
Creating a TypeHandle from Python should properly initialize it to TypeHandle::none()
2014-09-17 21:01:49 +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
579f4c7f47
fix compile error
2014-09-16 19:40:43 +00:00
rdb
b24adbcad1
Fix issues resizing OpenGL FBOs. Use LVecBase2i for storing buffer size.
2014-09-16 14:51:13 +00:00
rdb
89b824597c
fix LP bug 1219422: fix ShaderGenerator errors when LightRampAttrib is in use but no diffuse is present
2014-09-16 13:25:18 +00:00
rdb
e5ec2eaf50
Fix bug on Windows when resizing windows in any way other than dragging them
2014-09-15 16:46:28 +00:00
rdb
9184fe71a9
vectors and matrices should be passed by reference. Fixes compile error on 32-bit windows
2014-09-15 14:39:11 +00:00
rdb
3200bb4443
fix compilation error on 32-bit Windows with Eigen
2014-09-14 23:41:36 +00:00
rdb
87910799b6
Split off epvector.h into its own file in an attempt to cut down compilation time
2014-09-14 22:04:36 +00:00
rdb
0e16497401
Expose DynamicTextGlyph::get_page
2014-09-14 10:42:06 +00:00
rdb
3b60afb12b
Make TextGlyph typed
2014-09-14 10:34:01 +00:00
rdb
1286264952
publish textglyph interfaces to make it easier for people to implement their own font rendering algorithm
2014-09-14 10:17:13 +00:00
rdb
340169c80c
Add load_sub_image
2014-09-13 19:49:17 +00:00
rdb
02e95bdba3
PNMTextMaker constructor should take FreetypeFont
2014-09-13 17:21:38 +00:00
rdb
031005d55e
Fixes for webcams on Linux with MJPEG streams that omit Huffman tables
2014-09-08 11:14:40 +00:00
rdb
bb7a6a3ec4
Fix broken convergence distance calculation, adding a configuration variable to restore the old behavior if needed.
2014-08-20 20:24:13 +00:00
rdb
70f73a5ea1
linmath no longer depends on putil
2014-08-20 19:39:13 +00:00
rdb
a7f2f50236
Move string_utils.* to from putil to dtoolutil
2014-08-20 19:33:55 +00:00
rdb
cd79de19b2
Add more parameters for binding images to shaders.
2014-08-19 20:22:57 +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
enn0x
d658ba7254
Bullet: exposing bounds for single shape and all shapes.
2014-08-06 22:35:15 +00:00
enn0x
aaca66cdc1
Exposing BulletShape.getBounds
2014-08-04 22:41:31 +00:00
rdb
3d19752dc0
Add proper comparison operators and get_hash to ButtonHandle
2014-07-29 13:25:43 +00:00
rdb
0dc6c663a1
Add get_children et al to PandaNode
2014-07-29 13:22:26 +00:00
rdb
24d705b031
The "null" ButtonHandle and TypeHandle now evaluate to false
2014-07-29 11:15:12 +00:00
rdb
82e4500d2a
Add p3d_ModelMatrix, p3d_ViewMatrix, and p3d_ViewProjectionMatrix. Fix osg_ViewMatrix and osg_InverseViewMatrix.
2014-07-27 12:10:52 +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
f805098a03
Let's not name members "_object" since it confuses interrogate when parsing initialiser lists.
2014-07-17 13:12:35 +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
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
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
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
29385dca31
Allow GLSL matrix arrays
2014-06-10 13:35:33 +00:00
rdb
816bedc8ae
Support p3d_ColorScale (thanks wezu) and support 2d texture arrays in GLSL shader inputs (thanks tobspr)
2014-06-10 09:53:54 +00:00
rdb
3753dc5790
Add Carbon to required frameworks (for keyboard mapping detection)
2014-05-29 22:26:55 +00:00
rdb
0f34d7be2c
Fix for depth_component16, 24, 32 in get_external_image_format
2014-05-29 14:11:26 +00:00
rdb
73b72386a0
Remove 'temp hack' preventing the use of multiple GraphicsEngines
2014-05-24 05:14:20 +00:00
rdb
1d43bd0f39
Reset the state and transform before the end_frame callback (needed for Blender integration)
2014-05-22 13:44:36 +00:00
Chris Brunner
3813ff7dde
Allow for mpeg2 files with the m2v extension
2014-04-30 19:49:57 +00:00
enn0x
de4cfbb28b
Fixed bug in BulletManifoldPoint copy assignment operator.
2014-04-27 17:06:00 +00:00
rdb
99a2b963d2
Commit patch by cfsworks to properly copy Lens::CData::_min_fov in copy constructor
2014-04-24 13:01:59 +00:00
rdb
28ba81f82d
Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive
2014-04-24 13:01:01 +00:00
rdb
e665c2a908
Try using our own version of glext and gl2ext for OpenGL ES
2014-04-22 09:17:23 +00:00
rdb
78ed00ef2b
fix uninitialised _frame pointer (thanks cfsworks for pointing it out)
2014-04-18 15:22:56 +00:00
rdb
caad44773b
Commit patch by cfsworks to fix double-free issue with ffmpeg
2014-04-16 13:49:53 +00:00
rdb
5abc6aa2fc
Oops, fix compile error
2014-04-05 21:47:54 +00:00
rdb
6ddab65511
Fix SubprocessWindow compile error
2014-04-04 23:24:46 +00:00
rdb
566feda34d
Commit patch by cfsworks to move pgraph stuff to extensions
2014-04-04 09:23:58 +00:00
rdb
d792c93026
Overhaul stereo FBOs in Panda making it more reliable, fix MRT bugs, disable auto-GLSL profile choosing on AMD, add max_color_targets (not yet implemented)
2014-04-04 08:45:49 +00:00
rdb
95edd07b25
Fix use of chdir
2014-03-29 13:50:55 +00:00
rdb
fd76cff5f0
Patch by phx to support -C in all cases
2014-03-29 09:32:52 +00:00
rdb
528a607f4a
Add FrameBufferProperties argument to WindowFramework
2014-03-20 22:56:53 +00:00
rdb
32ad6785f2
Missing HAVE_PYTHON
2014-03-18 08:24:52 +00:00
rdb
e02d8706f3
Fix EggGroupNode compilation. _ext.cxx sources should not be added to the standard composite files.
2014-03-17 10:12:26 +00:00
rdb
fd09dc0ab2
Add output() and write() to ButtonMap
2014-03-17 09:58:15 +00:00
rdb
e9ec2cbf78
Implement get_keyboard_map on Mac OS X
2014-03-17 09:41:04 +00:00
David Rose
dbc6091cf0
add PfmVizzer::set_aux_pfm() and PfmFile::set_no_data_threshold()
2014-03-13 23:16:21 +00:00