OpenGLES

RSS for tag

Create 3D and 2D graphics effects using OpenGL ES, a compact and efficient subset of OpenGL.

OpenGLES Documentation

Posts under OpenGLES tag

6 Posts
Sort by:
Post not yet marked as solved
1 Replies
446 Views
Hi, I'm displaying linear gray by CAMetalLayer with the shader below. fragment float4 fragmentShader(VertexOut in [[stage_in]], texture2d<float, access::sample> BGRATexture [[ texture(0) ]]) { float color = in.texCoordinates.x; return float4(float3(color), 1.0); } And my CAMetalLayer has been set to linearSRGB. metalLayer.colorspace = CGColorSpace(name: CGColorSpace.linearSRGB) metalLayer.pixelFormat = .bgra8Unorm Why the display seem add gamma? Apparently the middle gray is 187 but not 128.
Posted
by fsjack.
Last updated
.
Post not yet marked as solved
2 Replies
752 Views
I know opengl is marked as deprecated since ios12 but I have an old project using it and I want to update some feature of it then release the update version. So I'm wondering if I can still release an app using opengl to app store currently? (I know it's better to shift to MetalKit but for some reason I want to cut the cost if I can. )
Posted Last updated
.
Post not yet marked as solved
15 Replies
4.6k Views
Hello everyone! After some time to think about I proceed with graphics api, I figured opengl will be my first since I'm completely new to graphics programming. As in my last post you may find, I was speaking on moltenvk and might just use metal instead, along with the demos I found using metal. So for now, and I know this is said MANY TIMES, apple deprecated opengl but wish to use it because I'm new to graphics programming and want to develop an app(a rendering engine really) for the iPhone 14 Pro Max and macOS Ventura 13.2(I think this is the latest). So what do you guys think? Can I still use opengl es on the 14 max, along with opengl 4+ on latest macOS even though is deprecated?
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.3k Views
We deliver rendering SDKs backended with OpenGLES to our customers. recently, we recieve many feedbacks about occasional crashes on iOS devices, the crash stacks are very similar: 0 libsystem_kernel.dylib 0x00000001bba0e9e8 0x1bba08000 + 27112 __pthread_kill (in libsystem_kernel.dylib) + 8 1 libsystem_c.dylib 0x000000018be5b0b4 0x18be3c000 + 127156 abort (in libsystem_c.dylib) + 120 2 libGFXShared.dylib 0x00000001c2030600 0x1c202d000 + 13824 gfxFreeTextureLevel (in libGFXShared.dylib) + 0 3 GLEngine 0x00000001c1f5e390 0x1c1f4c000 + 74640 glTexImage2D_Exec (in GLEngine) + 1064 4 OpenGLES 0x00000001c2017f00 0x1c2015000 + 12032 glTexImage2D (in OpenGLES) + 80 The above crash does not look like an OpenGLES background running failure, is any one could share some suggestion about this? Thanks a lot!
Posted Last updated
.
Post not yet marked as solved
4 Replies
2.8k Views
Apps like: https://www.clicktorelease.com/code/codevember-2017/shredder-redux/ https://lab.cheron.works/webgl-gpgpu-particles/ seem to stop working with the latest iOS update(in Safari and Chrome). Those applications are particle simulations that read from texture(those are high precision textures, which also may be a lead) in vertex shader. I have my own similar application which is also broken. And no error messages in console. Is this a known issue?
Posted
by evteevil6.
Last updated
.