diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-20 11:23:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-20 16:42:36 +0100 |
commit | 30af78f0db16b9f51666341c9dad0123ccf8ac85 (patch) | |
tree | 3ba675724f8dd2a0785eb6891ba6e870f19d7961 /meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch | |
parent | e9a6df98458d9147227659d3888eff01589f2f76 (diff) | |
download | openembedded-core-30af78f0db16b9f51666341c9dad0123ccf8ac85.tar.gz openembedded-core-30af78f0db16b9f51666341c9dad0123ccf8ac85.tar.bz2 openembedded-core-30af78f0db16b9f51666341c9dad0123ccf8ac85.zip |
qemu-git: Drop GL passthrough support
These patches are a maintenance nightmare and impacting our abaility to
keep up to date with qemu. They are also a source of various bugs.
Remove them until someone is willing to step up and maintain them,
or upstream gains GL support.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch b/meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch deleted file mode 100644 index 837af5b9b6..0000000000 --- a/meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch +++ /dev/null @@ -1,65 +0,0 @@ -Allow releasing the GLXContext/Drawable with glXMakeCurrent. - ---- -commit d942ed4e853e08d2298f3e11e9a952c1d952bff5 -tree f0a934efd8a8ff48e2d96f0d6fc7d70bef106bfe -parent 93619e6be184f8de08759d347825ee0d678a6f9c -author Andrzej Zaborowski <andrew.zaborowski@intel.com> Tue, 16 Jun 2009 22:22:05 +0200 -committer Andrzej Zaborowski <andrew.zaborowski@intel.com> Tue, 16 Jun 2009 22:22:05 +0200 - - target-i386/opengl_exec.c | 31 ++++++++++++++++--------------- - 1 files changed, 16 insertions(+), 15 deletions(-) - -Upstream-Status: Inappropriate [configuration] - -Index: qemu-0.14.0/target-i386/opengl_exec.c -=================================================================== ---- qemu-0.14.0.orig/target-i386/opengl_exec.c -+++ qemu-0.14.0/target-i386/opengl_exec.c -@@ -1600,10 +1600,9 @@ int do_function_call(int func_number, ar - fprintf(stderr, "client_drawable=%p fake_ctx=%d\n", - (void *) client_drawable, fake_ctxt); - -- if (client_drawable == 0 && fake_ctxt == 0) { -+ if (client_drawable == 0 && fake_ctxt == 0) - ret_int = glXMakeCurrent(dpy, 0, NULL); -- process->current_state = &process->default_state; -- } else if ((drawable = (GLXDrawable) -+ else if ((drawable = (GLXDrawable) - get_association_fakepbuffer_pbuffer( - process, client_drawable))) { - GLXContext ctxt = get_association_fakecontext_glxcontext( -@@ -1651,19 +1650,21 @@ int do_function_call(int func_number, ar - } - - if (ret_int) { -- for (i = 0; i < process->nb_states; i ++) { -- if (process->glstates[i]->fake_ctxt == fake_ctxt) { -- /* HACK !!! REMOVE */ -- process->current_state = process->glstates[i]; -- process->current_state->drawable = drawable; -- break; -- } -- } -+ if (fake_ctxt) { -+ for (i = 0; i < process->nb_states; i ++) -+ if (process->glstates[i]->fake_ctxt == fake_ctxt) { -+ /* HACK !!! REMOVE */ -+ process->current_state = process->glstates[i]; -+ process->current_state->drawable = drawable; -+ break; -+ } - -- if (i == process->nb_states) { -- fprintf(stderr, "error remembering the new context\n"); -- exit(-1); -- } -+ if (i == process->nb_states) { -+ fprintf(stderr, "error remembering the new context\n"); -+ exit(-1); -+ } -+ } else -+ process->current_state = &process->default_state; - } - break; - } |