Re: [Mesa-dev] [PATCH v3 6/6] st/mesa: ask pipe driver to recreate derived internal resources when (re-)binding external textures

2017-01-14 Thread Marek Olšák
Reviewed-by: Marek Olšák On Dec 6, 2016 2:57 PM, "Philipp Zabel" wrote: > Use the resource_changed callback to invalidate internal resources > derived from external textures when they are (re-)bound. This is needed > to comply with the requirement

[Mesa-dev] [PATCH v3 6/6] st/mesa: ask pipe driver to recreate derived internal resources when (re-)binding external textures

2016-12-06 Thread Philipp Zabel
Use the resource_changed callback to invalidate internal resources derived from external textures when they are (re-)bound. This is needed to comply with the requirement from the GL_OES_EGL_image_external extension that a call to glBindTexture guarantees that all further sampling will return