jogamp.opengl.egl.EGLExtImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Sat Jul 20 20:41:47 CEST 2013 ----! */
package jogamp.opengl.egl;
import java.util.*;
import javax.media.opengl.*;
import javax.media.opengl.fixedfunc.*;
import jogamp.opengl.*;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import java.nio.*;
public class EGLExtImpl implements EGLExt{
/** Entry point to C language function: EGLBoolean eglBindAPI(EGLenum api);
Part of EGL_VERSION_1_X
*/
public boolean eglBindAPI(int api) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglBindAPI;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglBindAPI\" not available");
}
return dispatch_eglBindAPI0(api, __addr_);
}
/** Entry point to C language function: EGLBoolean eglBindAPI(EGLenum api);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglBindAPI0(int api, long procAddress);
/** Entry point to C language function: EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
Part of EGL_VERSION_1_X
*/
public boolean eglBindTexImage(long dpy, long surface, int buffer) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglBindTexImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglBindTexImage\" not available");
}
return dispatch_eglBindTexImage0(dpy, surface, buffer, __addr_);
}
/** Entry point to C language function: EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglBindTexImage0(long dpy, long surface, int buffer, long procAddress);
/** Entry point to C language function: EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer}
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
public boolean eglChooseConfig(long dpy, IntBuffer attrib_list, PointerBuffer configs, int config_size, IntBuffer num_config) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
if (!Buffers.isDirect(configs))
throw new RuntimeException("Argument \"configs\" is not a direct buffer");
if (!Buffers.isDirect(num_config))
throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglChooseConfig;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglChooseConfig\" not available");
}
return dispatch_eglChooseConfig0(dpy, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), configs != null ? configs.getBuffer() : null, Buffers.getDirectBufferByteOffset(configs), config_size, num_config, Buffers.getDirectBufferByteOffset(num_config), __addr_);
}
/** Entry point to C language function: EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer}
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglChooseConfig0(long dpy, Object attrib_list, int attrib_list_byte_offset, Object configs, int configs_byte_offset, int config_size, Object num_config, int num_config_byte_offset, long procAddress);
/** Entry point to C language function: EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
Part of EGL_KHR_reusable_sync
*/
public int eglClientWaitSyncKHR(long dpy, long sync, int flags, long timeout) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglClientWaitSyncKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglClientWaitSyncKHR\" not available");
}
return dispatch_eglClientWaitSyncKHR0(dpy, sync, flags, timeout, __addr_);
}
/** Entry point to C language function: EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
Part of EGL_KHR_reusable_sync
*/
private native int dispatch_eglClientWaitSyncKHR0(long dpy, long sync, int flags, long timeout, long procAddress);
/** Entry point to C language function: EGLint eglClientWaitSyncNV(EGLClientBuffer sync, EGLint flags, EGLTimeNV timeout);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
public int eglClientWaitSyncNV(Buffer sync, int flags, long timeout) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglClientWaitSyncNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglClientWaitSyncNV\" not available");
}
return dispatch_eglClientWaitSyncNV0(sync, Buffers.getDirectBufferByteOffset(sync), flags, timeout, __addr_);
}
/** Entry point to C language function: EGLint eglClientWaitSyncNV(EGLClientBuffer sync, EGLint flags, EGLTimeNV timeout);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
private native int dispatch_eglClientWaitSyncNV0(Object sync, int sync_byte_offset, int flags, long timeout, long procAddress);
/** Entry point to C language function: EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
Part of EGL_VERSION_1_X
*/
public boolean eglCopyBuffers(long dpy, long surface, long target) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCopyBuffers;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCopyBuffers\" not available");
}
return dispatch_eglCopyBuffers0(dpy, surface, target, __addr_);
}
/** Entry point to C language function: EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglCopyBuffers0(long dpy, long surface, long target, long procAddress);
/** Entry point to C language function: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateContext(long dpy, long config, long share_context, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateContext\" not available");
}
return dispatch_eglCreateContext0(dpy, config, share_context, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateContext0(long dpy, long config, long share_context, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLImageKHR eglCreateDRMImageMESA(EGLDisplay dpy, const EGLint * attrib_list);
Part of EGL_MESA_drm_image
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateDRMImageMESA(long dpy, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateDRMImageMESA;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateDRMImageMESA\" not available");
}
return dispatch_eglCreateDRMImageMESA0(dpy, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLImageKHR eglCreateDRMImageMESA(EGLDisplay dpy, const EGLint * attrib_list);
Part of EGL_MESA_drm_image
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateDRMImageMESA0(long dpy, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLClientBuffer eglCreateFenceSyncNV(EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list);
Part of EGL_NV_sync
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public ByteBuffer eglCreateFenceSyncNV(long dpy, int condition, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateFenceSyncNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateFenceSyncNV\" not available");
}
final ByteBuffer _res;
_res = dispatch_eglCreateFenceSyncNV0(dpy, condition, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: EGLClientBuffer eglCreateFenceSyncNV(EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list);
Part of EGL_NV_sync
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native ByteBuffer dispatch_eglCreateFenceSyncNV0(long dpy, int condition, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint * attrib_list);
Part of EGL_KHR_image
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateImageKHR(long dpy, long ctx, int target, Buffer buffer, IntBuffer attrib_list) {
if (!Buffers.isDirect(buffer))
throw new RuntimeException("Argument \"buffer\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateImageKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateImageKHR\" not available");
}
return dispatch_eglCreateImageKHR0(dpy, ctx, target, buffer, Buffers.getDirectBufferByteOffset(buffer), attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint * attrib_list);
Part of EGL_KHR_image
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateImageKHR0(long dpy, long ctx, int target, Object buffer, int buffer_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreatePbufferFromClientBuffer(long dpy, int buftype, Buffer buffer, long config, IntBuffer attrib_list) {
if (!Buffers.isDirect(buffer))
throw new RuntimeException("Argument \"buffer\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreatePbufferFromClientBuffer;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreatePbufferFromClientBuffer\" not available");
}
return dispatch_eglCreatePbufferFromClientBuffer0(dpy, buftype, buffer, Buffers.getDirectBufferByteOffset(buffer), config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreatePbufferFromClientBuffer0(long dpy, int buftype, Object buffer, int buffer_byte_offset, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreatePbufferSurface(long dpy, long config, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreatePbufferSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreatePbufferSurface\" not available");
}
return dispatch_eglCreatePbufferSurface0(dpy, config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreatePbufferSurface0(long dpy, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreatePixmapSurface(long dpy, long config, long pixmap, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreatePixmapSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreatePixmapSurface\" not available");
}
return dispatch_eglCreatePixmapSurface0(dpy, config, pixmap, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreatePixmapSurface0(long dpy, long config, long pixmap, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, EGLClientPixmapHI * pixmap);
Part of EGL_HI_clientpixmap
*/
public long eglCreatePixmapSurfaceHI(long dpy, long config, EGLClientPixmapHI pixmap) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreatePixmapSurfaceHI;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreatePixmapSurfaceHI\" not available");
}
return dispatch_eglCreatePixmapSurfaceHI0(dpy, config, ((pixmap == null) ? null : pixmap.getBuffer()), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, EGLClientPixmapHI * pixmap);
Part of EGL_HI_clientpixmap
*/
private native long dispatch_eglCreatePixmapSurfaceHI0(long dpy, long config, ByteBuffer pixmap, long procAddress);
/** Entry point to C language function: EGLClientBuffer eglCreateStreamFromFileDescriptorKHR(EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
Part of EGL_KHR_stream_cross_process_fd
*/
public ByteBuffer eglCreateStreamFromFileDescriptorKHR(long dpy, int file_descriptor) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateStreamFromFileDescriptorKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateStreamFromFileDescriptorKHR\" not available");
}
final ByteBuffer _res;
_res = dispatch_eglCreateStreamFromFileDescriptorKHR0(dpy, file_descriptor, __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: EGLClientBuffer eglCreateStreamFromFileDescriptorKHR(EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
Part of EGL_KHR_stream_cross_process_fd
*/
private native ByteBuffer dispatch_eglCreateStreamFromFileDescriptorKHR0(long dpy, int file_descriptor, long procAddress);
/** Entry point to C language function: EGLClientBuffer eglCreateStreamKHR(EGLDisplay dpy, const EGLint * attrib_list);
Part of EGL_KHR_stream
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public ByteBuffer eglCreateStreamKHR(long dpy, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateStreamKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateStreamKHR\" not available");
}
final ByteBuffer _res;
_res = dispatch_eglCreateStreamKHR0(dpy, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: EGLClientBuffer eglCreateStreamKHR(EGLDisplay dpy, const EGLint * attrib_list);
Part of EGL_KHR_stream
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native ByteBuffer dispatch_eglCreateStreamKHR0(long dpy, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLClientBuffer stream, const EGLint * attrib_list);
Part of EGL_KHR_stream_producer_eglsurface
@param stream a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateStreamProducerSurfaceKHR(long dpy, long config, Buffer stream, IntBuffer attrib_list) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateStreamProducerSurfaceKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateStreamProducerSurfaceKHR\" not available");
}
return dispatch_eglCreateStreamProducerSurfaceKHR0(dpy, config, stream, Buffers.getDirectBufferByteOffset(stream), attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLClientBuffer stream, const EGLint * attrib_list);
Part of EGL_KHR_stream_producer_eglsurface
@param stream a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateStreamProducerSurfaceKHR0(long dpy, long config, Object stream, int stream_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint * attrib_list);
Part of EGL_KHR_reusable_sync
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateSyncKHR(long dpy, int type, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateSyncKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateSyncKHR\" not available");
}
return dispatch_eglCreateSyncKHR0(dpy, type, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint * attrib_list);
Part of EGL_KHR_reusable_sync
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateSyncKHR0(long dpy, int type, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public long eglCreateWindowSurface(long dpy, long config, long win, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglCreateWindowSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglCreateWindowSurface\" not available");
}
return dispatch_eglCreateWindowSurface0(dpy, config, win, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list);
Part of EGL_VERSION_1_X
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native long dispatch_eglCreateWindowSurface0(long dpy, long config, long win, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
Part of EGL_VERSION_1_X
*/
public boolean eglDestroyContext(long dpy, long ctx) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroyContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroyContext\" not available");
}
return dispatch_eglDestroyContext0(dpy, ctx, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglDestroyContext0(long dpy, long ctx, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image);
Part of EGL_KHR_image
*/
public boolean eglDestroyImageKHR(long dpy, long image) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroyImageKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroyImageKHR\" not available");
}
return dispatch_eglDestroyImageKHR0(dpy, image, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image);
Part of EGL_KHR_image
*/
private native boolean dispatch_eglDestroyImageKHR0(long dpy, long image, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroyStreamKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer} */
public boolean eglDestroyStreamKHR(long dpy, Buffer stream) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroyStreamKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroyStreamKHR\" not available");
}
return dispatch_eglDestroyStreamKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroyStreamKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglDestroyStreamKHR0(long dpy, Object stream, int stream_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
Part of EGL_VERSION_1_X
*/
public boolean eglDestroySurface(long dpy, long surface) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroySurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroySurface\" not available");
}
return dispatch_eglDestroySurface0(dpy, surface, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglDestroySurface0(long dpy, long surface, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
Part of EGL_KHR_reusable_sync
*/
public boolean eglDestroySyncKHR(long dpy, long sync) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroySyncKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroySyncKHR\" not available");
}
return dispatch_eglDestroySyncKHR0(dpy, sync, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
Part of EGL_KHR_reusable_sync
*/
private native boolean dispatch_eglDestroySyncKHR0(long dpy, long sync, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroySyncNV(EGLClientBuffer sync);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
public boolean eglDestroySyncNV(Buffer sync) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDestroySyncNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDestroySyncNV\" not available");
}
return dispatch_eglDestroySyncNV0(sync, Buffers.getDirectBufferByteOffset(sync), __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroySyncNV(EGLClientBuffer sync);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglDestroySyncNV0(Object sync, int sync_byte_offset, long procAddress);
/** Entry point to C language function: EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR);
Part of EGL_ANDROID_native_fence_sync
*/
public int eglDupNativeFenceFDANDROID(long dpy, long arg1) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglDupNativeFenceFDANDROID;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglDupNativeFenceFDANDROID\" not available");
}
return dispatch_eglDupNativeFenceFDANDROID0(dpy, arg1, __addr_);
}
/** Entry point to C language function: EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR);
Part of EGL_ANDROID_native_fence_sync
*/
private native int dispatch_eglDupNativeFenceFDANDROID0(long dpy, long arg1, long procAddress);
/** Entry point to C language function: EGLBoolean eglExportDRMImageMESA(EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride);
Part of EGL_MESA_drm_image
@param name a direct only {@link java.nio.IntBuffer}
@param handle a direct only {@link java.nio.IntBuffer}
@param stride a direct only {@link java.nio.IntBuffer} */
public boolean eglExportDRMImageMESA(long dpy, long image, IntBuffer name, IntBuffer handle, IntBuffer stride) {
if (!Buffers.isDirect(name))
throw new RuntimeException("Argument \"name\" is not a direct buffer");
if (!Buffers.isDirect(handle))
throw new RuntimeException("Argument \"handle\" is not a direct buffer");
if (!Buffers.isDirect(stride))
throw new RuntimeException("Argument \"stride\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglExportDRMImageMESA;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglExportDRMImageMESA\" not available");
}
return dispatch_eglExportDRMImageMESA0(dpy, image, name, Buffers.getDirectBufferByteOffset(name), handle, Buffers.getDirectBufferByteOffset(handle), stride, Buffers.getDirectBufferByteOffset(stride), __addr_);
}
/** Entry point to C language function: EGLBoolean eglExportDRMImageMESA(EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride);
Part of EGL_MESA_drm_image
@param name a direct only {@link java.nio.IntBuffer}
@param handle a direct only {@link java.nio.IntBuffer}
@param stride a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglExportDRMImageMESA0(long dpy, long image, Object name, int name_byte_offset, Object handle, int handle_byte_offset, Object stride, int stride_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglFenceNV(EGLClientBuffer sync);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
public boolean eglFenceNV(Buffer sync) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglFenceNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglFenceNV\" not available");
}
return dispatch_eglFenceNV0(sync, Buffers.getDirectBufferByteOffset(sync), __addr_);
}
/** Entry point to C language function: EGLBoolean eglFenceNV(EGLClientBuffer sync);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglFenceNV0(Object sync, int sync_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglGetConfigAttrib(long dpy, long config, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetConfigAttrib;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetConfigAttrib\" not available");
}
return dispatch_eglGetConfigAttrib0(dpy, config, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglGetConfigAttrib0(long dpy, long config, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config);
Part of EGL_VERSION_1_X
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
public boolean eglGetConfigs(long dpy, PointerBuffer configs, int config_size, IntBuffer num_config) {
if (!Buffers.isDirect(configs))
throw new RuntimeException("Argument \"configs\" is not a direct buffer");
if (!Buffers.isDirect(num_config))
throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetConfigs;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetConfigs\" not available");
}
return dispatch_eglGetConfigs0(dpy, configs != null ? configs.getBuffer() : null, Buffers.getDirectBufferByteOffset(configs), config_size, num_config, Buffers.getDirectBufferByteOffset(num_config), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config);
Part of EGL_VERSION_1_X
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglGetConfigs0(long dpy, Object configs, int configs_byte_offset, int config_size, Object num_config, int num_config_byte_offset, long procAddress);
/** Entry point to C language function: EGLContext eglGetCurrentContext(void);
Part of EGL_VERSION_1_X
*/
public long eglGetCurrentContext() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetCurrentContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetCurrentContext\" not available");
}
return dispatch_eglGetCurrentContext0(__addr_);
}
/** Entry point to C language function: EGLContext eglGetCurrentContext(void);
Part of EGL_VERSION_1_X
*/
private native long dispatch_eglGetCurrentContext0(long procAddress);
/** Entry point to C language function: EGLDisplay eglGetCurrentDisplay(void);
Part of EGL_VERSION_1_X
*/
public long eglGetCurrentDisplay() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetCurrentDisplay;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetCurrentDisplay\" not available");
}
return dispatch_eglGetCurrentDisplay0(__addr_);
}
/** Entry point to C language function: EGLDisplay eglGetCurrentDisplay(void);
Part of EGL_VERSION_1_X
*/
private native long dispatch_eglGetCurrentDisplay0(long procAddress);
/** Entry point to C language function: EGLSurface eglGetCurrentSurface(EGLint readdraw);
Part of EGL_VERSION_1_X
*/
public long eglGetCurrentSurface(int readdraw) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetCurrentSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetCurrentSurface\" not available");
}
return dispatch_eglGetCurrentSurface0(readdraw, __addr_);
}
/** Entry point to C language function: EGLSurface eglGetCurrentSurface(EGLint readdraw);
Part of EGL_VERSION_1_X
*/
private native long dispatch_eglGetCurrentSurface0(int readdraw, long procAddress);
/** Entry point to C language function: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id);
Part of EGL_VERSION_1_X
*/
public long eglGetDisplay(long display_id) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetDisplay;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetDisplay\" not available");
}
return dispatch_eglGetDisplay0(display_id, __addr_);
}
/** Entry point to C language function: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id);
Part of EGL_VERSION_1_X
*/
private native long dispatch_eglGetDisplay0(long display_id, long procAddress);
/** Entry point to C language function: EGLint eglGetError(void);
Part of EGL_VERSION_1_X
*/
public int eglGetError() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetError;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetError\" not available");
}
return dispatch_eglGetError0(__addr_);
}
/** Entry point to C language function: EGLint eglGetError(void);
Part of EGL_VERSION_1_X
*/
private native int dispatch_eglGetError0(long procAddress);
/** Entry point to C language function: __EGLFuncPtr eglGetProcAddress(const char * procname);
Part of EGL_VERSION_1_X
*/
public long eglGetProcAddress(String procname) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetProcAddress;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetProcAddress\" not available");
}
return dispatch_eglGetProcAddress0(procname, __addr_);
}
/** Entry point to C language function: __EGLFuncPtr eglGetProcAddress(const char * procname);
Part of EGL_VERSION_1_X
*/
private native long dispatch_eglGetProcAddress0(String procname, long procAddress);
/** Entry point to C language function: EGLNativeFileDescriptorKHR eglGetStreamFileDescriptorKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_cross_process_fd
@param stream a direct only {@link java.nio.Buffer} */
public int eglGetStreamFileDescriptorKHR(long dpy, Buffer stream) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetStreamFileDescriptorKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetStreamFileDescriptorKHR\" not available");
}
return dispatch_eglGetStreamFileDescriptorKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), __addr_);
}
/** Entry point to C language function: EGLNativeFileDescriptorKHR eglGetStreamFileDescriptorKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_cross_process_fd
@param stream a direct only {@link java.nio.Buffer} */
private native int dispatch_eglGetStreamFileDescriptorKHR0(long dpy, Object stream, int stream_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint * value);
Part of EGL_KHR_reusable_sync
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglGetSyncAttribKHR(long dpy, long sync, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetSyncAttribKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetSyncAttribKHR\" not available");
}
return dispatch_eglGetSyncAttribKHR0(dpy, sync, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint * value);
Part of EGL_KHR_reusable_sync
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglGetSyncAttribKHR0(long dpy, long sync, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetSyncAttribNV(EGLClientBuffer sync, EGLint attribute, EGLint * value);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglGetSyncAttribNV(Buffer sync, int attribute, IntBuffer value) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetSyncAttribNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetSyncAttribNV\" not available");
}
return dispatch_eglGetSyncAttribNV0(sync, Buffers.getDirectBufferByteOffset(sync), attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetSyncAttribNV(EGLClientBuffer sync, EGLint attribute, EGLint * value);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglGetSyncAttribNV0(Object sync, int sync_byte_offset, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLuint64 eglGetSystemTimeFrequencyNV(void);
Part of EGL_NV_system_time
*/
public long eglGetSystemTimeFrequencyNV() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetSystemTimeFrequencyNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetSystemTimeFrequencyNV\" not available");
}
return dispatch_eglGetSystemTimeFrequencyNV0(__addr_);
}
/** Entry point to C language function: EGLuint64 eglGetSystemTimeFrequencyNV(void);
Part of EGL_NV_system_time
*/
private native long dispatch_eglGetSystemTimeFrequencyNV0(long procAddress);
/** Entry point to C language function: EGLuint64 eglGetSystemTimeNV(void);
Part of EGL_NV_system_time
*/
public long eglGetSystemTimeNV() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglGetSystemTimeNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglGetSystemTimeNV\" not available");
}
return dispatch_eglGetSystemTimeNV0(__addr_);
}
/** Entry point to C language function: EGLuint64 eglGetSystemTimeNV(void);
Part of EGL_NV_system_time
*/
private native long dispatch_eglGetSystemTimeNV0(long procAddress);
/** Entry point to C language function: EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor);
Part of EGL_VERSION_1_X
@param major a direct only {@link java.nio.IntBuffer}
@param minor a direct only {@link java.nio.IntBuffer} */
public boolean eglInitialize(long dpy, IntBuffer major, IntBuffer minor) {
if (!Buffers.isDirect(major))
throw new RuntimeException("Argument \"major\" is not a direct buffer");
if (!Buffers.isDirect(minor))
throw new RuntimeException("Argument \"minor\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglInitialize;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglInitialize\" not available");
}
return dispatch_eglInitialize0(dpy, major, Buffers.getDirectBufferByteOffset(major), minor, Buffers.getDirectBufferByteOffset(minor), __addr_);
}
/** Entry point to C language function: EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor);
Part of EGL_VERSION_1_X
@param major a direct only {@link java.nio.IntBuffer}
@param minor a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglInitialize0(long dpy, Object major, int major_byte_offset, Object minor, int minor_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint * attrib_list);
Part of EGL_KHR_lock_surface
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public boolean eglLockSurfaceKHR(long display, long surface, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglLockSurfaceKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglLockSurfaceKHR\" not available");
}
return dispatch_eglLockSurfaceKHR0(display, surface, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint * attrib_list);
Part of EGL_KHR_lock_surface
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglLockSurfaceKHR0(long display, long surface, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
Part of EGL_VERSION_1_X
*/
public boolean eglMakeCurrent(long dpy, long draw, long read, long ctx) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglMakeCurrent;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglMakeCurrent\" not available");
}
return dispatch_eglMakeCurrent0(dpy, draw, read, ctx, __addr_);
}
/** Entry point to C language function: EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglMakeCurrent0(long dpy, long draw, long read, long ctx, long procAddress);
/** Entry point to C language function: EGLBoolean eglPostSubBufferNV(EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
Part of EGL_NV_post_sub_buffer
*/
public boolean eglPostSubBufferNV(long dpy, long surface, int x, int y, int width, int height) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglPostSubBufferNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglPostSubBufferNV\" not available");
}
return dispatch_eglPostSubBufferNV0(dpy, surface, x, y, width, height, __addr_);
}
/** Entry point to C language function: EGLBoolean eglPostSubBufferNV(EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
Part of EGL_NV_post_sub_buffer
*/
private native boolean dispatch_eglPostSubBufferNV0(long dpy, long surface, int x, int y, int width, int height, long procAddress);
/** Entry point to C language function: EGLenum eglQueryAPI(void);
Part of EGL_VERSION_1_X
*/
public int eglQueryAPI() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryAPI;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryAPI\" not available");
}
return dispatch_eglQueryAPI0(__addr_);
}
/** Entry point to C language function: EGLenum eglQueryAPI(void);
Part of EGL_VERSION_1_X
*/
private native int dispatch_eglQueryAPI0(long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglQueryContext(long dpy, long ctx, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryContext\" not available");
}
return dispatch_eglQueryContext0(dpy, ctx, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglQueryContext0(long dpy, long ctx, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryNativeDisplayNV(EGLDisplay dpy, EGLNativeDisplayType * display_id);
Part of EGL_NV_native_query
@param display_id a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean eglQueryNativeDisplayNV(long dpy, PointerBuffer display_id) {
if (!Buffers.isDirect(display_id))
throw new RuntimeException("Argument \"display_id\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryNativeDisplayNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryNativeDisplayNV\" not available");
}
return dispatch_eglQueryNativeDisplayNV0(dpy, display_id != null ? display_id.getBuffer() : null, Buffers.getDirectBufferByteOffset(display_id), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryNativeDisplayNV(EGLDisplay dpy, EGLNativeDisplayType * display_id);
Part of EGL_NV_native_query
@param display_id a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_eglQueryNativeDisplayNV0(long dpy, Object display_id, int display_id_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryNativePixmapNV(EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap);
Part of EGL_NV_native_query
@param pixmap a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean eglQueryNativePixmapNV(long dpy, long surf, PointerBuffer pixmap) {
if (!Buffers.isDirect(pixmap))
throw new RuntimeException("Argument \"pixmap\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryNativePixmapNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryNativePixmapNV\" not available");
}
return dispatch_eglQueryNativePixmapNV0(dpy, surf, pixmap != null ? pixmap.getBuffer() : null, Buffers.getDirectBufferByteOffset(pixmap), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryNativePixmapNV(EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap);
Part of EGL_NV_native_query
@param pixmap a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_eglQueryNativePixmapNV0(long dpy, long surf, Object pixmap, int pixmap_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryNativeWindowNV(EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window);
Part of EGL_NV_native_query
@param window a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean eglQueryNativeWindowNV(long dpy, long surf, PointerBuffer window) {
if (!Buffers.isDirect(window))
throw new RuntimeException("Argument \"window\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryNativeWindowNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryNativeWindowNV\" not available");
}
return dispatch_eglQueryNativeWindowNV0(dpy, surf, window != null ? window.getBuffer() : null, Buffers.getDirectBufferByteOffset(window), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryNativeWindowNV(EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window);
Part of EGL_NV_native_query
@param window a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_eglQueryNativeWindowNV0(long dpy, long surf, Object window, int window_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryStreamKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLint * value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglQueryStreamKHR(long dpy, Buffer stream, int attribute, IntBuffer value) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryStreamKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryStreamKHR\" not available");
}
return dispatch_eglQueryStreamKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryStreamKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLint * value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglQueryStreamKHR0(long dpy, Object stream, int stream_byte_offset, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryStreamTimeKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLTimeKHR * value);
Part of EGL_KHR_stream_fifo
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.LongBuffer} */
public boolean eglQueryStreamTimeKHR(long dpy, Buffer stream, int attribute, LongBuffer value) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryStreamTimeKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryStreamTimeKHR\" not available");
}
return dispatch_eglQueryStreamTimeKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryStreamTimeKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLTimeKHR * value);
Part of EGL_KHR_stream_fifo
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.LongBuffer} */
private native boolean dispatch_eglQueryStreamTimeKHR0(long dpy, Object stream, int stream_byte_offset, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryStreamu64KHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLuint64KHR * value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.LongBuffer} */
public boolean eglQueryStreamu64KHR(long dpy, Buffer stream, int attribute, LongBuffer value) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryStreamu64KHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryStreamu64KHR\" not available");
}
return dispatch_eglQueryStreamu64KHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryStreamu64KHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLuint64KHR * value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer}
@param value a direct only {@link java.nio.LongBuffer} */
private native boolean dispatch_eglQueryStreamu64KHR0(long dpy, Object stream, int stream_byte_offset, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: const char * eglQueryString(EGLDisplay dpy, EGLint name);
Part of EGL_VERSION_1_X
*/
public String eglQueryString(long dpy, int name) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQueryString;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQueryString\" not available");
}
return dispatch_eglQueryString0(dpy, name, __addr_);
}
/** Entry point to C language function: const char * eglQueryString(EGLDisplay dpy, EGLint name);
Part of EGL_VERSION_1_X
*/
private native String dispatch_eglQueryString0(long dpy, int name, long procAddress);
/** Entry point to C language function: EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
public boolean eglQuerySurface(long dpy, long surface, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQuerySurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQuerySurface\" not available");
}
return dispatch_eglQuerySurface0(dpy, surface, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_X
@param value a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglQuerySurface0(long dpy, long surface, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLClientBuffer * value);
Part of EGL_ANGLE_query_surface_pointer
@param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean eglQuerySurfacePointerANGLE(long dpy, long surface, int attribute, PointerBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglQuerySurfacePointerANGLE;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglQuerySurfacePointerANGLE\" not available");
}
return dispatch_eglQuerySurfacePointerANGLE0(dpy, surface, attribute, value != null ? value.getBuffer() : null, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLClientBuffer * value);
Part of EGL_ANGLE_query_surface_pointer
@param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_eglQuerySurfacePointerANGLE0(long dpy, long surface, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
Part of EGL_VERSION_1_X
*/
public boolean eglReleaseTexImage(long dpy, long surface, int buffer) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglReleaseTexImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglReleaseTexImage\" not available");
}
return dispatch_eglReleaseTexImage0(dpy, surface, buffer, __addr_);
}
/** Entry point to C language function: EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglReleaseTexImage0(long dpy, long surface, int buffer, long procAddress);
/** Entry point to C language function: EGLBoolean eglReleaseThread(void);
Part of EGL_VERSION_1_X
*/
public boolean eglReleaseThread() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglReleaseThread;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglReleaseThread\" not available");
}
return dispatch_eglReleaseThread0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglReleaseThread(void);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglReleaseThread0(long procAddress);
/** Entry point to C language function: EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
Part of EGL_KHR_reusable_sync
*/
public boolean eglSignalSyncKHR(long dpy, long sync, int mode) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSignalSyncKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSignalSyncKHR\" not available");
}
return dispatch_eglSignalSyncKHR0(dpy, sync, mode, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
Part of EGL_KHR_reusable_sync
*/
private native boolean dispatch_eglSignalSyncKHR0(long dpy, long sync, int mode, long procAddress);
/** Entry point to C language function: EGLBoolean eglSignalSyncNV(EGLClientBuffer sync, EGLenum mode);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
public boolean eglSignalSyncNV(Buffer sync, int mode) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSignalSyncNV;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSignalSyncNV\" not available");
}
return dispatch_eglSignalSyncNV0(sync, Buffers.getDirectBufferByteOffset(sync), mode, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSignalSyncNV(EGLClientBuffer sync, EGLenum mode);
Part of EGL_NV_sync
@param sync a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglSignalSyncNV0(Object sync, int sync_byte_offset, int mode, long procAddress);
/** Entry point to C language function: EGLBoolean eglStreamAttribKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLint value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer} */
public boolean eglStreamAttribKHR(long dpy, Buffer stream, int attribute, int value) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglStreamAttribKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglStreamAttribKHR\" not available");
}
return dispatch_eglStreamAttribKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), attribute, value, __addr_);
}
/** Entry point to C language function: EGLBoolean eglStreamAttribKHR(EGLDisplay dpy, EGLClientBuffer stream, EGLenum attribute, EGLint value);
Part of EGL_KHR_stream
@param stream a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglStreamAttribKHR0(long dpy, Object stream, int stream_byte_offset, int attribute, int value, long procAddress);
/** Entry point to C language function: EGLBoolean eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
public boolean eglStreamConsumerAcquireKHR(long dpy, Buffer stream) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglStreamConsumerAcquireKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglStreamConsumerAcquireKHR\" not available");
}
return dispatch_eglStreamConsumerAcquireKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), __addr_);
}
/** Entry point to C language function: EGLBoolean eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglStreamConsumerAcquireKHR0(long dpy, Object stream, int stream_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
public boolean eglStreamConsumerGLTextureExternalKHR(long dpy, Buffer stream) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglStreamConsumerGLTextureExternalKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglStreamConsumerGLTextureExternalKHR\" not available");
}
return dispatch_eglStreamConsumerGLTextureExternalKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), __addr_);
}
/** Entry point to C language function: EGLBoolean eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglStreamConsumerGLTextureExternalKHR0(long dpy, Object stream, int stream_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglStreamConsumerReleaseKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
public boolean eglStreamConsumerReleaseKHR(long dpy, Buffer stream) {
if (!Buffers.isDirect(stream))
throw new RuntimeException("Argument \"stream\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglStreamConsumerReleaseKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglStreamConsumerReleaseKHR\" not available");
}
return dispatch_eglStreamConsumerReleaseKHR0(dpy, stream, Buffers.getDirectBufferByteOffset(stream), __addr_);
}
/** Entry point to C language function: EGLBoolean eglStreamConsumerReleaseKHR(EGLDisplay dpy, EGLClientBuffer stream);
Part of EGL_KHR_stream_consumer_gltexture
@param stream a direct only {@link java.nio.Buffer} */
private native boolean dispatch_eglStreamConsumerReleaseKHR0(long dpy, Object stream, int stream_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
Part of EGL_VERSION_1_X
*/
public boolean eglSurfaceAttrib(long dpy, long surface, int attribute, int value) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSurfaceAttrib;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSurfaceAttrib\" not available");
}
return dispatch_eglSurfaceAttrib0(dpy, surface, attribute, value, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglSurfaceAttrib0(long dpy, long surface, int attribute, int value, long procAddress);
/** Entry point to C language function: EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface);
Part of EGL_VERSION_1_X
*/
public boolean eglSwapBuffers(long dpy, long surface) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSwapBuffers;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSwapBuffers\" not available");
}
return dispatch_eglSwapBuffers0(dpy, surface, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglSwapBuffers0(long dpy, long surface, long procAddress);
/** Entry point to C language function: EGLBoolean eglSwapBuffersWithDamageEXT(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
Part of EGL_EXT_swap_buffers_with_damage
@param rects a direct only {@link java.nio.IntBuffer} */
public boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, IntBuffer rects, int n_rects) {
if (!Buffers.isDirect(rects))
throw new RuntimeException("Argument \"rects\" is not a direct buffer");
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSwapBuffersWithDamageEXT;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSwapBuffersWithDamageEXT\" not available");
}
return dispatch_eglSwapBuffersWithDamageEXT0(dpy, surface, rects, Buffers.getDirectBufferByteOffset(rects), n_rects, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSwapBuffersWithDamageEXT(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
Part of EGL_EXT_swap_buffers_with_damage
@param rects a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_eglSwapBuffersWithDamageEXT0(long dpy, long surface, Object rects, int rects_byte_offset, int n_rects, long procAddress);
/** Entry point to C language function: EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval);
Part of EGL_VERSION_1_X
*/
public boolean eglSwapInterval(long dpy, int interval) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglSwapInterval;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglSwapInterval\" not available");
}
return dispatch_eglSwapInterval0(dpy, interval, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglSwapInterval0(long dpy, int interval, long procAddress);
/** Entry point to C language function: EGLBoolean eglTerminate(EGLDisplay dpy);
Part of EGL_VERSION_1_X
*/
public boolean eglTerminate(long dpy) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglTerminate;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglTerminate\" not available");
}
return dispatch_eglTerminate0(dpy, __addr_);
}
/** Entry point to C language function: EGLBoolean eglTerminate(EGLDisplay dpy);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglTerminate0(long dpy, long procAddress);
/** Entry point to C language function: EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface);
Part of EGL_KHR_lock_surface
*/
public boolean eglUnlockSurfaceKHR(long display, long surface) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglUnlockSurfaceKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglUnlockSurfaceKHR\" not available");
}
return dispatch_eglUnlockSurfaceKHR0(display, surface, __addr_);
}
/** Entry point to C language function: EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface);
Part of EGL_KHR_lock_surface
*/
private native boolean dispatch_eglUnlockSurfaceKHR0(long display, long surface, long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitClient(void);
Part of EGL_VERSION_1_X
*/
public boolean eglWaitClient() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglWaitClient;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglWaitClient\" not available");
}
return dispatch_eglWaitClient0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitClient(void);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglWaitClient0(long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitGL(void);
Part of EGL_VERSION_1_X
*/
public boolean eglWaitGL() {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglWaitGL;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglWaitGL\" not available");
}
return dispatch_eglWaitGL0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitGL(void);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglWaitGL0(long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitNative(EGLint engine);
Part of EGL_VERSION_1_X
*/
public boolean eglWaitNative(int engine) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglWaitNative;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglWaitNative\" not available");
}
return dispatch_eglWaitNative0(engine, __addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitNative(EGLint engine);
Part of EGL_VERSION_1_X
*/
private native boolean dispatch_eglWaitNative0(int engine, long procAddress);
/** Entry point to C language function: EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
Part of EGL_KHR_wait_sync
*/
public int eglWaitSyncKHR(long dpy, long sync, int flags) {
final long __addr_ = _context.getEGLExtProcAddressTable()._addressof_eglWaitSyncKHR;
if (__addr_ == 0) {
throw new UnsupportedOperationException("Method \"eglWaitSyncKHR\" not available");
}
return dispatch_eglWaitSyncKHR0(dpy, sync, flags, __addr_);
}
/** Entry point to C language function: EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
Part of EGL_KHR_wait_sync
*/
private native int dispatch_eglWaitSyncKHR0(long dpy, long sync, int flags, long procAddress);
// --- Begin CustomJavaCode .cfg declarations
public EGLExtImpl(EGLContext context) {
this._context = context;
}
public boolean isFunctionAvailable(String glFunctionName)
{
return _context.isFunctionAvailable(glFunctionName);
}
public boolean isExtensionAvailable(String glExtensionName)
{
return _context.isExtensionAvailable(glExtensionName);
}
private EGLContext _context;
// ---- End CustomJavaCode .cfg declarations
} // end of class EGLExtImpl