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

[Renderers/ANGLE] ANGLE Renderer Implementation #64

Open
flipfloppy1 opened this issue Dec 20, 2024 · 3 comments
Open

[Renderers/ANGLE] ANGLE Renderer Implementation #64

flipfloppy1 opened this issue Dec 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@flipfloppy1
Copy link

ANGLE is a conformant OpenGL ES 2.0/3.0/3.1 implementation that translates between DirectX, Vulkan, OpenGL and Metal to use the native graphics API best suited to the hardware and OS of a system.

In practice this feature would look almost identical to a Clay GLES2.0 renderer. It would allow people making apps using ANGLE or OpenGL to use Clay without importing a higher-level library.

@flipfloppy1
Copy link
Author

I might investigate working on a draft implementation for an ANGLE/GLES2.0 renderer this weekend if that would be helpful. Defining a preprocessor variable for the OpenGL includes would allow it to work with many other OpenGL/GLES versions too.

@nicbarker
Copy link
Owner

@flipfloppy1 hello, and that sounds great! I would love to hear how your experimentation goes 🙂

@nicbarker nicbarker changed the title [Feature Request] ANGLE Renderer Implementation [Renderers/ANGLE] ANGLE Renderer Implementation Dec 24, 2024
@nicbarker nicbarker added the enhancement New feature or request label Dec 24, 2024
@flipfloppy1
Copy link
Author

I've been working on this renderer and have decided to separate the pure OpenGL rendering and the things that require other libraries (freetype+harfbuzz for text, etc.) into two files, so people can use only the OpenGL parts if they have other libraries for the rest.

With raylib and SDL it's possible to have only one dependency since they handle everything themselves so I feel like this is a good solution to make this renderer applicable for as many people as possible.

As for progress, I'm having typical GL troubles :) rectangles and rounded borders should be working soon, and font atlases are being created now. I've copied most of the raylib renderer when it comes to the general structure

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

No branches or pull requests

2 participants