demos: Refactor to simplify and optimize
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Sat, 14 Feb 2015 00:52:46 +0000 (17:52 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 26 Feb 2015 00:15:46 +0000 (17:15 -0700)
commitfee6f4444bc81e9b8b86c92a9e35aba351b0f1c6
tree66162a39fc6dc7b87fea3abe4deb6d279ac50818
parentb9f69c7073f0c3aa68878f7cc80fed0f53c986f5
demos: Refactor to simplify and optimize

Will now check if texturing is supported on linear, CPU accessible
textures. If so, just uses that. If not, will use a staging buffer
to copy to optimized layout texture image.
demos/tri.c