8000 texturator rgb10a2 support, android improvements by anholt · Pull Request #6 · freedreno/freedreno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

texturator rgb10a2 support, 8000 android improvements #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

anholt
Copy link
Collaborator
@anholt anholt comme 8000 nted Feb 25, 2021

A bit more love for texturator, and making the android build less painful.

anholt and others added 9 commits May 6, 2020 15:51
I keep wanting to throw it at the android blob driver to see what
their layouts do.  Use this in combination with
cffdump/scripts/texturator-to-unit-test.lua to generate unit tests for
freedreno.
I'm using v7 binaries for the nexus 5.
Generalize the build script to read ANDROID_NDK_ROOT and allow users to
call ANDROID_NDK_ROOT=~/wherever ./ndk-build.sh without being forced to
use $HOME/android-ndk-r13b.
Note that ndk-build does not read/use either of these variables;
internally NDK_ROOT is derived using MAKEFILE_LIST.

Also pass "$@" through to ndk-build so that I can use -j to feed the
ThreadRipper.

Tested on NDK 13b and 21.3.6528147.
This fd is usually non-null, and breaks ioctl() through `if (ret)`
returning the fd instead of a possible failure code for the ioctl.

Since this way of "chaining" the fd through install_fd is not needed
anywhere, turn the only -1 branch into an assert and convert its return
type to void.
This test is heavily based on https://learnopengl.com/ UBO example.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
There was a question about its layout at one point, so it would be
nice to generate a texture, even if we don't fill its pixels.
This is what I need for my Nexus 5.
I got tired of ridiculous build times when tweaking build options.
@dkati
Copy link
dkati commented Apr 12, 2022

do you mind give me a hand on how to use the source in order to stop "building" the closed source adreno libs for my ROM?
i am on msm8960 samsung s4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0