https://bugs.freedesktop.org/show_bug.cgi?id=61012
--- Comment #3 from Roland Scheidegger <srol...@vmware.com> --- (In reply to comment #0) > The following(ish) code produces an assertion failure using llvmpipe libGL > from Mesa 9.0.2: > Near as I can tell, the call responsible for storing that state with the > pbuffer is this code: > > > http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/glx/ > xlib/xm_api.c?id=369e46888904c6d379b8b477d9242cff1608e30e#n460 > > A call to get_drawable_size retrieves the size of the pbuffer drawable into > local variables width and height, but these values never make it into the > XMesaBuffer structure. This isn't llvmpipe specific right? That call you mention indeed looks a bit odd. The function comment explicitly states Width/Height of the new buffer will be 0 so I don't know why it calls get_drawable_size() there in the first place (probably some leftover from older code). It looks like for pixmaps/windows that information will be filled out later at MakeCurrent time, which will eventually call xmesa_check_buffer_size() which will fill it in. However, for pbuffers this is a noop. My guess is it should be filled out in XMesaCreatePBuffer() instead since pbuffers have fixed size (?). -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev