mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-01 03:53:37 +00:00
[client] egl: replace monolithic EGLTexture with modular version
The way things were handled in EGLTexture is not only very hard to follow, but broken. This change set breaks up EGLTexture into a modular design making it easier to implement the various versions. Note that DMABUF is currently broken and needs to be re-implemented.
This commit is contained in:
parent
e23144aecd
commit
13d9c84dc9
19 changed files with 910 additions and 583 deletions
|
@ -357,7 +357,7 @@ bool opengl_on_mouse_event(void * opaque, const bool visible, const int x, const
|
|||
return false;
|
||||
}
|
||||
|
||||
bool opengl_on_frame_format(void * opaque, const LG_RendererFormat format, bool useDMA)
|
||||
bool opengl_on_frame_format(void * opaque, const LG_RendererFormat format)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
|
||||
|
@ -393,7 +393,7 @@ bool opengl_on_frame(void * opaque, const FrameBuffer * frame, int dmaFd,
|
|||
return true;
|
||||
}
|
||||
|
||||
bool opengl_render_startup(void * opaque)
|
||||
bool opengl_render_startup(void * opaque, bool useDMA)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue