Comments (6)
I'm not sure what you mean. PlayN already uses OpenGL ES/2.0 for Java.
from playn.
???
Do you mean Android? For Java only lwjgl.opengl package is used...no lwjgl.opengles.
Theses changes allow arm devices with linux running PlayN.
from playn.
Oh, I think I'm misremembering. I think I did some work to use LWJGL's OpenGL ES but then dropped it because they never shipped a GLES2 jar.
If we can't get a jar for GLES2 from Maven, I'm not inclined to integrate it into the core PlayN, because it will become a maintenance headache. But if you have a fork of PlayN that has the changes applied, I'll definitely take a look at it.
from playn.
Ok, I will create this fork, basically it is GL's classes of android version, pointing to LWJGL's OpenGL ES API.
from playn.
I don't suppose there's a way to somehow combine JavaGL20 and JavaGLES20? There are still a few Buffer limit() related bugs in JavaGL20, maintaining both would be a bit of a pain.
I can't think of a way to do this without writing a code generator though.
from playn.
In my point of view no, is a common mistake guess that openGL ES is branch/superset of normal openGL, but is very different, maybe a best version is clone entire package and rename for something like 'playn.javaes' so this new package can focus on ARM devices capabilities/restrictions (like less memory, openGL ES gpu).
anyway the code is committed on git :), now everybody can use it to dev nice games for raspberry pi/ panda board.
from playn.
Related Issues (20)
- Layer.setScale(0) blows up in hit testing HOT 1
- JavaStorage is volatile HOT 2
- Automatically publish snapshots HOT 1
- GroupLayer.addListener not working? HOT 2
- Resizable window on java version? HOT 3
- gamepad support? HOT 12
- Error: uniform variables in vertex shader do not fit
- Initialize platform components lazily HOT 2
- Getting started still points at Google code site HOT 3
- Vivante GPU rendering problem
- Shutdown GLView completely HOT 1
- foreground color not working anymore using Canvas.fillText HOT 2
- NullPointerException using PlayN.net().get(url,callback) API HOT 5
- addBarrier behaves different in Java and HTML
- No documentation provided HOT 2
- Support for GIF Animations HOT 2
- Detecting keyboard modifiers (Shift, Alt, Ctrl, etc) HOT 1
- Can no longer build using Maven HOT 1
- [bug] invokes toString on an array 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 playn.