egl: preserve caller state and support surfaceless offscreen contexts - #12
Conversation
4878add to
e9df85a
Compare
e9df85a to
bb6f227
Compare
9b41184 to
8047ff9
Compare
8047ff9 to
184b81f
Compare
184b81f to
397fd05
Compare
397fd05 to
c31eb53
Compare
a9bb1ec to
b12d484
Compare
a9181d5 to
5abded1
Compare
bae652a to
e0605fd
Compare
e0605fd to
1da471f
Compare
1da471f to
40f9511
Compare
910dcff to
cfb34e8
Compare
1bb0941 to
36d8662
Compare
36d8662 to
84c1f16
Compare
|
Addressed the EGL review feedback:
|
56d7cf8 to
5412d16
Compare
9147da5 to
01e0c33
Compare
|
I don't see the feedback comments addressed in the diff, did a push go wrong? |
01e0c33 to
ffcf4b2
Compare
The commits were accidentally displaced and have now been restored. This is now ready for re-review. |
|
@Lgt2x Ping |
ffcf4b2 to
6370636
Compare
| endif() | ||
| set_tests_properties(${ARG_NAME} PROPERTIES | ||
| SKIP_RETURN_CODE ${COIN_TEST_SKIP_RETURN_CODE} | ||
| LABELS "${test_labels}") |
There was a problem hiding this comment.
a label used for a single test has very little purpose
There was a problem hiding this comment.
This will be used by subsequent stack layers, to run subset of EGL tests, so I'd rather keep it here.
Summary
Make Coin's offscreen EGL handling safe for applications that already own EGL state and usable in surfaceless environments.
EGL_PLATFORM=surfaceless.COIN_EGL_CORE_PROFILE=1.The old Wayland/X11 display-probing fallback is intentionally not restored. Coin honors an explicit surfaceless request, reuses active EGL state when possible, and otherwise follows the normal EGL default-display path.
Stack position
Builds on #11.
Patch Set
Important
This PR is part of a stacked series (
1/27) and depends onfreecad-master(the PR base branch). Review/merge in order.freecad-masterfreecad-master1/27upstream/freecad-master..63706367d2Commits
63706367d: tests: cover EGL context preservation708979fa9: egl: preserve caller state and support surfaceless contexts