gtk/gdk/wayland
Benjamin Otte 182d18bcd1 gdk: Large GL refactoring
No visible changes as GL rendering is disabled at the moment.

What was done:

1. Move window->invalidate_for_new_frame to glcontext->begin_frame
This moves the code to where it is used (the GLContext) and prepares it
for being called where it is used when actually beginning to draw the
frame.

2. Get rid of buffer-age usage
We want to let the application render directly to the backbuffer.
Because of that, we cannot make any assumptions about the contents the
application renders outside the clip area.
In particular GskGLRenderer renders random stuff there but not actual
contents.

3. Pass the actual GL context
Previously, we passed the shared context to end_frame, now we pass the
actual GL context that the application uses for rendering. This is so
that the vfuncs could prepare the actual contexts for rendering (they
don't currently).

4. Simplify the code
The previous code set up the final drawing method in begin_frame.
Instead, we now just ensure the clip area is something we can render
and decide on the actual method in end_frame.
This is both more robust (we can change the clip area in between if we
want to) and less code.
2016-12-05 15:02:47 +01:00
..
protocol wayland: Get tiled state from gtk_shell instead of xdg_shell 2016-08-25 12:31:40 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c Reduce a warning to a message 2016-10-17 19:11:32 -04:00
gdkdevice-wayland.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkdisplay-wayland.c API: Remove gdk_window_process_all_updates() 2016-11-23 19:10:34 +01:00
gdkdisplay-wayland.h wayland: Warn when an application tries to map popup incorrectly 2016-09-02 18:56:03 +08:00
gdkdnd-wayland.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkeventsource.c wayland: Don't warn if we loose the compositor connection 2016-11-30 13:45:04 -05:00
gdkglcontext-wayland.c gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkglcontext-wayland.h gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkkeys-wayland.c wayland: Avoid unitialized memory reads 2016-05-12 11:38:46 -04:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-wayland.h gdk: Remove attributes_mask from gdk_window_new() 2016-11-07 01:33:43 +01:00
gdkscreen-wayland.c wayland: Remove all mentions of visuals 2016-11-04 00:17:57 +01:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c wayland: Add some more debug spew 2016-08-25 00:13:13 -04:00
gdkwayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylanddevice.h wayland: Offer wayland-specific method to set pad actions feedback 2016-08-23 21:01:45 +02:00
gdkwaylanddisplay.h gdkdisplay-wayland: Add API to set startup notification ID 2016-11-09 14:18:14 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h API: wayland: Add gdk_wayland_window_new_subsurface() 2016-11-06 21:36:43 +01:00
gdkwindow-wayland.c gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
Makefile.am gdk: Make GdkDrawingContext not per-backend 2016-11-30 15:52:22 +01:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00