Comments (2)
@ptitSeb
Finally, I find the problem has nothing to do with the GLES 1.1 context creation.
I use GLSurfaceView in JAVA code to create GLES 1.1 context.
Although the error log shows every time when the app runs :
E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
In fact the opengl functions can work fine.
The problem is some other bugs and have nothing to do with gl4es.
Sorry about that ...
Besides, I find that GL_TEXTURE_RECTANGLE_ARB does not work with gl4es, while GL_TEXTURE_2D works fine.
from gl4es.
I haven't checked the entire source code but I suspect the issue is with the GLES 1.1 context creation.
There is a limit of gl4es on Android for now: there is no real glX support, so gl4es is not abble to create the GLES 1.1 context by itself.
Most (all?) existing use of gl4es on Android use SDL or SDL2 and let it create that context.
So you have to create a GLES 1.1 context before calling any gl function in your Android app.
(the gl itself looks fine and should run in gl4es)
from gl4es.
Related Issues (20)
- //TODO: Add GL_COPY_READ_BUFFER and GL_COPY_WRITE_BUFFER HOT 3
- Seemingly broken triangle rendering
- nanovg example_gl2 errors
- Question about skips.h and #define guards HOT 2
- X11 WSI support for android targets? HOT 4
- EGL_BAD_DISPLAY error on Mali G52 driver blob (GKD Mini Plus) HOT 9
- Raylib clashes HOT 9
- When will gles3.0 be supported? HOT 1
- [Question]: About the LOAD_GL* macros HOT 20
- [Question]: NEON Intrisics HOT 6
- `LIBGL_ES=1` breaks rendering of MC 1.7.10 HOT 2
- [Question] how to use gl4es using box64 and wine?
- Amigaos4 slowdown possibly with displaylists HOT 4
- Commit c8cf6cb31aa12700e7cf30261159436653de8103 causes DSI error on AmigaOS4 HOT 8
- add support for TEGRA HOT 4
- CS2
- Add support for glCopyColorTable HOT 1
- New release HOT 2
- [request] update OpenGl4Es
- GL_PIXEL_UNPACK_BUFFER bindBuffer type 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 gl4es.