Sam Edwards
404cfa3fff
CMake: Install audiotraits headers
2019-01-13 21:03:01 -07:00
Sam Edwards
052004d06b
CMake: Detect Opus
2019-01-13 12:04:48 -07:00
Sam Edwards
8a2375a5f1
CMake: Detect Ogg+Vorbis
2019-01-13 11:58:09 -07:00
Sam Edwards
a0e12f4211
CMake: Use the SKIP_COMPOSITING flag on some files
...
Files excluded from compositing are (from makepanda):
dtool/src/dtoolbase/indent.cxx
panda/src/display/graphicsStateGuardian.cxx
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx
panda/src/grutil/multitexReducer.cxx
panda/src/pgraph/nodePath.cxx
panda/src/pnmimage/convert_srgb_sse2.cxx (due to being compiled w/ SSE2)
2019-01-12 15:00:03 -07:00
Sam Edwards
654abdc5eb
CMake: Detect when to set OPENCV_VER_23/OPENCV_VER_3
2019-01-06 15:37:14 -07:00
Sam Edwards
1a17808991
Merge branch 'master' into cmake
2019-01-06 15:37:07 -07:00
Sam Edwards
0cd850fbb4
vision: Allow including from OpenCV's videoio, for 3.x+
...
This commit doesn't add buildsystem support yet.
2019-01-06 15:33:11 -07:00
rdb
d106fd6a3a
device: added checks, robustness, debug output for Windows raw input
2019-01-05 22:00:34 +01:00
Sam Edwards
0a4c0e53b7
CMake: Move p3glxdisplay from the Core component to OpenGL
2019-01-05 12:17:12 -07:00
rdb
7e562b0eb3
device: remove unused variables on Windows
2019-01-03 16:01:10 +01:00
rdb
8cdeb9b60b
device: fix a case issue in include statement
2019-01-03 15:34:30 +01:00
rdb
3e22578529
New branding images for 1.10.0
2019-01-03 14:44:17 +01:00
Sam Edwards
d4df1b3762
Merge branch 'master' into cmake
2019-01-02 06:09:15 -07:00
Sam Edwards
6e951773a6
pipeline: (Light)ReMutexDirect should include thread.h
...
Thread methods are used in the respective .I files, so
an incomplete forward declaration won't suffice here.
2019-01-02 01:41:25 -07:00
rdb
c365beaf11
device: hide Steam Controller on Linux while Steam is running
...
When Steam runs, it mutes all input from the Steam Controller and instead registers a virtual gamepad that obeys the Big Picture controller remapping. We want to make sure to pick that one, since the "real" Steam Controller doesn't report any events while the virtual device is active. So we carefully consider the "real" Steam Controller "inactive" if the presence of the virtual device is detected, until the virtual device is disconnected (ie. when Steam is closed) or if it turns out that it is generating events after all, in which case it gets automatically reactivated.
This is a bit of a hack, maybe there is a cleaner way of doing this.
2019-01-02 00:56:40 +01:00
rdb
dccf8074fd
android: fix compile errors in androiddisplay module
2019-01-01 22:05:26 +01:00
rdb
a02920bb42
device: detect XInput devices on start-up
...
This is needed to handle cases where XInput is being emulated, such as when running via Steam with the Steam Controller active. Steam's shim does not send out WM_INPUT_DEVICE_CHANGE events.
2019-01-01 16:27:55 +01:00
rdb
2bde2baed2
device: a couple of fixes with Windows device input
2019-01-01 16:23:16 +01:00
rdb
c61b480a41
Revert "bam2egg: support exposed joints properly"
...
This reverts commit dee4cd6201 .
Fixes #237
2018-12-31 17:07:42 +01:00
rdb
6559932c7b
ShaderTerrainMesh: silently reload texture if it has no RAM image
...
Fixes #492
2018-12-31 16:28:27 +01:00
rdb
f3ba1d317c
device: support for Steam Controller on Linux
...
Adds lgrip and rgrip button handles, which are present on Steam Controller but also on the Oculus Touch
2018-12-31 16:10:56 +01:00
rdb
4699dfcd5b
ShaderGenerator: fix toggling shadows while shader gen is on
2018-12-31 14:07:14 +01:00
rdb
83374de0ff
shader: don't use GENERIC profile to compile Cg shaders
...
Instead, make an educated guess of what the GSG we are going to be compiling this shader for wants to use as profile.
2018-12-31 14:01:26 +01:00
rdb
9382e09b7c
display: fix returning reference to temporary in shader input
...
This might cause issues when the transform cache is off.
2018-12-31 13:13:45 +01:00
rdb
8119547e90
device: add hacky detection of Trust GXT 24 as gamepad for now
2018-12-31 13:12:40 +01:00
rdb
0cfd86d0f4
glgsg: warn if Cg shader uses float4 vtx_normal
...
See #495 ; Cg's glslv profile does not handle a float4 vtx_normal well and causes garbage to be in the w coordinate.
2018-12-31 13:11:33 +01:00
rdb
42405dff2e
pnmimagetypes: fix allocation efficiency in PNG reader
...
Rather than making one allocation per row, it instead makes one allocation for all rows.
2018-12-30 20:13:12 +01:00
rdb
73083127bf
x11display: bypass compositor when switching to fullscreen mode
2018-12-30 16:59:32 +01:00
Sam Edwards
3122bf3506
CMake: Fix p3device build on macOS
2018-12-29 04:52:26 -07:00
Sam Edwards
952031455c
express: Remove stray reference to DConfig
2018-12-29 02:29:56 -07:00
Sam Edwards
6c5bf73141
CMake: Don't build pview/downloadertools when BUILD_PANDATOOL=OFF
2018-12-29 02:02:52 -07:00
Sam Edwards
e512ee5fa5
CMake: Update for upstream changes
...
The main change here is that input-overhaul landed, so this
commit adds all of those files to the CMake side.
This also reverses the dependency relationship between
p3device and p3display: the latter now requires the former.
2018-12-28 22:19:17 -07:00
Sam Edwards
3b194c75e4
Merge branch 'master' into cmake
2018-12-28 22:15:44 -07:00
Sam Edwards
66d145e2d2
CMake: Oops, fix some macOS linkage mistakes
2018-12-28 22:14:05 -07:00
Sam Edwards
4504530fd5
CMake: Also export FFmpeg/VRPN/DX9/VRPN
...
I forgot to add these exports before.
See bddd7c1b4b
2018-12-28 22:14:00 -07:00
Sam Edwards
5d74411c37
display: Fix export/import macro for MouseAndKeyboard
...
It was moved here from device, so we should not use
EXPCL_PANDA_DEVICE anymore.
2018-12-28 20:59:14 -07:00
Sam Edwards
bc2450441d
device: Fix some includes
2018-12-28 20:59:09 -07:00
rdb
31c532387e
pgraph: remove unused weakKeyHashMap.h import
2018-12-28 21:36:16 +01:00
rdb
30446952cb
putil: remove no-longer-used WeakKeyHashMap for now
2018-12-28 21:26:46 +01:00
Sam Edwards
bddd7c1b4b
CMake: Generate/install exported target sets
2018-12-27 17:39:22 -07:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
981c44f636
glgsg: fix misleading errors from p3d_LightSource[].shadowMap
2018-12-26 23:31:48 +01:00
rdb
669a655366
Fix ShaderBuffer cleanup assertion with state cache disabled
2018-12-26 22:47:14 +01:00
Donny Lawrence
f29643dd14
cocoa: Prevent a deadlock when using SIMPLE_THREADS on macOS
...
Closes #491
Fixes #490
2018-12-26 22:47:14 +01:00
Donny Lawrence
0fa0ad673f
cocoa: use CVDisplayLink on macOS to sync video to display(s)
...
Closes #487
Fixes #486
2018-12-24 13:36:13 +01:00
rdb
8cb7f7d9c0
ffmpeg: don't hold AV lock while fetching first packet/frame
...
This allows loading multiple videos side-by-side more effectively.
Closes #397
2018-12-23 22:28:12 +01:00
rdb
e2574af82d
collide: create compatibility header collisionTube.h
...
This is a separate commit from the previous one in order not to confuse Git's rename tracking.
2018-12-23 22:28:12 +01:00
rdb
bd6ef2b0ea
Rename CollisionTube to CollisionCapsule (bam 6.44)
...
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.
Fixes #347
2018-12-23 22:28:06 +01:00
rdb
b40ecd6c51
general: fix some old-style docstring comment blocks
2018-12-23 16:27:08 +01:00
rdb
729a2364bc
windisplay: remove unused WHQL stuff
2018-12-23 16:25:29 +01:00