Diffrernce between Android & Xamarin (OpenGL)

Different

Xamarin don't have:

  1. GLES32 in Class
  2. GLES32.DebugProc in Interface

Android don't have:

  1. Enumerations in document

(DebugFlags, GLDebugCongig, Rendermode)

文字為藍色的都有附超連結

Different in Class

EGLObjectHandle

int hashCode() Returns a hash code value for the object.
long
 
getNativeHandle()
 
Returns the native handle of the wrapped EGL object.

Android have 2 more Methods:

ETC1Util

static boolean isETC1Supported() Check if ETC1 texture compression is supported by the active OpenGL ES context.

Android have 1 more Method:

GLES10

Android have 4 more Constants:

GL_CLEAR,

GL_CULL_FACE,

GLPOINT_SIZE,

GL_SAMPLE_COVERAGE

GLES20

Android have 10 more Constants:

GL_ACTIVE_TEXTURE,

GL_BLEND_COLOR,

GL_BLEND_EQUATION,

GL_CULL_FACE,
GL_DEPTH_FUNC,

GL_FRONT_FACE,

GL_LINE_WIDTH,

GL_SAMPLE_COVERAGE,

GL_STENCIL_FUNC,

GL_VIEWPORT

Xamarin have 1 more Method:

static GlGetShaderSource(Int32, Int32, IntBuffer, SByte)

GLES30

Android have 2 more Contants & 4 more Methods:

 

GL_READ_BUFFER,

GL_UNIFORM_BLOCK_BINDING

 

 

(GO to next page for more Methods  )

GLES30

GLES31

GL_ELEMENT_ARRAY_BARRIER_BIT, GL_SHADER_IMAGE_ACCESS_BARRIER_BIT, GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT, GL_VERTEX_ATTRIB_BINDING,
GL_VERTEX_BINDING_DIVISOR

Android have 5 more Constants:

GLES31Ext

Android have 1 more Method:

static void glCopyImageSubDataEXT(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth)

GLSurfaceView

Android have 7 more Public Method

&

3 more protected methods:

GLSurfaceView

Statistic

Android 有18個methods

21個Constants

GLES32(206個Constants、60個methods) 的class

GLES32.DebugProc (1個Public methods)的interface 

是Xamarin沒有的

 

 

(Xamarin 有一個method 在GLES20中是Android 沒有的)

Referance

opengldiff

By jackiechen08

opengldiff

Difference between Android & Xamarin's OpenGL Libery.

  • 704