You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ OpenGl Examples
8
8
9
9
**OpenGL 2.0 examples:**
10
10
11
-
`HelloOpenGLES20` is Google’s basic framework example. 2D square and triangle with touch events to spin the triangle API 8+ and works on android 15 devices.
11
+
`HelloOpenGLES20` is Google’s basic framework example. 2D square and triangle with touch events to spin the triangle API 8+ and works on android 15 devices.
12
12
13
13
`Opengl2ex1` uses a renderer (lessonOne from http://www.learnopengles.com/android-lesson-one-getting-started/) and mainactivity to setup everything
14
14
NOTE: this example may fail in the emulators, but works on a physical device. verified it works on android 15 devices.
@@ -20,11 +20,12 @@ OpenGl Examples
20
20
**OpenGL 3.X examples:**
21
21
22
22
intended to get you started in OpenGL 3.0, but don't provide any depth of coverage.
23
-
<codestyle="color : red">
24
-
NOTE, in android 15 some of these examples now fail and I do not know why. They work correctly on a pixel4a running android 13, but then fail to run pixel 7 and 8 devices. likely there is a error in library? android states, opengl is no longer under active developement. Vulkan is the new graphics package and opengl is on the way out. Use at your own risk or maybe v2 instead.
25
-
</code>
23
+
$\color{red}{\textsf{NOTE, in android 15 some of these examples now fail and I do not know why.}}$
24
+
$\color{red}{\textsf{They work correctly on a pixel4a running android 13, but then fail to run pixel 7 and 8 devices. }}$
25
+
$\color{red}{\textsf{likely there is a error in library, but android states, opengl is no longer under active developement. }}$
26
+
$\color{red}{\textsf{Vulkan is the new graphics package and opengl is on the way out. Use at your own risk or maybe v2 instead.}}$
26
27
27
-
`HelloOpenGLES30` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.0. 2D square and triangle with touch events to spin the triangle. API 18+
28
+
`HelloOpenGLES30` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.0. 2D square and triangle with touch events to spin the triangle. API 18+
28
29
29
30
`Opengl3ex1` is based on Opengl2ex1, with references changed to GLES30. Note this may fail in emulators. Works on android 15, but using the older v2 code, instead of the commmented out v3 code. the v3 code works on android 13, but not android 15 devices.
30
31
@@ -38,9 +39,9 @@ NOTE, in android 15 some of these examples now fail and I do not know why. They
38
39
39
40
`OpenGL30CubeTextureView` is the same renderer as OpenGL30Cube, except this uses a TextureView instead of surfaceView. The TextureView has to setup all the openGL stuff, which takes a chunk of code to do.
40
41
41
-
`HelloOpenGLES31` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.1. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.1. All other entries are set correctly. API 21+ Also doesn't work on android 15 on a pixel 7 or 8. does work on pixel 4a with android 13.
42
+
`HelloOpenGLES31` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.1. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.1. All other entries are set correctly. API 21+ Also doesn't work on android 15 on a pixel 7 or 8. does work on pixel 4a with android 13.
42
43
43
-
`HelloOpenGLES32` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.2. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.2. All other entries are set correctly. API 24+ Also doesn't work on android 15 on a pixel 7 or 8. does work on pixel 4a with android 13.
44
+
`HelloOpenGLES32` is Google’s basic framework example from 2.0, updated to OpenGL ES 3.2. 2D square and triangle with touch events to spin the triangle. The setEGLContextClientVersion(3); maybe wrong, since I could not find how to set it for 3.2. All other entries are set correctly. API 24+ Also doesn't work on android 15 on a pixel 7 or 8. does work on pixel 4a with android 13.
0 commit comments