[Mono-bugs] [Bug 635565] New: Support OpenGLES 2.0 in AndroidGameView

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 30 11:22:42 EDT 2010



           Summary: Support OpenGLES 2.0 in AndroidGameView
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: jankit at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

We need a cross-platform (MonoTouch and MonoDroid) mechanism for creating an
AndroidGameView instance that targets OpenGLES 2.0 with fallback to OpenGLES

For example, MonoTouch currently supports:

    class MyGameView : iPhoneOSGameView {
        // ...
        protected override void CreateFrameBuffer()
                // check if we support OpenGLES 2.0 first
                ContextRenderingApi = EAGLRenderingAPI.OpenGLES2;
            catch (Exception)
                // device doesn't support OpenGLES 2.0; retry with 1.1:
                ContextRenderingApi = EAGLRenderingAPI.OpenGLES1;

This relies on setting the iPhoneOSGameView.ContextRenderingApi property:


Unfortunately, the EAGLRenderingAPI enumeration is from MonoTouch, which I
don't want to provide in MonoDroid.

Thus, we need two things:

 1. We need to figure out how to provide a similar mechanism for MonoDroid
    so that we can attempt OpenGLES 2.0 functionality and fallback to 1.1
 2. Port this API to MonoTouch to facilitate porting.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list