summaryrefslogtreecommitdiff
path: root/glew/auto/extensions/gl/WGL_NV_gpu_affinity
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2024-04-09 03:14:17 -0400
committersotech117 <michael_foiani@brown.edu>2024-04-09 03:14:17 -0400
commit7a8d0d8bc2572707c9d35006f30ea835c86954b0 (patch)
treededb9a65c1698202ad485378b4186b667008abe5 /glew/auto/extensions/gl/WGL_NV_gpu_affinity
parent818324678bd5dca790c57048e5012d2937a4b5e5 (diff)
first draft to generate waves
Diffstat (limited to 'glew/auto/extensions/gl/WGL_NV_gpu_affinity')
-rw-r--r--glew/auto/extensions/gl/WGL_NV_gpu_affinity13
1 files changed, 13 insertions, 0 deletions
diff --git a/glew/auto/extensions/gl/WGL_NV_gpu_affinity b/glew/auto/extensions/gl/WGL_NV_gpu_affinity
new file mode 100644
index 0000000..61ed3f1
--- /dev/null
+++ b/glew/auto/extensions/gl/WGL_NV_gpu_affinity
@@ -0,0 +1,13 @@
+WGL_NV_gpu_affinity
+http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt
+WGL_NV_gpu_affinity
+
+ WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
+ WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
+ BOOL wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu)
+ BOOL wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
+ HDC wglCreateAffinityDCNV (const HGPUNV *phGpuList)
+ BOOL wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
+ BOOL wglDeleteDCNV (HDC hdc)
+ DECLARE_HANDLE(HGPUNV);
+ typedef struct _GPU_DEVICE { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD Flags; RECT rcVirtualScreen; } GPU_DEVICE, *PGPU_DEVICE;