fltk/src/drivers/Xlib
ManoloFLTK b8c227a8f2 Fix Fl_Xlib_Graphics_Driver for drawing tiled images.
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.
2022-08-10 10:53:29 +02:00
..
Fl_Font.H
Fl_Xlib_Copy_Surface_Driver.cxx Separate platform init functions from platform-specific driver files 2022-03-13 08:56:35 +01:00
Fl_Xlib_Copy_Surface_Driver.H Separate platform init functions from platform-specific driver files 2022-03-13 08:56:35 +01:00
Fl_Xlib_Graphics_Driver_arci.cxx
Fl_Xlib_Graphics_Driver_color.cxx Fix for issue #254: remove hardware overlay support . 2021-11-26 15:16:15 +01:00
Fl_Xlib_Graphics_Driver_font_x.cxx Move initialisation of X11 and Wayland built-in font names to fl_???_platform_init.cxx 2022-03-14 15:28:38 +01:00
Fl_Xlib_Graphics_Driver_font_xft.cxx Remove redundant Fl_Xlib_Graphics_Driver::scale_bitmap_for_PostScript() under USE_XFT=1. 2022-07-26 10:01:51 +02:00
Fl_Xlib_Graphics_Driver_image.cxx Fix Fl_Xlib_Graphics_Driver for drawing tiled images. 2022-08-10 10:53:29 +02:00
Fl_Xlib_Graphics_Driver_line_style.cxx
Fl_Xlib_Graphics_Driver_rect.cxx
Fl_Xlib_Graphics_Driver_vertex.cxx Avoid using same name (p) for distinct members of derived classes. 2022-03-21 15:56:50 +01:00
Fl_Xlib_Graphics_Driver.cxx Move input method support to Fl_Screen_Driver from Fl_Graphics_Driver 2022-06-19 10:23:24 +02:00
Fl_Xlib_Graphics_Driver.H Remove redundant Fl_Xlib_Graphics_Driver::scale_bitmap_for_PostScript() under USE_XFT=1. 2022-07-26 10:01:51 +02:00
Fl_Xlib_Image_Surface_Driver.cxx Separate platform init functions from platform-specific driver files 2022-03-13 08:56:35 +01:00
Fl_Xlib_Image_Surface_Driver.H Separate platform init functions from platform-specific driver files 2022-03-13 08:56:35 +01:00