/**
  * Creates an EGL context and an EGL surface.
  */
 public SurfaceManager(Surface surface, SurfaceManager manager)
 {
     mSurface          = surface;
     mEGLSharedContext = manager.mEGLContext;
     eglSetup();
 }
Beispiel #2
0
	public void addMediaCodecSurface(Surface surface) {
		lock (this) {
			mCodecSurfaceManager = new SurfaceManager(surface,mViewSurfaceManager);			
		}
	}