rdb
19e1b1d877
pgraph: add version of RenderState::get_attrib(_def) taking a CPT
2018-06-14 22:51:12 +02:00
rdb
f804b10d45
Fix more compiler warnings
2018-06-14 22:49:45 +02:00
rdb
83f637ea9f
ffmpeg: fix compilation for older FFMpeg versions
2018-06-14 19:00:13 +02:00
rdb
c1fbeaea51
display: allow full access to all 4 of each aux buffer category
...
I think there was some confusion about how set_aux_rgba (and friends) worked; it seems the original intent was to toggle each individual buffer whereas it is actually interpreted as a count of how many of these buffers should be enabled. We should try to clarify the API and/or replace it with something better as soon as possible.
2018-06-14 16:08:33 +02:00
Sam Edwards
b2bfb31114
general: Remove using std::*
from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
rdb
d284cedbea
movies/ffmpeg: support grayscale and grayscale-alpha videos
...
Fixes #352
2018-06-14 14:22:56 +02:00
rdb
9231694f8f
gobj: fix Python 3 support for GVADHandle::get_(sub)data/set_(sub)data
...
That said, you should really be using the buffer protocol; you can create a memoryview() directly around the GeomVertexArrayData.
2018-06-14 14:11:34 +02:00
Sam Edwards
4c8693f019
CMake: Run pytest as part of CTest
2018-06-13 21:07:56 -06:00
Sam Edwards
29bc62bf9b
CMake: Alias Interrogate
...
This allows us to have a different name for Interrogate
on the host vs. Interrogate on the target platform, which
facilitates cross-compiling.
2018-06-13 21:07:56 -06:00
Sam Edwards
21a30a8429
CMake: Make INTERROGATE_PYTHON_INTERFACE option dependent
...
This also makes it sufficient for turning on Interrogate.
2018-06-13 21:07:56 -06:00
Sam Edwards
d6d6df83ef
CMake: Move Python detection to Package.cmake
2018-06-13 21:07:56 -06:00
Sam Edwards
6b660a5c58
CMake: Fix metalib linkage against pandaexpress
2018-06-13 21:07:56 -06:00
Younguk Kim
d22da73a4c
Fix macro redefinition warning
2018-06-14 09:33:19 +09:00
Psychotropos
fef2fff1f1
cmake: Actually install the p3direct library during the CMake install process
2018-06-13 02:05:32 -06:00
Sam Edwards
c96a49e897
CMake: Update egg/physics metalibs to add_metalib(... INIT ...)
2018-06-12 16:32:26 -06:00
Sam Edwards
93306c0aa5
CMake: Build pandaexpress metalib
2018-06-12 16:23:32 -06:00
Sam Edwards
600590ed7a
CMake: Update BUILDING_ defines for upstream
2018-06-12 16:23:32 -06:00
Sam Edwards
ed2b3017d4
Merge branch 'master' into local/cmake-merge
2018-06-12 16:19:30 -06:00
Sam Edwards
69d5fcf3b0
pgraph: Fix use of incomplete GeomNode in PT(GeomNode)
2018-06-12 16:18:15 -06:00
Sam Edwards
a971bc1dfc
general: Break apart BUILDING_PANDAGL
2018-06-12 16:15:45 -06:00
Sam Edwards
768f78306a
general: Break apart BUILDING_PANDAEGG
2018-06-12 16:15:25 -06:00
Sam Edwards
e73c25d15e
general: Break apart BUILDING_PANDAPHYSICS
2018-06-12 16:15:04 -06:00
Sam Edwards
7e61891c09
general: Fix more DLL linkage and EXPCL_PANDA_ macros
2018-06-12 16:14:33 -06:00
rdb
eab8b1c7a3
tform: MouseWatcher sort should uniquify duplicates
...
Also change the code to use range-for when appropriate, which improves code readability.
2018-06-12 13:44:24 +02:00
rdb
65217a258d
tform: allow calling MouseWatcher::add_region with same region twice
...
Previously, this was an error. Now, it will simply silently be ignored, making it behave more like a set.
2018-06-12 12:45:48 +02:00
rdb
b88bd99704
Various compiler warning fixes
2018-06-12 12:38:07 +02:00
rdb
fa23c199ec
makepanda: fix faulty error when immediately pressing Ctrl+C
2018-06-12 11:08:52 +02:00
rdb
4fe7fe4c88
interrogate: fix int8_t / signed char range checking on Android
2018-06-12 11:08:02 +02:00
rdb
ac4b8d1e1d
Fix various compilation warnings
2018-06-11 14:53:25 +02:00
rdb
494ba40c5e
Fix compilation error on Android
2018-06-11 14:35:37 +02:00
rdb
1c476203fc
interrogate: remove Dtool_AddToDictionary (let me know if anyone uses this)
...
If any code is relying on this, please let me know and I will add it back. It appears to be redundant, though, since one can access DtoolClassDict directly.
Symbol kept around temporarily in order to keep ABI compatibility for a short while as people may not update their interrogate and Panda in sync, but it can soon be removed.
2018-06-11 13:43:30 +02:00
rdb
3cc88cd304
interrogate: clean up py_panda.h a bit more
...
Inching towards reducing code in py_panda and eventually having no Python-specific code in interrogatedb anymore.
2018-06-11 13:39:45 +02:00
Sam Edwards
2e98b68e3b
CMake: Make directbase/pandabase INTERFACE libraries
...
They export no code, and are really only used to contain several
preprocessor macros relevant to their respective packages. On
Windows, they're a problem: MSVC doesn't generate a .lib when
compiling a .dll that exports nothing.
2018-06-10 02:29:49 -06:00
Sam Edwards
4ea42666d6
CMake: Don't test for minmax.h
...
This is no longer used by the source
2018-06-10 02:29:45 -06:00
Sam Edwards
1fe9034ba0
CMake: Don't build ca_bundle_data_src.c
...
It only contains statics, and it's intended to be #included
2018-06-10 02:29:42 -06:00
Sam Edwards
61ce0218e8
CMake: Don't use BUILDING_PANDAEXPRESS
2018-06-10 02:29:40 -06:00
Sam Edwards
a088e6aba5
CMake: Autogenerate metalib init files
2018-06-10 02:29:35 -06:00
Sam Edwards
c4126942f6
Merge branch 'master' into cmake
2018-06-10 02:29:21 -06:00
Sam Edwards
bc596797a3
general: Resolve some warnings unique to Windows
2018-06-10 02:25:10 -06:00
Sam Edwards
3c6ebb56bd
general: pvector<unsigned char> -> vector_uchar
2018-06-10 02:25:10 -06:00
Sam Edwards
f1eb811c0e
general: Break apart BUILDING_PANDAEXPRESS
2018-06-10 01:37:31 -06:00
Sam Edwards
b8bc1bb5e9
gobj: Include, don't forward-declare, BamCacheRecord in shader.h
...
Closes #346
2018-06-10 01:37:13 -06:00
rdb
c1e5a71904
tests: ensure FrameBufferProperties has working copy constructor
2018-06-09 10:38:03 +02:00
rdb
fa6d8b4b39
cppparser: fix class with array member not seen as copy-constructible
2018-06-09 10:29:34 +02:00
rdb
acac93a1d1
parse_file: show various additional type traits
2018-06-09 10:29:19 +02:00
rdb
7086a6a2db
parser-inc: add missing ios_base::iostate
2018-06-09 10:21:28 +02:00
rdb
a76747cba5
parser-inc: C++ headers: cassert, cerrno, fstream, new, cstdlib, csetjmp
2018-06-09 10:18:28 +02:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
4754ba524c
dtoolbase: Avoid Windows's min/max macros
2018-06-07 10:35:00 +02:00
rdb
b7f8ddfe35
dxgsg9: fix type mismatch in min() call
2018-06-07 10:34:47 +02:00