rdb
68111b2c42
Merge branch 'release/1.10.x'
2022-11-07 18:05:03 +01:00
rdb
8965741fcf
tinydisplay: Don't reimplement process_events from base class
...
Reduces code duplication, makes it possible to inherit bug fixes from the base class, and also handles resizes more efficiently now (only when this would actually require a framebuffer reallocation).
2022-11-07 12:56:56 +01:00
rdb
0a827cf65c
x11display: Time out waiting for ConfigureNotify event
...
Fixes #1087
2022-11-07 12:56:03 +01:00
rdb
20334cce05
Merge branch 'release/1.10.x'
2022-06-29 19:09:59 +02:00
rdb
3fc579c7d4
tinydisplay: Implement resizeability of offscreen buffers
...
Fixes #1322
2022-06-29 17:03:44 +02:00
rdb
a0be50c769
general: Fix assorted compiler warnings
2022-03-01 16:09:07 +01:00
rdb
37b45a010d
gobj: More efficient tracking of simple image changes
...
Remove the separate simple_image_modified field, instead, the image_modified value is updated if the simple image is changed while there is no RAM image.
This robustifies the tracking on the GSG end, which previously ended up repeatedly calling upload_texture() unnecessarily
2021-11-30 10:56:48 +01:00
rdb
92e2c24958
Experimental InstancedNode class for hardware instancing
2020-11-22 22:01:13 +01:00
Leandro (Cerberus1746) Benedet Garcia
5f7809469c
general: removed all WIN32, WIN32_VC and friends
2020-02-05 22:45:03 -07:00
rdb
58acc25ea2
Remove old Carbon-based OS X graphics back-end
...
This back-end has been deprecated by Apple for a while, and has not been used in Panda. As we will no longer be supporting 32-bit macs going forward, and the Carbon windowing API is not available for 64-bit mac, there's no point in keeping it.
2019-01-09 18:27:57 -05:00
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