holdingarea/serialization/Graphics/KhronosAPIWrapper/src/driverapiwrapper.cpp
branchbug235_bringup_0
changeset 42 2865e884ac3b
parent 30 f204b762818d
equal deleted inserted replaced
41:2110890eb027 42:2865e884ac3b
    94 		PoolContext = ContextWithFormatARGB_8888 = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL);
    94 		PoolContext = ContextWithFormatARGB_8888 = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL);
    95 		m_PoolConfig = config;
    95 		m_PoolConfig = config;
    96 	}
    96 	}
    97 
    97 
    98 
    98 
    99     /* get an appropriate EGL frame buffer configuration */
    99     /* get an appropriate EGL surface buffer configuration */
   100 	if( ::eglChooseConfig(	display,
   100 	if( ::eglChooseConfig(	display,
   101 							getColorAttributes( EUidPixelFormatXRGB_8888, red, green, blue, alpha ),
   101 							getColorAttributes( EUidPixelFormatXRGB_8888, red, green, blue, alpha ),
   102 							&config,
   102 							&config,
   103 							1,
   103 							1,
   104 							&num_config ) == EGL_TRUE )
   104 							&num_config ) == EGL_TRUE )