Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Constructors |
|
ComponentSizeChooser(int pRedSize, int pGreenSize, int pBlueSize, int pAlphaSize, int pDepthSize, int pStencilSize)
|
Fields
protected
final
int[]
mConfigSpec
protected
int
mStencilSize
Public Constructors
public
ComponentSizeChooser
(int pRedSize, int pGreenSize, int pBlueSize, int pAlphaSize, int pDepthSize, int pStencilSize)
Public Methods
Choose a configuration from the list. Implementors typically
implement this method by calling eglChooseConfig(EGLDisplay, int[], EGLConfig[], int, int[])
and
iterating through the results. Please consult the EGL specification
available from The Khronos Group to learn how to call
eglChooseConfig.
Parameters
pEGL
| the EGL10 for the current display. |
pEGLDisplay
| the current display. |
Returns
- the chosen configuration.