User avatar
Criffer
Posts: 4
Joined: Tue Dec 22, 2015 4:37 pm

Rendering errors with vertex coalescing and advanced stencil

Fri Jan 08, 2016 12:47 pm

I've found a rendering bug in the Raspberry Pi's GLES driver.

glDrawArrays and glDrawElements appear to coalesce multiple vertices to avoid repeated drawing. (glxx_client.c:draw_arrays_or_elements). When stencilling is enabled with an advanced mode such as GL_INCR or GL_DECR, pixels can be written an incorrect number of times, causing the stencil buffer to not contain the intended result.

I posted a bug report at github. https://github.com/raspberrypi/userland/issues/281

User avatar
Criffer
Posts: 4
Joined: Tue Dec 22, 2015 4:37 pm

Re: Rendering errors with vertex coalescing and advanced ste

Wed Jan 20, 2016 1:39 pm

This affects rendering in Webkit using the OpenGL ES backend, as QPainter uses stencilling to render non-concave paths. https://web.archive.org/web/20150328200 ... nce-opengl

Return to “OpenGLES”