egl :: EGLConfigChooser :: alpha_size=
egl :: EGLConfigChooser :: blue_size=
egl :: EGLConfigChooser :: buffer_size=
egl :: EGLConfigChooser :: caveat=
egl :: EGLConfigChooser :: choose
egl :: EGLConfigChooser :: close
egl :: EGLConfigChooser :: closed
egl :: EGLConfigChooser :: closed=
egl :: EGLConfigChooser :: conformant=
egl :: EGLConfigChooser :: defaultinit
egl :: EGLConfigChooser :: depth_size=
egl :: EGLConfigChooser :: green_size=
egl :: EGLConfigChooser :: red_size=
egl :: EGLConfigChooser :: renderable_type=
Set which client rendering APIs are supportedegl :: EGLConfigChooser :: renderable_type_egl
Set EGL as the only supported rendering APIegl :: EGLConfigChooser :: samples=
egl :: EGLConfigChooser :: stencil_size=
egl :: EGLConfigChooser :: surface_type=
egl $ EGLConfigChooser :: SELF
Type of this instance, automatically specialized in every classegl :: EGLConfigChooser :: alpha_size=
egl :: EGLConfigChooser :: blue_size=
egl :: EGLConfigChooser :: buffer_size=
egl :: EGLConfigChooser :: caveat=
egl :: EGLConfigChooser :: choose
core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			egl :: EGLConfigChooser :: close
egl :: EGLConfigChooser :: closed
egl :: EGLConfigChooser :: closed=
egl :: EGLConfigChooser :: conformant=
egl :: EGLConfigChooser :: defaultinit
core :: Object :: defaultinit
egl :: EGLConfigChooser :: depth_size=
egl :: EGLConfigChooser :: green_size=
core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).egl :: EGLConfigChooser :: red_size=
egl :: EGLConfigChooser :: renderable_type=
Set which client rendering APIs are supportedegl :: EGLConfigChooser :: renderable_type_egl
Set EGL as the only supported rendering APIegl :: EGLConfigChooser :: samples=
egl :: EGLConfigChooser :: stencil_size=
egl :: EGLConfigChooser :: surface_type=
# Utility class to choose an EGLConfig
class EGLConfigChooser
	var array = new Array[Int]
	var closed = false
	protected var inserted_attribs = new Array[Int]
	protected fun insert_attrib_key(key: Int)
	do
		assert not inserted_attribs.has(key) else
			print "Duplicate attrib passed to EGLConfigChooser"
		end
		array.add key
	end
	protected fun insert_attrib_with_val(key, val: Int)
	do
		insert_attrib_key key
		array.add val
	end
	fun close do
		insert_attrib_key 0x3038
		closed = true
	end
	fun surface_type=(flag: Int) do insert_attrib_with_val(0x3033, flag)
	fun surface_type_egl do surface_type = 4
	# Set which client rendering APIs are supported
	fun renderable_type=(flag: Int) do insert_attrib_with_val(0x3040, flag)
	# Set EGL as the only supported rendering API
	fun renderable_type_egl do renderable_type = 4
	fun blue_size=(size: Int) do insert_attrib_with_val(0x3022, size)
	fun green_size=(size: Int) do insert_attrib_with_val(0x3023, size)
	fun red_size=(size: Int) do insert_attrib_with_val(0x3024, size)
	fun buffer_size=(size: Int) do insert_attrib_with_val(0x3020, size)
	fun alpha_size=(size: Int) do insert_attrib_with_val(0x3021, size)
	fun depth_size=(size: Int) do insert_attrib_with_val(0x3025, size)
	fun stencil_size=(size: Int) do insert_attrib_with_val(0x3026, size)
	fun samples=(count: Int) do insert_attrib_with_val(0x3031, count)
	fun sample_buffers=(size: Int) do insert_attrib_with_val(0x3032, size)
	fun caveat=(caveat: EGLConfigCaveat) do insert_attrib_with_val(0x3050, caveat.to_i)
	fun conformant=(conformant: EGLConformant) do insert_attrib_with_val(0x3042, conformant.to_i)
	fun choose(display: EGLDisplay): nullable Array[EGLConfig]
	do
		assert closed else print "EGLConfigChooser not closed."
		return display.choose_configs(array)
	end
end
					lib/egl/egl.nit:390,1--444,3