-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
HENRY David wrote:
> Running with MESA_DEBUG=1, I can get this error just before the
> segfault:
> Mesa: User error: GL_INVALID_OPERATION in glMapBufferARB(already mapped)
>
> I works in software mode, without giving OpenGL errors.
Hmm... I wonder if driver is internally mapping the buffer but
forgetting to unmap it? This seems unlikely, but it would explain the
difference from software. I assume that your test does some drawing
before the failing glMapBuffer call? If so, could you put something
like the following before and after the drawing?
{
GLint is_mapped = 0;
glBindBuffer(GL_ARRAY_BUFFER, buf);
glGetIntegerv(GL)_BUFFER_MAPPED, &is_mapped);
printf("buffer is%s mapped", is_mapped ? "" : " not");
}
If the state changes over the drawing, please submit a bug. Be sure to
include a description of your drawing state. We'll want to make a
piglit test to reproduce.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpI9VYACgkQX1gOwKyEAw9QAQCgmxyHs89E2KpcWp4iRttmLFff
TFgAn1ViYxJUp3ZpA62ih6lRieLIosdS
=xM9w
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel