Giter Club home page Giter Club logo

adavulkan's Introduction

Ada Vulkan

This is an Ada 2012 binding to the new Vulkan API.

Building

There are a number of variables which can be set to control the compilation:

VULKAN_PLATFORM = Can be set to one of the following values: linux, windows, macosx, ios or android. Defaults to linux. VULKAN_MODE = Can be one of: debug or release. Defaults to debug. VULKAN_BUILD = Can be one of: static or shared. Defaults to a statically built library. VULKAN_BITS = Can be one of: 32 or 64. Defaults to 64. VULKAN_WINAPI = Can be one of: none, real. Defaults to none, this will include local packages to provide extra types for the windowing API such that the programmer can access window handles on various OSes. If real is selected, then there must already be bindings to the various windowing API's available on the development machine.

cd build/gnat
make VULKAN_PLATFORM=linux VULKAN_MODE=release VULKAN_BUILD=static VULKAN_WINAPI=real VULKAN_BITS=64

0.0.1

Installation

make VULKAN_PLATFORM=linux VULKAN_MODE=release VULKAN_BUILD=static VULKAN_WINAPI=real VULKAN_BITS=64 DESTDIR=/myprefix install

Copyright

Copyright (C) 2016 by Luke A. Guest

Roadmap

  1. Quick binding generation using g++ -fdump-ada-spec-slim
  • Massage API by hand.
  1. Experiment with the API to work out how best to generate a full thick binding.
  • given that Vulkan was designed for multithreaded use, it is a natural fit for Ada's tasking abilities.
  1. Extend Vulkan's registry python scripts to dump out the finalised binding.
  • Given that Vulkan will be extended over time, we don't want to be in the same situation we have been in with OpenGL bindings, i.e. stuck on 1.5-2.0 for years whilst everyone else is using 3-4.x. So we extend their generator such that new Ada bindings can be generated when a new vk.xml file is released.
  1. Provide an Ada specific Vulkan SDK, possibly porting some of the C/C++ demos and showing framerates and other statistics to show Ada is a good fit for this area of software development.
  2. Ada 2012 based shader language -> SPIR-V

XCB bindings

Jacob Sparre Andersen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.