[Mesa-dev] [Bug 38869] Cannot create a valid pBuffer with height and/or width of zero

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 22 15:42:19 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=38869

--- Comment #5 from Corentin Wallez <corentin at wallez.net> ---
Bumping this as I've run into this bug (feature?) while porting ANGLE to run on
GLX. When ANGLE is initialized we make the context current on a dummy PBuffer
created with {None} as attributes, which makes it a (0, 0)-sized Pbuffer.

Doing so on Mesa 10.5.9 on a HD Graphics 5500 causes the following to be
thrown:
  X Error of failed request:  BadValue (integer parameter out of range for
operation)
    Major opcode of failed request:  53 (X_CreatePixmap)

It seems that the driver might be trying to back the PBuffer using a Pixmap of
the same size. The documentation of XCreatePixmap says that the width and
height should be non-zero or BadValue is generated.

Let me know if you need more information.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151022/7c0cb80e/attachment.html>


More information about the mesa-dev mailing list