Binary that renders a triangle using Vulkan and scans the resulting image to a PNG. To be used in developing Turnip.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Brian Ho 5672dc864e Support android cross-compilation and tracing 5 år sedan
.gitignore Create VkQueue and VkPipeline 6 år sedan
Android.mk Support android cross-compilation and tracing 5 år sedan
Application.mk Support android cross-compilation and tracing 5 år sedan
Makefile Support android cross-compilation and tracing 5 år sedan
README.md Support android cross-compilation and tracing 5 år sedan
triangle.cc Fix a few bugs 5 år sedan
triangle.frag Create VkQueue and VkPipeline 6 år sedan
triangle.vert Create VkQueue and VkPipeline 6 år sedan

README.md

Vulkan triangle example application

Overview

This repo contains the source for an applicaiton that renders a triangle using Vulkan and then saves the output as a PNG. This applicaiton is meant as a starting point to debug freedreno featurework for Chrome OS.

Instructions

  • Enter the CrOS chroot and set up the boards you want to test against (setup_board --board=${BOARD}).
  • Emerge Vulkan, mesa, and libpng to the device under test (emerge vulkan-loader media-libs/mesa libpng && cros deploy ${IP_ADDR} ${PACKAGES}).
  • target={local, atlas (i915), cheza (adreno), android, android-trace (libwrap.so)} make