shirro / pi-eglonx Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi egl on X
Raspberry Pi egl on X
eglGetError() calls within error messages have the incorrect format specifier %s attached to them, which causes a segfault. In one case the call on eglGetError() is missing.
I have not been able to track down the source of this yet, but I have noted a possible race condition around the startup which causes a BadMatch error from X11 when running this code. This was running on 2012-12-16-wheezy-raspbian.
The EGL implementation on Raspberry PI seems to be threaded, as valgrind reports a number of problems within threads during startup. It is likely that the problem lies in the system libraries; valgrind does report quite a few problems with them.
I first ran into this problem when trying to develop my own GLES code based on this project. With my project the problem happens every time. I went back and reproduced this problem with the code as published here, although in that case it occurs far less often. Adding a 1s delay before the call on XGetWindowAttributes in render() causes the problem to go away.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.