From 2c2fbbf922918685c9bda0d670197bd0ad2077ca Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 7 Apr 2015 17:13:38 -0600 Subject: xgl: Enable new mem ref functions v2: remove a stale comment in the sample driver (olv) --- include/xgl.h | 17 +---------------- include/xglWsiX11Ext.h | 2 +- 2 files changed, 2 insertions(+), 17 deletions(-) (limited to 'include') diff --git a/include/xgl.h b/include/xgl.h index be7cd9e1..5857b427 100644 --- a/include/xgl.h +++ b/include/xgl.h @@ -1227,13 +1227,6 @@ typedef enum _XGL_SEMAPHORE_CREATE_FLAGS XGL_MAX_ENUM(_XGL_SEMAPHORE_CREATE_FLAGS) } XGL_SEMAPHORE_CREATE_FLAGS; -// Memory reference flags -typedef enum _XGL_MEMORY_REF_FLAGS -{ - XGL_MEMORY_REF_READ_ONLY_BIT = 0x00000001, - XGL_MAX_ENUM(_XGL_MEMORY_REF_FLAGS) -} XGL_MEMORY_REF_FLAGS; - // Format capability flags typedef enum _XGL_FORMAT_FEATURE_FLAGS { @@ -2160,12 +2153,6 @@ typedef struct _XGL_RENDER_PASS_CREATE_INFO XGL_ATTACHMENT_STORE_OP stencilStoreOp; } XGL_RENDER_PASS_CREATE_INFO; -typedef struct _XGL_MEMORY_REF -{ - XGL_GPU_MEMORY mem; - XGL_FLAGS flags; // XGL_MEMORY_REF_FLAGS -} XGL_MEMORY_REF; - typedef struct _XGL_EVENT_CREATE_INFO { XGL_STRUCTURE_TYPE sType; // Must be XGL_STRUCTURE_TYPE_EVENT_CREATE_INFO @@ -2269,7 +2256,7 @@ typedef XGL_RESULT (XGLAPI *xglDestroyDeviceType)(XGL_DEVICE device); typedef XGL_RESULT (XGLAPI *xglGetExtensionSupportType)(XGL_PHYSICAL_GPU gpu, const char* pExtName); typedef XGL_RESULT (XGLAPI *xglEnumerateLayersType)(XGL_PHYSICAL_GPU gpu, size_t maxLayerCount, size_t maxStringSize, size_t* pOutLayerCount, char* const* pOutLayers, void* pReserved); typedef XGL_RESULT (XGLAPI *xglGetDeviceQueueType)(XGL_DEVICE device, uint32_t queueNodeIndex, uint32_t queueIndex, XGL_QUEUE* pQueue); -typedef XGL_RESULT (XGLAPI *xglQueueSubmitType)(XGL_QUEUE queue, uint32_t cmdBufferCount, const XGL_CMD_BUFFER* pCmdBuffers, uint32_t memRefCount, const XGL_MEMORY_REF* pMemRefs, XGL_FENCE fence); +typedef XGL_RESULT (XGLAPI *xglQueueSubmitType)(XGL_QUEUE queue, uint32_t cmdBufferCount, const XGL_CMD_BUFFER* pCmdBuffers, XGL_FENCE fence); typedef XGL_RESULT (XGLAPI *xglQueueAddMemReferenceType)(XGL_QUEUE queue, XGL_GPU_MEMORY mem); typedef XGL_RESULT (XGLAPI *xglQueueRemoveMemReferenceType)(XGL_QUEUE queue, XGL_GPU_MEMORY mem); typedef XGL_RESULT (XGLAPI *xglQueueWaitIdleType)(XGL_QUEUE queue); @@ -2439,8 +2426,6 @@ XGL_RESULT XGLAPI xglQueueSubmit( XGL_QUEUE queue, uint32_t cmdBufferCount, const XGL_CMD_BUFFER* pCmdBuffers, - uint32_t memRefCount, - const XGL_MEMORY_REF* pMemRefs, XGL_FENCE fence); XGL_RESULT XGLAPI xglQueueAddMemReference( diff --git a/include/xglWsiX11Ext.h b/include/xglWsiX11Ext.h index 479aba71..5235758d 100644 --- a/include/xglWsiX11Ext.h +++ b/include/xglWsiX11Ext.h @@ -115,7 +115,7 @@ XGL_RESULT XGLAPI xglWsiX11GetMSC( /** * Create an XGL_IMAGE that can be presented. An XGL_GPU_MEMORY is created * and bound automatically. The memory returned can only be used in - * XGL_MEMORY_REF. Destroying the memory or binding another memory to the + * xglQueue[Add|Remove]MemReference. Destroying the memory or binding another memory to the * image is not allowed. */ XGL_RESULT XGLAPI xglWsiX11CreatePresentableImage( -- cgit v1.2.3