From: Chris Wilson Date: Tue, 10 Jan 2017 21:23:24 +0000 (+0000) Subject: i965: Do not use purged bo after calling glObjectUnpurgeable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed442ee39b4e2a2e25ea4ccd880e4bded9d29a51;p=mesa.git i965: Do not use purged bo after calling glObjectUnpurgeable If the buffer has been freed by the kernel under memory pressure, it is invalid to try and access the backing storage for that buffer in the future - the backing storage is not recreated automatically. As such we need to mark the GL object as being freed for unretained buffers and so recreate the object on next use. Futhermore from the GL_APPLE_object_purgeable: "In contrast, by calling ObjectUnpurgeableAPPLE with an