| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This will actually make it resize on-demand, as the default size is the
size used when computing the window size when the size is not fixed.
|
|
|
|
|
|
| |
This will not work on X11 because it's too late to resize, due to
resizing being asynchronous i.e. it won't be complete before we need to
draw.
|
|
|
|
|
| |
This means the window needs to be marked as non-resizable, otherwise it
won't shrink.
|
|
|
|
| |
Applications can use the listmodel instead.
|
|
|
|
|
| |
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
|
| |
|
|
|
|
| |
Replace these calls with direct use of GMainContext api.
|
|
|
|
|
|
|
|
| |
We only have implementations of this on X11 and Win32,
so make it available as backend api there.
Update all callers to use either the backend api, or
just monitor 0.
|
|
|
|
| |
This api is going away.
|
|
|
|
| |
It is going away.
|
|
|
|
| |
We can use the ::map signal here instead.
|
| |
|
|
|
|
| |
Adapt all our tests and examples to the new initialization api.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When we connect to GtkWidget::draw, the signal handler should have
a return value. This fixes overdrawing client-side decorations.
|
|
|
|
|
| |
Split the code for computing frame rate and latency into a separate file
so we can use it from multiple tests.
|
|
|
|
|
| |
Document that G_SOURCE_CONTINUE and G_SOURCE_REMOVE are the preferred
return values from a tick callback.
|
| |
|
|
|
|
|
|
| |
Now that GdkFrameClock is a class, not interface, there's no real advantage
to splitting the frame history into an aggregate object, so directly
merge it into GdkFrameClock.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a very simple GtkWidget function for an "tick" callback, which
is connected to the ::update signal of GdkFrameClock.
Remove:
- GtkTimeline. The consensus is that it is too complex.
- GdkPaintClockTarget. In the rare cases where tick callbacks
aren't sufficient, it's possible to track the
paint clock with ::realize/::unrealize/::hierarchy-changed.
GtkTimeline is kept using ::update directly to allow using a GtkTimeline
with a paint clock but no widget.
|
|
|
|
|
|
|
|
|
| |
Show the average and standard deviation of the latency in addition to
the frame rate. Add options to print the output in machine-readable form,
and to control the frequency and total number of statistics that will be
output.
https://bugzilla.gnome.org/show_bug.cgi?id=685460
|
|
|
|
|
|
|
| |
Clean up the code with a #define for circle size. This also allows
determining we're throttled by number-of-requests or number-of-pixels.
https://bugzilla.gnome.org/show_bug.cgi?id=685460
|
|
Add a test of a window with an animated size and contents. The
test accepts load factor command line argument to see how things
work as the drawing of the content requires more GPU resources.
https://bugzilla.gnome.org/show_bug.cgi?id=685460
|