Java 类org.lwjgl.opengl.GLSync 实例源码

项目:PhET    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:Wolf_game    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:GPVM    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:SpaceStationAlpha    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:TeacherSmash    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:3d-Demo    文件:KHRGLEvent.java   
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
    long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
    BufferChecks.checkFunctionAddress(function_pointer);
    if (errcode_ret != null)
        BufferChecks.checkBuffer(errcode_ret, 1);
    CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
    return __result;
}
项目:PhET    文件:KHR_gl_event.java   
@Check(value = "errcode_ret", canBeNull = true)
@PointerWrapper(value = "cl_event", params = "context")
CLEvent clCreateEventFromGLsyncKHR(@PointerWrapper("cl_context") CLContext context,
                                   @PointerWrapper("cl_GLsync") GLSync sync,
                                   @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);
项目:Wolf_game    文件:KHR_gl_event.java   
@Check(value = "errcode_ret", canBeNull = true)
@PointerWrapper(value = "cl_event", params = "context")
CLEvent clCreateEventFromGLsyncKHR(@PointerWrapper("cl_context") CLContext context,
                                   @PointerWrapper("cl_GLsync") GLSync sync,
                                   @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);
项目:Wolf_game    文件:GLES30.java   
@PointerWrapper("GLsync")
GLSync glFenceSync(@GLenum int condition, @GLbitfield int flags);
项目:Wolf_game    文件:GLES30.java   
@GLenum
int glClientWaitSync(@PointerWrapper("GLsync") GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:Wolf_game    文件:GLES30.java   
@StripPostfix("values")
void glGetSynciv(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                 @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                 @OutParameter IntBuffer values);
项目:Wolf_game    文件:GLES30.java   
@Alternate("glGetSynciv")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSynciv2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                  @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                  @OutParameter IntBuffer values);
项目:Wolf_game    文件:APPLE_sync.java   
@PointerWrapper("GLsync")
org.lwjgl.opengl.GLSync glFenceSyncAPPLE(@GLenum int condition, @GLbitfield int flags);
项目:Wolf_game    文件:APPLE_sync.java   
@GLenum
int glClientWaitSyncAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:Wolf_game    文件:APPLE_sync.java   
@StripPostfix("values")
void glGetSyncivAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                      @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                      @OutParameter IntBuffer values);
项目:Wolf_game    文件:APPLE_sync.java   
@Alternate("glGetSyncivAPPLE")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSyncivAPPLE2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                       @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                       @OutParameter IntBuffer values);
项目:GPVM    文件:KHR_gl_event.java   
@Check(value = "errcode_ret", canBeNull = true)
@PointerWrapper(value = "cl_event", params = "context")
CLEvent clCreateEventFromGLsyncKHR(@PointerWrapper("cl_context") CLContext context,
                                   @PointerWrapper("cl_GLsync") GLSync sync,
                                   @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);
项目:GPVM    文件:GLES30.java   
@PointerWrapper("GLsync")
GLSync glFenceSync(@GLenum int condition, @GLbitfield int flags);
项目:GPVM    文件:GLES30.java   
@GLenum
int glClientWaitSync(@PointerWrapper("GLsync") GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:GPVM    文件:GLES30.java   
@StripPostfix("values")
void glGetSynciv(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                 @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                 @OutParameter IntBuffer values);
项目:GPVM    文件:GLES30.java   
@Alternate("glGetSynciv")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSynciv2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                  @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                  @OutParameter IntBuffer values);
项目:GPVM    文件:APPLE_sync.java   
@PointerWrapper("GLsync")
org.lwjgl.opengl.GLSync glFenceSyncAPPLE(@GLenum int condition, @GLbitfield int flags);
项目:GPVM    文件:APPLE_sync.java   
@GLenum
int glClientWaitSyncAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:GPVM    文件:APPLE_sync.java   
@StripPostfix("values")
void glGetSyncivAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                      @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                      @OutParameter IntBuffer values);
项目:GPVM    文件:APPLE_sync.java   
@Alternate("glGetSyncivAPPLE")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSyncivAPPLE2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                       @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                       @OutParameter IntBuffer values);
项目:TeacherSmash    文件:KHR_gl_event.java   
@Check(value = "errcode_ret", canBeNull = true)
@PointerWrapper(value = "cl_event", params = "context")
CLEvent clCreateEventFromGLsyncKHR(@PointerWrapper("cl_context") CLContext context,
                                   @PointerWrapper("cl_GLsync") GLSync sync,
                                   @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);
