rdb
410049fd4b
Improvements for ShaderGenerator-based programs:
...
* Disable state munger, which isn't needed
* Reflect updates to TextureStage properties (Fixes #178 )
* Also respect combine mode and rgb scale changes
* Allow rehashing and clearing generated shader cache
State munger is now disabled whenever any shader is applied. Panda assumes that any custom shader will apply color scale by itself.
2017-10-18 11:16:29 +02:00
rdb
6ecfcb1fd3
Store munged states more efficiently, without weak key maps
2017-10-17 23:21:38 +02:00
rdb
8078fa2b38
More efficiently store SimpleHashMap with empty values
2017-10-17 23:04:16 +02:00
rdb
dee8d83998
interrogate: fix regression with setter of MAKE_PROPERTY2
...
See also tobspr/RenderPipeline#86
2017-10-17 21:18:51 +02:00
rdb
bb60e8c373
display: fix segfault when output is removed during render
...
Fixes : #176
2017-10-15 18:48:53 +02:00
rdb
0db3d27247
ShaderGenerator: fix updating color of combine stages with CS_constant
...
This also changes the function of TextureStage::uses_color(), which no longer incorporate TextureStage::involves_color_scale()
Fixes : #177
2017-10-15 17:06:59 +02:00
rdb
51d948a7fa
Support compilation for Python 3.7
2017-10-13 12:40:47 +02:00
Eric Klawitter
5758fdf8f5
Fix 'of of' doc typos
2017-10-09 14:56:40 -05:00
rdb
464cd5fc8b
Replace __builtin_expect macros with LIKELY/UNLIKELY
2017-10-09 00:22:28 +02:00
rdb
bf190f7306
interrogate: support MAKE_MAP_PROPERTY
2017-10-09 00:02:46 +02:00
rdb
0e2b14cf4c
pgraph: custom binding for set_shader_input()
...
Should be faster and more reliable at PTA handling
We no longer need the interrogate perf hack for the first-arg InternalName
Fixes : #161
2017-10-08 17:50:28 +02:00
rdb
8ed85c80c8
linmath: permit single-argument/fill value for UnalignedLVecBase4
2017-10-06 23:59:17 +02:00
rdb
dfa47e55ce
express: fix PTA get_data in Python 3, fix CPTA construction
...
Fixes : #173
2017-10-06 18:24:32 +02:00
rdb
5ac3ccb6f6
Remove pointless direct/metalibs directory
2017-10-06 14:54:36 +02:00
rdb
be8f4de337
display: add_render_texture should set correct texture format
2017-10-05 17:35:31 +02:00
rdb
85a9cdd052
Add a way to get access to OpenGL texture index
2017-10-05 17:34:26 +02:00
Younguk Kim
b71ee446e3
Add has_hook functions taking function pointer or callback data in EventHandler
2017-09-24 02:46:00 +09:00
rdb
1583196022
pystub: fix faulty definition of PyTuple_Type symbol
2017-09-19 19:41:18 +02:00
rdb
019df482d6
windisplay: fix origin not changing upon window being dragged
2017-09-19 19:16:48 +02:00
rdb
7ff8b62fb8
interrogate: various fixes:
...
* handle static methods with explicit self
* fix len() and __setitem__ of mapping types
* fix inheritance of __getattr__ and __setattr__
* fix overload resolution error with nullptr_t arguments
* bool overloads now come after float/double overloads
* record whether class is final in interrogatedb
* add Dtool_EmptyTuple
* optimization for final classes: no need for downcast
2017-09-19 18:46:21 +02:00
rdb
4018efc50d
Fix travis build
2017-09-19 17:49:04 +02:00
rdb
35349b6224
Expose DatagramOutputFile to Python, add props to DatagramSink
2017-09-17 01:38:59 +02:00
rdb
b8cb517152
actor: comment out unused line of code
...
Fixes #170
2017-09-16 22:04:16 +02:00
rdb
82eec0302b
ShaderGenerator: fix point light shadow regression
...
Fixes : #167
2017-09-04 13:03:37 +02:00
kamgha
f09d767c6e
pnmimagetypes: introduce png-compression-level PRC variable
2017-08-31 13:03:17 +02:00
rdb
1f017997f9
stdpy: fix issues with direct.stdpy.threading thread cleanup
...
Fixes : #164
2017-08-30 13:00:02 +02:00
rdb
a925e0bcd9
x11: fix loading 24-bpp ico/cur image alpha with width 24
2017-08-29 23:51:15 +02:00
rdb
c66b4792d7
stdpy: protect against thread error when interpreter shuts down
2017-08-29 23:50:16 +02:00
rdb
1dc02f6a28
stdpy: fix direct.stdpy.threading cleanup issue after thread runs
...
Fixes : #164
2017-08-27 16:56:16 +02:00
rdb
2d1f0e4866
stdpy: update threading modules
2017-08-27 16:53:41 +02:00
kamgha
b9437316b4
Add snake-case function names for 'threading2'-module
...
Closes : #165
2017-08-27 16:33:03 +02:00
rdb
bbdc5d2341
pnmimage: mark many heavy methods as BLOCKING to release GIL
2017-08-22 20:04:59 +02:00
Younguk Kim
99cf21acec
Fix failure to load DLL with unicode path
...
- Change LoadLibrary API to unicode version on Windows
2017-08-22 23:42:42 +09:00
rdb
3e6dc3b046
Fix Python 3.2 compilation error
2017-08-07 23:32:45 +02:00
Younguk Kim
114aee1d6a
Add additional Windows SDK path
...
Windows 10 SDK binary files are installed in versioned folder from Creator Update (10.0.15063.0)
2017-08-07 23:06:18 +02:00
rdb
4fae81947e
Fix regression (since 6f8b379) causing crash in flattening edge case
2017-08-07 23:00:28 +02:00
rdb
e3d8123940
glsl: fix broken shadowMatrix as member of named light input
...
Fixes : #157
2017-08-07 22:58:02 +02:00
rdb
d1c34c3360
interrogate: support static properties
2017-08-07 22:04:56 +02:00
rdb
65ae1e16bc
ShaderGenerator: support multiple normal maps
...
Uses Reoriented Normal Mapping to blend additional normal maps.
Fixes #156
2017-07-15 20:17:29 +02:00
rdb
f79fbf25c3
ShaderGenerator: big overhaul, don't generate more shaders than needed
2017-07-10 21:55:27 +02:00
rdb
1b690e528f
vfs: don't crash if copy_file can't open output file (LP 1687283)
2017-07-10 21:13:57 +02:00
rdb
8b3ad7348e
cocoa: fix broken mouse events in fullscreen on macOS (LP 1500026)
2017-07-10 19:53:53 +02:00
rdb
925ce854d0
general: make DO_MEMORY_USAGE setting not change ABI compatibility
2017-07-10 19:50:09 +02:00
rdb
5fffbbce47
express: error if Windows-style path is used (LP 1429241)
2017-07-10 14:25:41 +02:00
rdb
2e5051ac04
bullet: fix crash when adding non-indexed GeomTriangles to trimesh
2017-07-10 01:54:37 +02:00
rdb
7228bc7e5f
Fix NATIVE_WORDSIZE on 64-bit Windows (fixes memory alignment)
2017-07-10 01:51:12 +02:00
rdb
9a40febdb9
shadows: fix light buffer not being destructed after light removal
...
Fixes LP 1672089
2017-07-09 20:36:13 +02:00
rdb
1fd8af5acd
express: add C++11 methods to ordered_vector
2017-07-09 19:56:56 +02:00
rdb
84520ce21c
display: prefer 24-bit depth buffer on Intel over 16-bit
2017-07-09 19:53:23 +02:00
rdb
a866f9fbcb
audio: fix case of get_speaker_setup/set_speaker_setup methods
2017-07-09 15:47:09 +02:00