[client] egl: revert "only copy damaged areas when using dmabuf"

This reverts commit a14de25661.
Frame is sometimes incorrect.
This commit is contained in:
Quantum
2021-07-18 04:42:48 -04:00
committed by Geoffrey McRae
parent a14de25661
commit c6a6230a56
7 changed files with 18 additions and 35 deletions

View File

@@ -23,7 +23,6 @@
#include <stdbool.h>
#include "shader.h"
#include "common/framebuffer.h"
#include "common/types.h"
#include <GL/gl.h>
#include <EGL/egl.h>
@@ -53,7 +52,7 @@ void egl_texture_free(EGL_Texture ** tex);
bool egl_texture_setup (EGL_Texture * texture, enum EGL_PixelFormat pixfmt, size_t width, size_t height, size_t stride, bool streaming, bool useDMA);
bool egl_texture_update (EGL_Texture * texture, const uint8_t * buffer);
bool egl_texture_update_from_frame(EGL_Texture * texture, const FrameBuffer * frame);
bool egl_texture_update_from_dma (EGL_Texture * texture, const FrameBuffer * frmame, const int dmaFd, const FrameDamageRect * rects, int rectsCount);
bool egl_texture_update_from_dma (EGL_Texture * texture, const FrameBuffer * frmame, const int dmaFd);
enum EGL_TexStatus egl_texture_process(EGL_Texture * texture);
enum EGL_TexStatus egl_texture_bind (EGL_Texture * texture);
int egl_texture_count (EGL_Texture * texture);