var searchIndex = {}; searchIndex["gfx_device_gl"] = {"doc":"OpenGL implementation of a device, striving to support OpenGL 2.0 with at\nleast VAOs, but using newer extensions when available.","items":[[4,"Command","gfx_device_gl","Serialized device command.",null,null],[13,"BindProgram","","",0,null],[13,"BindArrayBuffer","","",0,null],[13,"BindAttribute","","",0,null],[13,"BindIndex","","",0,null],[13,"BindFrameBuffer","","",0,null],[13,"UnbindTarget","","",0,null],[13,"BindTargetSurface","","",0,null],[13,"BindTargetTexture","","",0,null],[13,"BindUniformBlock","","",0,null],[13,"BindUniform","","",0,null],[13,"BindTexture","","",0,null],[13,"SetDrawColorBuffers","","",0,null],[13,"SetPrimitiveState","","",0,null],[13,"SetViewport","","",0,null],[13,"SetMultiSampleState","","",0,null],[13,"SetScissor","","",0,null],[13,"SetDepthStencilState","","",0,null],[13,"SetBlendState","","",0,null],[13,"SetColorMask","","",0,null],[13,"UpdateBuffer","","",0,null],[13,"UpdateTexture","","",0,null],[13,"Clear","","",0,null],[13,"Draw","","",0,null],[13,"DrawIndexed","","",0,null],[13,"Blit","","",0,null],[3,"CommandBuffer","","Generic command buffer to be used by multiple backends",null,null],[3,"Factory","","GL resource factory.",null,null],[3,"Output","","A placeholder for a real `Output` implemented by your window.",null,null],[12,"width","","render frame width.",1,null],[12,"height","","render frame height.",1,null],[3,"Info","","OpenGL implementation information",null,null],[12,"platform_name","","The platform identifier",2,null],[12,"version","","The OpenGL API vesion number",2,null],[12,"shading_language","","The GLSL vesion number",2,null],[12,"extensions","","The extensions supported by the implementation",2,null],[3,"PlatformName","","A unique platform identifier that does not change between releases",null,null],[12,"vendor","","The company responsible for the OpenGL implementation",3,null],[12,"renderer","","The name of the renderer",3,null],[3,"Version","","A version number for a specific component of an OpenGL implementation",null,null],[12,"major","","",4,null],[12,"minor","","",4,null],[12,"revision","","",4,null],[12,"vendor_info","","",4,null],[3,"Fence","","",null,null],[3,"Device","","An OpenGL device with GLSL shaders.",null,null],[4,"Resources","","",null,null],[4,"Error","","",null,null],[13,"NoError","","",5,null],[13,"InvalidEnum","","",5,null],[13,"InvalidValue","","",5,null],[13,"InvalidOperation","","",5,null],[13,"InvalidFramebufferOperation","","",5,null],[13,"OutOfMemory","","",5,null],[13,"UnknownError","","",5,null],[5,"create","","Create a new device with a factory.",null,null],[11,"get_handle","","",1,null],[11,"get_size","","",1,null],[11,"get_mask","","",1,null],[11,"clone","","",6,null],[11,"new","","Create a new `Factory`.",6,{"inputs":[{"name":"rc"}],"output":{"name":"factory"}}],[11,"get_main_frame_buffer","","",6,null],[11,"make_fake_output","","",6,null],[11,"get_capabilities","","",6,null],[11,"create_buffer_raw","","",6,null],[11,"create_buffer_static_raw","","",6,null],[11,"create_array_buffer","","",6,null],[11,"create_shader","","",6,null],[11,"create_program","","",6,null],[11,"create_frame_buffer","","",6,null],[11,"create_surface","","",6,null],[11,"create_texture","","",6,null],[11,"create_sampler","","",6,null],[11,"update_buffer_raw","","",6,null],[11,"update_texture_raw","","",6,null],[11,"generate_mipmap","","",6,null],[11,"map_buffer_raw","","",6,null],[11,"unmap_buffer_raw","","",6,null],[11,"map_buffer_readable","","",6,null],[11,"map_buffer_writable","","",6,null],[11,"map_buffer_rw","","",6,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"cmp","","",4,null],[11,"partial_cmp","","",4,null],[11,"new","","Create a new OpenGL version number",4,{"inputs":[{"name":"u32"},{"name":"u32"},{"name":"option"},{"name":"str"}],"output":{"name":"version"}}],[11,"parse","","According to the OpenGL specification, the version information is\nexpected to follow the following syntax:",4,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",4,null],[11,"fmt","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"clone","","",3,null],[11,"fmt","","",2,null],[11,"is_extension_supported","","Returns `true` if the implementation supports the extension",2,null],[11,"is_version_or_extension_supported","","",2,null],[6,"Buffer","","",null,null],[6,"ArrayBuffer","","",null,null],[6,"Shader","","",null,null],[6,"Program","","",null,null],[6,"FrameBuffer","","",null,null],[6,"Surface","","",null,null],[6,"Sampler","","",null,null],[6,"Texture","","",null,null],[11,"fmt","","",7,null],[11,"hash","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"clone","","",7,null],[11,"eq","","",8,null],[11,"hash","","",8,null],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"fmt","","",5,null],[11,"eq","","",5,null],[11,"clone","","",5,null],[11,"from_error_code","","",5,{"inputs":[{"name":"glenum"}],"output":{"name":"error"}}],[11,"with_gl","","Access the OpenGL directly via a closure. OpenGL types and enumerations\ncan be found in the `gl` crate.",9,null],[11,"get_info","","Get the OpenGL-specific driver information",9,null],[11,"get_capabilities","","",9,null],[11,"reset_state","","",9,null],[11,"submit","","",9,null],[11,"cleanup","","",9,null],[11,"fenced_submit","","",9,null],[11,"fence_wait","","",9,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"iter","","",10,null],[11,"new","","",10,{"inputs":[],"output":{"name":"commandbuffer"}}],[11,"clear","","",10,null],[11,"bind_program","","",10,null],[11,"bind_array_buffer","","",10,null],[11,"bind_attribute","","",10,null],[11,"bind_index","","",10,null],[11,"bind_frame_buffer","","",10,null],[11,"unbind_target","","",10,null],[11,"bind_target_surface","","",10,null],[11,"bind_target_texture","","",10,null],[11,"bind_uniform_block","","",10,null],[11,"bind_uniform","","",10,null],[11,"bind_texture","","",10,null],[11,"set_draw_color_buffers","","",10,null],[11,"set_primitive","","",10,null],[11,"set_viewport","","",10,null],[11,"set_multi_sample","","",10,null],[11,"set_scissor","","",10,null],[11,"set_depth_stencil","","",10,null],[11,"set_blend","","",10,null],[11,"set_color_mask","","",10,null],[11,"update_buffer","","",10,null],[11,"update_texture","","",10,null],[11,"call_clear","","",10,null],[11,"call_draw","","",10,null],[11,"call_draw_indexed","","",10,null],[11,"call_blit","","",10,null]],"paths":[[4,"Command"],[3,"Output"],[3,"Info"],[3,"PlatformName"],[3,"Version"],[4,"Error"],[3,"Factory"],[3,"Fence"],[4,"Resources"],[3,"Device"],[3,"CommandBuffer"]]}; initSearch(searchIndex);