diff options
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_screen.h | 6 | ||||
-rw-r--r-- | src/gallium/include/state_tracker/winsys_handle.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index 101e229088b..8fd81a4e9a9 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -191,7 +191,7 @@ struct pipe_screen { * another process by first creating a pipe texture and then calling * resource_get_handle. * - * NOTE: in the case of DRM_API_HANDLE_TYPE_FD handles, the caller + * NOTE: in the case of WINSYS_HANDLE_TYPE_FD handles, the caller * retains ownership of the FD. (This is consistent with * EGL_EXT_image_dma_buf_import) * @@ -238,7 +238,7 @@ struct pipe_screen { * the resource into a format compatible for sharing. The use case is * OpenGL-OpenCL interop. The context parameter is allowed to be NULL. * - * NOTE: in the case of DRM_API_HANDLE_TYPE_FD handles, the caller + * NOTE: in the case of WINSYS_HANDLE_TYPE_FD handles, the caller * takes ownership of the FD. (This is consistent with * EGL_MESA_image_dma_buf_export) * @@ -389,7 +389,7 @@ struct pipe_screen { * Then the underlying memory object is then exported through interfaces * compatible with EXT_external_resources. * - * Note: For DRM_API_HANDLE_TYPE_FD handles, the caller retains ownership + * Note: For WINSYS_HANDLE_TYPE_FD handles, the caller retains ownership * of the fd. * * \param handle A handle representing the memory object to import diff --git a/src/gallium/include/state_tracker/winsys_handle.h b/src/gallium/include/state_tracker/winsys_handle.h index 9217e4dcbfc..746e87683a7 100644 --- a/src/gallium/include/state_tracker/winsys_handle.h +++ b/src/gallium/include/state_tracker/winsys_handle.h @@ -6,9 +6,9 @@ extern "C" { #endif -#define DRM_API_HANDLE_TYPE_SHARED 0 -#define DRM_API_HANDLE_TYPE_KMS 1 -#define DRM_API_HANDLE_TYPE_FD 2 +#define WINSYS_HANDLE_TYPE_SHARED 0 +#define WINSYS_HANDLE_TYPE_KMS 1 +#define WINSYS_HANDLE_TYPE_FD 2 /** * For use with pipe_screen::{texture_from_handle|texture_get_handle}. |