summaryrefslogtreecommitdiff
path: root/gdk/gdkframeclock.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-11-24 23:18:42 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 09:46:39 +0100
commit4779e4e488ef3b3d0ab0937e9da518ab8e7f45b3 (patch)
treecf17319cf4208557d66b5dc9edd751546ebf71f5 /gdk/gdkframeclock.h
parent13931463bd9696036786e251d01910faa3234be5 (diff)
downloadgtk+-4779e4e488ef3b3d0ab0937e9da518ab8e7f45b3.tar.gz
gdk/frame-clock: Remove the newly added 'compute-size' phase
What was previously done in the layout phase is now done in response to a GdkSurface signal, which means size computation can happen on layout.
Diffstat (limited to 'gdk/gdkframeclock.h')
-rw-r--r--gdk/gdkframeclock.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdk/gdkframeclock.h b/gdk/gdkframeclock.h
index dfe0c23747..f50512c150 100644
--- a/gdk/gdkframeclock.h
+++ b/gdk/gdkframeclock.h
@@ -50,8 +50,7 @@ typedef struct _GdkFrameClockClass GdkFrameClockClass;
* @GDK_FRAME_CLOCK_PHASE_FLUSH_EVENTS: corresponds to GdkFrameClock::flush-events. Should not be handled by applications.
* @GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT: corresponds to GdkFrameClock::before-paint. Should not be handled by applications.
* @GDK_FRAME_CLOCK_PHASE_UPDATE: corresponds to GdkFrameClock::update.
- * @GDK_FRAME_CLOCK_PHASE_COMPUTE_SIZE: corresponds to GdkFrameClock::compute-size. Should not be handled by applications.
- * @GDK_FRAME_CLOCK_PHASE_LAYOUT: corresponds to GdkFrameClock::layout.
+ * @GDK_FRAME_CLOCK_PHASE_LAYOUT: corresponds to GdkFrameClock::layout. Should not be handled by applicatiosn.
* @GDK_FRAME_CLOCK_PHASE_PAINT: corresponds to GdkFrameClock::paint.
* @GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS: corresponds to GdkFrameClock::resume-events. Should not be handled by applications.
* @GDK_FRAME_CLOCK_PHASE_AFTER_PAINT: corresponds to GdkFrameClock::after-paint. Should not be handled by applications.
@@ -65,11 +64,10 @@ typedef enum {
GDK_FRAME_CLOCK_PHASE_FLUSH_EVENTS = 1 << 0,
GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT = 1 << 1,
GDK_FRAME_CLOCK_PHASE_UPDATE = 1 << 2,
- GDK_FRAME_CLOCK_PHASE_COMPUTE_SIZE = 1 << 3,
- GDK_FRAME_CLOCK_PHASE_LAYOUT = 1 << 4,
- GDK_FRAME_CLOCK_PHASE_PAINT = 1 << 5,
- GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS = 1 << 6,
- GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 7
+ GDK_FRAME_CLOCK_PHASE_LAYOUT = 1 << 3,
+ GDK_FRAME_CLOCK_PHASE_PAINT = 1 << 4,
+ GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS = 1 << 5,
+ GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
} GdkFrameClockPhase;
GDK_AVAILABLE_IN_ALL