Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add glad version 2.x #25771

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

planetmarshall
Copy link
Contributor

Summary

Changes to recipe: glad/2.x

Motivation

Add glad v2.

Details

Adds glad v2.

Moves Glad v 0.x to subfolder as recipes are significantly different.


"shared": [True, False],
"fPIC": [True, False],
"no_loader": [True, False],
"spec": ["gl", "egl", "glx", "wgl"], # Not relevant for 2.x. A spec will be included unless its version is None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left this in because it's in the 0.x recipe - but specs aren't mutually exclusive - in fact a GLES spec won't work without also including egl.

Would be good if we can just remove this option?

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

Warning

Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

All green in build 4 (3241bb21a553f36c9f9a02e7ea60bf1d25335cd8):

  • glad/0.1.35:
    Built 20 packages out of 22 (All logs)

  • glad/0.1.36:
    Built 20 packages out of 22 (All logs)

  • glad/0.1.34:
    Built 20 packages out of 22 (All logs)

  • glad/0.1.33:
    Built 20 packages out of 22 (All logs)

  • glad/2.0.8:
    Built 20 packages out of 22 (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 4 (3241bb21a553f36c9f9a02e7ea60bf1d25335cd8):

  • glad/0.1.36:
    All packages built successfully! (All logs)

  • glad/0.1.35:
    All packages built successfully! (All logs)

  • glad/0.1.34:
    All packages built successfully! (All logs)

  • glad/0.1.33:
    All packages built successfully! (All logs)

  • glad/2.0.8:
    All packages built successfully! (All logs)

@jay-tux
Copy link
Contributor

jay-tux commented Nov 30, 2024

@planetmarshall Thanks for packaging this already! However, will this one have support for disabling the debug mode? The current (0.1.36) links gl* functions to glad_debug_gl* instead of glad_gl*. It would be nice if I could disable this behavior (as I have a custom error handler that's a little more useful)

@planetmarshall
Copy link
Contributor Author

@planetmarshall Thanks for packaging this already! However, will this one have support for disabling the debug mode? The current (0.1.36) links gl* functions to glad_debug_gl* instead of glad_gl*. It would be nice if I could disable this behavior (as I have a custom error handler that's a little more useful)

I've disabled the debugging layer by default (as it's normally opt-in anyway).

It can be enabled by specifying the option -o glad/*:debug=True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants