[Mesa-dev] EGL and glClear(): Nothing is drawn on screen
Ralf Jung
post at ralfj.de
Wed Apr 10 09:02:35 PDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
>> I am not using GLES, but normal OpenGL through EGL. And I am
>> pretty sure it's double-buffered - as far as I understood it,
>> that's the default, and I did not attempt to override it in any
>> way (like calling glDrawBuffer).
>
> Oh, our EGL implementation is not prepared for frontbuffer
> rendering at all.
I do not render into the frontbuffer. I render to the backbuffer, as
usual, and then call eglSwapBuffers. See
<http://www.ralfj.de/git/gltest.git/blob/refs/heads/master:/gltest.cpp#l138>
Kind regards,
Ralf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRZY0YAAoJEEAdTZ0mjB1WjdEH/RyYbwdGiCzKZv+2M1COpxwo
lS6k8nlP3R9f4PTna0R1RCCQ0UsA9pS3ed+zS+eJWenE1hHudmoqnt4JymUvykIy
mEODCA+K86FU/pELTdjpFoiDkWYjNJA6sj+DNXdTS5tAk/1C8NPq+HJmSdTFtbjz
4fcSQNYosLOjdvtefjl6wP4ObeSTNo+5/ivMwttI4C91Nwv4ONeGentViDqSxz+O
x2YE1sP00YhV0TDCF62dMs1aAXT6JXaQcKKPXkHs6Fh//AHzmiwd5Jfeff8OXJ1Y
XU8wPZTliX+Yza8WldTtafUOcMNSvf3Ofz3HQQS50J5YAKa1pEs54G6bNtI/qF4=
=JbS6
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list