Commit Graph

19 Commits

Author SHA1 Message Date
rdb eec66c585e display: Add method for querying current display mode index
Note that it doesn't work on macOS with high-DPI displays, this requires #1308 (which is on master), otherwise it will just report -1 for now

Fixes #1550
2023-10-21 14:03:51 +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 21d8c29645 More warning fixes 2018-06-03 06:45:35 -04:00
rdb fe0c182830 cocoa: fix app launching regression on macOS
The regression was introduced by ef7f856c46

Fixes #227
2018-01-17 19:46:30 +01:00
rdb ef7f856c46 cocoa: support windowless offscreen rendering on macOS
Fixes: #183
2017-12-20 14:27:08 +01:00
rdb ab5b5e7e74 Merge branch 'release/1.9.x' 2016-12-25 22:47:22 +01:00
rdb 59c3aa3ef6 cocoa: don't crash if display server doesn't give us display modes 2016-12-25 09:59:29 -05:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 87b23dfeb2 Improve shader model detection mechanism 2015-07-19 21:31:24 +02: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 0b99086e8c Improve key events on Cocoa: add support for the brand new raw key event system, distinguish between left/right modifier keys, fix the lack of down event on help/insert key, fix the lack of up-event while command is pressed 2014-03-08 20:58:03 +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
David Rose 779fceafdd make_callback_gsg() 2012-11-20 12:11:14 +00:00
rdb 6a98f97c9b support pre-10.6 OSX 2012-11-03 13:39:53 +00:00
rdb 1f0304c696 new Cocoa graphics pipe is now fully functional 2012-08-03 12:14:04 +00:00
rdb e79c9aef46 more changes 2012-06-13 17:26:21 +00:00
rdb b71bca5c49 a lot of improvements 2012-06-07 07:52:56 +00:00
rdb 24cdca64e7 Brand new Cocoa display module 2012-05-25 10:38:47 +00:00