PortableGL | An implementation of OpenGL 3.x-ish in clean C
kandi X-RAY | PortableGL Summary
kandi X-RAY | PortableGL Summary
PortableGL is a C library. PortableGL has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
"Because of the nature of Moore’s law, anything that an extremely clever graphics programmer can do at one point can be replicated by a merely competent programmer some number of years later." - John Carmack. In a nutshell, PortableGL is an implementation of OpenGL 3.x core in clean C99 as a single header library (in the style of the [stb libraries] It can theoretically be used with anything that takes a framebuffer/texture as input (including just writing images to disk manually or using something like stb_image_write) but all the demos use SDL2 and it currently only supports 8-bits per channel RGBA as a target (and also for textures). Obviously there are tradeoffs between several of those. An example where 4 trumps 2 (and arguably 3) is with shaders. Rather than write or include a glsl parser and have a built in compiler or interpreter, shaders are just special C functions that match a specific prototype. Uniforms are another example where 3 and 4 beat 2 because it made no sense to match the API because we can do things so much simpler by just passing a pointer to a user defined struct (see the examples).
"Because of the nature of Moore’s law, anything that an extremely clever graphics programmer can do at one point can be replicated by a merely competent programmer some number of years later." - John Carmack. In a nutshell, PortableGL is an implementation of OpenGL 3.x core in clean C99 as a single header library (in the style of the [stb libraries] It can theoretically be used with anything that takes a framebuffer/texture as input (including just writing images to disk manually or using something like stb_image_write) but all the demos use SDL2 and it currently only supports 8-bits per channel RGBA as a target (and also for textures). Obviously there are tradeoffs between several of those. An example where 4 trumps 2 (and arguably 3) is with shaders. Rather than write or include a glsl parser and have a built in compiler or interpreter, shaders are just special C functions that match a specific prototype. Uniforms are another example where 3 and 4 beat 2 because it made no sense to match the API because we can do things so much simpler by just passing a pointer to a user defined struct (see the examples).
Support
Quality
Security
License
Reuse
Support
PortableGL has a low active ecosystem.
It has 757 star(s) with 34 fork(s). There are 11 watchers for this library.
It had no major release in the last 6 months.
There are 3 open issues and 7 have been closed. On average issues are closed in 76 days. There are 2 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of PortableGL is 0.97.1
Quality
PortableGL has 0 bugs and 0 code smells.
Security
PortableGL has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
PortableGL code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
PortableGL is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
PortableGL releases are not available. You will need to build from source code and install.
It has 159 lines of code, 2 functions and 3 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PortableGL
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PortableGL
PortableGL Key Features
No Key Features are available at this moment for PortableGL.
PortableGL Examples and Code Snippets
No Code Snippets are available at this moment for PortableGL.
Community Discussions
No Community Discussions are available at this moment for PortableGL.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PortableGL
You can download it from GitHub.
Support
There is the documentation in the comments at the top of the file (from src/header_docs.txt) but there is currently no formal documentation. Looking at the examples and demos (and comparing them to [opengl_reference](https://github.com/rswinkle/opengl_reference)) should be helpful. Honestly, the official OpenGL docs and [reference pages](https://www.khronos.org/registry/OpenGL-Refpages/gl4/) are good for 90-95% of it as far as basic usage:. [4.6 Core reference](https://www.khronos.org/opengl/wiki/Category:Core_API_Reference) [4.5 comprehensive reference](https://www.khronos.org/registry/OpenGL-Refpages/gl4/) [tutorials and guides](https://www.khronos.org/opengl/wiki/Getting_Started#Tutorials_and_How_To_Guides).
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page