open source driver project for adreno GPUs
C Assembly C++ Yacc Makefile Lex Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
diagrams add freedreno architecture diagrams Dec 26, 2013
envytools @ 8a52842
fdre-a2xx
fdre-a3xx
includes
opencl
scripts
shaders-gles3 start adding some gles3 shaders Sep 23, 2014
shaders
tests-2d
tests-3d test-cubemap: add a bit more variation Nov 18, 2016
tests-cl
util
wrap
.gitignore
.gitmodules cffdump: use envytools Apr 3, 2013
Android.mk
Application.mk
Makefile
NOTES update NOTES for composite porter-duff ops Apr 7, 2012
README
gen-android-mk.sh
ndk-env.sh android ndk build support Apr 27, 2016
run-asmtest.sh misc.. update scripts Jul 29, 2012
run-cffdump.sh
run-compiler.sh add more test shaders Jul 6, 2012
run-redump.sh add script to run redump Apr 7, 2012
run-tests.sh
run-zdump.sh

README

The test and libwrap code link using normal gcc (on gnu/linux type
environment, I'm using armv7 ubuntu 11.10, but debian, etc, should
work just fine), against an android libc and libC2D2, etc.  The
/system directory from an android snapdragon filesystem should be
extracted under /system.  You can find what you need from, for ex,
a cyanogenmod filesystem for a snapdragon phone.

You can run the test apps with wrapper lib like:

  LD_PRELOAD=`pwd`/libwrap.so ./test-copy > test-copy.log

(run that as root or fix up permissions on /dev/kgsl-*)

The redump utility can post process a set of .rd log files to
generate a html table showing side-by-side comparisions of the
cmdstream with params and gpuaddr's highlighted:

  ./redump copy*.rd > copy.html