Skip to content
open source driver project for adreno GPUs
C Assembly C++ Yacc Makefile Lex Other
Find file
Latest commit bb834fc Apr 26, 2016 @robclark robclark android: build the rest of the test apps
Man, Android.mk thing kinda sucks..
Failed to load latest commit information.
diagrams add freedreno architecture diagrams Dec 26, 2013
envytools @ ea2f37d update envytools submodule link Aug 6, 2015
fdre-a2xx fdre-a3xx: start adding assembler Apr 6, 2013
fdre-a3xx more cat6 updates Aug 1, 2015
includes update kernel headers Apr 27, 2016
opencl some forgotten cl test kernels Jul 12, 2014
scripts start hooking up rnndec to decode registers and bitfields Oct 8, 2014
shaders-gles3 start adding some gles3 shaders Sep 23, 2014
shaders pgmdump: few small tweaks Aug 30, 2012
tests-2d tests-2d: run each test in fresh process Nov 14, 2014
tests-3d android: build the rest of the test apps Apr 27, 2016
tests-cl tests-cl: add simple test Apr 2, 2014
util wrap: updates to build w/ NDK Apr 27, 2016
wrap wrap: updates to build w/ NDK Apr 27, 2016
.gitignore tests-3d: add TF and instanced rendering tests Feb 19, 2015
.gitmodules cffdump: use envytools Apr 3, 2013
Android.mk android: build the rest of the test apps Apr 27, 2016
Application.mk android ndk build support Apr 27, 2016
Makefile wrap: add libwrapfake Nov 20, 2015
NOTES update NOTES for composite porter-duff ops Apr 7, 2012
README start logging blit params and detecting them in redump Mar 25, 2012
gen-android-mk.sh android: build the rest of the test apps Apr 27, 2016
ndk-env.sh android ndk build support Apr 27, 2016
run-asmtest.sh misc.. update scripts Jul 29, 2012
run-cffdump.sh pgmdump: add --expand to unroll rptN May 24, 2013
run-compiler.sh add more test shaders Jul 5, 2012
run-redump.sh add script to run redump Apr 7, 2012
run-tests.sh update run-tests.sh Nov 5, 2014
run-zdump.sh zdump: util for parsing 2d cmdstream Mar 8, 2013

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

Something went wrong with that request. Please try again.