[Tizen] Changed DirectRendering demo to use UNSAFE_DIRECT_RENDERING mode by default. 74/306474/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20240301.174457 accepted/tizen/8.0/unified/20240313.143510 accepted/tizen/8.0/unified/20240704.174827
authorAdam Bialogonski <adam.b@samsung.com>
Wed, 14 Feb 2024 14:37:59 +0000 (14:37 +0000)
committerjoogab.yun <joogab.yun@samsung.com>
Thu, 22 Feb 2024 01:52:37 +0000 (10:52 +0900)
commitb12147abd0fede25bb9b05f73fc56bef864ecc21
treecc0b59abe2605949253afa7cc9db7378145f4d24
parentd08b38e4f37726ae4a55073199c2f4c8880d5784
[Tizen] Changed DirectRendering demo to use UNSAFE_DIRECT_RENDERING mode by default.

Switch to different mode due to issues with context fighting on some hardware.

New env var:
UNSAFE_MODE, default: 1 (enabled) - uses UNSAFE_DIRECT_RENDERING backend. This backend automatically disables threading and offscreen rendering.

Change-Id: Ide462e95187dd5a2ace505efc5702515a36d8125
examples/direct-rendering/README.md [new file with mode: 0644]
examples/direct-rendering/direct-rendering-example.cpp
examples/direct-rendering/native-renderer.cpp