Commit Graph

18 Commits

Author SHA1 Message Date
rdb 5e7e64179b cleanup: fix a host of unprotected debug/spam messages 2019-08-23 18:58:57 +02:00
tc 96bb90b5e9 cocoa: guarantee 24bit depth when Config.prc has `depth-bits` set to `1`
Checks if the value of Config.prc for `depth-bits` is `1` and sets it
manually to 24.
This prevents getting a 16 bit depth buffer on macos
Intended to address #501

Closes #551
2019-02-07 22:26:54 +01:00
Donny Lawrence f29643dd14 cocoa: Prevent a deadlock when using SIMPLE_THREADS on macOS
Closes #491
Fixes #490
2018-12-26 22:47:14 +01:00
Donny Lawrence 0fa0ad673f cocoa: use CVDisplayLink on macOS to sync video to display(s)
Closes #487
Fixes #486
2018-12-24 13:36:13 +01:00
rdb f629a5df1a cocoa: don't enable sRGB unless it was explicitly requested
Fixes #443
2018-11-09 18:25:07 +01:00
rdb ed96a52703 cocoa: cautiously enable sRGB framebuffers on macOS
[skip ci]
2018-10-28 20:41:14 +01: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 061e0c4862 cocoa: allow getting a GL 3.2+ context on macOS 10.7+ using gl-version 2017-12-19 23:38:45 +01:00
rdb 365e1d53ef Merge branch 'release/1.9.x'
Conflicts:
	makepanda/makepandacore.py
	panda/src/cocoadisplay/cocoaGraphicsStateGuardian.mm
2016-06-27 01:18:02 +02:00
rdb 7dfd907e17 Try to report red/green/blue bits for Cocoa windows 2016-06-27 00:38:14 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb f1df65034d Fix Mac 10.11 compile error 2015-08-07 17:29:03 +02:00
rdb bc24576b02 Split up color-bits into red-bits + green-bits + blue-bits 2014-12-06 16:10:01 +01: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 4017e1897d Backport to work on Leopard as well 2012-11-04 13:56:09 +00:00
rdb 1f0304c696 new Cocoa graphics pipe is now fully functional 2012-08-03 12:14:04 +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