include/GL: add mesa_glinterop.h for OpenGL-OpenCL interop (v4.2)
authorMarek Olšák <marek.olsak@amd.com>
Fri, 26 Feb 2016 20:21:31 +0000 (21:21 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 20 Apr 2016 10:15:41 +0000 (12:15 +0200)
commit6eeb729490a7880f8dc17de855d205a7cce5f28c
treea78c99678410b8f065eed266482222d33385b05e
parent8093990ef4a65c4ba69c79263a508df0ddbecae6
include/GL: add mesa_glinterop.h for OpenGL-OpenCL interop (v4.2)

v2: - use "enum" to define stuff
v3: - more comments, define MESA_GLINTEROP_UNSUPPORTED
v4: - add mesa_glinterop_device_info::interop_version
    - more comments
    - remove #define MESA_GLINTEROP_VERSION
    - use const for "in"
v4.1: - use version numbers for structures
      - add "out_driver_data_written"
v4.2: - buf_offset & buf_size affect GL_ARRAY_BUFFER too, this is required
        for sharing suballocations within a larger buffer
include/GL/mesa_glinterop.h [new file with mode: 0644]