[client] egl: re-implement DMABUF (untested)

This commit is contained in:
Geoffrey McRae
2021-08-03 03:58:30 +10:00
parent bae19cb130
commit f3413815a9
7 changed files with 249 additions and 70 deletions

View File

@@ -25,9 +25,9 @@
#include "texture_buffer.h"
#include "common/debug.h"
static bool eglTexFB_update(EGL_Texture * texture_, const EGL_TexUpdate * update)
static bool eglTexFB_update(EGL_Texture * texture, const EGL_TexUpdate * update)
{
TextureBuffer * this = UPCAST(TextureBuffer, texture_);
TextureBuffer * this = UPCAST(TextureBuffer, texture);
assert(update->type == EGL_TEXTYPE_FRAMEBUFFER);
LG_LOCK(this->copyLock);