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

Ralf Jung post at ralfj.de
Wed Apr 10 03:47:03 PDT 2013


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

Hi,

> If you were testing with front buffer rendering, GLES doesn't 
> support front buffer rendering (because nobody should ever use
> it). I recommend using a debug build of mesa when developing GL 
> applications, since it dumps GL error messages to the console by 
> default.
> 
> If it was in the double-buffered path, then I don't have any other 
> info.
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).

Using a debug build, I get the following output:

Using EGL version 1.4
Initial window size: 800x600
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Mesa: Initializing x86-64 optimizations
59.6 fps, time spent: Pre-Render 0.0%, Clearing 1.1%, Drawing 0.6%,
Presenting 91.7%, Post-Render 6.1%, Outside renderer 0.1%
59.9 fps, time spent: Pre-Render 0.0%, Clearing 1.0%, Drawing 0.6%,
Presenting 92.1%, Post-Render 6.2%, Outside renderer 0.1%

Most of this is from my application, except for the two lines starting
with "Mesa".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRZUMbAAoJEEAdTZ0mjB1WbJQIAMg31t60dOP3XbTt6MGBfdzU
l3m1i54gEsKESHEKnUPulBBqHunoWSyQCwYEaABnNCOHiuJBZpFV+5otbAwtDqW3
DGsEaI0tXnA6Nz6V1TjjZyKxDTHkFUEZrcd6dTbla9G/BOSqNXL0FjeGhIFi0xAA
F2Q2pVSUbVm7PJAfGieMWTz3mLX6ElhBO27UhfO0l1hCwnUkFsHpCoKcL+IHSZ5P
vzlnpXxBvKphADy7rAt/OrKz/qA2I6Q3hTrZ4jBApGgb+cjTF+Qq2s38DdXOsPXB
33uVT7hgZ+Ka4xOhDivlPZojH/U/ALEjcCwq/darGpYEK23vJzwtKpgPnZmXfoE=
=0W1b
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list