This extension enables novel multi-GPU rendering techniques by providing application control over a group of linked GPUs with identical hardware configuration.
Multi-GPU rendering techniques fall into two categories: implicit and explicit. Existing explicit approaches like WGL_NV_gpu_affinity have two
main drawbacks: CPU overhead and application complexity. An application must manage one context per GPU and multi-pump the API stream. Implicit
multi-GPU rendering techniques avoid these issues by broadcasting rendering from one context to multiple GPUs. Common implicit approaches include
alternate-frame rendering (AFR), split-frame rendering (SFR) and multi-GPU anti-aliasing. They each have drawbacks. AFR scales nicely but interacts
poorly with inter-frame dependencies. SFR can improve latency but has challenges with offscreen rendering and scaling of vertex processing. With
multi-GPU anti-aliasing, each GPU renders the same content with alternate sample positions and the driver blends the result to improve quality. This
also has issues with offscreen rendering and can conflict with other anti-aliasing techniques.
These issues with implicit multi-GPU rendering all have the same root cause: the driver lacks adequate knowledge to accelerate every application. To resolve this, NV_gpu_multicast provides fine-grained, explicit application control over multiple GPUs with a single context.
Key points:
PER_GPU_STORAGE_BIT_NV and a new API, MulticastBufferSubDataNV.Requires ARB_copy_image and EXT_direct_state_access.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_MULTICAST_GPUS_NV
Accepted by the |
| public static final int | GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV
Accepted by the |
| public static final int | GL_PER_GPU_STORAGE_BIT_NV
Accepted in the |
| public static final int | GL_PER_GPU_STORAGE_NV
Accepted as a value for |
| public static final int | GL_RENDER_GPU_MASK_NV
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | |
| public static native void | glMulticastBlitFramebufferNV(int srcGpu, int dstGpu, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, short[] data)
Array version of: |
| public static void | glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, int[] data)
Array version of: |
| public static void | glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, float[] data)
Array version of: |
| public static void | glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, double[] data)
Array version of: |
| public static native void | glMulticastCopyBufferSubDataNV(int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size)
|
| public static native void | glMulticastCopyImageSubDataNV(int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srxY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth)
|
| public static void | |
| public static void | glMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, float[] v)
Array version of: |
| public static long | |
| public static void | |
| public static void | glMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, long[] params)
Array version of: |
| public static int | |
| public static void | |
| public static void | glMulticastGetQueryObjectivNV(int gpu, int id, int pname, int[] params)
Array version of: |
| public static long | |
| public static void | |
| public static void | glMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, long[] params)
Array version of: |
| public static int | |
| public static void | |
| public static void | glMulticastGetQueryObjectuivNV(int gpu, int id, int pname, int[] params)
Array version of: |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void |
| GL_MULTICAST_GPUS_NV | back to summary |
|---|---|
| public static final int GL_MULTICAST_GPUS_NV Accepted by the | |
| GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV | back to summary |
|---|---|
| public static final int GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV Accepted by the | |
| GL_PER_GPU_STORAGE_BIT_NV | back to summary |
|---|---|
| public static final int GL_PER_GPU_STORAGE_BIT_NV Accepted in the | |
| GL_PER_GPU_STORAGE_NV | back to summary |
|---|---|
| public static final int GL_PER_GPU_STORAGE_NV Accepted as a value for | |
| GL_RENDER_GPU_MASK_NV | back to summary |
|---|---|
| public static final int GL_RENDER_GPU_MASK_NV Accepted by the | |
| NVGPUMulticast | back to summary |
|---|---|
| protected NVGPUMulticast() | |
| glMulticastBarrierNV | back to summary |
|---|---|
| public static native void glMulticastBarrierNV() | |
| glMulticastBlitFramebufferNV | back to summary |
|---|---|
| public static native void glMulticastBlitFramebufferNV(int srcGpu, int dstGpu, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, ByteBuffer data) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, ShortBuffer data) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, IntBuffer data) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, FloatBuffer data) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, DoubleBuffer data) | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, short[] data) Array version of: | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, int[] data) Array version of: | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, float[] data) Array version of: | |
| glMulticastBufferSubDataNV | back to summary |
|---|---|
| public static void glMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, double[] data) Array version of: | |
| glMulticastCopyBufferSubDataNV | back to summary |
|---|---|
| public static native void glMulticastCopyBufferSubDataNV(int readGpu, int writeGpuMask, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size) | |
| glMulticastCopyImageSubDataNV | back to summary |
|---|---|
| public static native void glMulticastCopyImageSubDataNV(int srcGpu, int dstGpuMask, int srcName, int srcTarget, int srcLevel, int srcX, int srxY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth) | |
| glMulticastFramebufferSampleLocationsfvNV | back to summary |
|---|---|
| public static void glMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, FloatBuffer v) | |
| glMulticastFramebufferSampleLocationsfvNV | back to summary |
|---|---|
| public static void glMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, float[] v) Array version of: | |
| glMulticastGetQueryObjecti64NV | back to summary |
|---|---|
public static long glMulticastGetQueryObjecti64NV(int gpu, int id, int pname)
| |
| glMulticastGetQueryObjecti64vNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, LongBuffer params) | |
| glMulticastGetQueryObjecti64vNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, long[] params) Array version of: | |
| glMulticastGetQueryObjectiNV | back to summary |
|---|---|
public static int glMulticastGetQueryObjectiNV(int gpu, int id, int pname)
| |
| glMulticastGetQueryObjectivNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectivNV(int gpu, int id, int pname, IntBuffer params) | |
| glMulticastGetQueryObjectivNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectivNV(int gpu, int id, int pname, int[] params) Array version of: | |
| glMulticastGetQueryObjectui64NV | back to summary |
|---|---|
public static long glMulticastGetQueryObjectui64NV(int gpu, int id, int pname)
| |
| glMulticastGetQueryObjectui64vNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, LongBuffer params) | |
| glMulticastGetQueryObjectui64vNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, long[] params) Array version of: | |
| glMulticastGetQueryObjectuiNV | back to summary |
|---|---|
public static int glMulticastGetQueryObjectuiNV(int gpu, int id, int pname)
| |
| glMulticastGetQueryObjectuivNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectuivNV(int gpu, int id, int pname, IntBuffer params) | |
| glMulticastGetQueryObjectuivNV | back to summary |
|---|---|
| public static void glMulticastGetQueryObjectuivNV(int gpu, int id, int pname, int[] params) Array version of: | |
| glMulticastWaitSyncNV | back to summary |
|---|---|
| public static native void glMulticastWaitSyncNV(int signalGpu, int waitGpuMask) | |
| glRenderGpuMaskNV | back to summary |
|---|---|
| public static native void glRenderGpuMaskNV(int mask) Restricts render commands to a specific set of GPUs. | |
| nglMulticastBufferSubDataNV | back to summary |
|---|---|
| public static native void nglMulticastBufferSubDataNV(int gpuMask, int buffer, long offset, long size, long data) | |
| nglMulticastFramebufferSampleLocationsfvNV | back to summary |
|---|---|
| public static native void nglMulticastFramebufferSampleLocationsfvNV(int gpu, int framebuffer, int start, int count, long v) | |
| nglMulticastGetQueryObjecti64vNV | back to summary |
|---|---|
| public static native void nglMulticastGetQueryObjecti64vNV(int gpu, int id, int pname, long params) | |
| nglMulticastGetQueryObjectivNV | back to summary |
|---|---|
| public static native void nglMulticastGetQueryObjectivNV(int gpu, int id, int pname, long params) | |
| nglMulticastGetQueryObjectui64vNV | back to summary |
|---|---|
| public static native void nglMulticastGetQueryObjectui64vNV(int gpu, int id, int pname, long params) | |
| nglMulticastGetQueryObjectuivNV | back to summary |
|---|---|
| public static native void nglMulticastGetQueryObjectuivNV(int gpu, int id, int pname, long params) | |