Re: [PULL 4/6] ui/gtk-egl: guest fb texture needs to be regenerated when reinitializing egl

2021-11-08 Thread Philippe Mathieu-Daudé
On 11/6/21 21:32, Laurent Vivier wrote: > Le 05/11/2021 à 12:30, Gerd Hoffmann a écrit : >> From: Dongwon Kim >> >> If guest fb is backed by dmabuf (blob-resource), the texture bound to the >> old context needs to be recreated in case the egl is re-initialized (e.g. >> new window for vc is created

Re: [PULL 4/6] ui/gtk-egl: guest fb texture needs to be regenerated when reinitializing egl

2021-11-06 Thread Laurent Vivier
Le 05/11/2021 à 12:30, Gerd Hoffmann a écrit : From: Dongwon Kim If guest fb is backed by dmabuf (blob-resource), the texture bound to the old context needs to be recreated in case the egl is re-initialized (e.g. new window for vc is created in case of detaching/reattaching of the tab) v2: cal

[PULL 4/6] ui/gtk-egl: guest fb texture needs to be regenerated when reinitializing egl

2021-11-05 Thread Gerd Hoffmann
From: Dongwon Kim If guest fb is backed by dmabuf (blob-resource), the texture bound to the old context needs to be recreated in case the egl is re-initialized (e.g. new window for vc is created in case of detaching/reattaching of the tab) v2: call egl_dmabuf_release_texutre instead of putting 0