Changed DirectRendering demo to use UNSAFE_DIRECT_RENDERING mode by default. 91/305991/9
authorAdam Bialogonski <adam.b@samsung.com>
Wed, 14 Feb 2024 14:37:59 +0000 (14:37 +0000)
committerAdam Bialogonski <adam.b@samsung.com>
Wed, 21 Feb 2024 10:32:18 +0000 (10:32 +0000)
commit8f3f8b4d923d212df56b700b58b4fb69a4860d58
tree2ddfb057300a82bafee8b1a2ab2ed1eba072fa52
parent9845d6a62078cc2adf4cc012d5ba165b9ca3008f
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