Sam Edwards
2d80d6d063
general: Add missing includes and remove deprecated type
...
Credit for missing includes to @treamology in Git commit
16cfac4829
CGTableCount removed; modern macOS seems to call this
a uint32_t instead. I can find no reference to CGTableCount
in any documentation, and the (very old) source code I dig
up just typedefs it anyway.
2018-10-14 15:50:06 -06:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06: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
Sam Edwards
a971bc1dfc
general: Break apart BUILDING_PANDAGL
2018-06-12 16:15:45 -06: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
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
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
3c2f820ad8
Merge branch 'release/1.9.x'
...
Conflicts:
direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
87b23dfeb2
Improve shader model detection mechanism
2015-07-19 21:31:24 +02:00
Ed Swartz
fc5a2e5e33
Implement confined mouse mode for OS X.
...
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.
Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
rdb
b06100afdd
Changes to support building universal Mac rtdist for 1.9
2015-03-28 00:31:10 +01:00
rdb
f624cdcac0
Fix various Mac OS X bugs and build issues
2015-03-25 19:43:21 +01:00
rdb
36525784fd
Robustify GL FBO framebuffer properties handling
2015-03-09 15:27:38 +01:00
rdb
95d85819b0
Separate out sampler state from texture, support sampler objects, support LOD min/max/bias
2014-12-12 15:58:45 +01:00
rdb
bc24576b02
Split up color-bits into red-bits + green-bits + blue-bits
2014-12-06 16:10:01 +01:00
rdb
783d8552ef
Fix bin2c to generate an include to stddef.h (for size_t definition)
2014-10-19 22:32:30 +00:00
rdb
6454ddddc5
Eliminate GLP() macro (so we can write glEnable instead of GLP(Enable) again).
2014-06-18 21:06:05 +00:00
rdb
2274f2e651
FBO overhaul: support layered framebuffers (RTM_bind_layered), support render-to-2d-array, better respect FrameBufferProperties, more simple handling of RTP_depth_stencil
2013-08-13 12:44:27 +00:00
rdb
30872b617e
somewhat experimental support for 64-bits OS X and OS X Lion
2012-08-06 09:57:34 +00:00
rdb
46d85d7ac1
keep cursor hidden when switching to fullscreen (LP bug #784153 )
2012-02-28 11:04:38 +00:00
David Rose
56f22e0692
WxPandaWindow
2012-01-08 16:10:18 +00:00
David Rose
dfe16c64f6
rename all Panda-built libraries to begin with libp3 or libpanda
2011-12-06 02:39:21 +00:00
David Rose
501470169f
stdfloat_double
2011-10-10 05:25:10 +00:00
David Rose
e91fb0d53e
better implementation of set_one_shot()
2011-10-04 18:05:08 +00:00
David Rose
bee4cb326a
pipeline GraphicsOutput::set_active() to better support offscreen rendering in threaded mode
2011-10-03 20:23:17 +00:00
David Rose
6872488839
stereo/multiview textures
2011-08-08 18:55:26 +00:00
rdb
969f12171b
Fix relative mouse on OSX- coordinates were bound by a 0-32767 range
2011-04-13 13:15:53 +00:00
David Rose
d74e014dee
make osx-support-gl-buffer be true by default
2011-04-03 21:49:25 +00:00
rdb
0027610832
fix from tito
2011-03-09 16:49:30 +00:00
David Rose
bd3c2fdb61
fix programmatic collapse for undecorated windows
2011-02-27 01:55:19 +00:00
David Rose
03a030532f
programmatic control of minimize/restore state
2011-02-26 19:44:53 +00:00
rdb
726316ad64
Revert my changes, they weren't right after all
2011-02-20 19:10:37 +00:00
rdb
82dc0ffef4
Send lshift/rshift, lalt/ralt and lcontrol/rcontrol instead of just shift/alt/control (untested)
2011-02-20 16:25:32 +00:00
rdb
0ea72a4712
Remove GLU dependency from Panda3D. Yes. That's right, folks.
...
And now I shall make myself some coffee and wake up, in that order.
2010-12-19 07:03:49 +00:00
rdb
804a72b716
Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn
2010-11-16 08:58:45 +00:00
David Rose
a49e684dbe
fix osx win-fixed-size
2010-09-12 00:10:59 +00:00
uid30437
9f996f451e
fix poor placement of window in OSX runtime environment
2010-08-05 17:54:48 +00:00
David Rose
775184f113
build error
2010-07-19 20:46:13 +00:00
Zeno Gerakin
9a3d16b1c5
patch from gerakinis and yaio to detect available desktop sizes
2010-07-19 13:35:22 +00:00
David Rose
674099f5c1
osx-support-gl-buffer
2010-04-13 23:05:07 +00:00
rdb
67fa81636d
oops, fix
2009-12-16 14:50:42 +00:00
rdb
85fda457fa
window centering for OSX
2009-12-16 14:27:15 +00:00
rdb
ee6d1b113d
Add support for display_width/display_height on OSX
2009-12-14 13:54:57 +00:00
David Rose
db28251d40
fix onwindowattach/detach for mac
2009-11-13 01:20:52 +00:00
David Rose
bfc0b2ea2b
BundlePath is always set in 10.4
2009-11-04 19:52:25 +00:00
David Rose
239676ffd6
hmm, contradictory requirements for placement of glgsg.h
2009-11-04 19:13:39 +00:00