gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 551 forks source link

[gles] Mapping errors #1499

Open kvark opened 6 years ago

kvark commented 6 years ago

By @fokinv in https://github.com/szeged/webrender/issues/31#issuecomment-329794279:

called unimplemented OpenGL ES API error, which was caused by sync(&mut mapping); call in gfx/src/core/src/mapping.rs

cc @Bastacyclop

kvark commented 6 years ago

We call glClientWaitSync without ensuring the support (ES3 is required)

We need to check/enable/use GL_OES_mapbuffer extension.