summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
AgeCommit message (Collapse)Author
4 dayswip: forkmaxim nikonov
2024-03-20Use type cairo_region_t* for Fl_Region under Wayland platformManoloFLTK
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-26Wld: export only member functions for ./configure --enable-shared (#872)ManoloFLTK
2023-12-20Restore "configure --enable-shared" under Linux (#872)ManoloFLTK
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-09Wayland: make fl_close_display() free more resourcesManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-09Fix " Wayland compilation warnings" (#788)ManoloFLTK
2023-10-05Wayland: whitespace only changesManoloFLTK
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-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-08Wayland: improve layout of struct fl_wld_draw_bufferManoloFLTK
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-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-05Wayland: limit copied pixels when window update is a regionManoloFLTK
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
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-20Remove FL_EXPORT qualifier from platform-specific class declarations.ManoloFLTK
2022-08-07Wayland platform: move repeated code into ↵ManoloFLTK
Fl_Wayland_Graphics_Driver::buffer_commit().
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2022-05-07Change protection levels in classes Fl_XXX_Gl_Window_DriverManoloFLTK
2022-04-25Create member function Fl_Cairo_Graphics_Driver::set_cairo().ManoloFLTK
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-31Add support of Fl_Region to the Cairo graphics driverManoloFLTK
and remove it from the Wayland graphics driver.
2022-03-15Fix for issue #410ManoloFLTK
2022-03-09Move all font stuff to Fl_Cairo_Graphics_Driver from Fl_Wayland_Graphics_Driver.ManoloFLTK
2022-03-06Complete class Fl_Cairo_Graphics_Driver using Fl_Wayland_Graphics_DriverManoloFLTK
2022-03-04Add the Wayland platform to FLTK 1.4ManoloFLTK