gameduell / opengl

A duell library that provides the OpenGL API, as well taking care of creating the contexts for each platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This library provides the OpenGL API. It works on iOS, Android and HTML5. It can also work on any cpp target, but we only currently provide backends for the creation of OpenGL contexts in iOS, Android and HTML5. It currently has a very initial implementation of a initial opengl state xml configuration plugin. Currently you can only set the html5 windows size, but the idea is to add all the opengl state configurable this way with other opengl state things, e.g. depth test enable/disable.

Usage:

Initialize the GLContext and call OpenGL methods.

= Release Log =

== v6.1.0 ==

  • iOS now with splash screen feature to avoid clear color frames when starting the app.

== v6.0.0 ==

  • Updated dependencies

== v5.2.0 ==

  • Now setting the main view on the DuellAppDelegate

== v5.1.0 ==

  • Added proguard support
  • Added support to use OpenGL extensions
  • Added Vertex Array Objects and DiscardFramebuffer extensions

== v5.0.0 ==

  • Added files for documentation generation.
  • Refactored opengl backend for HTML5, that it just creates data views on the served data, when it is actually needed. This reduces GC activity a lot on HTML5.
  • Implemented a webgl debugger to simulate losing the opengl context. Compile with -D webgldebug to activate it.

About

A duell library that provides the OpenGL API, as well taking care of creating the contexts for each platform

License:BSD 2-Clause "Simplified" License


Languages

Language:Haxe 65.7%Language:JavaScript 11.7%Language:Java 10.2%Language:Objective-C++ 8.5%Language:Objective-C 2.1%Language:C++ 1.7%