[Mesa-dev] [Bug 38869] New: Cannot create a valid pBuffer with height and/or width of zero
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 1 01:18:23 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38869
Summary: Cannot create a valid pBuffer with height and/or width
of zero
Product: Mesa
Version: 7.10
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/X11
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: jonathan.kirkham at arm.com
Both the EGL and GLX specifications allow pbuffers to be created with a height
and/or width of zero (and these are the default values).
The MESA implmentation simply returns a surface handle of zero in
Fake_glXCreatePbuffer (within fakeglx.c) when these values are used, without
throwing an error.
Because an error has not been thrown it appears than the buffer is valid when
it is not. Subsequent calls to query or destroy the buffer will cause errors.
Other implementations throw a BAD_VALUE error in this case although this is not
part of either specification.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list