| 20 | |
| 21 | EDIT: |
| 22 | actually, the following patch seems to do what we expect : |
| 23 | |
| 24 | {{{ |
| 25 | --- a/src/xpra/gl/gl_window_backing.py |
| 26 | +++ b/src/xpra/gl/gl_window_backing.py |
| 27 | @@ -133,6 +133,9 @@ class GLPixmapBacking(PixmapBacking): |
| 28 | self.gl_end(drawable) |
| 29 | |
| 30 | def _do_paint_rgb24(self, img_data, x, y, w, h, rowstride, options, callbacks): |
| 31 | + gc = self.glarea.window.new_gc() |
| 32 | + self.glarea.window.draw_rgb_image(gc, x, y, w, h, gdk.RGB_DITHER_NONE, img_data, rowstride) |
| 33 | + return |
| 34 | log("do_paint_rgb24(%s bytes, %s, %s, %s, %s, %s, %s, %s)", len(img_data), x, y, w, h, rowstride, options, callbacks) |
| 35 | ww, wh = self.size |
| 36 | if x+w>ww or y+h>wh: |
| 37 | }}} |
| 38 | |
| 39 | Will you please test, confirm, and cleanup? |
| 40 | |
| 41 | Thanks! |