summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
2024-11-09Wayland: protect against rounding errors in copy_region()ManoloFLTK
2024-11-08Slightly improve member function Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2024-11-08Fix X11: test/checkers drawing artifacts when window is scaled (#1109)ManoloFLTK
2024-10-04Add necessary dirty indicatorManoloFLTK
2024-03-20Use type cairo_region_t* for Fl_Region under Wayland platformManoloFLTK
2024-03-13Update libdecor to upstream commit 4f2c03d5 - cont'dManoloFLTK
2024-01-18Create struct wl_callback_listener ↵ManoloFLTK
*Fl_Wayland_Graphics_Driver::p_surface_frame_listener
2024-01-18Wayland: throttle resize operations also for top-level GL windowsManoloFLTK
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window. This allows frame_cb to be used both for non-GL and for top-level GL windows.
2023-12-28Fix for bug in Mutter Wayland compositor (#878)ManoloFLTK
Mutter implements too strictly this rule expected from compositors about "frame callbacks" : "A server should avoid signaling the frame callbacks if the surface is not visible in any way, e.g. the surface is off-screen, or completely obscured by other opaque surfaces." When a window is being interactively resized, it makes no sense to create a frame callback for an entirely covered surface but then never signal the surface can be redrawn, because this blocks the resize operation. Neither KWin nor Weston have this problem.
2023-11-25Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
Previously, these objects were drawn slightly blurred on HighDPI. This commit has them resized to the pixel size of the area where they are being drawn and then drawn.
2023-11-14Fix dependencies and whitespace issuesAlbrecht Schlosser
2023-11-09Wayland: make fl_close_display() free more resourcesManoloFLTK
2023-11-02Minor change in Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-13Remove obsolete commentsManoloFLTK
2023-10-09Clean long source lines in Fl_Wayland_Graphics_Driver.cxxManoloFLTK
2023-10-09Fix " Wayland compilation warnings" (#788)ManoloFLTK
2023-10-05Wayland: whitespace only changesManoloFLTK
2023-10-03Fix fltk.coredev: mandelbrot demo segfault under WaylandManoloFLTK
2023-09-25New member function Fl_Wayland_Graphics_Driver::create_wld_buffer()ManoloFLTK
The previous member Fl_Wayland_Graphics_Driver::create_shm_buffer() is now renamed to create_wld_buffer() and divided in 2 parts: - one is related to the draw buffer; - the other is related to the wl_buffer and is what is now called create_shm_buffer(). This allows to delay creation of the wl_buffer until absolutely necessary, done inside Fl_Wayland_Graphics_Driver::buffer_commit().
2023-09-22Increase reuse of mmap'ed data by FLTK Wayland buffer factoryManoloFLTK
2023-09-18Step back commit 8248183 that's unsatisfactory while resizing windowsManoloFLTK
2023-09-17Improve reuse of mmap'ed data by Wayland buffersManoloFLTK
2023-08-27Remove useless function prototype declarationManoloFLTK
2023-08-20Remove redundant initialisationManoloFLTK
2023-08-20Create class function Fl_Wayland_Graphics_Driver::custom_offscreen()ManoloFLTK
2023-08-18Improve handling of type Fl_Offscreen under WaylandManoloFLTK
Type Fl_Offscreen is now to be cast to cairo_t*. Also, make sure the dimensions of GL windows are multiples of the screen scale factor.
2023-08-09Wayland: fix fl_read_image() from offscreen bufferManoloFLTK
2023-08-08Wayland: improve layout of struct fl_wld_draw_bufferManoloFLTK
2023-08-08Move repeated code to Fl_Wayland_Graphics_Driver::cairo_init()ManoloFLTK
2023-06-05Improve re-use of client/compositor shared memory by Wayland buffersManoloFLTK
2023-06-01Fix "Huge memory leak under Wayland" (#730)ManoloFLTK
2023-04-23Slightly simpler Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2023-04-13Lower Pango required version from 1.22 to 1.16ManoloFLTK
2023-04-13Standardize API to "graphics context" across platformsManoloFLTK
Rename fl_wl_cairo() to fl_wl_gc() Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
2023-04-10Fix compiler warning [-Wsign-compare]Albrecht Schlosser
2023-04-07Wayland: fix for issue #712 (hopefully)ManoloFLTK
2023-04-05Wayland: limit copied pixels when window update is a regionManoloFLTK
2023-04-04Remove superfluous #include directivesManoloFLTK
2023-04-03Remove unneeded #include directivesManoloFLTK
2023-03-02Add Fl_Wayland_Window_Driver::wld_scale() member functionManoloFLTK
2023-02-14Use libdecor/src/os-compatibility.h to declare os_create_anonymous_file()ManoloFLTK
2022-12-08 Simpler prototype of Fl_Wayland_Graphics_Driver::buffer_commit() member - ↵ManoloFLTK
cont'd
2022-12-08Simplify prototype of Fl_Wayland_Graphics_Driver::buffer_commit() memberManoloFLTK
2022-09-08Wayland: remove memory leak from missing wl_callback_destroy() call.ManoloFLTK
This hopefully corresponds to the memory leak mentioned in fltk.general named "FLTK and Wayland".
2022-08-30Set Fl_Graphics_Driver::set_color(Fl_Color, unsigned) used by macOS, Wayland ↵ManoloFLTK
and display-cairo.
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-07Wayland platform: move repeated code into ↵ManoloFLTK
Fl_Wayland_Graphics_Driver::buffer_commit().
2022-08-06Wayland: make sure wl_surface_frame() is followed by wl_surface_commit().ManoloFLTK