var searchIndex = {}; searchIndex["egli"] = {"doc":"<a href="https://github.com/Nercury/egli-rs">\n <img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub">\n</a>\n<style>.sidebar { margin-top: 53px }</style>","items":[[3,"Display","egli","`[EGL 1.0]` [RAII](https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization) wrapper for\nEGLDisplay.",null,null],[3,"Context","","`[EGL 1.0]` [RAII](https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization) wrapper for\nEGLContext.",null,null],[3,"Surface","","`[EGL 1.0]` [RAII](https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization) wrapper for\nEGLSurface.",null,null],[3,"ConfigFilterRef","","`[EGL 1.0]` Configuration filter builder.",null,null],[3,"FrameBufferConfigRef","","`[EGL 1.0]` Reference to frame buffer configuration.",null,null],[3,"Version","","`[EGL 1.0]` EGL version.",null,null],[12,"major","","",0,null],[12,"minor","","",0,null],[4,"ContextClientVersion","","",null,null],[13,"OpenGlEs1","","",1,null],[13,"OpenGlEs2","","",1,null],[4,"ColorBufferType","","",null,null],[13,"Rgb","","",2,null],[13,"Luminance","","",2,null],[4,"ConfigCaveat","","",null,null],[13,"None","","",3,null],[13,"Slow","","",3,null],[13,"NonConformant","","",3,null],[4,"TransparentType","","",null,null],[13,"None","","",4,null],[13,"TransparentRgb","","",4,null],[5,"query_extensions","","`[EGL 1.0]` Get all supported client extensions.",null,{"inputs":[],"output":{"name":"result"}}],[0,"egl","","C-style lower level EGL wrapper with unsafety removed.",null,null],[5,"bind_api","egli::egl","`[EGL 1.2]` Set the current rendering API.",null,{"inputs":[{"name":"eglenum"}],"output":{"name":"eglcallresult"}}],[5,"bind_tex_image","","`[EGL 1.1]` Defines a two-dimensional texture image.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"num_filtered_configs","","`[EGL 1.0]` Return the total number of display configs that match specified attributes.",null,null],[5,"get_filtered_configs","","`[EGL 1.0]` Return a list of EGL frame buffer configurations that match specified attributes.",null,null],[5,"copy_buffers","","`[EGL 1.0]` Copy EGL surface color buffer to a native pixmap.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglnativepixmaptype"}],"output":{"name":"eglcallresult"}}],[5,"create_context","","`[EGL 1.0]` Create a new EGL rendering context.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglconfig"}],"output":{"name":"eglcallresult"}}],[5,"create_context_with_attribs","","`[EGL 1.0]` Create a new EGL rendering context.",null,null],[5,"create_pbuffer_from_client_buffer","","`[EGL 1.2]` Create a new EGL pixel buffer surface bound to an OpenVG image.",null,null],[5,"create_pbuffer_surface","","`[EGL 1.0]` Create a new EGL pixel buffer surface.",null,null],[5,"create_pixmap_surface","","`[EGL 1.0]` Create a new EGL pixmap surface.",null,null],[5,"create_window_surface","","`[EGL 1.0]` Create a new EGL window surface.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglconfig"},{"name":"eglnativewindowtype"}],"output":{"name":"eglcallresult"}}],[5,"create_window_surface_with_attribs","","`[EGL 1.0]` Create a new EGL window surface.",null,null],[5,"destroy_context","","`[EGL 1.0]` Destroy an EGL rendering context.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglcontext"}],"output":{"name":"eglcallresult"}}],[5,"destroy_surface","","`[EGL 1.0]` Destroy an EGL surface.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"}],"output":{"name":"eglcallresult"}}],[5,"get_config_attrib","","`[EGL 1.0]` Return information about an EGL frame buffer configuration.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglconfig"},{"name":"eglint"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"num_configs","","`[EGL 1.0]` Return the total number of all available display configs.",null,{"inputs":[{"name":"egldisplay"}],"output":{"name":"eglcallresult"}}],[5,"get_configs","","`[EGL 1.0]` Return a list of all EGL frame buffer configurations for a display.",null,null],[5,"get_current_context","","`[EGL 1.4]` Return the current EGL rendering context.",null,{"inputs":[],"output":{"name":"eglcallresult"}}],[5,"get_current_display","","`[EGL 1.0]` Return the display for the current EGL rendering context.",null,{"inputs":[],"output":{"name":"eglcallresult"}}],[5,"get_current_surface","","`[EGL 1.0]` Return the read or draw surface for the current EGL rendering context.",null,{"inputs":[{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"get_display","","`[EGL 1.0]` Return an EGL display connection.",null,{"inputs":[{"name":"eglnativedisplaytype"}],"output":{"name":"eglcallresult"}}],[5,"get_error","","`[EGL 1.0]` Return error information.",null,{"inputs":[],"output":{"name":"eglint"}}],[5,"get_proc_address","","`[EGL 1.0]` Return a GL or an EGL extension function.",null,null],[5,"initialize","","`[EGL 1.0]` Initialize an EGL display connection.",null,{"inputs":[{"name":"egldisplay"}],"output":{"name":"eglcallresult"}}],[5,"initialize_and_get_version","","`[EGL 1.0]` Initialize an EGL display connection and get EGL version.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglint"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"make_current","","`[EGL 1.0]` Attach an EGL rendering context to EGL surfaces.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglsurface"},{"name":"eglcontext"}],"output":{"name":"eglcallresult"}}],[5,"query_api","","`[EGL 1.2]` Query the current rendering API.",null,{"inputs":[],"output":{"name":"eglenum"}}],[5,"query_context","","`[EGL 1.0]` Return EGL rendering context information.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglcontext"},{"name":"eglint"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"query_string","","`[EGL 1.0]` Return a string describing an EGL display connection.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"query_surface","","`[EGL 1.0]` Return EGL surface information.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglint"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"release_tex_image","","`[EGL 1.1]` Releases a color buffer that is being used as a texture.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"release_thread","","`[EGL 1.2]` Release EGL per-thread state.",null,{"inputs":[],"output":{"name":"eglcallresult"}}],[5,"surface_attrib","","`[EGL 1.1]` Set an EGL surface attribute.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"},{"name":"eglint"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"swap_buffers","","`[EGL 1.0]` Post EGL surface color buffer to a native window.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"}],"output":{"name":"eglcallresult"}}],[5,"swap_interval","","`[EGL 1.1]` Specifies the minimum number of video frame periods per buffer swap for the window\nassociated with the current context.",null,{"inputs":[{"name":"egldisplay"},{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[5,"terminate","","`[EGL 1.0]` Terminate an EGL display connection.",null,{"inputs":[{"name":"egldisplay"}],"output":{"name":"eglcallresult"}}],[5,"wait_client","","`[EGL 1.2]` Complete client API execution prior to subsequent native rendering calls.",null,{"inputs":[],"output":{"name":"eglcallresult"}}],[5,"wait_gl","","`[EGL 1.0]` Complete GL execution prior to subsequent native rendering calls.",null,{"inputs":[],"output":{"name":"eglcallresult"}}],[5,"wait_native","","`[EGL 1.0]` Complete native execution prior to subsequent GL rendering calls.",null,{"inputs":[{"name":"eglint"}],"output":{"name":"eglcallresult"}}],[6,"EGLBoolean","","",null,null],[6,"EGLClientBuffer","","",null,null],[6,"EGLConfig","","",null,null],[6,"EGLContext","","",null,null],[6,"EGLDisplay","","",null,null],[6,"EGLenum","","",null,null],[6,"EGLint","","",null,null],[6,"EGLNativeDisplayType","","",null,null],[6,"EGLSurface","","",null,null],[6,"EGLNativePixmapType","","",null,null],[6,"EGLNativeWindowType","","",null,null],[17,"EGL_FALSE","","",null,null],[17,"EGL_TRUE","","",null,null],[17,"EGL_DEFAULT_DISPLAY","","",null,null],[17,"EGL_NO_CONTEXT","","",null,null],[17,"EGL_NO_DISPLAY","","",null,null],[17,"EGL_NO_SURFACE","","",null,null],[17,"EGL_DONT_CARE","","",null,null],[17,"EGL_SUCCESS","","",null,null],[17,"EGL_NOT_INITIALIZED","","",null,null],[17,"EGL_BAD_ACCESS","","",null,null],[17,"EGL_BAD_ALLOC","","",null,null],[17,"EGL_BAD_ATTRIBUTE","","",null,null],[17,"EGL_BAD_CONFIG","","",null,null],[17,"EGL_BAD_CONTEXT","","",null,null],[17,"EGL_BAD_CURRENT_SURFACE","","",null,null],[17,"EGL_BAD_DISPLAY","","",null,null],[17,"EGL_BAD_MATCH","","",null,null],[17,"EGL_BAD_NATIVE_PIXMAP","","",null,null],[17,"EGL_BAD_NATIVE_WINDOW","","",null,null],[17,"EGL_BAD_PARAMETER","","",null,null],[17,"EGL_BAD_SURFACE","","",null,null],[17,"EGL_CONTEXT_LOST","","",null,null],[17,"EGL_BUFFER_SIZE","","",null,null],[17,"EGL_ALPHA_SIZE","","",null,null],[17,"EGL_BLUE_SIZE","","",null,null],[17,"EGL_GREEN_SIZE","","",null,null],[17,"EGL_RED_SIZE","","",null,null],[17,"EGL_DEPTH_SIZE","","",null,null],[17,"EGL_STENCIL_SIZE","","",null,null],[17,"EGL_CONFIG_CAVEAT","","",null,null],[17,"EGL_CONFIG_ID","","",null,null],[17,"EGL_LEVEL","","",null,null],[17,"EGL_MAX_PBUFFER_HEIGHT","","",null,null],[17,"EGL_MAX_PBUFFER_PIXELS","","",null,null],[17,"EGL_MAX_PBUFFER_WIDTH","","",null,null],[17,"EGL_NATIVE_RENDERABLE","","",null,null],[17,"EGL_NATIVE_VISUAL_ID","","",null,null],[17,"EGL_NATIVE_VISUAL_TYPE","","",null,null],[17,"EGL_SAMPLES","","",null,null],[17,"EGL_SAMPLE_BUFFERS","","",null,null],[17,"EGL_SURFACE_TYPE","","",null,null],[17,"EGL_TRANSPARENT_TYPE","","",null,null],[17,"EGL_TRANSPARENT_BLUE_VALUE","","",null,null],[17,"EGL_TRANSPARENT_GREEN_VALUE","","",null,null],[17,"EGL_TRANSPARENT_RED_VALUE","","",null,null],[17,"EGL_NONE","","",null,null],[17,"EGL_BIND_TO_TEXTURE_RGB","","",null,null],[17,"EGL_BIND_TO_TEXTURE_RGBA","","",null,null],[17,"EGL_MIN_SWAP_INTERVAL","","",null,null],[17,"EGL_MAX_SWAP_INTERVAL","","",null,null],[17,"EGL_LUMINANCE_SIZE","","",null,null],[17,"EGL_ALPHA_MASK_SIZE","","",null,null],[17,"EGL_COLOR_BUFFER_TYPE","","",null,null],[17,"EGL_RENDERABLE_TYPE","","",null,null],[17,"EGL_MATCH_NATIVE_PIXMAP","","",null,null],[17,"EGL_CONFORMANT","","",null,null],[17,"EGL_SLOW_CONFIG","","",null,null],[17,"EGL_NON_CONFORMANT_CONFIG","","",null,null],[17,"EGL_TRANSPARENT_RGB","","",null,null],[17,"EGL_RGB_BUFFER","","",null,null],[17,"EGL_LUMINANCE_BUFFER","","",null,null],[17,"EGL_NO_TEXTURE","","",null,null],[17,"EGL_TEXTURE_RGB","","",null,null],[17,"EGL_TEXTURE_RGBA","","",null,null],[17,"EGL_TEXTURE_2D","","",null,null],[17,"EGL_VENDOR","","",null,null],[17,"EGL_VERSION","","",null,null],[17,"EGL_EXTENSIONS","","",null,null],[17,"EGL_CLIENT_APIS","","",null,null],[17,"EGL_HEIGHT","","",null,null],[17,"EGL_WIDTH","","",null,null],[17,"EGL_LARGEST_PBUFFER","","",null,null],[17,"EGL_TEXTURE_FORMAT","","",null,null],[17,"EGL_TEXTURE_TARGET","","",null,null],[17,"EGL_MIPMAP_TEXTURE","","",null,null],[17,"EGL_MIPMAP_LEVEL","","",null,null],[17,"EGL_RENDER_BUFFER","","",null,null],[17,"EGL_VG_COLORSPACE","","",null,null],[17,"EGL_VG_ALPHA_FORMAT","","",null,null],[17,"EGL_HORIZONTAL_RESOLUTION","","",null,null],[17,"EGL_VERTICAL_RESOLUTION","","",null,null],[17,"EGL_PIXEL_ASPECT_RATIO","","",null,null],[17,"EGL_SWAP_BEHAVIOR","","",null,null],[17,"EGL_MULTISAMPLE_RESOLVE","","",null,null],[17,"EGL_BACK_BUFFER","","",null,null],[17,"EGL_SINGLE_BUFFER","","",null,null],[17,"EGL_VG_COLORSPACE_sRGB","","",null,null],[17,"EGL_VG_COLORSPACE_LINEAR","","",null,null],[17,"EGL_VG_ALPHA_FORMAT_NONPRE","","",null,null],[17,"EGL_VG_ALPHA_FORMAT_PRE","","",null,null],[17,"EGL_DISPLAY_SCALING","","",null,null],[17,"EGL_UNKNOWN","","",null,null],[17,"EGL_BUFFER_PRESERVED","","",null,null],[17,"EGL_BUFFER_DESTROYED","","",null,null],[17,"EGL_OPENVG_IMAGE","","",null,null],[17,"EGL_CONTEXT_CLIENT_TYPE","","",null,null],[17,"EGL_CONTEXT_CLIENT_VERSION","","",null,null],[17,"EGL_MULTISAMPLE_RESOLVE_DEFAULT","","",null,null],[17,"EGL_MULTISAMPLE_RESOLVE_BOX","","",null,null],[17,"EGL_OPENGL_ES_API","","",null,null],[17,"EGL_OPENVG_API","","",null,null],[17,"EGL_OPENGL_API","","",null,null],[17,"EGL_DRAW","","",null,null],[17,"EGL_READ","","",null,null],[17,"EGL_CORE_NATIVE_ENGINE","","",null,null],[17,"EGL_COLORSPACE","","",null,null],[17,"EGL_ALPHA_FORMAT","","",null,null],[17,"EGL_COLORSPACE_sRGB","","",null,null],[17,"EGL_COLORSPACE_LINEAR","","",null,null],[17,"EGL_ALPHA_FORMAT_NONPRE","","",null,null],[17,"EGL_ALPHA_FORMAT_PRE","","",null,null],[0,"ffi","egli","Unsafe FFI API.",null,null],[5,"eglChooseConfig","egli::ffi","",null,null],[5,"eglCopyBuffers","","",null,null],[5,"eglCreateContext","","",null,null],[5,"eglCreatePbufferSurface","","",null,null],[5,"eglCreatePixmapSurface","","",null,null],[5,"eglCreateWindowSurface","","",null,null],[5,"eglDestroyContext","","",null,null],[5,"eglDestroySurface","","",null,null],[5,"eglGetConfigAttrib","","",null,null],[5,"eglGetConfigs","","",null,null],[5,"eglGetCurrentDisplay","","",null,null],[5,"eglGetCurrentSurface","","",null,null],[5,"eglGetDisplay","","",null,null],[5,"eglGetError","","",null,null],[5,"eglGetProcAddress","","",null,null],[5,"eglInitialize","","",null,null],[5,"eglMakeCurrent","","",null,null],[5,"eglQueryContext","","",null,null],[5,"eglQueryString","","",null,null],[5,"eglQuerySurface","","",null,null],[5,"eglSwapBuffers","","",null,null],[5,"eglTerminate","","",null,null],[5,"eglWaitGL","","",null,null],[5,"eglWaitNative","","",null,null],[5,"eglBindTexImage","","",null,null],[5,"eglReleaseTexImage","","",null,null],[5,"eglSurfaceAttrib","","",null,null],[5,"eglSwapInterval","","",null,null],[5,"eglBindAPI","","",null,null],[5,"eglQueryAPI","","",null,null],[5,"eglCreatePbufferFromClientBuffer","","",null,null],[5,"eglReleaseThread","","",null,null],[5,"eglWaitClient","","",null,null],[5,"eglGetCurrentContext","","",null,null],[0,"error","egli","Error and Result types.",null,null],[4,"EglCallError","egli::error","",null,null],[13,"GetConfigs","","",5,null],[13,"GetCurrentContext","","",5,null],[13,"GetCurrentDisplay","","",5,null],[13,"GetDisplay","","",5,null],[13,"GetCurrentSurface","","",5,null],[13,"GetConfigAttrib","","",5,null],[13,"DestroySurface","","",5,null],[13,"Initialize","","",5,null],[13,"MakeCurrent","","",5,null],[13,"DestroyContext","","",5,null],[13,"CreateWindowSurface","","",5,null],[13,"CreatePlatformWindowSurface","","",5,null],[13,"CreatePixmapSurface","","",5,null],[13,"CreatePbufferSurface","","",5,null],[13,"CreatePbufferFromClientBuffer","","",5,null],[13,"CreateContext","","",5,null],[13,"CopyBuffers","","",5,null],[13,"ChooseConfig","","",5,null],[13,"BindTexImage","","",5,null],[13,"BindAPI","","",5,null],[13,"Terminate","","",5,null],[13,"WaitClient","","",5,null],[13,"WaitGL","","",5,null],[13,"WaitNative","","",5,null],[13,"SwapInterval","","",5,null],[13,"SwapBuffers","","",5,null],[13,"SurfaceAttrib","","",5,null],[13,"ReleaseThread","","",5,null],[13,"ReleaseTexImage","","",5,null],[13,"QuerySurface","","",5,null],[13,"QueryString","","",5,null],[13,"QueryContext","","",5,null],[4,"Error","","",null,null],[13,"Egl","","",6,null],[13,"NonUtf8StringReceived","","",6,null],[6,"EglCallResult","","",null,null],[6,"Result","","",null,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",6,null],[11,"clone","","",6,null],[11,"from","","",6,{"inputs":[{"name":"eglcallerror"}],"output":{"name":"error"}}],[11,"from","","",6,{"inputs":[{"name":"utf8error"}],"output":{"name":"error"}}],[11,"drop","egli","",7,null],[11,"into","","",7,null],[11,"from_display_id","","`[EGL 1.0]` Create a `Display` from an EGL display connection.",7,{"inputs":[{"name":"eglnativedisplaytype"}],"output":{"name":"result"}}],[11,"from_default_display","","`[EGL 1.0]` Creates a `Display` from the default display.",7,{"inputs":[],"output":{"name":"result"}}],[11,"initialize_and_get_version","","`[EGL 1.0]` Initialize this EGL display connection and return EGL version.",7,null],[11,"initialize","","`[EGL 1.0]` Initialize this EGL display connection.",7,null],[11,"query_client_apis","","`[EGL 1.2]` Query EGL_CLIENT_APIS.",7,null],[11,"query_vendor","","`[EGL 1.0]` Query EGL_VENDOR.",7,null],[11,"query_version","","`[EGL 1.0]` Get supported EGL version for this display.",7,null],[11,"query_extensions","","`[EGL 1.0]` Get the set of display extensions supported by this display.",7,null],[11,"get_configs","","`[EGL 1.0]` Get all possible display configurations.",7,null],[11,"config_filter","","`[EGL 1.0]` Creates a new config filter for this display for safe\ninvocation of `eglChooseConfig`.",7,null],[11,"create_window_surface","","`[EGL 1.0]` Create a new EGL window surface.",7,null],[11,"create_context","","`[EGL 1.0]` Create a new EGL rendering context.",7,null],[11,"create_context_with_client_version","","`[EGL 1.3]` Create a new EGL rendering context.",7,null],[11,"make_current","","`[EGL 1.0]` Attach an EGL rendering context to EGL surfaces.",7,null],[11,"make_not_current","","`[EGL 1.0]` Detatch an EGL rendering context from EGL surfaces and contexts.",7,null],[11,"swap_buffers","","`[EGL 1.0]` Post EGL surface color buffer to a native window.",7,null],[11,"with_handle","","Run an action with inner handle as parameter.",7,null],[11,"forget","","Drops `Display` without cleaning up any resources.",7,null],[11,"drop","","",8,null],[11,"into","","",8,null],[11,"from_handle","","Create a `Context` from an existing EGL display and context handles.",8,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"}],"output":{"name":"context"}}],[11,"handle","","Get raw handle.",8,null],[11,"forget","","Drops `Context` without cleaning up any resources.",8,null],[11,"drop","","",9,null],[11,"into","","",9,null],[11,"from_handle","","Create a `Surface` from an existing EGL display and surface handles.",9,{"inputs":[{"name":"egldisplay"},{"name":"eglsurface"}],"output":{"name":"surface"}}],[11,"handle","","Get raw handle.",9,null],[11,"query_width","","[EGL 1.0] Returns the width of the surface in pixels.",9,null],[11,"query_height","","[EGL 1.0] Returns the height of the surface in pixels.",9,null],[11,"forget","","Drops `Surface` without cleaning up any resources.",9,null],[11,"from_native","","",10,{"inputs":[{"name":"egldisplay"}],"output":{"name":"configfilterref"}}],[11,"with_alpha_mask_size","","Must be followed by a nonnegative integer that indicates the desired alpha\nmask buffer size, in bits.\nThe smallest alpha mask buffers of at least the specified size are preferred.\nThe default value is zero.",10,null],[11,"with_alpha_size","","Must be followed by a nonnegative integer that indicates the desired size of the\nalpha component of the color buffer, in bits.\nIf this value is zero, color buffers with the smallest alpha component size are\npreferred.\nOtherwise, color buffers with the largest alpha component of at least the specified\nsize are preferred.\nThe default value is zero.",10,null],[11,"with_bind_to_texture_rgb","","Must be followed by `None`, `Some(true)`, or `Some(false)`.\nIf `Some(true)` is specified, then only frame buffer configurations that\nsupport binding of color buffers to an OpenGL ES RGB texture will be considered.\nCurrently only frame buffer configurations that support pbuffers allow this.\nThe default value is `None`.",10,null],[11,"with_bind_to_texture_rgba","","Must be followed by one of `None`, `Some(true)`, or `Some(false)`.\nIf `Some(true)` is specified, then only frame buffer configurations that\nsupport binding of color buffers to an OpenGL ES RGBA texture will be\nconsidered.\nCurrently only frame buffer configurations that support pbuffers allow this.\nThe default value is `None`.",10,null],[11,"with_blue_size","","Must be followed by a nonnegative integer that indicates the desired size\nof the blue component of the color buffer, in bits.\nIf this value is zero, color buffers with the smallest blue component\nsize are preferred. Otherwise, color buffers with the largest blue component\nof at least the specified size are preferred.\nThe default value is zero.",10,null],[11,"with_buffer_size","","Must be followed by a nonnegative integer that indicates the desired color\nbuffer size, in bits. The smallest color buffers of at least the specified\nsize are preferred.\nThe default value is zero.",10,null],[11,"with_color_buffer_type","","Must be followed by one of EGL_RGB_BUFFER or EGL_LUMINANCE_BUFFER.",10,null],[11,"with_config_caveat","","Must be followed by `None`, `ConfigCaveat::None`, `ConfigCaveat::Slow`, or\n`ConfigCaveat::NonConformant`.",10,null],[11,"with_config_id","","Must be followed by a valid integer ID that indicates the desired EGL frame buffer\nconfiguration. When a EGL_CONFIG_ID is specified, all other attributes are ignored.\nThe default value is `None`.",10,null],[11,"with_conformant","","Must be followed by a bitmask indicating which types of client API contexts\ncreated with respect to the frame buffer configuration config must pass the\nrequired conformance tests for that API. Mask bits include:",10,null],[11,"with_depth_size","","Must be followed by a nonnegative integer that indicates the desired depth buffer\nsize, in bits. The smallest depth buffers of at least the specified size is preferred.\nIf the desired size is zero, frame buffer configurations with no depth buffer are\npreferred. The default value is zero.",10,null],[11,"with_green_size","","Must be followed by a nonnegative integer that indicates the desired size of the green\ncomponent of the color buffer, in bits.\nIf this value is zero, color buffers with the smallest green component size are preferred.\nOtherwise, color buffers with the largest green component of at least the specified\nsize are preferred. The default value is zero.",10,null],[11,"with_level","","Must be followed by an integer buffer level specification.\nThis specification is honored exactly.\nBuffer level zero corresponds to the default frame buffer of the display.\nBuffer level one is the first overlay frame buffer, level two the second overlay frame\nbuffer, and so on. Negative buffer levels correspond to underlay frame buffers.\nThe default value is zero.",10,null],[11,"with_luminance_size","","Must be followed by a nonnegative integer that indicates the desired\nsize of the luminance component of the color buffer, in bits.\nIf this value is zero, color buffers with the smallest luminance\ncomponent size are preferred. Otherwise, color buffers with the largest\nluminance component of at least the specified size are preferred.\nThe default value is zero.",10,null],[11,"with_match_native_pixmap","","Must be followed by the handle of a valid native pixmap, cast to `Some(i32)`, or `None`.\nIf the value is not `None`, only configs which support creating pixmap surfaces with\nthis pixmap using eglCreatePixmapSurface will match this attribute.\nIf the value is `None`, then configs are not matched for this attribute.\nThe default value is `None`.",10,null],[11,"with_native_renderable","","Must be followed by EGL_DONT_CARE, EGL_TRUE, or EGL_FALSE. If EGL_TRUE is specified,\nthen only frame buffer configurations that allow native rendering into the surface\nwill be considered. The default value is EGL_DONT_CARE.",10,null],[11,"with_max_swap_interval","","Must be followed by a integer that indicates the maximum value that can be passed to\n`eglSwapInterval`. The default value is `None`.",10,null],[11,"with_min_swap_interval","","Must be followed by a integer that indicates the minimum value that can be passed to\n`eglSwapInterval`. The default value is `None`.",10,null],[11,"with_red_size","","Must be followed by a nonnegative integer that indicates the desired size of the red\ncomponent of the color buffer, in bits. If this value is zero, color buffers with the\nsmallest red component size are preferred. Otherwise, color buffers with the largest\nred component of at least the specified size are preferred.\nThe default value is zero.",10,null],[11,"with_sample_buffers","","Must be followed by the minimum acceptable number of multisample buffers.\nConfigurations with the smallest number of multisample buffers that meet or exceed\nthis minimum number are preferred. Currently operation with more than one multisample\nbuffer is undefined, so only values of zero or one will produce a match.\nThe default value is zero.",10,null],[11,"with_samples","","Must be followed by the minimum number of samples required in multisample buffers.\nConfigurations with the smallest number of samples that meet or exceed the specified\nminimum number are preferred. Note that it is possible for color samples in the\nmultisample buffer to have fewer bits than colors in the main color buffers.\nHowever, multisampled colors maintain at least as much color resolution in aggregate\nas the main color buffers.",10,null],[11,"with_stencil_size","","Must be followed by a nonnegative integer that indicates the desired stencil buffer\nsize, in bits. The smallest stencil buffers of at least the specified size are\npreferred. If the desired size is zero, frame buffer configurations with no\nstencil buffer are preferred. The default value is zero.",10,null],[11,"with_renderable_type","","Must be followed by a bitmask indicating which types of client API contexts the\nframe buffer configuration must support creating with eglCreateContext).\nMask bits are the same as for attribute EGL_CONFORMANT.\nThe default value is EGL_OPENGL_ES_BIT.",10,null],[11,"with_surface_type","","Must be followed by a bitmask indicating which EGL surface types and capabilities\nthe frame buffer configuration must support. Mask bits include:",10,null],[11,"with_transparent_type","","Must be followed by one of `TransparentType::None` or `TransparentType::TransparentRgb`.\nIf `TransparentType::None` is specified, then only opaque frame buffer configurations\nwill be considered. If `TransparentType::TransparentRgb` is specified, then only\ntransparent frame buffer configurations will be considered.\nThe default value is `TransparentType::None`.",10,null],[11,"with_transparent_red_value","","Must be followed by an integer value indicating the transparent red value.\nThe value must be between zero and the maximum color buffer value for red.\nOnly frame buffer configurations that use the specified transparent red value\nwill be considered. The default value is `None`.",10,null],[11,"with_transparent_green_value","","Must be followed by an integer value indicating the transparent green value.\nThe value must be between zero and the maximum color buffer value for green.\nOnly frame buffer configurations that use the specified transparent green value\nwill be considered. The default value is `None`.",10,null],[11,"with_transparent_blue_value","","Must be followed by an integer value indicating the transparent blue value.\nThe value must be between zero and the maximum color buffer value for blue.\nOnly frame buffer configurations that use the specified transparent blue value\nwill be considered. The default value is `None`.",10,null],[11,"choose_configs","","Get filtered display configurations.",10,null],[11,"clone","","",11,null],[11,"from_native","","",11,{"inputs":[{"name":"egldisplay"},{"name":"eglconfig"}],"output":{"name":"framebufferconfigref"}}],[11,"handle","","Get native config handle.",11,null],[11,"alpha_size","","Returns the number of bits of alpha stored in the color buffer.",11,null],[11,"alpha_mask_size","","Returns the number of bits in the alpha mask buffer.",11,null],[11,"bind_to_texture_rgb","","Returns whether color buffers can be bound to an RGB texture.",11,null],[11,"bind_to_texture_rgba","","Returns whether buffers can be bound to an RGBA texture.",11,null],[11,"blue_size","","Returns the number of bits of blue stored in the color buffer.",11,null],[11,"buffer_size","","Returns the depth of the color buffer.\nIt is the sum of EGL_RED_SIZE, EGL_GREEN_SIZE, EGL_BLUE_SIZE,\nand EGL_ALPHA_SIZE.",11,null],[11,"color_buffer_type","","Returns the color buffer type.\nPossible types are EGL_RGB_BUFFER and EGL_LUMINANCE_BUFFER.",11,null],[11,"config_caveat","","Returns the caveats for the frame buffer configuration.\nPossible caveat values are EGL_NONE, EGL_SLOW_CONFIG, and EGL_NON_CONFORMANT.",11,null],[11,"config_id","","Returns the ID of the frame buffer configuration.",11,null],[11,"conformant","","Returns a bitmask indicating which client API contexts created with respect to\nthis config are conformant.",11,null],[11,"depth_size","","Returns the number of bits in the depth buffer.",11,null],[11,"green_size","","Returns the number of bits of green stored in the color buffer.",11,null],[11,"level","","Returns the frame buffer level.\nLevel zero is the default frame buffer.\nPositive levels correspond to frame buffers that overlay the default buffer and negative\nlevels correspond to frame buffers that underlay the default buffer.",11,null],[11,"luminance_size","","Returns the number of bits of luminance stored in the luminance buffer.",11,null],[11,"max_pbuffer_width","","Returns the maximum width of a pixel buffer surface in pixels.",11,null],[11,"max_pbuffer_height","","Returns the maximum height of a pixel buffer surface in pixels.",11,null],[11,"max_pbuffer_pixels","","Returns the maximum size of a pixel buffer surface in pixels.",11,null],[11,"max_swap_interval","","Returns the maximum value that can be passed to eglSwapInterval.",11,null],[11,"min_swap_interval","","Returns the minimum value that can be passed to eglSwapInterval.",11,null],[11,"native_renderable","","Returns whether native rendering APIs can render into the surface.",11,null],[11,"native_visual_id","","Returns the ID of the associated native visual.",11,null],[11,"native_visual_type","","Returns the type of the associated native visual.",11,null],[11,"red_size","","Returns the number of bits of red stored in the color buffer.",11,null],[11,"renderable_type","","Returns a bitmask indicating the types of supported client API contexts.",11,null],[11,"sample_buffers","","Returns the number of multisample buffers.",11,null],[11,"samples","","Returns the number of samples per pixel.",11,null],[11,"stencil_size","","Returns the number of bits in the stencil buffer.",11,null],[11,"surface_type","","Returns a bitmask indicating the types of supported EGL surfaces.",11,null],[11,"transparent_type","","Returns the type of supported transparency.\nPossible transparency values are: EGL_NONE, and EGL_TRANSPARENT_RGB.",11,null],[11,"transparent_red_value","","Returns the transparent red value.",11,null],[11,"transparent_green_value","","Returns the transparent green value.",11,null],[11,"transparent_blue_value","","Returns the transparent blue value.",11,null],[11,"fmt","","",11,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[0,"renderable","","Renderable type mask bits.",null,null],[3,"Type","egli::renderable","",null,null],[17,"OPENGL","","EGL_OPENGL_BIT",null,null],[17,"OPENGL_ES","","EGL_OPENGL_ES_BIT",null,null],[17,"OPENGL_ES2","","EGL_OPENGL_ES2_BIT",null,null],[17,"OPENGL_ES3","","EGL_OPENGL_ES3_BIT",null,null],[17,"OPENVG","","EGL_OPENVG_BIT",null,null],[11,"hash","","",12,null],[11,"cmp","","",12,null],[11,"partial_cmp","","",12,null],[11,"lt","","",12,null],[11,"le","","",12,null],[11,"gt","","",12,null],[11,"ge","","",12,null],[11,"clone","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"fmt","","",12,null],[11,"empty","","Returns an empty set of flags.",12,{"inputs":[],"output":{"name":"type"}}],[11,"all","","Returns the set containing all flags.",12,{"inputs":[],"output":{"name":"type"}}],[11,"bits","","Returns the raw value of the flags currently stored.",12,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",12,{"inputs":[{"name":"i32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",12,{"inputs":[{"name":"i32"}],"output":{"name":"type"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",12,null],[11,"is_all","","Returns `true` if all flags are currently set.",12,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",12,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",12,null],[11,"insert","","Inserts the specified flags in-place.",12,null],[11,"remove","","Removes the specified flags in-place.",12,null],[11,"toggle","","Toggles the specified flags in-place.",12,null],[11,"bitor","","Returns the union of the two sets of flags.",12,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",12,null],[11,"bitand","","Returns the intersection between the two sets of flags.",12,null],[11,"sub","","Returns the set difference of the two sets of flags.",12,null],[11,"not","","Returns the complement of this set of flags.",12,null],[11,"from_iter","","",12,{"inputs":[{"name":"t"}],"output":{"name":"type"}}],[0,"surface","egli","Surface type mask bits.",null,null],[3,"Type","egli::surface","",null,null],[17,"PBUFFER","","EGL_PBUFFER_BIT",null,null],[17,"PIXMAP","","EGL_PIXMAP_BIT",null,null],[17,"WINDOW","","EGL_WINDOW_BIT",null,null],[17,"VG_COLORSPACE_LINEAR","","EGL_VG_COLORSPACE_LINEAR_BIT",null,null],[17,"VG_ALPHA_FORMAT_PRE","","EGL_VG_ALPHA_FORMAT_PRE_BIT",null,null],[17,"MULTISAMPLE_RESOLVE_BOX","","EGL_MULTISAMPLE_RESOLVE_BOX_BIT",null,null],[17,"SWAP_BEHAVIOR_PRESERVED","","EGL_SWAP_BEHAVIOR_PRESERVED_BIT",null,null],[11,"hash","","",13,null],[11,"cmp","","",13,null],[11,"partial_cmp","","",13,null],[11,"lt","","",13,null],[11,"le","","",13,null],[11,"gt","","",13,null],[11,"ge","","",13,null],[11,"clone","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"fmt","","",13,null],[11,"empty","","Returns an empty set of flags.",13,{"inputs":[],"output":{"name":"type"}}],[11,"all","","Returns the set containing all flags.",13,{"inputs":[],"output":{"name":"type"}}],[11,"bits","","Returns the raw value of the flags currently stored.",13,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",13,{"inputs":[{"name":"i32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",13,{"inputs":[{"name":"i32"}],"output":{"name":"type"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",13,null],[11,"is_all","","Returns `true` if all flags are currently set.",13,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",13,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",13,null],[11,"insert","","Inserts the specified flags in-place.",13,null],[11,"remove","","Removes the specified flags in-place.",13,null],[11,"toggle","","Toggles the specified flags in-place.",13,null],[11,"bitor","","Returns the union of the two sets of flags.",13,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",13,null],[11,"bitand","","Returns the intersection between the two sets of flags.",13,null],[11,"sub","","Returns the set difference of the two sets of flags.",13,null],[11,"not","","Returns the complement of this set of flags.",13,null],[11,"from_iter","","",13,{"inputs":[{"name":"t"}],"output":{"name":"type"}}],[11,"fmt","egli","",2,null],[11,"clone","","",2,null],[11,"from_raw","","",2,{"inputs":[{"name":"eglint"}],"output":{"name":"colorbuffertype"}}],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"from_raw","","",3,{"inputs":[{"name":"eglint"}],"output":{"name":"configcaveat"}}],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"from_raw","","",4,{"inputs":[{"name":"eglint"}],"output":{"name":"transparenttype"}}]],"paths":[[3,"Version"],[4,"ContextClientVersion"],[4,"ColorBufferType"],[4,"ConfigCaveat"],[4,"TransparentType"],[4,"EglCallError"],[4,"Error"],[3,"Display"],[3,"Context"],[3,"Surface"],[3,"ConfigFilterRef"],[3,"FrameBufferConfigRef"],[3,"Type"],[3,"Type"]]}; initSearch(searchIndex);