aboutsummaryrefslogtreecommitdiff
path: root/build-android
AgeCommit message (Collapse)Author
2017-06-12build: Remove swapchain layer build from cmakeMark Lobodzinski
Also removed from android makefiles. Change-Id: Ib4be1c737e9bd9fda21210ed7b234b9242b7b8f5
2017-06-09layers: Move shader validation plumbing out into own fileChris Forbes
2017-06-06build: Add extension helper generation to cmakeMark Lobodzinski
Change-Id: Id93ead148d5b0beb23ee5d9f1bc7e8fc727aa46e
2017-05-30external: Update external revisionsJeremy Hayes
Change-Id: Ie168ac55cc12d317a2c189dbaee735718b295c04
2017-05-25external: update external revision for glslangJeremy Hayes
Pick up a fix for built-in redeclarations. Change-Id: I2b506e24b2cf619b07ff1c75ab0a9a05143379ca
2017-05-23external: update external revisionsJeremy Hayes
Update external revisions for glslang, spirv-tools, spirv-headers, and shaderc. Change-Id: Ie1f4afe2d36a6d8e3d1e166c23372f8f6523cf59
2017-05-23android: Update gradle layer build to use cmakeguanghuafan
2017-05-15external: Update refs for glslang and spirv-toolsMike Weiblen
Change-Id: Iaf28f3b22c53d8272984e7369fb5afb606908bdd
2017-05-02external: Update external reference ID for glslangMike Weiblen
Change-Id: Ied5cecf65eaafcab9274376fea452934bda3f69b
2017-04-29external_revisions: bump spirv-toolsChris Forbes
CV needs the new bitpattern interface for specialization. V2: also bump for android V3: also bump headers V4: also bump shaderc for android build
2017-04-18android: Add script that installs APKsCody Northrop
2017-04-18android: Add test_APK script for layer validationCody Northrop
This is a script we've been using internally for a while, no reason not to make it public. It installs our layer validation tests, runs them, and gathers output. Improvements are welcome! Usage: ./test_APK.sh -s <serial number> -p <plaform name> -f <gtest_filter>
2017-04-18android: Add build script that includes APK packagingCody Northrop
2017-04-05build: Add object_types codegen steps for AndroidMark Lobodzinski
Change-Id: If54d83c9b5c67ad92f7510718e1194391bf9fff5
2017-03-30android: Update to matching desktop glslang versionCody Northrop
2017-03-29layers: refactor layer utilsDave Houlton
Split format-related helper fxns out of vk_layer_utils.cpp into a new file vk_format_utils.cpp. Remove the duplicated fxns in the render framework and share the new format utils across both projects. Rename the util fxns into CamelCase per coding std. Change-Id: I0f9a34bc5931dfca085dfdc8d4800664aec526cf
2017-03-28android: Update toolchain revisions and locationsCody Northrop
Start pulling from github again for more recent bits. This includes changes to easily allow changing the repo url.
2017-03-07Use nproc instead of ncpuCiro Santilli
The command is more widely available in Linux since it is part of Coreutils.
2017-03-01vulkan: update to header 1.0.42Mark Young
Updated all necessary files to 1.0.42. This includes the various headers as well as the loader, and the parameter validation, object tracking, and threading layers. Additionally, bump all layer JSON files to 1.0.42. Also, in this change: - Enable loader extension automation so that the loader now generates all extension entry-points automatically during build to reduce likelihood of missing a critical piece on header update. - Enable layer dispatch table extension automation for the same reason. - Fixes from Mark Lobodzinski and Tony Barbour to resolve crash in loader when working with Intel's Windows driver due to GetInstanceProcAddr getting called on inappropriate command names. Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
2017-02-16android: Update build to skip image layerMark Lobodzinski
All image layer functionality has been moved into the core_validation layer. Change-Id: I980e279626e4e3f29c5068240260a737a5a707b1
2017-01-17layers: Move CreateImage recording to buf/img moduleMark Lobodzinski
- Move source from core_validation.cpp into new module - Add new module to layers cmake file - Update android build scripts/makefiles for new files Change-Id: Ia4000b26384d96a551d727f5e37997372f01764a
2017-01-11android: Switch safe_struct over to new codegenMark Lobodzinski
Change-Id: Ia89cfec2b836437c2f2009608795d1ee38b811ad
2017-01-10android: Fix typos in android-generate scriptMark Lobodzinski
Change-Id: I31c32e56ae09134b7b91c610b546a9d46c20c007
2017-01-10android: Add codegen for struct_size_helpersMark Lobodzinski
Change-Id: I264d7ecca323089bda1583dbcf9eb751736146a7
2016-12-28android: Update build scripts w/enum_string codegenMark Lobodzinski
The enum_string_helper header is now generated from vk.xml. Change-Id: I6adf09663c87b21623993a939a8ad60e343a805d
2016-12-22android: Preserve toolchain build if presentCody Northrop
Similar to a2e6ddd1 which preserves it for desktop.
2016-12-12android: Update windows script to request python3Cody Northrop
2016-12-12build: Update generate scripts to use python3Mark Lobodzinski
Upcoming header scripts require python3 -- updated Windows and Linux android-generate scripts. Change-Id: Iba3b44d0999b5c28b9fc83800a4d54d46cbc2a4c
2016-12-08build: Update Android cmake w/new dispatch_table genMark Lobodzinski
Change-Id: Id505439bf599ac04d2590e84e30ca29da9359f56
2016-12-02build: Removed obsolete ICD refs from android scriptMark Lobodzinski
Change-Id: I38ddea801f3efb887eac9da469428d3476f7adc3
2016-11-29toolchain: Switch back to tracked revisions on AndroidCody Northrop
This allows us to recreate the entire LVL package from any point in history. We continue to pull known good revisions from AOSP.
2016-11-21build: Move vk.xml file into scripts dirMark Lobodzinski
- Update android-generate batch/script files - Update layers CMakeLists.txt file Change-Id: I6423f441d61daa20aef2cc5e8bc719113fd7978d
2016-11-21build: Move XML codegen scripts into scripts dirMark Lobodzinski
- Update android-generate.bat and android-generate.sh - Updated layer CMakeLists.txt files for new path Change-Id: I1b1c9dbc9e944c90e95542fcfdda1d2e804517f3
2016-11-21build: Move codegen scripts into scripts dirMark Lobodzinski
- Set SCRIPTS_DIR in root CMakeLists.txt - Update android-generate.bat and android-generate.sh - Updated layer/loader/tests CMakeLists.txt files for new path - Updated test layer doc scripts for new location Change-Id: I2d519ec40883ebeec4e9daab8641ad65515bb08c
2016-11-14android: Add default core count in case ncpus not availableCody Northrop
2016-11-14android: Move external under build-androidCody Northrop
2016-11-14android: Build toolchain with more coresCody Northrop
2016-11-14android: Pull known good toolchain versionsCody Northrop
This includes pulling libSPIRV-Tools-opt into the build to satisfy new shaderc revision.
2016-11-02layers: Change to including vk_safe_struct code.Mike Stroyan
Cmake on windows cannot handle multiple projects using generated library code.
2016-10-13layers: Update build for v1.0.30 XML code-genMark Lobodzinski
- Updated cmakefiles for new codegen files: renamed genvk.py to lvl_genvk.py as the file is modified in this repo. - Modified dependencies and parameters of cmake build macros. - Updated reg.py to version 1.0.30 - Updated generator.py to version 1.0.30 Change-Id: Ia87fc7fc68e406a724d5ad9822f1f87b964f9977
2016-10-07Fix Android Windows build scriptCody Northrop
2016-10-06Layers: Implement unique_objects layer using vk.xmlMark Lobodzinski
UniqueObjects was the final LVL layer not using vk.xml for codegen. The new implementation follows the threading layer model which (outside of safe_struct dependencies) is more tolerant of API changes. Also updated for structure and style. build-android/android-generate.bat - Updated for build build-android/android-generate.sh - Updated for build generator.py - Added Unique Objects Generator genvk.py - Added call to U_O generator layers/CMakeLists.txt - Updated for build layers/unique_objects.cpp - New: manually generated code layers/unique_objects.h - Now a true header file vk-layer-generate.py - killed! Change-Id: I0d57871dfd2600829502f0bffd7cf6f926b7d5e7
2016-10-03build: hide layer symbols in android buildMike Stroyan
Hide symbols from layers that don't need to be exported. This makes libraries smaller. It reduces symbol lookup time and call overhead. It prevents possible symbol collisions.
2016-10-03build: make android layers favor their own symbolsMike Stroyan
Use -Bsymbolic linking android layers so they don't get symbols like vkCreateDebugReportCallbackEXT from outside the layer.
2016-08-02toolchain: Update revisions for AndroidCody Northrop
Also add spirv-headers, a new dependency for shaderc.
2016-07-28tests: Create APK version of layer validation testsCody Northrop
2016-07-27android: Lift global offset table size limit (-mxgot)Cody Northrop
Currently the mips64 build for Android is broken due to size increases of core_validation. If you disabled optimizations (-O0), you'll get the following error: relocation truncated to fit: R_MIPS_CALL16 The linker flag to lift the limit is -mxgot, documented here: https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/MIPS-Options.html It is a slight de-optimization for global symbol lookups (3 inst instead of 1). Hopefully we aren't using global lookups in performance critical code.
2016-07-22layers: Update object_tracker layerMark Lobodzinski
Removed dead code, added per-instance and per-device object tracking, (this was broken in codegen'd version with no cross-device validation), updated for new layer architectures and coding standards, removed OT-related codegen -- it is now a standalone cpp file. Change-Id: I64464b855e1b4841c8e3a581387e0e9065b006f7
2016-07-06layers: Remove device_limits from Android buildMark Lobodzinski
Change-Id: I4d63b740f046ee8378267082abc3792aa7a85418
2016-06-24toolchain: Simplify shaderc setup for Windows too, per dc0ac6bcCody Northrop