dri: add putImageShm and getImageShm to swrastLoader
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Wed, 10 Jun 2015 15:28:47 +0000 (17:28 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2018 23:11:53 +0000 (09:11 +1000)
commitde8085e649235cd120e9eb06b82cc1dbabeb8652
treefc47cfc4746d76942157b2b7effce8caaf500f2b
parentb7ac0779e0228969536a6738926b8b7a0d565cd4
dri: add putImageShm and getImageShm to swrastLoader

Add new API to put and get an image using shared memory. Instead of only
passing the data pointer, 3 arguments are given: the shmid, the data
offset and the shmaddr.

Bump interface version.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
include/GL/internal/dri_interface.h