Code example for EGL10

Methods: eglGetConfigAttrib

0
 
        private int findConfigAttrib(EGL10 egl, EGLDisplay display,
                EGLConfig config, int attribute,
                int defaultValue) {
 
            if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
                return mValue[0];
            } 
            return defaultValue;
        } 
 
        // Subclasses can adjust these values: 
        protected int mRedSize;
        protected int mGreenSize;
        protected int mBlueSize;
        protected int mAlphaSize;
        protected int mDepthSize;
        protected int mStencilSize;
        private int[] mValue = new int[1];
    } 
Stop searching for code, let great code find you!  Add Codota to your java IDE