dolphin/Source/Core
Markus Wick 227db66e4f OGL: Use glBufferData on Mali.
tl;dr: This PR speedups dolphin on mobiles with the Mali GPU and ES 3.2
drivers by a factor of 10 by using the method with the biggest overhead.
Please keep care not to buy this shit!

The ARM driver team seems to care very well about their customers. But
bad luck, users and open source developers are *not* their customers. So
even device-independent feature requests are just ignored for *years*:

https://community.arm.com/graphics/f/discussions/4645/gl_ext_buffer_storage-support

The bad point, they neither implement any of the other common ways to
stream dynamic content in unextented GL:
- They just ignore the GL_MAP_UNSYNCHRONIZED_BIT flag
- They don't support on-device buffer updates and just stall with
glBufferSubData

It seems like no benchmark is using any dynamic content - and like no
customer cares about anything but benchmarks, or users...

We have a flag to disable the glBufferSubData way, this PR adds the flag
to also disable the unsychronized mapping way. The second one is
available since their ES 3.2 update, but slow as hell.

So how to continue? The last remaining technical way to stream dynamic
content at all is to alloc a new buffer per draw call with glBufferData.
This is very gross, but still a factor 10 speedup compared to stalling
the GPU. Small tests shows that you can expect another 3-5 times speedup
with EXT_buffer_data, so Mali would be on pair with Adreno here. So if
you have bought such a device unfortunately, please try to make noise on
your vendor forums/support and ask for this extension. If you are going
to buy a new mobile, I'd recormend to avoid *any* mobile with a Mali GPU
in it.
2018-02-25 17:12:36 +01:00
..
AudioCommon AudioCommon: make SetSoundStreamRunning idempotent 2017-11-19 12:09:54 -08:00
Common GLUtil: Drop now-unused attributeless VAO helpers 2018-02-22 19:09:28 +10:00
Core Merge pull request #6389 from spycrab/fix_wiimote 2018-02-20 21:37:30 +01:00
DiscIO WiiSaveBanner: Resolve a -Wreorder warning 2017-12-03 18:34:49 -05:00
DolphinNoGUI Renderer: Handle resize events on-demand instead of polling 2018-02-20 01:15:55 +10:00
DolphinQt2 Merge pull request #6396 from spycrab/qt_osx_theme 2018-02-24 15:44:43 -08:00
DolphinWX Qt/OSX: Fix icon 2018-02-24 21:12:22 +01:00
InputCommon Merge pull request #6355 from myfreeweb/clang6-warning 2018-02-07 22:25:57 -08:00
UICommon UICommon: Move screensaver code to UICommon 2018-01-03 12:38:33 +01:00
VideoBackends OGL: Use glBufferData on Mali. 2018-02-25 17:12:36 +01:00
VideoCommon OGL: Use glBufferData on Mali. 2018-02-25 17:12:36 +01:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00