Skip to content

Commit

Permalink
more gles
Browse files Browse the repository at this point in the history
  • Loading branch information
cirosantilli committed Sep 7, 2016
1 parent 7442f19 commit 99a9dff
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 13 deletions.
1 change: 1 addition & 0 deletions opencl/README.md
Expand Up @@ -10,6 +10,7 @@
1. [Vector built-in](vector_builtin.c)
1. Tools
1. [clinfo](clinfo.md)
1. [Benchmarks](benchmarks.md)
1. Theory
1. [Introduction](introduction.md)
1. [Implementations](implementations.md)
Expand Down
3 changes: 3 additions & 0 deletions opencl/benchmarks.md
@@ -0,0 +1,3 @@
# Benchmarks

- <https://compubench.com>. Also from Kishonti who makes GFXBench. TODO business model.
3 changes: 2 additions & 1 deletion opengl/README.md
Expand Up @@ -4,6 +4,7 @@
1. [Introduction](introduction.md)
1. [Utility libraries](utility-libraries.md)
1. [GLUT](glut.md)
1. [GLFW](glfw.md)
1. [Lightning](lightning.md)
1. [Ray tracing](ray-tracing.md)
1. [Benchmarks](benchmarks.md)
Expand Down Expand Up @@ -36,7 +37,7 @@
1. GLUT
1. [glutBitmapCharacter](bitmap_character.c)
1. [Animation](animation.c)
1. [GLFW](glfw.md)
1. GLFW
1. [hello world](glfw_hello_world.c)
1. [animation](glfw_animation.c)
1. Retained mode + shaders
Expand Down
14 changes: 14 additions & 0 deletions opengl/alternatives.md
Expand Up @@ -34,3 +34,17 @@ TODO. Already had an NVIDIA NVS 5400M driver 361.42 working for OpenGL.

- <http://askubuntu.com/questions/774131/installing-nvidia-vulkan-drivers-for-16-04>
- <https://github.com/SaschaWillems/Vulkan/issues/188>

## GLES

OpenGL ES.

No `glu` for it: <http://stackoverflow.com/questions/7589563/can-i-use-glu-with-android-ndk>

Vs OpenGL: basically a subset:

- <http://stackoverflow.com/questions/4519264/opengl-es-versus-opengl>
- <http://stackoverflow.com/questions/1179249/opengl-vs-opengl-es-2-0-can-an-opengl-application-be-easily-ported>
- <http://gamedev.stackexchange.com/questions/150/what-is-the-difference-between-opengl-es-and-opengl>
- no immediate mode
- TODO includes EGL?
7 changes: 7 additions & 0 deletions opengl/egl.md
@@ -0,0 +1,7 @@
# EGL

<https://en.wikipedia.org/wiki/EGL_(API)>

TODO.

Examples: <https://cgit.freedesktop.org/mesa/demos/tree/src/egl>
10 changes: 9 additions & 1 deletion opengl/glfw.md
Expand Up @@ -2,4 +2,12 @@

Lightweight / modern alternative to GLUT.

Made by this hardcore woman: https://www.linkedin.com/in/elmindreda TODO: is she working full time on it? How does she get money? Is she a Google employee?
More features, more modern, thus recommended by some people.

Made by this hardcore woman: <https://www.linkedin.com/in/elmindreda> TODO: is she working full time on it? How does she get money? Is she a Google employee?

<http://stackoverflow.com/questions/25708688/what-is-the-difference-between-freeglut-vs-glfw>

<https://en.wikipedia.org/wiki/GLFW>

One advantage over GLUT seems to be that it allows for more control over the event loop: <http://gamedev.stackexchange.com/questions/8623/a-good-way-to-build-a-game-loop-in-opengl?lq=1>
11 changes: 0 additions & 11 deletions opengl/utility-libraries.md
Expand Up @@ -14,17 +14,6 @@ Mesa implements it apparently, e.g. `dpkg` shows `libglu1-mesa`.

<https://en.wikipedia.org/wiki/OpenGL_Extension_Wrangler_Library>

## GLFW

GLUT alternative. More features, more modern, thus recommended by some people.

<http://stackoverflow.com/questions/25708688/what-is-the-difference-between-freeglut-vs-glfw>

<https://en.wikipedia.org/wiki/GLFW>

One advantage over GLUT seems to be that it allows for more control over the event loop:
<http://gamedev.stackexchange.com/questions/8623/a-good-way-to-build-a-game-loop-in-opengl?lq=1>

## GLM

C++ Mathematics useful for OpenGL.
Expand Down

0 comments on commit 99a9dff

Please sign in to comment.