aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-04-11 10:56:50 +0800
committerChia-I Wu <olv@lunarg.com>2015-04-11 13:12:45 +0800
commita781a7013d166b5bd42cd96ac7e0502c804ef15b (patch)
treec9d3416c6f7d2227421ac499537efba81f65c20b /loader
parent13d4c3303ee6bbbe87e29dcf4a65f19597d2a12c (diff)
downloadusermoji-a781a7013d166b5bd42cd96ac7e0502c804ef15b.tar.xz
xgl-generate.py: add WinDefFileSubcommand
It replaces xgl-win-def-file-generate.py and is able to generate loader's XGL.def.
Diffstat (limited to 'loader')
-rw-r--r--loader/CMakeLists.txt4
-rw-r--r--loader/XGL.def154
2 files changed, 4 insertions, 154 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 66c80186..23195110 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -7,6 +7,10 @@ add_custom_command(OUTPUT table_ops.h
COMMAND ${PYTHON_CMD} ${PROJECT_SOURCE_DIR}/xgl-generate.py dispatch-table-ops loader > table_ops.h
DEPENDS ${PROJECT_SOURCE_DIR}/xgl-generate.py ${PROJECT_SOURCE_DIR}/xgl.py)
+add_custom_command(OUTPUT XGL.def
+ COMMAND ${PYTHON_CMD} ${PROJECT_SOURCE_DIR}/xgl-generate.py win-def-file XGL all > XGL.def
+ DEPENDS ${PROJECT_SOURCE_DIR}/xgl-generate.py ${PROJECT_SOURCE_DIR}/xgl.py)
+
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
diff --git a/loader/XGL.def b/loader/XGL.def
deleted file mode 100644
index 4d1877ea..00000000
--- a/loader/XGL.def
+++ /dev/null
@@ -1,154 +0,0 @@
-;;;; Begin Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; XGL
-;
-; Copyright (C) 2015 LunarG, Inc.
-;
-; Permission is hereby granted, free of charge, to any person obtaining a
-; copy of this software and associated documentation files (the "Software"),
-; to deal in the Software without restriction, including without limitation
-; the rights to use, copy, modify, merge, publish, distribute, sublicense,
-; and/or sell copies of the Software, and to permit persons to whom the
-; Software is furnished to do so, subject to the following conditions:
-;
-; The above copyright notice and this permission notice shall be included
-; in all copies or substantial portions of the Software.
-;
-; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-; DEALINGS IN THE SOFTWARE.
-;;;; End Copyright Notice ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-; The following is required on Windows, for exporting symbols from the DLL
-
-LIBRARY XGL
-EXPORTS
- xglCreateInstance
- xglDestroyInstance
- xglEnumerateGpus
- xglGetGpuInfo
- xglGetProcAddr
- xglCreateDevice
- xglDestroyDevice
- xglGetExtensionSupport
- xglEnumerateLayers
- xglGetDeviceQueue
- xglQueueSubmit
- xglQueueSetGlobalMemReferences
- xglQueueWaitIdle
- xglDeviceWaitIdle
- xglAllocMemory
- xglFreeMemory
- xglSetMemoryPriority
- xglMapMemory
- xglUnmapMemory
- xglPinSystemMemory
- xglGetMultiGpuCompatibility
- xglOpenSharedMemory
- xglOpenSharedQueueSemaphore
- xglOpenPeerMemory
- xglOpenPeerImage
- xglDestroyObject
- xglGetObjectInfo
- xglBindObjectMemory
- xglBindObjectMemoryRange
- xglBindImageMemoryRange
- xglCreateFence
- xglGetFenceStatus
- xglWaitForFences
- xglCreateQueueSemaphore
- xglSignalQueueSemaphore
- xglWaitQueueSemaphore
- xglCreateEvent
- xglGetEventStatus
- xglSetEvent
- xglResetEvent
- xglCreateQueryPool
- xglGetQueryPoolResults
- xglGetFormatInfo
- xglCreateBuffer
- xglCreateBufferView
- xglCreateImage
- xglSetFastClearColor
- xglSetFastClearDepth
- xglGetImageSubresourceInfo
- xglCreateImageView
- xglCreateColorAttachmentView
- xglCreateDepthStencilView
- xglCreateShader
- xglCreateGraphicsPipeline
- xglCreateComputePipeline
- xglStorePipeline
- xglLoadPipeline
- xglCreatePipelineDelta
- xglCreateSampler
- xglCreateDescriptorSetLayout
- xglBeginDescriptorRegionUpdate
- xglEndDescriptorRegionUpdate
- xglCreateDescriptorRegion
- xglClearDescriptorRegion
- xglAllocDescriptorSets
- xglClearDescriptorSets
- xglUpdateDescriptors
- xglCreateDynamicViewportState
- xglCreateDynamicRasterState
- xglCreateDynamicColorBlendState
- xglCreateDynamicDepthStencilState
- xglCreateCommandBuffer
- xglBeginCommandBuffer
- xglEndCommandBuffer
- xglResetCommandBuffer
- xglCmdBindPipeline
- xglCmdBindPipelineDelta
- xglCmdBindDynamicStateObject
- xglCmdBindDescriptorSet
- xglCmdBindVertexBuffer
- xglCmdBindIndexBuffer
- xglCmdDraw
- xglCmdDrawIndexed
- xglCmdDrawIndirect
- xglCmdDrawIndexedIndirect
- xglCmdDispatch
- xglCmdDispatchIndirect
- xglCmdCopyBuffer
- xglCmdCopyImage
- xglCmdCopyBufferToImage
- xglCmdCopyImageToBuffer
- xglCmdCloneImageData
- xglCmdUpdateBuffer
- xglCmdFillBuffer
- xglCmdClearColorImage
- xglCmdClearColorImageRaw
- xglCmdClearDepthStencil
- xglCmdResolveImage
- xglCmdSetEvent
- xglCmdResetEvent
- xglCmdWaitEvents
- xglCmdPipelineBarrier
- xglCmdBeginQuery
- xglCmdEndQuery
- xglCmdResetQueryPool
- xglCmdWriteTimestamp
- xglCmdInitAtomicCounters
- xglCmdLoadAtomicCounters
- xglCmdSaveAtomicCounters
- xglCreateFramebuffer
- xglCreateRenderPass
- xglCmdBeginRenderPass
- xglCmdEndRenderPass
- xglDbgSetValidationLevel
- xglDbgRegisterMsgCallback
- xglDbgUnregisterMsgCallback
- xglDbgSetMessageFilter
- xglDbgSetObjectTag
- xglDbgSetGlobalOption
- xglDbgSetDeviceOption
- xglCmdDbgMarkerBegin
- xglCmdDbgMarkerEnd
- xglWsiX11AssociateConnection
- xglWsiX11GetMSC
- xglWsiX11CreatePresentableImage
- xglWsiX11QueuePresent