Bug 3531 - GlCullFace (GL_CULL_FACE) is missing from Javax.Microeditions.Khronos.Opengles.GL10
Summary: GlCullFace (GL_CULL_FACE) is missing from Javax.Microeditions.Khronos.Opengle...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.0
Hardware: PC Linux
: --- minor
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2012-02-18 09:14 UTC by Atsushi Eno
Modified: 2012-12-06 16:36 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Atsushi Eno 2012-02-18 09:14:23 UTC
I totally have no idea why, but it is somehow missing anyways in our classlib.
Comment 1 Andreia Gaita 2012-03-14 17:08:56 UTC
Wow, that's weird...

Note: A workaround would be to use (int)Android.Opengl.GLES11.GlCullFaceMode - 1, or (int)OpenTK.Graphics.ES11.All.CullFace , I guess, at least until we fix that.
Comment 2 Atsushi Eno 2012-06-11 04:51:49 UTC
I think this is rather about generator issue, not general OpenGL issue, so it's rather me who is supposed to investigate and fix the issue (I of course don't hate if other guys can have a look at it though ;-)
Comment 3 Dominique Louis 2012-06-11 14:42:34 UTC
I've not looked at it yet, as I'm trying to get my head around md-addins and trying to ensure they use the a common Xamarin.AndroidTools. So feel free to have a look first if you think this is a generator issue.
Comment 4 dean.ellis 2012-12-06 15:54:08 UTC
Fixed in master/07cc123657

There was a naming collision between the constant GlCullFace and the method GlCullFace which prevented the constant from being included. The constant has been renamed to GlCullFaceCapability as it is used in conjunction with GlEnable and GlDisable to enable or disable the face culling capability in gles. 

For example

GlEnable (GlCullFaceCapability);
GlDisable (GlCullFaceCapability);