Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 25, 2015
  1. @radekdoulik
  2. @radekdoulik

    regenerated the bindings

    radekdoulik authored
     - the section define enums/enum fields are removed
     - Android platform 21 ES 2.0 extensions are updated,
       there were many additions
  3. @radekdoulik

    ignore section defines tokens for enums

    radekdoulik authored
     - so that we don't endup with enum fields named as enum itself
       and value 1
Commits on Feb 25, 2015
  1. @radekdoulik

    added RenderingThreadExited event and retry counter

    radekdoulik authored
     - make sure we don't restart the rendering thread indefinitely,
       instead we have now a new property RenderThreadRestartRetries which
       specifies how many times we retry start the rendering thread
     - we also catch rendering thread exception and save it to the
       RenderThreadException so that it can be handled in the new
       RenderingThreadExited event
Commits on Feb 24, 2015
  1. @radekdoulik
Commits on Feb 11, 2015
  1. @radekdoulik

    added new Matrix3 constructor with Matrix4 parameter

    radekdoulik authored
     - which also brings us closer to the upstream OpenTK
Commits on Jan 20, 2015
  1. @radekdoulik
  2. @radekdoulik

    use MemoryBarrierMask in MemoryBarrier method

    radekdoulik authored
     - also added a method with the original signature
       and obsolete attribute for backward compatibility
  3. @radekdoulik
  4. @radekdoulik
Commits on Dec 8, 2014
  1. @radekdoulik

    use EglContextMinorVersion only when extensions is available

    radekdoulik authored
     - check for EGL_KHR_create_context extension
Commits on Nov 20, 2014
  1. @radekdoulik
Commits on Sep 26, 2014
  1. @radekdoulik
  2. @rolfbjarne
Commits on Sep 25, 2014
  1. @radekdoulik
  2. @radekdoulik
  3. @radekdoulik

    added ES 3.1 support and new include parameter

    radekdoulik authored
     - the new include parameter allows to include other signature
       files. we will use that for ES 3.1 where we will include ES 3.0
       signatures when generating ES 3.1 bindings
Commits on Aug 22, 2014
  1. @dalexsoto

    [Xamarin.iOS] Fix Bug #22198

    dalexsoto authored
    	* Apps crashes with the following message:
    		 Objective-C exception thrown.  Name: NSInternalInconsistencyException Reason: Auto Layout still required after executing -layoutSubviews. EAGLView's implementation of -layoutSubviews needs to call super.
    	Fix is to call base.LayoutSubviews (); on LayoutSubviews () in iPhoneOSGameView.
  2. @migueldeicaza

    Change the signature for the RunIteration method, the parameter is

    migueldeicaza authored
    not an NSTimer, the parameter is a CADisplayLink.
    I am using NSObject, as we do not actually care about the sender,
    nor do we pass this information.
    This should fix: 22195
Commits on Aug 1, 2014
  1. @dellis1972
Commits on Jul 31, 2014
  1. @radekdoulik

    add RenderOnUIThread property

    radekdoulik authored
     - it governs whether the rendering happens on non-UI thread
     - this helps with the performance and makes the rendering
       more fluent, but requires more attention to using the GL
       context only in the rendering thread
     - for most fluent rendering set RenderOnUIThread to false
       and AutoSetContextOnRenderFrame to false. it is also good
       to disable hardware acceletation for Android UI
Commits on Jul 25, 2014
  1. @dellis1972 @radekdoulik

    [OpenTK.Android] Support opengl context sharing across threads

    dellis1972 authored radekdoulik committed
    Added support for creating an additional opengl context.
    This is accomplished by creating a PBuffer surface to which
    the new context can be attached. The PBuffer should be
    created with a fixed power of 2 size for maximum compatability
    across devices. The actual size of the PBuffer does not really
    matter as the background context is not usually used for
    rendering but for loading graphical assets such as textures
    and shaders. If the device does not support PBuffers then
    a secondary context will not work. Support for PBuffers is
    checked by querying the SurfaceType attribute in the Graphics
    Mode config and ensuring that the PBUFFER_BIT is set. If
    PBuffers are not supported or when creating the new PBuffer
    it returns a NoSurface value, an exception will be thrown.
    Note that for GLES 1.1 some devices report that they support
    PBuffers but actually lock up when trying to use them. This
    seems limited to mainly NVIDIA chips. However this does not
    seem to be the case for GLES 2.0+
    With the new PBuffer surface, the context can also be created.
    The context should use the same config and attributes as the
    main context otherwise the context creation will fail with
    an BAD_MATCH error. If for some reason the seconday context
    cannot be created an exception will be thrown.
    To create a seconday context use the following code
    backgroundContext = new AndroidGraphicsContext (GraphicsMode, WindowInfo, GraphicsContext, this.ContextRenderingApi, GraphicsContextFlags.Embedded);
    To use the background context you MUST first make sure that
    the primary context is not going to render. This can be accomplished
    by using a sync/lock object. Next you MUST clear the current context
    backgroundContext.MakeCurrent (null);
    If this is not done any attempt to use the background context will
    fail. While skipping this step might work on some GPU's its
    better to do it to make sure you don't get errors. Next you can
    and use the context. I would as recommend calling MakeCurrent(null)
    again at the end of the background processing just to make
    sure everything is ready for the primary context to start again.
Commits on Jul 1, 2014
  1. @radekdoulik

    fix Matrix3 subtraction

    radekdoulik authored
Commits on Jun 18, 2014
  1. @radekdoulik
Commits on Jun 6, 2014
  1. @dellis1972

    [OpenGLES] OpenTK app + Intent.CreateChooser() crashes

    dellis1972 authored
    Turns out the issue with this particular bug
    was that we did not clear down the current context
    prior to shutting down the activity/pausing. This left
    OpenGL in some kind of weird state where it could not
    use the surface and context current again until the
    activity was destroyed.
Commits on May 30, 2014
  1. @spouliot

    Using yet a different fix for XAMCORE_2_0 to avoid NSTimer compile-ti…

    spouliot authored
    …me issue with anonymous delegates (ref: bug #20118)
Commits on May 28, 2014
  1. @spouliot @radekdoulik
  2. @spouliot @radekdoulik
  3. @radekdoulik

    added delegates with strongly typed enums (ES30.iPhoneOS)

    radekdoulik authored
     - add the new delegates
     - added new enums where needed
     - keep old ones in ES.Obsolete.cs
     - regenerated ES30.iPhoneOS bindings
Commits on May 27, 2014
  1. @radekdoulik

    added delegates with strongly typed enums (ES30.Android)

    radekdoulik authored
     - add the new delegates
     - added new enums where needed
     - keep old ones in ES.Obsolete.cs
     - regenerated ES30.Android bindings
  2. @radekdoulik

    change order of looking override func name

    radekdoulik authored
     - use delegate name first
     - this fixes issues with named like GetInteger64i_v
       where it found wrong delegate
Commits on May 20, 2014
  1. @rolfbjarne
Commits on May 14, 2014
  1. @radekdoulik
  2. @radekdoulik

    [Android] extended existing enums with ES 3.0 values

    radekdoulik authored
     - regenerated Enums.cs as well
  3. @radekdoulik

    [iOS] extended existing enums with ES 3.0 values

    radekdoulik authored
         - regenerated Enums.cs as well
Something went wrong with that request. Please try again.