st/dri: implement the GL interop DRI extension (v2.2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 29 Feb 2016 22:25:59 +0000 (23:25 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 20 Apr 2016 10:18:47 +0000 (12:18 +0200)
commit4fa3d35cc52bc49fd0e2c3e7976d428885bc94ba
tree62dc416cddc9b420aba66927d15357b28b04bbf9
parent37d3a26bd620703f63673101f4093d13fb97ddef
st/dri: implement the GL interop DRI extension (v2.2)

v2: - set interop_version
    - simplify the offset_after macro
v2.1: - use version numbers, remove offset_after
      - set "out_driver_data_written"
v2.2: - set buf_offset & buf_size for GL_ARRAY_BUFFER too
      - add whandle.offset to buf_offset
      - disable the minmax cache for GL_TEXTURE_BUFFER
src/gallium/state_trackers/dri/dri2.c