Build 1.0_r1(from source)

android.opengl
Class EGLLogWrapper

java.lang.Object
  extended by android.opengl.EGLLogWrapper
All Implemented Interfaces:
EGL, EGL10, EGL11

 class EGLLogWrapper
extends Object
implements EGL11


Field Summary
(package private)  boolean mCheckError
           
(package private)  Writer mLog
           
(package private)  boolean mLogArgumentNames
           
 
Fields inherited from interface javax.microedition.khronos.egl.EGL11
EGL_CONTEXT_LOST
 
Fields inherited from interface javax.microedition.khronos.egl.EGL10
EGL_ALPHA_FORMAT, EGL_ALPHA_MASK_SIZE, EGL_ALPHA_SIZE, EGL_BAD_ACCESS, EGL_BAD_ALLOC, EGL_BAD_ATTRIBUTE, EGL_BAD_CONFIG, EGL_BAD_CONTEXT, EGL_BAD_CURRENT_SURFACE, EGL_BAD_DISPLAY, EGL_BAD_MATCH, EGL_BAD_NATIVE_PIXMAP, EGL_BAD_NATIVE_WINDOW, EGL_BAD_PARAMETER, EGL_BAD_SURFACE, EGL_BLUE_SIZE, EGL_BUFFER_SIZE, EGL_COLOR_BUFFER_TYPE, EGL_COLORSPACE, EGL_CONFIG_CAVEAT, EGL_CONFIG_ID, EGL_CORE_NATIVE_ENGINE, EGL_DEFAULT_DISPLAY, EGL_DEPTH_SIZE, EGL_DONT_CARE, EGL_DRAW, EGL_EXTENSIONS, EGL_GREEN_SIZE, EGL_HEIGHT, EGL_HORIZONTAL_RESOLUTION, EGL_LARGEST_PBUFFER, EGL_LEVEL, EGL_LUMINANCE_BUFFER, EGL_LUMINANCE_SIZE, EGL_MAX_PBUFFER_HEIGHT, EGL_MAX_PBUFFER_PIXELS, EGL_MAX_PBUFFER_WIDTH, EGL_NATIVE_RENDERABLE, EGL_NATIVE_VISUAL_ID, EGL_NATIVE_VISUAL_TYPE, EGL_NO_CONTEXT, EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_NON_CONFORMANT_CONFIG, EGL_NONE, EGL_NOT_INITIALIZED, EGL_PBUFFER_BIT, EGL_PIXEL_ASPECT_RATIO, EGL_PIXMAP_BIT, EGL_READ, EGL_RED_SIZE, EGL_RENDER_BUFFER, EGL_RENDERABLE_TYPE, EGL_RGB_BUFFER, EGL_SAMPLE_BUFFERS, EGL_SAMPLES, EGL_SINGLE_BUFFER, EGL_SLOW_CONFIG, EGL_STENCIL_SIZE, EGL_SUCCESS, EGL_SURFACE_TYPE, EGL_TRANSPARENT_BLUE_VALUE, EGL_TRANSPARENT_GREEN_VALUE, EGL_TRANSPARENT_RED_VALUE, EGL_TRANSPARENT_RGB, EGL_TRANSPARENT_TYPE, EGL_VENDOR, EGL_VERSION, EGL_VERTICAL_RESOLUTION, EGL_WIDTH, EGL_WINDOW_BIT
 
Constructor Summary
EGLLogWrapper(EGL egl, int configFlags, Writer log)
           
 
Method Summary
 boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config)
           
 boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap)
           
 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list)
           
 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list)
           
 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list)
           
 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list)
           
 boolean eglDestroyContext(EGLDisplay display, EGLContext context)
           
 boolean eglDestroySurface(EGLDisplay display, EGLSurface surface)
           
 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value)
           
 boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_config)
           
 EGLContext eglGetCurrentContext()
           
 EGLDisplay eglGetCurrentDisplay()
           
 EGLSurface eglGetCurrentSurface(int readdraw)
           
 EGLDisplay eglGetDisplay(Object native_display)
           
 int eglGetError()
           
 boolean eglInitialize(EGLDisplay display, int[] major_minor)
           
 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context)
           
 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value)
           
 String eglQueryString(EGLDisplay display, int name)
           
 boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value)
           
 boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface)
           
 boolean eglTerminate(EGLDisplay display)
           
 boolean eglWaitGL()
           
 boolean eglWaitNative(int engine, Object bindTarget)
           
