rdb
e8fbd2f9da
Fix potential crash in shader preprocess code
2016-12-21 18:14:46 +01:00
rdb
62d0d8292e
More texture load/store performance optimisations
2016-12-21 18:04:08 +01:00
rdb
c1d6e93166
Don't link extension modules with libpython; changes to help w/ building whls
...
This fixes compatibility issues with homebrew Python on Mac OS X.
This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux). When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb
92302942fe
Changes to build on ancient Linux distributions (CentOS 5 / manylinux)
2016-12-21 17:40:49 +01:00
rdb
a13fb0e8ca
Fix compilation issue with older ffmpeg versions
2016-12-21 17:35:45 +01:00
rdb
5aa8618572
Don't error if passing an oversized matrix array to a mat4[1] shader parameter
2016-12-20 23:18:05 +01:00
rdb
637767fec8
Flush nout before inducing crash in assert-abort
2016-12-20 23:15:21 +01:00
rdb
1808ad217c
Fix Python 3 error in particle sample in 1.9
2016-12-20 23:14:58 +01:00
rdb
eab2a1a733
Add CP_area_priority for area lights
2016-12-19 23:39:50 +01:00
rdb
b2ccf6c0d2
Add ability to produce .whl file
...
Based on original version by pennomi
Closes : #83
2016-12-19 23:35:05 +01:00
rdb
04819719fb
Fix erroneous report in installer while installing libs
2016-12-19 23:32:23 +01:00
rdb
da79c28a6c
Add RectangleLight class
2016-12-19 23:29:42 +01:00
rdb
4b5c317160
Improve shader caching; cache result of preprocess if cache-generated-shaders is set
2016-12-19 22:26:16 +01:00
Mitchell Stokes
74a7d4ee48
deploy-ng: Remove Python version string from the filename of copied extension modules
2016-12-18 15:02:49 -08:00
Mitchell Stokes
2923af7d44
deploy-ng: Add bdist_panda3d command to create archives for each built platform
...
Linux platforms use tar.gz and everything else (Windows, macOS) uses
zip. Later we will want to add an option to control this. Also,
bdist_panda3d currently auto-runs build. We will want an option to skip
this build step for debug/testing purposes.
2016-12-18 14:42:15 -08:00
Mitchell Stokes
ca036a56f2
deploy-ng: Add setup.py to the asteroids sample
2016-12-18 11:46:21 -08:00
Mitchell Stokes
086e61f9c3
deploy-ng: Replace startfile keyword with applications
...
applications is a list of Application objects. The Application
constructor takes two arguments: scriptname and runtimename. The
scriptname argument is the path to the Python script that acts as the
entry point to the application. The runtimename argument is the name
that will be given to the frozen runtime.
2016-12-18 11:43:40 -08:00
Mitchell Stokes
7bf2b12f09
deploy-ng: Replace game_dir keyword with directories, files, and exclude_paths
...
Also, mainfile has been replaced with startfile.
2016-12-18 11:32:56 -08:00
Mitchell Stokes
3ab9bde73d
deploy-ng: Only build deploy-stub if Python is available
2016-12-18 10:53:40 -08:00
rdb
36f2eda9ec
Fix name of "Buffer switch" pcollector in pStatProperties.cxx
2016-12-18 00:12:26 +01:00
rdb
da0d7752c1
Register .webm extension for videos
2016-12-18 00:08:59 +01:00
rdb
b6cb9b0045
ffmpeg: support videos with alpha; add ffmpeg-prefer-libvpx prc var
...
ffmpeg-prefer-libvpx forces ffmpeg to use the libvpx decoder for VP8/VP9 files, allowing the playback of WebM files with an alpha channel.
2016-12-17 00:17:30 +01:00
rdb
34068dc0c1
Implement support for SSBOs
2016-12-13 21:22:17 +01:00
rdb
23645cc407
Fix DDS load crash with certain formats; support R16, RG16, R32, RG32
2016-12-13 21:00:11 +01:00
rdb
2dab76131c
deploy-ng: support nested extension modules; omit unused panda3d.x modules
2016-12-11 19:38:14 +01:00
rdb
b21e8fdf32
COW performance tweaks; also somehow fixes Bullet soft body issue
2016-12-11 15:30:03 +01:00
rdb
9eb04a533d
More texture load/store performance optimisations
2016-12-09 01:41:32 +01:00
rdb
c422f5952f
Increase default alignment to 2x word size, make DeletedBufferChain allocations more efficient
...
NB. NeverFreeMemory no longer performs alignment.
This fixes the Bullet crash on Win64. Need to check Win32.
2016-12-08 23:22:16 +01:00
rdb
bae19a203b
deploy-ng: changes to make it work on Windows
2016-12-08 13:21:10 +01:00
rdb
32377cb618
interrogate: fix to allow pointers to forcetyped classes
2016-12-07 23:04:15 +01:00
rdb
b217752e16
Merge remote-tracking branch 'origin/release/1.9.x'
2016-12-07 23:03:16 +01:00
rdb
a1338b9ac6
Backport to 1.9: fix for distance sorting with gl-coordinate-system changed
2016-12-07 23:00:06 +01:00
rdb
83d54bcdaf
Try to preserve refresh rate when switching display mode on Windows
2016-12-07 22:57:53 +01:00
rdb
b1d61b7b10
Fix back-to-front sorting with gl-coordinate-system set to a custom value
2016-12-07 19:36:31 +01:00
rdb
ceee5e9df9
Show texture names in glBindTexture() calls in spam output
2016-12-07 19:32:01 +01:00
rdb
e778c529b2
Implement Python 3.6 fspath protocol; allow passing a pathlib.Path wherever Filename is expected
...
The Python 3.6 fspath protocol allows passing Filename objects into any Python standard library calls that take a path.
2016-12-07 00:42:44 +01:00
tobspr
3fa5b6b4ee
Add prc variable to force image bindings as writeonly ( #131 )
2016-12-06 18:42:08 +01:00
rdb
0002030e86
deploy-ng: fix missing Py_DecodeLocale definition error
2016-12-06 02:32:08 +01:00
rdb
4335e3759a
Update Py_FrozenMain to work with Python 3.2
2016-12-06 02:14:39 +01:00
rdb
f001bd20d7
deploy-ng: fix issues with Mac/Python 2 build
2016-12-05 18:55:04 -05:00
rdb
70386795f4
Merge branch 'master' into deploy-ng
2016-12-05 18:10:49 -05:00
rdb
b182224463
interrogate: fix issues with abstract classes and covariance (fixes EggPolygon constructor)
2016-12-05 17:22:24 -05:00
rdb
6344c05b18
Clean up dynamic loading of Win32 funcs, remove makepanda touchinput setting, remove checks for pre-WinXP
2016-12-05 17:21:09 -05:00
rdb
c410d812ff
Remove some settings from dtool_config.h to prevent rebuilds:
...
- HAVE_OPENCV
- OPENCV_VER_23
- HAVE_FFMPEG
- HAVE_SWSCALE
- HAVE_SWRESAMPLE
2016-12-05 16:32:13 -05:00
rdb
83507e413f
Fix Mac OS X Snow Leopard build
2016-12-05 16:30:44 -05:00
rdb
46c8990f40
Switch to clang by default on Mac; drop burden of supporting GCC 4.2
...
Also get rid of that annoying message about -pthread in clang.
2016-12-05 16:14:24 -05:00
rdb
a056543d5a
Support push_macro and pop_macro in cppparser
2016-12-05 02:02:25 +01:00
rdb
6dc6b05409
Merge remote-tracking branch 'origin/release/1.9.x'
2016-12-05 02:01:44 +01:00
rdb
84789ecdd1
Fix GL compile error on Mac OS X
2016-12-04 21:28:52 +01:00
rdb
2b6e192e5a
Protect against overallocation when reading corrupt texture from bam
2016-12-03 01:04:35 +01:00