Java 类android.opengl.GLSurfaceView.EGLConfigChooser 实例源码

项目:TheHunt---Interactive-graphical-platform-for-AI-Experiments    文件:GLWallpaperService.java   
public EglHelper(EGLConfigChooser chooser, EGLContextFactory contextFactory,
        EGLWindowSurfaceFactory surfaceFactory, GLWrapper wrapper) {
    this.mEGLConfigChooser = chooser;
    this.mEGLContextFactory = contextFactory;
    this.mEGLWindowSurfaceFactory = surfaceFactory;
    this.mGLWrapper = wrapper;
}
项目:TheHunt---Interactive-graphical-platform-for-AI-Experiments    文件:GLWallpaperService.java   
GLThread(GLWallpaperService.Renderer renderer, EGLConfigChooser chooser, EGLContextFactory contextFactory,
        EGLWindowSurfaceFactory surfaceFactory, GLWrapper wrapper) {
    super();
    mDone = false;
    mWidth = 0;
    mHeight = 0;
    mRequestRender = true;
    mRenderMode = GLWallpaperService.GLEngine.RENDERMODE_CONTINUOUSLY;
    mRenderer = renderer;
    this.mEGLConfigChooser = chooser;
    this.mEGLContextFactory = contextFactory;
    this.mEGLWindowSurfaceFactory = surfaceFactory;
    this.mGLWrapper = wrapper;
}
项目:ZombieInvadersVR    文件:CardBoardGraphics.java   
protected EGLConfigChooser getEglConfigChooser () {
   return new GdxEglConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil, config.numSamples);
}
项目:appcan-plugin-pdfreader-android    文件:GLConfiguration.java   
public static EGLConfigChooser getConfigChooser() {
    if (chooser == null) {
        chooser = new BaseEGLConfigChooser();
    }
    return chooser;
}
项目:libgdxcn    文件:AndroidGraphics.java   
protected EGLConfigChooser getEglConfigChooser () {
    return new GdxEglConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil, config.numSamples);
}
项目:TheHunt---Interactive-graphical-platform-for-AI-Experiments    文件:GLWallpaperService.java   
public void setEGLConfigChooser(EGLConfigChooser configChooser) {
    checkRenderThreadState();
    mEGLConfigChooser = configChooser;
}
项目:document-viewer    文件:GLConfiguration.java   
public static EGLConfigChooser getConfigChooser() {
    if (chooser == null) {
        chooser = new BaseEGLConfigChooser();
    }
    return chooser;
}
项目:ingress-indonesia-dev    文件:GLSurfaceViewCupcake.java   
public void setEGLConfigChooser(GLSurfaceView.EGLConfigChooser paramEGLConfigChooser)
{
  if (this.mRenderer != null)
    throw new IllegalStateException("setRenderer has already been called for this instance.");
  this.mEGLConfigChooser = paramEGLConfigChooser;
}
项目:ingress-indonesia-dev    文件:GLBaseSurfaceView.java   
public void setEGLConfigChooser(GLSurfaceView.EGLConfigChooser paramEGLConfigChooser)
{
  checkRenderThreadState();
  this.mEGLConfigChooser = paramEGLConfigChooser;
}
项目:libgdxcn    文件:GLSurfaceViewAPI18.java   
/**
 * Install a custom EGLConfigChooser.
 * <p>If this method is
 * called, it must be called before {@link #setRenderer(Renderer)}
 * is called.
 * <p>
 * If no setEGLConfigChooser method is called, then by default the
 * view will choose an EGLConfig that is compatible with the current
 * android.view.Surface, with a depth buffer depth of
 * at least 16 bits.
 * @param configChooser
 */
public void setEGLConfigChooser(EGLConfigChooser configChooser) {
    checkRenderThreadState();
    mEGLConfigChooser = configChooser;
}