07-07-2018, 10:04 PM
Docs are linked from
https://developer.arm.com/products/graph...li-450-gpu
see DUI0607C_mali_opengl_es_20_sdk_for_linux_on_arm_ug.pdf
This is a weird URL but it was hard to find:
http://openlinux.amlogic.com:8000/downlo...x86.tar.gz I think arm/mali pulled it
I managed to get all the examples to build on a Raspberry Pi, but it doesn't have a Mali so they don't run. There's one called frame_buffer_object that's a spinning cube and on each of its faces is another spinning cube, supposedly anyway.
If you've got all the prerequisites installed, unpack the tar.gz. In the directory that creates make a build_arm directory and cd into it.
do:
export TOOLCHAIN_ROOT=/usr/bin/
then
cmake -G "Unix Makefiles" -DTARGET=arm ..
If it builds OK look in the samples directory that gets created. There are samples of OpenGL ES 2.0, 3.0, 3.2.
https://developer.arm.com/products/graph...li-450-gpu
see DUI0607C_mali_opengl_es_20_sdk_for_linux_on_arm_ug.pdf
This is a weird URL but it was hard to find:
http://openlinux.amlogic.com:8000/downlo...x86.tar.gz I think arm/mali pulled it
I managed to get all the examples to build on a Raspberry Pi, but it doesn't have a Mali so they don't run. There's one called frame_buffer_object that's a spinning cube and on each of its faces is another spinning cube, supposedly anyway.
If you've got all the prerequisites installed, unpack the tar.gz. In the directory that creates make a build_arm directory and cd into it.
do:
export TOOLCHAIN_ROOT=/usr/bin/
then
cmake -G "Unix Makefiles" -DTARGET=arm ..
If it builds OK look in the samples directory that gets created. There are samples of OpenGL ES 2.0, 3.0, 3.2.


. I've learn this way and it could be easier and better in the long run, as DX9 have only 2 programmable steps in the rendering pipeline: vertex and pixel shaders (allowing moving vertices and altering colours using the GPU power), DX11 and up add more shaders like a geometry shader which gives more opportunity to play but needs also more to learn first.