static String getErrorString(int error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLog

Writer mLog

mLogArgumentNames

boolean mLogArgumentNames

mCheckError

boolean mCheckError
Constructor Detail

EGLLogWrapper

public EGLLogWrapper(EGL egl,
                     int configFlags,
                     Writer log)
Method Detail

eglChooseConfig

public boolean eglChooseConfig(EGLDisplay display,
                               int[] attrib_list,
                               EGLConfig[] configs,
                               int config_size,
                               int[] num_config)
Specified by:
eglChooseConfig in interface EGL10

eglCopyBuffers

public boolean eglCopyBuffers(EGLDisplay display,
                              EGLSurface surface,
                              Object native_pixmap)
Specified by:
eglCopyBuffers in interface EGL10

eglCreateContext

public EGLContext eglCreateContext(EGLDisplay display,
                                   EGLConfig config,
                                   EGLContext share_context,
                                   int[] attrib_list)
Specified by:
eglCreateContext in interface EGL10

eglCreatePbufferSurface

public EGLSurface eglCreatePbufferSurface(EGLDisplay display,
                                          EGLConfig config,
                                          int[] attrib_list)
Specified by:
eglCreatePbufferSurface in interface EGL10

eglCreatePixmapSurface

public EGLSurface eglCreatePixmapSurface(EGLDisplay display,
                                         EGLConfig config,
                                         Object native_pixmap,
                                         int[] attrib_list)
Specified by:
eglCreatePixmapSurface in interface EGL10

eglCreateWindowSurface

public EGLSurface eglCreateWindowSurface(EGLDisplay display,
                                         EGLConfig config,
                                         Object native_window,
                                         int[] attrib_list)
Specified by:
eglCreateWindowSurface in interface EGL10

eglDestroyContext

public boolean eglDestroyContext(EGLDisplay display,
                                 EGLContext context)
Specified by:
eglDestroyContext in interface EGL10

eglDestroySurface

public boolean eglDestroySurface(EGLDisplay display,
                                 EGLSurface surface)
Specified by:
eglDestroySurface in interface EGL10

eglGetConfigAttrib

public boolean eglGetConfigAttrib(EGLDisplay display,
                                  EGLConfig config,
                                  int attribute,
                                  int[] value)
Specified by:
eglGetConfigAttrib in interface EGL10

eglGetConfigs

public boolean eglGetConfigs(EGLDisplay display,
                             EGLConfig[] configs,
                             int config_size,
                             int[] num_config)
Specified by:
eglGetConfigs in interface EGL10

eglGetCurrentContext

public EGLContext eglGetCurrentContext()
Specified by:
eglGetCurrentContext in interface EGL10

eglGetCurrentDisplay

public EGLDisplay eglGetCurrentDisplay()
Specified by:
eglGetCurrentDisplay in interface EGL10

eglGetCurrentSurface

public EGLSurface eglGetCurrentSurface(int readdraw)
Specified by:
eglGetCurrentSurface in interface EGL10

eglGetDisplay

public EGLDisplay eglGetDisplay(Object native_display)
Specified by:
eglGetDisplay in interface EGL10

eglGetError

public int eglGetError()
Specified by:
eglGetError in interface EGL10

eglInitialize

public boolean eglInitialize(EGLDisplay display,
                             int[] major_minor)
Specified by:
eglInitialize in interface EGL10

eglMakeCurrent

public boolean eglMakeCurrent(EGLDisplay display,
                              EGLSurface draw,
                              EGLSurface read,
                              EGLContext context)
Specified by:
eglMakeCurrent in interface EGL10

eglQueryContext

public boolean eglQueryContext(EGLDisplay display,
                               EGLContext context,
                               int attribute,
                               int[] value)
Specified by:
eglQueryContext in interface EGL10

eglQueryString

public String eglQueryString(EGLDisplay display,
                             int name)
Specified by:
eglQueryString in interface EGL10

eglQuerySurface

public boolean eglQuerySurface(EGLDisplay display,
                               EGLSurface surface,
                               int attribute,
                               int[] value)
Specified by:
eglQuerySurface in interface EGL10

eglSwapBuffers

public boolean eglSwapBuffers(EGLDisplay display,
                              EGLSurface surface)
Specified by:
eglSwapBuffers in interface EGL10

eglTerminate

public boolean eglTerminate(EGLDisplay display)
Specified by:
eglTerminate in interface EGL10

eglWaitGL

public boolean eglWaitGL()
Specified by:
eglWaitGL in interface EGL10

eglWaitNative

public boolean eglWaitNative(int engine,
                             Object bindTarget)
Specified by:
eglWaitNative in interface EGL10

getErrorString

public static String getErrorString(int error)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature