| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Fl_Wayland_System_Driver::disable_wayland().
|
|
|
|
|
|
|
|
|
|
and display-cairo.
|
|
Calling fl_disable_wayland() at runtime must have highest priority
before environment variables are considered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The problem is that the app sometimes stops after closing a file dialog window.
It results in fact from a bug in function draw_title_bar of libdecor-gtk.c that erroneously
calls libdecor_frame_set_max_content_size(). This bug is being proposed to be fixed
by a MR to libdecor.
But moving the libdecor_frame_set_min/max_content_size() calls after the capability changes
hides the bug, and the problem with file dialog doesn't show.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicting demands arise in the implementation of class Fl_Xlib_Graphics_Driver
for drawing images with the XRender library :
1) Issue #163 leads to use a bilinear filter to draw-and-scale images.
2) This tends to blur the edges of drawn areas which is bad for tiled images
(that is because the edges get alpha values, even for an opaque source image).
This commit resolves the conflict adding a means to detect whether the library
is busy drawing a tiled image. If so, the bilinear filter is not applied, drawn areas
don't have blurred edges, resulting in a nice tiling.
With this commit, these test apps perform correctly:
- tiled_image is correct at all scaling factor values also when modified
to use a depth-3 or a depth-4 Fl_RGB_Image as tile;
- unittests - Drawing Images is correct at all scaling factor values;
- pixmap_browser scales correctly up and down JPEG and PNG images.
|
|
Modifying test/tiled_image to make it use a depth-3 image for
tiling (rather than an Fl_Pixmap) shows the filter does require
to use PictOpOver as the render op in the XRenderComposite call.
|
|
|
|
|
|
Fl_Wayland_Graphics_Driver::buffer_commit().
|
|
|
|
|
|
|
|
|
|
sequences.
|
|
|
|
|
|
|
|
|
|
under USE_XFT=1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|