项目:TeacherSmash    文件:GLES30.java   
@PointerWrapper("GLsync")
GLSync glFenceSync(@GLenum int condition, @GLbitfield int flags);
项目:TeacherSmash    文件:GLES30.java   
@GLenum
int glClientWaitSync(@PointerWrapper("GLsync") GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:TeacherSmash    文件:GLES30.java   
@StripPostfix("values")
void glGetSynciv(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                 @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                 @OutParameter IntBuffer values);
项目:TeacherSmash    文件:GLES30.java   
@Alternate("glGetSynciv")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSynciv2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                  @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                  @OutParameter IntBuffer values);
项目:TeacherSmash    文件:APPLE_sync.java   
@PointerWrapper("GLsync")
org.lwjgl.opengl.GLSync glFenceSyncAPPLE(@GLenum int condition, @GLbitfield int flags);
项目:TeacherSmash    文件:APPLE_sync.java   
@GLenum
int glClientWaitSyncAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);
项目:TeacherSmash    文件:APPLE_sync.java   
@StripPostfix("values")
void glGetSyncivAPPLE(@PointerWrapper("GLsync") org.lwjgl.opengl.GLSync sync, @GLenum int pname, @AutoSize("values") @GLsizei int bufSize,
                      @OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
                      @OutParameter IntBuffer values);
项目:TeacherSmash    文件:APPLE_sync.java   
@Alternate("glGetSyncivAPPLE")
@GLreturn("values")
@StripPostfix(value = "values", postfix = "v")
void glGetSyncivAPPLE2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize,
                       @OutParameter @GLsizei @Constant("0L") IntBuffer length,
                       @OutParameter IntBuffer values);
项目:cnctools    文件:StreamUtil.java   
static void waitOnFence(final GLSync[] fences, final int index) {
    glWaitSync(fences[index], 0, GL_TIMEOUT_IGNORED);
    glDeleteSync(fences[index]);
    fences[index] = null;
}
项目:cnctools    文件:TextureStreamPBORange.java   
public TextureStreamPBORange(final StreamHandler handler, final int transfersToBuffer) {
    super(handler, transfersToBuffer);

    fences = new GLSync[this.transfersToBuffer];
}
项目:cnctools    文件:RenderStreamPBOAMD.java   
RenderStreamPBOAMD(final StreamHandler handler, final int samples, final int transfersToBuffer) {
    super(handler, samples, transfersToBuffer, ReadbackType.READ_PIXELS);

    fences = new GLSync[this.transfersToBuffer];
}
项目:3d-Demo    文件:KHR_gl_event.java   
@Check(value = "errcode_ret", canBeNull = true)
@PointerWrapper(value = "cl_event", params = "context")
CLEvent clCreateEventFromGLsyncKHR(@PointerWrapper("cl_context") CLContext context,
                                   @PointerWrapper("cl_GLsync") GLSync sync,
                                   @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);
项目:3d-Demo    文件:GLES30.java   
@PointerWrapper("GLsync")
GLSync glFenceSync(@GLenum int condition, @GLbitfield int flags);
项目:3d-Demo    文件:GLES30.java   
@GLenum
int glClientWaitSync(@PointerWrapper("GLsync") GLSync sync, @GLbitfield int flags, @GLuint64 long timeout);