Giter Club home page Giter Club logo

Comments (8)

dalexsoto avatar dalexsoto commented on June 23, 2024

Hello!

Could you please be more specific in the issue you are reporting?

Thanks!

from mac-samples.

xdinos avatar xdinos commented on June 23, 2024

Yes sorry, you are right,
If you build and run the sample there isn't any output just the dark(gray) background of the window.

from mac-samples.

xdinos avatar xdinos commented on June 23, 2024

Visual Studio for Mac 8.1, macOS Mojave 10.14.5, XCode 10.2.1

from mac-samples.

SpiritDogstar avatar SpiritDogstar commented on June 23, 2024

Same.. no rendering.

from mac-samples.

sungiant avatar sungiant commented on June 23, 2024

I get the same issue for other OpenGL mac samples too. I've tested the MacOpenTK sample and the GLFullScreen sample on two different freshly installed machines running Mojave 10.14.6 and XCode 10.3 and I consistently get the issue.

The same issue first came to my attention whilst attempting to upgrade an older Mono Mac OpenGl demo to Xamarin Mac. That demo in particular has a little more logging and as such I can see it failing with with the Open GL error code: InvalidFramebufferOperationExt.

I've introducing similar logging to the MacOpenTK sample and I hit the same failure after the first GL call to Clear.

To be specific you can see the OpenGL errors by introducing a call to something like this:

        public static void Check()
        {
            var ec = GL.GetError();

            if (ec != ErrorCode.NoError)
            {
                throw new Exception(ec.ToString());
            }
        }

after each GL call in the demo.

from mac-samples.

sungiant avatar sungiant commented on June 23, 2024

I think this issue should be changed to a bug instead of a question and its title updated to something more generic such as "Rendering broken for all OpenTK samples".

I also think this issue is likely in need some form of escalation as the root of issue is not problem with the samples themselves (there have been no breaking changes that the samples have failed to incorporate - they should work as is) but rather a problem with the underlying libraries.

It is possible that this issue could be due to an incompatibility at the Xamarin library level introduced by the changes from Mojave or the latest XCode.

from mac-samples.

sungiant avatar sungiant commented on June 23, 2024

Just checked the xamarin-macios repo and found the same issue listed: xamarin/xamarin-macios#4959

from mac-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.