102f4aeb0Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 202f4aeb0Sopenharmony_ci<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" 302f4aeb0Sopenharmony_ci "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> 402f4aeb0Sopenharmony_ci<refentry xml:base="" id="eglGetConfigAttrib"> 502f4aeb0Sopenharmony_ci <refentryinfo> 602f4aeb0Sopenharmony_ci <copyright> 702f4aeb0Sopenharmony_ci <year>2003-2014</year> 802f4aeb0Sopenharmony_ci <holder>The Khronos Group Inc.</holder> 902f4aeb0Sopenharmony_ci </copyright> 1002f4aeb0Sopenharmony_ci </refentryinfo> 1102f4aeb0Sopenharmony_ci <refmeta> 1202f4aeb0Sopenharmony_ci <refentrytitle>eglGetConfigAttrib</refentrytitle> 1302f4aeb0Sopenharmony_ci <manvolnum>3G</manvolnum> 1402f4aeb0Sopenharmony_ci </refmeta> 1502f4aeb0Sopenharmony_ci <refnamediv> 1602f4aeb0Sopenharmony_ci <refname>eglGetConfigAttrib</refname> 1702f4aeb0Sopenharmony_ci <refpurpose> 1802f4aeb0Sopenharmony_ci return information about an <acronym>EGL</acronym> frame buffer 1902f4aeb0Sopenharmony_ci configuration 2002f4aeb0Sopenharmony_ci </refpurpose> 2102f4aeb0Sopenharmony_ci </refnamediv> 2202f4aeb0Sopenharmony_ci <refsynopsisdiv> 2302f4aeb0Sopenharmony_ci <title>C Specification</title> 2402f4aeb0Sopenharmony_ci <funcsynopsis> 2502f4aeb0Sopenharmony_ci <funcprototype> 2602f4aeb0Sopenharmony_ci <funcdef>EGLBoolean <function>eglGetConfigAttrib</function></funcdef> 2702f4aeb0Sopenharmony_ci <paramdef>EGLDisplay <parameter>display</parameter></paramdef> 2802f4aeb0Sopenharmony_ci <paramdef>EGLConfig <parameter>config</parameter></paramdef> 2902f4aeb0Sopenharmony_ci <paramdef>EGLint <parameter>attribute</parameter></paramdef> 3002f4aeb0Sopenharmony_ci <paramdef>EGLint * <parameter>value</parameter></paramdef> 3102f4aeb0Sopenharmony_ci </funcprototype> 3202f4aeb0Sopenharmony_ci </funcsynopsis> 3302f4aeb0Sopenharmony_ci </refsynopsisdiv> 3402f4aeb0Sopenharmony_ci <refsect1 id="parameters"><title>Parameters</title> 3502f4aeb0Sopenharmony_ci <variablelist> 3602f4aeb0Sopenharmony_ci <varlistentry> 3702f4aeb0Sopenharmony_ci <term><parameter>display</parameter></term> 3802f4aeb0Sopenharmony_ci <listitem><para>Specifies the EGL display connection.</para></listitem> 3902f4aeb0Sopenharmony_ci </varlistentry> 4002f4aeb0Sopenharmony_ci <varlistentry> 4102f4aeb0Sopenharmony_ci <term><parameter>config</parameter></term> 4202f4aeb0Sopenharmony_ci <listitem><para>Specifies the EGL frame buffer configuration to be 4302f4aeb0Sopenharmony_ci queried. 4402f4aeb0Sopenharmony_ci </para></listitem> 4502f4aeb0Sopenharmony_ci </varlistentry> 4602f4aeb0Sopenharmony_ci <varlistentry> 4702f4aeb0Sopenharmony_ci <term><parameter>attribute</parameter></term> 4802f4aeb0Sopenharmony_ci <listitem><para>Specifies the EGL rendering context attribute to be 4902f4aeb0Sopenharmony_ci returned.</para></listitem> 5002f4aeb0Sopenharmony_ci </varlistentry> 5102f4aeb0Sopenharmony_ci <varlistentry> 5202f4aeb0Sopenharmony_ci <term><parameter>value</parameter></term> 5302f4aeb0Sopenharmony_ci <listitem><para>Returns the requested value.</para></listitem> 5402f4aeb0Sopenharmony_ci </varlistentry> 5502f4aeb0Sopenharmony_ci </variablelist> 5602f4aeb0Sopenharmony_ci </refsect1> 5702f4aeb0Sopenharmony_ci <refsect1 id="description"><title>Description</title> 5802f4aeb0Sopenharmony_ci <para> 5902f4aeb0Sopenharmony_ci <function>eglGetConfigAttrib</function> returns in 6002f4aeb0Sopenharmony_ci <parameter>value</parameter> the value of 6102f4aeb0Sopenharmony_ci <parameter>attribute</parameter> for 6202f4aeb0Sopenharmony_ci <parameter>config</parameter> 6302f4aeb0Sopenharmony_ci (config attributes are described in more detail in the 6402f4aeb0Sopenharmony_ci <citerefentry><refentrytitle>eglChooseConfig</refentrytitle></citerefentry> 6502f4aeb0Sopenharmony_ci reference page). 6602f4aeb0Sopenharmony_ci <parameter>attribute</parameter> can be one of the following: 6702f4aeb0Sopenharmony_ci </para> 6802f4aeb0Sopenharmony_ci <variablelist> 6902f4aeb0Sopenharmony_ci <varlistentry> 7002f4aeb0Sopenharmony_ci <term><constant>EGL_ALPHA_SIZE</constant></term> 7102f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits of alpha stored in the 7202f4aeb0Sopenharmony_ci color buffer. 7302f4aeb0Sopenharmony_ci </para></listitem> 7402f4aeb0Sopenharmony_ci </varlistentry> 7502f4aeb0Sopenharmony_ci <varlistentry> 7602f4aeb0Sopenharmony_ci <term><constant>EGL_ALPHA_MASK_SIZE</constant></term> 7702f4aeb0Sopenharmony_ci <listitem><para> 7802f4aeb0Sopenharmony_ci Returns the number of bits in the alpha mask buffer. 7902f4aeb0Sopenharmony_ci </para></listitem> 8002f4aeb0Sopenharmony_ci </varlistentry> 8102f4aeb0Sopenharmony_ci <varlistentry> 8202f4aeb0Sopenharmony_ci <term><constant>EGL_BIND_TO_TEXTURE_RGB</constant></term> 8302f4aeb0Sopenharmony_ci <listitem><para>Returns <constant>EGL_TRUE</constant> if color buffers can be 8402f4aeb0Sopenharmony_ci bound to an RGB texture, 8502f4aeb0Sopenharmony_ci <constant>EGL_FALSE</constant> otherwise. 8602f4aeb0Sopenharmony_ci </para></listitem> 8702f4aeb0Sopenharmony_ci </varlistentry> 8802f4aeb0Sopenharmony_ci <varlistentry> 8902f4aeb0Sopenharmony_ci <term><constant>EGL_BIND_TO_TEXTURE_RGBA</constant></term> 9002f4aeb0Sopenharmony_ci <listitem><para>Returns <constant>EGL_TRUE</constant> if color buffers can be 9102f4aeb0Sopenharmony_ci bound to an RGBA texture, 9202f4aeb0Sopenharmony_ci <constant>EGL_FALSE</constant> otherwise. 9302f4aeb0Sopenharmony_ci </para></listitem> 9402f4aeb0Sopenharmony_ci </varlistentry> 9502f4aeb0Sopenharmony_ci <varlistentry> 9602f4aeb0Sopenharmony_ci <term><constant>EGL_BLUE_SIZE</constant></term> 9702f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits of blue stored in the 9802f4aeb0Sopenharmony_ci color buffer. 9902f4aeb0Sopenharmony_ci </para></listitem> 10002f4aeb0Sopenharmony_ci </varlistentry> 10102f4aeb0Sopenharmony_ci <varlistentry> 10202f4aeb0Sopenharmony_ci <term><constant>EGL_BUFFER_SIZE</constant></term> 10302f4aeb0Sopenharmony_ci <listitem><para>Returns the depth of the color buffer. 10402f4aeb0Sopenharmony_ci It is the sum of 10502f4aeb0Sopenharmony_ci <constant>EGL_RED_SIZE</constant>, 10602f4aeb0Sopenharmony_ci <constant>EGL_GREEN_SIZE</constant>, 10702f4aeb0Sopenharmony_ci <constant>EGL_BLUE_SIZE</constant>, and 10802f4aeb0Sopenharmony_ci <constant>EGL_ALPHA_SIZE</constant>. 10902f4aeb0Sopenharmony_ci </para></listitem> 11002f4aeb0Sopenharmony_ci </varlistentry> 11102f4aeb0Sopenharmony_ci <varlistentry> 11202f4aeb0Sopenharmony_ci <term><constant>EGL_COLOR_BUFFER_TYPE</constant></term> 11302f4aeb0Sopenharmony_ci <listitem><para> 11402f4aeb0Sopenharmony_ci Returns the color buffer type. Possible types are 11502f4aeb0Sopenharmony_ci <constant>EGL_RGB_BUFFER</constant> and 11602f4aeb0Sopenharmony_ci <constant>EGL_LUMINANCE_BUFFER</constant>. 11702f4aeb0Sopenharmony_ci </para></listitem> 11802f4aeb0Sopenharmony_ci </varlistentry> 11902f4aeb0Sopenharmony_ci <varlistentry> 12002f4aeb0Sopenharmony_ci <term><constant>EGL_CONFIG_CAVEAT</constant></term> 12102f4aeb0Sopenharmony_ci <listitem><para>Returns the caveats for the frame buffer configuration. 12202f4aeb0Sopenharmony_ci Possible caveat values are 12302f4aeb0Sopenharmony_ci <constant>EGL_NONE</constant>, 12402f4aeb0Sopenharmony_ci <constant>EGL_SLOW_CONFIG</constant>, and 12502f4aeb0Sopenharmony_ci <constant>EGL_NON_CONFORMANT</constant>. 12602f4aeb0Sopenharmony_ci </para></listitem> 12702f4aeb0Sopenharmony_ci </varlistentry> 12802f4aeb0Sopenharmony_ci <varlistentry> 12902f4aeb0Sopenharmony_ci <term><constant>EGL_CONFIG_ID</constant></term> 13002f4aeb0Sopenharmony_ci <listitem><para>Returns the ID of the frame buffer configuration. 13102f4aeb0Sopenharmony_ci </para></listitem> 13202f4aeb0Sopenharmony_ci </varlistentry> 13302f4aeb0Sopenharmony_ci <varlistentry> 13402f4aeb0Sopenharmony_ci <term><constant>EGL_CONFORMANT</constant></term> 13502f4aeb0Sopenharmony_ci <listitem><para> 13602f4aeb0Sopenharmony_ci Returns a bitmask indicating which client API contexts 13702f4aeb0Sopenharmony_ci created with respect to this config are conformant. 13802f4aeb0Sopenharmony_ci </para></listitem> 13902f4aeb0Sopenharmony_ci </varlistentry> 14002f4aeb0Sopenharmony_ci <varlistentry> 14102f4aeb0Sopenharmony_ci <term><constant>EGL_DEPTH_SIZE</constant></term> 14202f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits in the depth buffer. 14302f4aeb0Sopenharmony_ci </para></listitem> 14402f4aeb0Sopenharmony_ci </varlistentry> 14502f4aeb0Sopenharmony_ci <varlistentry> 14602f4aeb0Sopenharmony_ci <term><constant>EGL_GREEN_SIZE</constant></term> 14702f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits of green stored in the 14802f4aeb0Sopenharmony_ci color buffer. 14902f4aeb0Sopenharmony_ci </para></listitem> 15002f4aeb0Sopenharmony_ci </varlistentry> 15102f4aeb0Sopenharmony_ci <varlistentry> 15202f4aeb0Sopenharmony_ci <term><constant>EGL_LEVEL</constant></term> 15302f4aeb0Sopenharmony_ci <listitem><para>Returns the frame buffer level. 15402f4aeb0Sopenharmony_ci Level zero is the default frame buffer. 15502f4aeb0Sopenharmony_ci Positive levels correspond to frame buffers that overlay the default 15602f4aeb0Sopenharmony_ci buffer and negative levels correspond to frame buffers that underlay 15702f4aeb0Sopenharmony_ci the default buffer. 15802f4aeb0Sopenharmony_ci </para></listitem> 15902f4aeb0Sopenharmony_ci </varlistentry> 16002f4aeb0Sopenharmony_ci <varlistentry> 16102f4aeb0Sopenharmony_ci <term><constant>EGL_LUMINANCE_SIZE</constant></term> 16202f4aeb0Sopenharmony_ci <listitem> 16302f4aeb0Sopenharmony_ci <para> 16402f4aeb0Sopenharmony_ci Returns the number of bits of luminance stored in the luminance buffer. 16502f4aeb0Sopenharmony_ci </para> 16602f4aeb0Sopenharmony_ci </listitem> 16702f4aeb0Sopenharmony_ci </varlistentry> 16802f4aeb0Sopenharmony_ci <varlistentry> 16902f4aeb0Sopenharmony_ci <term><constant>EGL_MAX_PBUFFER_WIDTH</constant></term> 17002f4aeb0Sopenharmony_ci <listitem><para>Returns the maximum width of a pixel buffer surface in pixels. 17102f4aeb0Sopenharmony_ci </para></listitem> 17202f4aeb0Sopenharmony_ci </varlistentry> 17302f4aeb0Sopenharmony_ci <varlistentry> 17402f4aeb0Sopenharmony_ci <term><constant>EGL_MAX_PBUFFER_HEIGHT</constant></term> 17502f4aeb0Sopenharmony_ci <listitem><para>Returns the maximum height of a pixel buffer surface in pixels. 17602f4aeb0Sopenharmony_ci </para></listitem> 17702f4aeb0Sopenharmony_ci </varlistentry> 17802f4aeb0Sopenharmony_ci <varlistentry> 17902f4aeb0Sopenharmony_ci <term><constant>EGL_MAX_PBUFFER_PIXELS</constant></term> 18002f4aeb0Sopenharmony_ci <listitem><para>Returns the maximum size of a pixel buffer surface in pixels. 18102f4aeb0Sopenharmony_ci </para></listitem> 18202f4aeb0Sopenharmony_ci </varlistentry> 18302f4aeb0Sopenharmony_ci <varlistentry> 18402f4aeb0Sopenharmony_ci <term><constant>EGL_MAX_SWAP_INTERVAL</constant></term> 18502f4aeb0Sopenharmony_ci <listitem><para>Returns the maximum value that can be passed to eglSwapInterval. 18602f4aeb0Sopenharmony_ci </para></listitem> 18702f4aeb0Sopenharmony_ci </varlistentry> 18802f4aeb0Sopenharmony_ci <varlistentry> 18902f4aeb0Sopenharmony_ci <term><constant>EGL_MIN_SWAP_INTERVAL</constant></term> 19002f4aeb0Sopenharmony_ci <listitem><para>Returns the minimum value that can be passed to eglSwapInterval. 19102f4aeb0Sopenharmony_ci </para></listitem> 19202f4aeb0Sopenharmony_ci </varlistentry> 19302f4aeb0Sopenharmony_ci <varlistentry> 19402f4aeb0Sopenharmony_ci <term><constant>EGL_NATIVE_RENDERABLE</constant></term> 19502f4aeb0Sopenharmony_ci <listitem><para>Returns <constant>EGL_TRUE</constant> if native rendering 19602f4aeb0Sopenharmony_ci APIs can render into the surface, 19702f4aeb0Sopenharmony_ci <constant>EGL_FALSE</constant> otherwise. 19802f4aeb0Sopenharmony_ci </para></listitem> 19902f4aeb0Sopenharmony_ci </varlistentry> 20002f4aeb0Sopenharmony_ci <varlistentry> 20102f4aeb0Sopenharmony_ci <term><constant>EGL_NATIVE_VISUAL_ID</constant></term> 20202f4aeb0Sopenharmony_ci <listitem><para>Returns the ID of the associated native visual. 20302f4aeb0Sopenharmony_ci </para></listitem> 20402f4aeb0Sopenharmony_ci </varlistentry> 20502f4aeb0Sopenharmony_ci <varlistentry> 20602f4aeb0Sopenharmony_ci <term><constant>EGL_NATIVE_VISUAL_TYPE</constant></term> 20702f4aeb0Sopenharmony_ci <listitem><para>Returns the type of the associated native visual. 20802f4aeb0Sopenharmony_ci </para></listitem> 20902f4aeb0Sopenharmony_ci </varlistentry> 21002f4aeb0Sopenharmony_ci <varlistentry> 21102f4aeb0Sopenharmony_ci <term><constant>EGL_RED_SIZE</constant></term> 21202f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits of red stored in the 21302f4aeb0Sopenharmony_ci color buffer. 21402f4aeb0Sopenharmony_ci </para></listitem> 21502f4aeb0Sopenharmony_ci </varlistentry> 21602f4aeb0Sopenharmony_ci <varlistentry> 21702f4aeb0Sopenharmony_ci <term><constant>EGL_RENDERABLE_TYPE</constant></term> 21802f4aeb0Sopenharmony_ci <listitem> 21902f4aeb0Sopenharmony_ci <para> 22002f4aeb0Sopenharmony_ci Returns a bitmask indicating the types of supported 22102f4aeb0Sopenharmony_ci client API contexts. 22202f4aeb0Sopenharmony_ci </para> 22302f4aeb0Sopenharmony_ci </listitem> 22402f4aeb0Sopenharmony_ci </varlistentry> 22502f4aeb0Sopenharmony_ci <varlistentry> 22602f4aeb0Sopenharmony_ci <term><constant>EGL_SAMPLE_BUFFERS</constant></term> 22702f4aeb0Sopenharmony_ci <listitem><para>Returns the number of multisample buffers. 22802f4aeb0Sopenharmony_ci </para></listitem> 22902f4aeb0Sopenharmony_ci </varlistentry> 23002f4aeb0Sopenharmony_ci <varlistentry> 23102f4aeb0Sopenharmony_ci <term><constant>EGL_SAMPLES</constant></term> 23202f4aeb0Sopenharmony_ci <listitem><para>Returns the number of samples per pixel.</para></listitem> 23302f4aeb0Sopenharmony_ci </varlistentry> 23402f4aeb0Sopenharmony_ci <varlistentry> 23502f4aeb0Sopenharmony_ci <term><constant>EGL_STENCIL_SIZE</constant></term> 23602f4aeb0Sopenharmony_ci <listitem><para>Returns the number of bits in the stencil buffer. 23702f4aeb0Sopenharmony_ci </para></listitem> 23802f4aeb0Sopenharmony_ci </varlistentry> 23902f4aeb0Sopenharmony_ci <varlistentry> 24002f4aeb0Sopenharmony_ci <term><constant>EGL_SURFACE_TYPE</constant></term> 24102f4aeb0Sopenharmony_ci <listitem><para> 24202f4aeb0Sopenharmony_ci Returns a bitmask indicating the types of supported EGL 24302f4aeb0Sopenharmony_ci surfaces. 24402f4aeb0Sopenharmony_ci </para></listitem> 24502f4aeb0Sopenharmony_ci </varlistentry> 24602f4aeb0Sopenharmony_ci <varlistentry> 24702f4aeb0Sopenharmony_ci <term><constant>EGL_TRANSPARENT_TYPE</constant></term> 24802f4aeb0Sopenharmony_ci <listitem><para>Returns the type of supported transparency. 24902f4aeb0Sopenharmony_ci Possible transparency values are: 25002f4aeb0Sopenharmony_ci <constant>EGL_NONE</constant>, and 25102f4aeb0Sopenharmony_ci <constant>EGL_TRANSPARENT_RGB</constant>. 25202f4aeb0Sopenharmony_ci </para></listitem> 25302f4aeb0Sopenharmony_ci </varlistentry> 25402f4aeb0Sopenharmony_ci <varlistentry> 25502f4aeb0Sopenharmony_ci <term><constant>EGL_TRANSPARENT_RED_VALUE</constant></term> 25602f4aeb0Sopenharmony_ci <listitem><para>Returns the transparent red value.</para></listitem> 25702f4aeb0Sopenharmony_ci </varlistentry> 25802f4aeb0Sopenharmony_ci <varlistentry> 25902f4aeb0Sopenharmony_ci <term><constant>EGL_TRANSPARENT_GREEN_VALUE</constant></term> 26002f4aeb0Sopenharmony_ci <listitem><para>Returns the transparent green value.</para></listitem> 26102f4aeb0Sopenharmony_ci </varlistentry> 26202f4aeb0Sopenharmony_ci <varlistentry> 26302f4aeb0Sopenharmony_ci <term><constant>EGL_TRANSPARENT_BLUE_VALUE</constant></term> 26402f4aeb0Sopenharmony_ci <listitem><para>Returns the transparent blue value.</para></listitem> 26502f4aeb0Sopenharmony_ci </varlistentry> 26602f4aeb0Sopenharmony_ci </variablelist> 26702f4aeb0Sopenharmony_ci </refsect1> 26802f4aeb0Sopenharmony_ci <refsect1 id="notes"><title>Notes</title> 26902f4aeb0Sopenharmony_ci <para> 27002f4aeb0Sopenharmony_ci <constant>EGL_CONFORMANT</constant> is supported only if the 27102f4aeb0Sopenharmony_ci EGL version is 1.3 or greater. 27202f4aeb0Sopenharmony_ci </para> 27302f4aeb0Sopenharmony_ci <para> 27402f4aeb0Sopenharmony_ci <constant>EGL_ALPHA_MASK_SIZE</constant>, 27502f4aeb0Sopenharmony_ci <constant>EGL_COLOR_BUFFER_TYPE</constant>, 27602f4aeb0Sopenharmony_ci <constant>EGL_LUMINANCE_SIZE</constant>, and 27702f4aeb0Sopenharmony_ci <constant>EGL_RENDERABLE_TYPE</constant> are supported only 27802f4aeb0Sopenharmony_ci if the EGL version is 1.2 or greater. 27902f4aeb0Sopenharmony_ci </para> 28002f4aeb0Sopenharmony_ci <para> 28102f4aeb0Sopenharmony_ci While <constant>EGL_MATCH_NATIVE_PIXMAP</constant> can be 28202f4aeb0Sopenharmony_ci specified in the attribute list passed to 28302f4aeb0Sopenharmony_ci <citerefentry><refentrytitle>eglChooseConfig</refentrytitle></citerefentry>, 28402f4aeb0Sopenharmony_ci it is not an attribute of the resulting config and cannot be 28502f4aeb0Sopenharmony_ci queried using <function>eglGetConfigAttrib</function>. 28602f4aeb0Sopenharmony_ci </para> 28702f4aeb0Sopenharmony_ci </refsect1> 28802f4aeb0Sopenharmony_ci <refsect1 id="errors"><title>Errors</title> 28902f4aeb0Sopenharmony_ci <para> 29002f4aeb0Sopenharmony_ci <constant>EGL_FALSE</constant> is returned on failure, 29102f4aeb0Sopenharmony_ci <constant>EGL_TRUE</constant> otherwise. 29202f4aeb0Sopenharmony_ci <parameter>value</parameter> is not modified when 29302f4aeb0Sopenharmony_ci <constant>EGL_FALSE</constant> is returned. 29402f4aeb0Sopenharmony_ci </para> 29502f4aeb0Sopenharmony_ci <para> 29602f4aeb0Sopenharmony_ci <constant>EGL_BAD_DISPLAY</constant> is generated if 29702f4aeb0Sopenharmony_ci <parameter>display</parameter> is not an EGL display connection. 29802f4aeb0Sopenharmony_ci </para> 29902f4aeb0Sopenharmony_ci <para> 30002f4aeb0Sopenharmony_ci <constant>EGL_NOT_INITIALIZED</constant> is generated if 30102f4aeb0Sopenharmony_ci <parameter>display</parameter> has not been initialized. 30202f4aeb0Sopenharmony_ci </para> 30302f4aeb0Sopenharmony_ci <para> 30402f4aeb0Sopenharmony_ci <constant>EGL_BAD_CONFIG</constant> is generated if 30502f4aeb0Sopenharmony_ci <parameter>config</parameter> is not an EGL frame buffer configuration. 30602f4aeb0Sopenharmony_ci </para> 30702f4aeb0Sopenharmony_ci <para> 30802f4aeb0Sopenharmony_ci <constant>EGL_BAD_ATTRIBUTE</constant> is generated if 30902f4aeb0Sopenharmony_ci <parameter>attribute</parameter> is not a valid frame buffer 31002f4aeb0Sopenharmony_ci configuration attribute. 31102f4aeb0Sopenharmony_ci </para> 31202f4aeb0Sopenharmony_ci </refsect1> 31302f4aeb0Sopenharmony_ci <refsect1 id="seealso"><title>See Also</title> 31402f4aeb0Sopenharmony_ci <para> 31502f4aeb0Sopenharmony_ci <citerefentry><refentrytitle>eglChooseConfig</refentrytitle></citerefentry>, 31602f4aeb0Sopenharmony_ci <citerefentry><refentrytitle>eglGetConfigs</refentrytitle></citerefentry> 31702f4aeb0Sopenharmony_ci </para> 31802f4aeb0Sopenharmony_ci </refsect1> 31902f4aeb0Sopenharmony_ci <refsect3 id="Copyright"><title></title> 32002f4aeb0Sopenharmony_ci <!-- Content included from copyright.inc.xsl --> 32102f4aeb0Sopenharmony_ci <imageobject> 32202f4aeb0Sopenharmony_ci <imagedata fileref="KhronosLogo.jpg" format="jpg" /> 32302f4aeb0Sopenharmony_ci </imageobject> 32402f4aeb0Sopenharmony_ci <para /> 32502f4aeb0Sopenharmony_ci </refsect3> 32602f4aeb0Sopenharmony_ci</refentry> 327