[cairo-bugs] [Bug 48752] [i915 i965 Wayland] dnd start with black blocks against cairo-gl
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 20 08:22:11 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=48752
Ander Conselvan de Oliveira <conselvan2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wayland-bugs at lists.freedesk |cairo-bugs at cairographics.or
|top.org |g
QAContact| |cairo-bugs at cairographics.or
| |g
Product|Wayland |cairo
Version|unspecified |1.12.0
Component|weston |gl backend
--- Comment #5 from Ander Conselvan de Oliveira <conselvan2 at gmail.com> 2012-04-20 08:22:11 PDT ---
(In reply to comment #2)
> The black boxes problem is that since weston commit bad42973 [1], the cairo
> surfaces for the dnd items is created from an wl_egl_window. This surface will
> have an embeded operand of type CAIRO_GL_OPERAND_TEXTURE, but no texture is
> actually created. The end result is that texture 0 is bound on
> _cairo_gl_context_setup_operand().
Moving bug to cairo. The thing that does not work here is doing something like
this:
item_surface = cairo_gl_surface_create_for_egl();
cr = cairo_create(item_surface);
...
cairo_paint(cr);
cairo_destroy(cr);
and later
surface = cairo_gl_surface_create_for_egl();
cr = cairo_create(surface);
...
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
cairo_set_source_surface(cr, item_surface, x, y);
cairo_paint(cr);
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the cairo-bugs
mailing list