On Fri, Jun 3, 2016 at 2:31 AM, Ilia Mirkin wrote:
> Both textures and buffers can have their underlying resources
> reallocated with a glTexImage*() or glBufferData(). Atoms that reference
> these need to be notified that a change to the underlying resource has
> occurred in order to be recreated
ChrisF suggested I do the buffer stuff like intel does - based on
usage hints. This prevents a lot of unnecessary revalidation. I tend
to agree - I'll resend this with updates. (Of course there's a missing
USAGE flag for vertex arrays, but I'll fix that.)
On Thu, Jun 2, 2016 at 8:31 PM, Ilia Mirki
Both textures and buffers can have their underlying resources
reallocated with a glTexImage*() or glBufferData(). Atoms that reference
these need to be notified that a change to the underlying resource has
occurred in order to be recreated. This means textures (which can
reference a buffer object),