Comments (5)
Hi @joeblew99
For OS X / macOS you'll need to install the latest GLFW 3.3 from master https://github.com/glfw/glfw
and prepare MoltenVK https://moltengl.com/moltenvk/ SDK beforehand so CMake could find it.
There is a Makefile https://github.com/vulkan-go/demos/blob/master/vulkancube/vulkancube_desktop/Makefile to show how to properly invoke go install
specifying the path to GLFW.
For Windows you don't need to compile MoltenVK and can use GLFW 3.2.1 distro from the site http://www.glfw.org then just specify paths in Makefile or run commands by hand, specifying paths to GLFW distro folders.
Make sure your graphics card and driver are supported:
- https://developer.nvidia.com/vulkan-driver
- http://www.amd.com/en-us/innovations/software-technologies/technologies-gaming/vulkan
In all cases you will run XXX_desktop
demos.
from demos.
Thanks @xlab
Am disappointed they charge so much for the license. Grumble grumble ....
Will have a play anyway.
Benchmark of OpenGL versus Vulkan Spinning the same triangle will be a useful thing
from demos.
Benchmark of OpenGL versus Vulkan
Don't expect much from benchmarks at this stage, however I wonder what the difference will be.
Am disappointed they charge so much for the license.
You can use it absolutely free, but there will be a watermark. For playing around this is feasible. And MoltenVK is not a real driver like NVIDIA would provide for their GPUs, so it would still be not fair to benchmark using MoltenVK.
from demos.
Benchmark. I expected it to not be optomised. The reason i want to ad it is so we can run the benchmarks as we code things and se if changes to the code are impacting perf. Good regression testing best practice. Having a Spinning Triangle in golang / openGl is also a nice benchmark for Us and others to see how it compares too.
Could you add the Dependencies to the README so others also see this ?
from demos.
Could you add the Dependencies to the README so others also see this ?
Done
from demos.
Related Issues (14)
- Linux Support HOT 2
- iOS and Android open GL running inside flutter
- vulkandraw on linux not working? yet? HOT 4
- vulkaninfo compute not working on linux. HOT 2
- demo vulkan cube sdl2 invalid go HOT 2
- GLFW: use window.Handle() instead of window.GLFWWindow()
- Error finding linmath package HOT 2
- MemCopyFloat32 Deprecated? HOT 2
- GLFW setup on OSX HOT 8
- panic: vkInit failed HOT 7
- Demos images are broken HOT 1
- Makefile does not work on windows
- go build github.com/vulkan-go/vulkan: invalid flag in #cgo LDFLAGS: -Wl,--allow-multiple-definition HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demos.