[Mesa-dev] EGL and glClear(): Nothing is drawn on screen

Ralf Jung post at ralfj.de
Wed Apr 10 09:43:32 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> OK, the presence of glDrawBuffer(GL_FRONT) in the linked code plus 
> the glFinish()/glFlush()es made it look like you were.
I did some experimenting with manual copying... also, the code will
clearly show that I am very inexperienced at GL ;-)

> You don't need any flushing after a swapbuffers.
I added that in an attempt tog et more predictable timing behaviour...
to no avail, however. It still spends 99% of the time (that is, the
blocking between two frames in glClear, which I don't understand - I'd
expect it to do that in swap buffers or at least in glFinish, bit no,
it blocks in glClear.

Kind regards,
Ralf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRZZawAAoJEEAdTZ0mjB1W7MAH/A9YQ1jOMfSkz/93JZf5H80O
RwXAC0m2U82/doZpoEE7iW4MBkip0FD7/rIBxXUdRcjsZ9AASYlf1P8HAUatrZtp
BUp7e8u37G1RPRXp0fy1bHua6GyUVxD8tfDtRkvNOW1wXcQjq1lTsd8cQ/Boqh4m
RgzkuTFZmqN/tfqfj3SGvbzgXQL+1u/oKCoVXjo8uNueHH/ye6uTEXtk9x0oAlqs
9hDOef9EdbDcdSXEB5QIueZPTYTPegzJ7tjLeqBJToju7MGdAviORnI41pr+QPSW
6pSDXmvIirG+JR/K5DN5iNovoZcf0gHrerC3IeM24N8x27VzHYtwMZs+7NfM6UM=
=g8qN
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list