21991 Commits

Author SHA1 Message Date
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
2ecb06e48d cmake: Add p3dxml to libpanda 2016-12-07 23:43:25 +01:00
rdb
8d305273dd Merge remote-tracking branch 'origin/master' into cmake 2016-12-07 23:05:40 +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
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
Sam Edwards
2cca9f5e35 cmake: Build dxml with TIXML_USE_STL. 2016-12-04 17:14:24 -08: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
Sam Edwards
41f532bea6 cmake: Build p3dxml. 2016-12-04 16:57:29 -08:00
Sam Edwards
53c407e470 travis: Build with CMake on Ubuntu trusty + precise. 2016-12-04 15:21:28 -08:00
Sam Edwards
e1dfd4ee3d cmake: Oops, turn on USE_PANDAFILESTREAM by default. 2016-12-04 15:19:40 -08:00
Sam Edwards
0cbfbe02de cmake: Make sure p3gobj doesn't depend on CgGL. 2016-12-04 14:36:27 -08:00
rdb
84789ecdd1 Fix GL compile error on Mac OS X 2016-12-04 21:28:52 +01:00
Sam Edwards
7ee00365a0 travis: Fix PYTHONPATH for tests. 2016-12-03 17:12:06 -08:00
Sam Edwards
1f5a53619e cmake: Fix PandaModules generation. 2016-12-03 17:10:54 -08:00
Sam Edwards
ae10462b58 cmake: Clean up some pandatool link hacks. 2016-12-03 15:59:59 -08:00
Sam Edwards
a32ace7391 travis: Fix faulty HAVE_GTK2 detection. 2016-12-03 15:39:21 -08:00
Sam Edwards
57fc514bab pnmimagetypes: Try to work around the INLINE macro getting redefined by jpeglib. 2016-12-03 15:05:29 -08:00
Sam Edwards
e46890010a cmake: Don't rely on $<TARGET_PROPERTY:...> in CMake < 2.8.10. 2016-12-02 20:41:22 -08:00
Sam Edwards
3dcde42540 travis: Add CMake buildsystem to Travis config. 2016-12-02 18:00:02 -08:00
rdb
2b6e192e5a Protect against overallocation when reading corrupt texture from bam 2016-12-03 01:04:35 +01:00
rdb
4a8f1839ea 1.9: change to support .whl distribution (putting panda DLLs in panda3d/ dir) 2016-12-01 17:41:07 +01:00
Sam Edwards
e58697bee4 cmake: Fix AutoInclude workaround always being used irrespective of version.
Also fixes Interrogate's reliance on the INTERFACE_INCLUDE_DIRECTORIES target
property before generation time by using a generator expression to determine
Interrogate's include flags.
2016-12-01 02:36:40 -08:00
Sam Edwards
f45b4a7917 cmake: Update for new files added in master. 2016-11-30 19:22:06 -08:00
Sam Edwards
e3fcacb1f7 Merge branch 'master' into cmake 2016-11-30 19:21:50 -08:00
Sam Edwards
573dad8dde general: Fix missing includes. 2016-11-30 19:21:34 -08:00
rdb
6259feb934 Fix issue building against copy of Python that was compiled with MSVC 2010 2016-11-30 00:12:26 +01:00
rdb
335debee54 Fix error building debian package 2016-11-29 23:53:57 +01:00
rdb
728310f96c Merge remote-tracking branch 'origin/release/1.9.x' 2016-11-29 23:48:51 +01:00
rdb
1c957b26b4 Fix for getting R8 and R8G8 formats via FrameBufferProperties 2016-11-29 23:07:37 +01:00
rdb
441b791e57 Fix extract_texture_data for buffer textures 2016-11-29 23:05:01 +01:00
rdb
80af51477a Backport ability to create a pdb zipfile to 1.9 2016-11-29 22:59:51 +01:00
rdb
5ad900a413 Bullet fixes: copying compound shapes, compile warnings, motion state alignment 2016-11-29 22:43:28 +01:00
rdb
948ff8562d Support targeting Windows XP with MSVC 2015 2016-11-29 22:41:46 +01:00
rdb
1e2961f7ef Improve windows installer: .prc file assoc, use DOS newlines for prc, error if installing 64-bit version on 32-bit Windows 2016-11-29 21:54:51 +01:00
rdb
7db45cb647 Make fetching of p3d_LightSource[n] input clearly defined for non-existent lights
Refer to OpenGL 2.1 spec page 61

Closes: #129
2016-11-27 14:25:58 +01:00
rdb
78bf339c41 Fix material shader inputs not being updated properly 2016-11-27 14:24:37 +01:00