rdb
26fcf131c9
Merge branch 'master' into input-overhaul
2018-11-25 17:10:31 +01:00
rdb
8f73f95e79
display: make PStats clear collectors per-window
2018-11-19 20:02:38 +01:00
Sam Edwards
a9dfd8352e
general: Distinguish local/system includes
...
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>
This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
rdb
e30b597926
Merge branch 'master' into input-overhaul
2018-09-16 12:28:22 +02:00
rdb
47496068d3
Show materials with only base color applied properly
2018-09-09 20:56:37 +02:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
rdb
234fd675b1
Merge branch 'master' into input-overhaul
2018-06-23 23:24:09 +02:00
rdb
886e1c2f16
general: fix many compilation warnings in GCC 8
2018-06-19 00:37:28 +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
b88bd99704
Various compiler warning fixes
2018-06-12 12:38:07 +02:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +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
e2b4353800
general: Replace NULL (and 0 as pointer) with C++11 nullptr
...
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb
db5dd98d33
general: further warning fixes, use -Wno-unused-variable if NDEBUG
...
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00
rdb
6b726fa697
general: fix various compiler warnings and issues exposed thereby
2018-05-30 11:09:35 +02:00
Sam Edwards
52e7c952b3
putil: Rename config_util to config_putil
2018-05-14 02:36:42 -06:00
Sam Edwards
9dd37e9dbc
general: Add guards to ensure proper BUILDING_ macros defined
...
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
rdb
94385e865f
Merge remote-tracking branch 'origin/master' into input-overhaul
2018-01-28 14:31:45 +01:00
rdb
f3aaa12adc
tinydisplay: support texture clear, gracefully handle 0x0 textures
2018-01-26 14:31:40 +01:00
rdb
8e6cf2a60b
Merge branch 'master' into input-overhaul
2017-12-17 13:04:15 +01:00
rdb
48c811e112
cull: remove GeomMunger stored on CullableObject
2017-07-03 11:47:59 +02:00
rdb
68be3c6dfe
More efficient light handling; sort lights by highest priority first
2017-05-15 16:59:44 +02:00
rdb
8c914a2855
Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping.
2017-02-17 13:02:01 +01:00
rdb
d0e9f136c0
Merge branch 'master' into input-overhaul
2016-11-22 12:15:21 +01:00
rdb
4381412d23
Merge branch 'release/1.9.x'
2016-09-28 00:14:21 +02:00
rdb
3f53994372
Fix mipmap filtering issues in tinydisplay renderer
2016-09-28 00:00:22 +02:00
rdb
2e9394eba7
Fix tinydisplay texture errors on shutdown
2016-09-27 22:38:03 +02:00
rdb
2eba4dea9b
Change handling of unsupported render mode so that behaviour can be shared among renderers
2016-07-20 15:59:42 +02:00
rdb
8381118a97
Assorted tweaks and compile warning fixes
2016-07-14 12:54:39 +02:00
rdb
a906f34eee
M_alpha now no longer squares the alpha component it writes to the framebuffer.
...
To re-enable the old behaviour, set old-alpha-blend in Config.prc.
2016-06-28 22:13:33 +02:00
rdb
b98d3c06ee
Merge branch 'master' into input-overhaul
2016-06-24 10:51:41 +02:00
rdb
18874fa151
Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
...
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb
1cc79633c1
Merge branch 'master' into input-overhaul
...
Conflicts:
panda/src/device/buttonNode.cxx
panda/src/device/clientAnalogDevice.I
panda/src/device/clientAnalogDevice.cxx
panda/src/device/clientButtonDevice.I
panda/src/device/clientButtonDevice.cxx
panda/src/device/clientDevice.I
panda/src/device/clientDevice.cxx
panda/src/device/clientDevice.h
panda/src/device/clientTrackerDevice.I
panda/src/device/trackerNode.I
panda/src/device/trackerNode.h
panda/src/display/callbackGraphicsWindow.cxx
panda/src/display/graphicsWindow.cxx
panda/src/display/graphicsWindowInputDevice.I
panda/src/display/graphicsWindowInputDevice.cxx
panda/src/display/graphicsWindowInputDevice.h
panda/src/tinydisplay/tinyOsxGraphicsWindow.mm
panda/src/tinydisplay/tinyXGraphicsWindow.cxx
panda/src/windisplay/winGraphicsWindow.cxx
panda/src/windisplay/winGraphicsWindow.h
panda/src/x11display/x11GraphicsWindow.cxx
2016-03-19 14:54:56 +01:00
rdb
2bf886fc5b
Add premultiplied alpha mode, for convenience
2016-03-02 17:55:34 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
6689e69822
Merge branch 'master' into input-overhaul
2016-02-13 11:21:20 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
ee7b03f374
Merge remote-tracking branch 'origin/master' into input-overhaul
2015-12-25 13:27:40 +01:00
mfwass
f8837999ed
Cleanup trailing whitespace
2015-12-13 10:08:41 -05:00
rdb
bd0683d101
Generalised input framework for raw mice, gamepads, trackers (incl. HMDs like Oculus Rift)
2015-12-11 15:26:40 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
a359ef8a0b
Clamp colors to 0-1 range in tinydisplay
2015-08-20 21:04:32 +02:00
rdb
14bd992e77
Remove use of deprecated "register" keyword
2015-08-07 18:56:58 +02:00
Ed Swartz
22d5c2f8dd
For tinydisplay, don't lose color/alpha scale when lighting
2015-08-04 17:59:53 +02:00
Ed Swartz
9396f998fb
Avoid crash in p3tinydisplay when there is no initial window
2015-08-04 17:56:36 +02:00
Ed Swartz
d1106953b2
Let user know why p3tinydisplay doesn't load texture
2015-06-02 13:20:01 -05:00
rdb
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +02:00
rdb
5827959056
Fixes for 64-bit OS X build on newer OS X versions
2015-03-29 22:06:32 +02:00
rdb
f624cdcac0
Fix various Mac OS X bugs and build issues
2015-03-25 19:43:21 +01:00
rdb
04d4309b14
SSE2-enhanced sRGB encode (with runtime CPU detection)
2015-03-01 11:46:52 +01:00