summaryrefslogtreecommitdiff
path: root/distrib/android-emugl/host/libs/Translator/include/EGL/egl.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2016-11-15 18:54:39 +0100
committerGreg Hartman <ghartman@google.com>2018-08-23 17:24:53 -0700
commita20a1baf99448665e1fb295d97470d4dfa28036a (patch)
tree56ea873e65acbc62ec6883002013571d1a315930 /distrib/android-emugl/host/libs/Translator/include/EGL/egl.h
parent7858837985f5ab26a131d461b14c63521a31e9e9 (diff)
downloadopengl-transport-a20a1baf99448665e1fb295d97470d4dfa28036a.tar.gz
emugl: Simplify RenderChannel interface.
This patch simplifies the RenderChannel interface and its implementation (a.k.a. RenderChannelImpl). This has several benefits: - The interface is now much closer to the one expected by an AndroidPipe instance, making EmuglPipe easier to implement (e.g. get rid of atomic variables in it). - RenderChannelImpl only uses a single lock instead of three, and doesn't use atomic variables anymore, thanks to the BufferQueue class. This makes the code a lot less confusing and removes risks of thread-racy behaviour due to the use of multiple locks and atomics at the same time. Performance wise, this seems to be comparable to the current implementation. The following numbers corresponds to the frames/s collected when running the Antutu3D 6.0 "Garden" benchmark, on an Android API level 23/x86 system image, 1920x1080 resultion, running on an HPz620 (32 cores at 2.7 GHz) with the "performance" scaling governor set on all CPUs: Official Current release Tip-of-tree With this patch 15.07 17.13 17.52 15.35 17.36 17.52 15.06 17.34 17.37 Change-Id: I1f0e998b23c38051c8de519a3cab3f6a961be930
Diffstat (limited to 'distrib/android-emugl/host/libs/Translator/include/EGL/egl.h')
0 files changed, 0 insertions, 0 deletions