[client] egl: revert glsync changes

`process` and `bind` are called from the same thread in order, there is
no need for atomic usage here.

This reverts commit 3d7dbd6371.
This reverts commit b3db1ba10b.
This commit is contained in:
Geoffrey McRae
2021-08-08 09:44:38 +10:00
parent e949f2f8d2
commit 037b76750a
2 changed files with 23 additions and 22 deletions

View File

@@ -31,16 +31,16 @@ typedef struct TextureBuffer
EGL_Texture base;
bool free;
EGL_TexFormat format;
int texCount;
GLuint tex[EGL_TEX_BUFFER_MAX];
GLuint sampler;
EGL_TexBuffer buf[EGL_TEX_BUFFER_MAX];
int bufFree;
_Atomic(GLsync) sync;
LG_Lock copyLock;
int bufIndex;
int rIndex;
EGL_TexFormat format;
int texCount;
GLuint tex[EGL_TEX_BUFFER_MAX];
GLuint sampler;
EGL_TexBuffer buf[EGL_TEX_BUFFER_MAX];
int bufFree;
GLsync sync;
LG_Lock copyLock;
int bufIndex;
int rIndex;
}
TextureBuffer;