Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

OpenGL ES sync, how to send the completed signal by the CPU?

Through the extension EGL_KHR_fence_sync, we can achieve multi-threaded GPU synchronization by using interfaces such as eglCreateSyncKHR(), eglDestroySyncKHR(), and eglClientWaitSyncKHR(); When the ...
Grady's user avatar
  • 1
0 votes
1 answer
71 views

How to get the frame buffer of current Activity's window surface on GPU side without copy?

I need to get the image of current activiy surface with 30-60 FPS and use it as the source texture in opengl es for rendering. I found the API PixelCopy can copy the window surface to bitmap, but I ...
dragonfly's user avatar
  • 1,219
1 vote
0 answers
10 views

Application crashes with access violation in glWaitSync during multi-monitor configuration changes

Problem Description: My Qt Windows application crashes when changing display configurations (e.g. resolution changes, multi-monitor setup modifications). The crash occurs specifically in a ...
wenshu wu's user avatar
-1 votes
0 answers
19 views

GLES 2:0 EGL configuration failed error in mobaxterm

I'm facing this error when I tired to run a exe of crank in MobaXterm- errors: GLES 2.0: EGL Configuration failed & can't initialize the display. The same exe if I try running in Linux desktop I'm ...
Sri's user avatar
  • 1
0 votes
0 answers
32 views

Is there any difference in sampling when using TEXTURE_MIN_LOD with -1000, -1, or 0?

Is there any difference in the sampling result of a texture when TEXTURE_MIN_LOD is set to -1000 (the default) or -1 or 0? To ask it another way, what is the point of allowing TEXTURE_MIN_LOD < 0? ...
samanthaj's user avatar
  • 671
0 votes
0 answers
30 views

Capture camera video feed with webview overlay like prism live

I am wondering how to capture the video feed from camera, add a webview overlay then encode the feed with overlay to mp4 in real time? I am not an android developer, I know this is very complicated, ...
The MW's user avatar
  • 435
1 vote
0 answers
25 views

Use a custom Surface to render CameraX's Preview data

I'm using the CameraX component in Android, and according to the Android documentation, I can use Preview.setSurfaceProvider() to set up the rendering interface. However, I do not want to render it on ...
duan danny's user avatar
2 votes
1 answer
68 views

How to Load OpenGL Textures in a Background Thread Without Slowing Down the Main Thread?

I'm developing a native mobile application that renders textures on an OpenGL surface. The goal is to maintain a smooth scrolling experience, similar to how Instagram loads images. Current ...
zeus's user avatar
  • 13.1k
3 votes
2 answers
321 views

SDL3 fails to create OpenGL ES 2.0 context?

I am working on an OpenGL project using the SDL3 and OpenGL ES 2.0. For the moment, I have a basic code which creates a window with the drawing of a triangle. The issue here is that the glCreateShader(...
Josué Pedrajas Pérez's user avatar
0 votes
1 answer
14 views

Is partial OpenGLES rendering of Window possible if window is located half 1st monitor and half on 2nd monitor?

Imagine single Window is located on dual monitor system (XOrg), half displayed on 1st monitor and other half on 2nd monitor. Window is rendered using OpenGLES. Update area on Window is not big and ...
nckm's user avatar
  • 133
-1 votes
2 answers
52 views

GL11Ext glDrawTexiOES throws INVALID_OPERATION exception for some devices

I use glDrawTexiOES for a Live Wallpaper. This command just draw a bitmap by a texture every second. It is works fine on 99.9% of devices. But other throws INVALID_OPERATION exceptions. I can not ...
Style-7's user avatar
  • 1,258
0 votes
1 answer
24 views

Android Open GL ES2 Incorrect background pixels alpha-blended

Using Open GL ES2 on Android I am rendering textures into a texture and for some insane reason my semi-transparent texels are getting alpha blended with pixels at an offset from the destination pixel. ...
Matt Ault's user avatar
0 votes
2 answers
51 views

How to avoid memory leak reusing Position, Normal, and Texture Buffers in OpenGL

Trees are expensive to draw in OpenGL in time and space. Currently I'm experimenting with creating and drawing a grid of a few dozen trees at a time, which gets recreated regularly as the character ...
Androidcoder's user avatar
  • 4,699
0 votes
0 answers
24 views

Uncaught TypeError: Cannot read properties of undefined (reading 'ccall')

I had a web Project that used Emscripten to build c++ Code and use "Module.ccall.." to call my c++ function, the main feature is to render by using OpenGL ES, now I want to add MediaPipe's ...
David Shiu's user avatar
-1 votes
2 answers
63 views

How to set uniform in 320 es glsl shader?

I got following glsl vertex shader: #version 320 es // Set default precision to medium precision highp int; precision mediump float; layout(binding = 0) uniform Projection ...
BЈовић's user avatar
  • 64.3k

15 30 50 per page
1
2 3 4 5
936