diff options
author | Philipp Zabel <[email protected]> | 2017-01-19 15:05:41 +0100 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2017-01-20 15:30:30 +0100 |
commit | 97de7e658664865f042b1729f3f959ee0fb7b6a4 (patch) | |
tree | aa68cf858e1db143d6e0f033b5319f14c425a8f9 /src/util/hash_table.c | |
parent | 9bab714c61fa1eb22c6723af81caf83fffe549f4 (diff) |
st/mesa: ask pipe driver to recreate derived internal resources when (re-)binding external textures
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 values that correspond to the values in the
external texture at or after the time that glBindTexture was called.
Signed-off-by: Philipp Zabel <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src/util/hash_table.c')
0 files changed, 0 insertions, 0 deletions