Binary that renders a triangle using Vulkan and scans the resulting image to a PNG. To be used in developing Turnip.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Brian Ho 5672dc864e Support android cross-compilation and tracing pirms 5 gadiem
.gitignore Create VkQueue and VkPipeline pirms 6 gadiem
Android.mk Support android cross-compilation and tracing pirms 5 gadiem
Application.mk Support android cross-compilation and tracing pirms 5 gadiem
Makefile Support android cross-compilation and tracing pirms 5 gadiem
README.md Support android cross-compilation and tracing pirms 5 gadiem
triangle.cc Fix a few bugs pirms 5 gadiem
triangle.frag Create VkQueue and VkPipeline pirms 6 gadiem
triangle.vert Create VkQueue and VkPipeline pirms 6 gadiem

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