Ejemplo n.º 1
0
 public static void ImportMemoryEXT(uint memory, ulong size, ExternalHandleType handleType, int fd)
 {
     Debug.Assert(Delegates.pglImportMemoryFdEXT != null, "pglImportMemoryFdEXT not implemented");
     Delegates.pglImportMemoryFdEXT(memory, size, (int)handleType, fd);
     LogCommand("glImportMemoryFdEXT", null, memory, size, handleType, fd);
     DebugCheckErrors(null);
 }
Ejemplo n.º 2
0
 public static void ImportSemaphoreWin32HandleEXT(UInt32 semaphore, ExternalHandleType handleType, IntPtr handle)
 {
     Debug.Assert(Delegates.pglImportSemaphoreWin32HandleEXT != null, "pglImportSemaphoreWin32HandleEXT not implemented");
     Delegates.pglImportSemaphoreWin32HandleEXT(semaphore, (Int32)handleType, handle);
     LogCommand("glImportSemaphoreWin32HandleEXT", null, semaphore, handleType, handle);
     DebugCheckErrors(null);
 }
Ejemplo n.º 3
0
 public static void ImportSemaphoreEXT(uint semaphore, ExternalHandleType handleType, int fd)
 {
     Debug.Assert(Delegates.pglImportSemaphoreFdEXT != null, "pglImportSemaphoreFdEXT not implemented");
     Delegates.pglImportSemaphoreFdEXT(semaphore, (int)handleType, fd);
     LogCommand("glImportSemaphoreFdEXT", null, semaphore, handleType, fd);
     DebugCheckErrors(null);
 }
Ejemplo n.º 4
0
 public static void ImportMemoryWin32HandleEXT(UInt32 memory, UInt64 size, ExternalHandleType handleType, IntPtr handle)
 {
     Debug.Assert(Delegates.pglImportMemoryWin32HandleEXT != null, "pglImportMemoryWin32HandleEXT not implemented");
     Delegates.pglImportMemoryWin32HandleEXT(memory, size, (Int32)handleType, handle);
     LogCommand("glImportMemoryWin32HandleEXT", null, memory, size, handleType, handle);
     DebugCheckErrors(null);
 }
Ejemplo n.º 5
0
        public static void ImportSemaphoreWin32NameEXT(UInt32 semaphore, ExternalHandleType handleType, Object name)
        {
            GCHandle pin_name = GCHandle.Alloc(name, GCHandleType.Pinned);

            try {
                ImportSemaphoreWin32NameEXT(semaphore, handleType, pin_name.AddrOfPinnedObject());
            } finally {
                pin_name.Free();
            }
        }
Ejemplo n.º 6
0
        public static void ImportMemoryWin32NameEXT(UInt32 memory, UInt64 size, ExternalHandleType handleType, Object name)
        {
            GCHandle pin_name = GCHandle.Alloc(name, GCHandleType.Pinned);

            try {
                ImportMemoryWin32NameEXT(memory, size, handleType, pin_name.AddrOfPinnedObject());
            } finally {
                pin_name.Free();
            }
        }
 public static unsafe void ImportMemoryWin32Name <T0>(this ExtMemoryObjectWin32 thisApi, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] ReadOnlySpan <T0> name) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ImportMemoryWin32Name(memory, size, handleType, in name.GetPinnableReference());
 }
Ejemplo n.º 8
0
 public abstract void ImportMemoryF([Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] int fd);
Ejemplo n.º 9
0
 public abstract void ImportSemaphoreF([Flow(FlowDirection.In)] uint semaphore, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] int fd);
Ejemplo n.º 10
0
 public abstract void ImportMemoryWin32Name <T0>([Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] Span <T0> name) where T0 : unmanaged;
 public static unsafe void ImportSemaphoreWin32Name<T0>(this ExtSemaphoreWin32 thisApi, [Flow(FlowDirection.In)] uint semaphore, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] ReadOnlySpan<T0> name) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ImportSemaphoreWin32Name(semaphore, handleType, in name.GetPinnableReference());
 }
Ejemplo n.º 12
0
 public abstract unsafe void ImportMemoryWin32Name([Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] void *name);
Ejemplo n.º 13
0
 public abstract unsafe void ImportSemaphoreWin32Handle([Flow(FlowDirection.In)] uint semaphore, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.Out)] void *handle);
Ejemplo n.º 14
0
 public abstract void ImportSemaphoreWin32Name <T0>([Flow(FlowDirection.In)] uint semaphore, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] Span <T0> name) where T0 : unmanaged;
 public partial void ImportMemoryWin32Handle <T0>([Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.Out)] out T0 handle) where T0 : unmanaged;
 public unsafe partial void ImportMemoryWin32Handle([Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.Out)] void *handle);
Ejemplo n.º 17
0
 public partial void ImportSemaphoreWin32Handle <T0>([Flow(FlowDirection.In)] uint semaphore, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.Out)] out T0 handle) where T0 : unmanaged;