Commit graph

2414 commits

Author SHA1 Message Date
Eric Engestrom
4737b44149 Add some debug warnings
Make use of them by configuring your build type to debug, for instance
by adding `-DCMAKE_BUILD_TYPE=Debug` to your cmake invocation.
2016-03-22 00:53:10 +00:00
Eric Engestrom
caabf520f2 Remove VK_PROTOTYPES
This guard macro was inverted shortly before the release;
use VK_NO_PROTOTYPES when you do *not* want the prototypes.
2016-03-22 00:25:50 +00:00
saschawillems
16440383c5 Removed deprecated separate triangle and texture demos, replaced with android build files (wip) (#97) 2016-03-21 23:33:33 +01:00
saschawillems
786e43384d Android support for texture example (#97) 2016-03-21 22:41:27 +01:00
saschawillems
3ce7c0a96a Restored window title with device info and fps counter 2016-03-21 22:10:26 +01:00
saschawillems
e3c26e01ac Shader loading 2016-03-21 20:10:21 +01:00
saschawillems
29ac49fb6a Function fro getting asset base path depending on operating system 2016-03-21 20:10:09 +01:00
saschawillems
d7bbb0c7a2 Added basic android gamepad support (#97) 2016-03-20 21:46:49 +01:00
saschawillems
bc71f44c75 Android main entry point, shader loading (#97) 2016-03-20 20:04:59 +01:00
saschawillems
c21d769b7f Android render loop (wip) example base class (#97) 2016-03-20 20:04:27 +01:00
saschawillems
87fd1be105 Android event handler (#97) 2016-03-20 17:35:54 +01:00
saschawillems
0ffc005c8f Android makefiles, manifest and icon (#97) 2016-03-20 16:27:32 +01:00
saschawillems
fed45eac20 Shader module loading from android asset manager (#97) 2016-03-20 15:46:06 +01:00
saschawillems
333eede595 Store reference to android app in vulkan base class (#97) 2016-03-20 15:45:40 +01:00
saschawillems
f13614e6d2 Fixed ifdefs (#91), added preliminary android support to vulkan example base (#97) 2016-03-20 14:55:46 +01:00
saschawillems
92cdb2060e Android makefiles for triangle example (wip) (#97) 2016-03-20 14:31:20 +01:00
saschawillems
2ac9be7225 Additional log level macros for android, different tag for logcat 2016-03-20 12:04:06 +01:00
Eric Engestrom
de69f2f80d Add missing colon 2016-03-20 02:48:59 +00:00
saschawillems
cbf692dcba Added android log macros 2016-03-20 01:13:33 +01:00
saschawillems
283a80d7bc Added some Vulkan function pointers for android 2016-03-19 22:45:21 +01:00
saschawillems
1c494bacb3 Added some Vulkan function pointers for android 2016-03-19 21:45:49 +01:00
saschawillems
15a860bc42 Added particle system example to the readme 2016-03-19 20:10:41 +01:00
saschawillems
9c891b8273 Particle fire system minor changes, added screenshot 2016-03-19 20:02:30 +01:00
saschawillems
f621b4c12a Update texutre maps and shaders for particle system fire 2016-03-19 20:02:30 +01:00
saschawillems
6b50c207ae Check vkWaitForFences result 2016-03-19 20:02:28 +01:00
Sascha Willems
1faccf429a Merge pull request #89 from 1ace/add-vulkan-docs-links
Add link to Vulkan API documents
2016-03-19 18:49:07 +01:00
saschawillems
403e6f33cb Textureloader : Use fences instead of queue wait idle for command buffer submissions, replaced asserts with checkResult from vkTools namespace 2016-03-19 16:30:39 +01:00
saschawillems
51e840416d Use staging buffer and move ssbo to device local memory 2016-03-19 14:03:10 +01:00
Eric Engestrom
d28f357c40 Add link to Vulkan API documents 2016-03-19 00:55:19 +00:00
saschawillems
fcdc8f8973 Changed description for triangle example and added info on the use of staging buffers (#84) 2016-03-17 22:51:15 +01:00
saschawillems
deccc3ada0 Use staging buffers for vertex and index data for uploading to device local memory 2016-03-17 22:32:15 +01:00
saschawillems
a6a897f244 Added function for checking against VK_SUCCESS, updated error list to latest SDK 2016-03-17 22:07:42 +01:00
saschawillems
25c38e7312 Store and reuse pointer to mapped particle memory instead of mapping/unmapping each frame, refactoring 2016-03-17 20:28:07 +01:00
saschawillems
af6df4e860 Windows message loop fixes, added mouse wheel zoom 2016-03-17 20:20:43 +01:00
Dylan Baker
35275bf8ef cmake: Add FindASSIMP.cmake
This find module addresses the problem raised by debian (non-sid) and
Ubuntu (and possibly other distributions) that don't install the cmake
config files.

This FindModule will try to use a config file, but will fall back to
using find_library if it can't.

It will unset any variables provided by the config that the find path
wont also expose.
2016-03-16 15:10:02 -07:00
saschawillems
e13f7c6e12 Pass image usage bits 2016-03-16 21:27:56 +01:00
saschawillems
08394eae30 Added particle fire example to cmakelists 2016-03-16 20:58:11 +01:00
saschawillems
62717ea021 Pass image usage flags to texture loader (2D image) 2016-03-16 20:27:33 +01:00
saschawillems
76d41fcd6d Corrected image usage bits and descriptor types for compute storage images (#76) 2016-03-16 19:55:38 +01:00
saschawillems
598da3670e Custom sampler for particle textures 2016-03-15 22:53:23 +01:00
saschawillems
e9784afba4 Added cpu based fire particle system (wip) 2016-03-15 22:38:32 +01:00
saschawillems
708bfeb6e5 Added simple mesh class 2016-03-15 22:22:07 +01:00
saschawillems
40ca99955b Assests and shader for fireplace particle example 2016-03-15 22:10:43 +01:00
Sascha Willems
1d987dd040 Removed unnecessary undef (left-over from refactoring) 2016-03-15 14:01:35 +01:00
saschawillems
f053010a88 Added assets for fireplace particle example 2016-03-14 23:17:01 +01:00
Sascha Willems
386d708f9c Merge pull request #81 from dcbaker/pr/fix-linux-cmake
Fix building on linux (and possibly on windows)
2016-03-14 21:34:49 +01:00
Dylan Baker
bc90df5a9b CMakeLists.txt: use find_package for assimp on linux
assimp as an upstream provides a cmake-config file
(https://github.com/assimp/assimp/blob/master/assimp-config.cmake.in)
that can be used to in place of find library.

This may be usable on windows as well, but I don't have such a system to
test on.
2016-03-14 10:59:14 -07:00
Dylan Baker
b3218d5db8 CMakeLists.txt: Rename ASSIMP_LIB to ASSIMP_LIBRARIES
The latter name is used by the upstream cmake-config file, and will be
used in the next patch.
2016-03-14 10:57:42 -07:00
Dylan Baker
c6122adcda CMakeLists.txt: Move libassimp.dll.a to windows side of if/else
This is a dll, and clearly meant for use on windows not on Linux.
2016-03-14 10:55:17 -07:00
saschawillems
7805130e7d Updated API-Version to 1.0.5 and min. requirement to 1.0.2 (Fixes #79) 2016-03-13 17:25:22 +01:00