Re: Question about eglCreatePbufferSurface with empty attrib_list

2022-07-25 Thread Adam Jackson
AFAIK this was the pre-framebuffer-object / OES_surfaceless_context way of making a context current without (really) having a bound surface. That said I don't think Mesa actually implements that feature correctly, atm I think you'll get a BadValue from the xcb_create_pixmap call, but patches to fix

Question about eglCreatePbufferSurface with empty attrib_list

2022-07-18 Thread Lin, Shuicheng
Hi, In spec, eglCreatePbufferSurface is allowed to be called with attrib_list is NULL or empty, which means EGL_WIDTH/EGL_HEIGHT for the surface is 0. And in mesa code, specific to android path, I cannot find the width/height could be updated to a normal value. Also the eglMakeCurrent call after