seanshpark / help

common help
MIT License
4 stars 0 forks source link

Math and Matrix with OpenGLES on RaspberryPi2 #3

Closed seanshpark closed 7 years ago

seanshpark commented 7 years ago

Problem: how to do matrix calculation with shader?

seanshpark commented 7 years ago

Readings...

Khronos

Reference

seanshpark commented 7 years ago

EGL

seanshpark commented 7 years ago

https://github.com/mn416/QPULib http://www.codedivine.org/2014/03/03/broadcom-videocore-iv-architecture-overview/

https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/README.md

seanshpark commented 7 years ago

GPU mem with 64M

$ vcgencmd get_mem gpu
gpu=64M

$ free
              total        used        free      shared  buff/cache   available
Mem:         947732       38640      541268       13020      367824      837860
Swap:             0           0           0

to 256MB

$ vcgencmd get_mem gpu
gpu=256M

$  free
              total        used        free      shared  buff/cache   available
Mem:         752852       40252      510236       10588      202364      642180
Swap:             0           0           0
seanshpark commented 7 years ago

Moving to https://github.com/seanshpark/bpnqpu/issues