summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/frames.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-29 08:26:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-03-29 08:27:43 -0400
commit43a1641dd725ecb8b3bb2016d04828bbb2b838d0 (patch)
tree2bb26026727f8509898ac1130bd57c0b2337447e /demos/gtk-demo/frames.ui
parent52aea624a617814ef7cfef474a72e07988e50151 (diff)
downloadgtk+-frame-rate-benchmark.tar.gz
Add a frame benchmarkframe-rate-benchmark
This can be used to gauge what fps we can hope for in the best case, on a given system.
Diffstat (limited to 'demos/gtk-demo/frames.ui')
-rw-r--r--demos/gtk-demo/frames.ui24
1 files changed, 24 insertions, 0 deletions
diff --git a/demos/gtk-demo/frames.ui b/demos/gtk-demo/frames.ui
new file mode 100644
index 0000000000..79a27e4f97
--- /dev/null
+++ b/demos/gtk-demo/frames.ui
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <object class="GtkWindow" id="window">
+ <property name="resizable">1</property>
+ <property name="default-width">600</property>
+ <property name="default-height">400</property>
+ <property name="title">Frames</property>
+ <child type="titlebar">
+ <object class="GtkHeaderBar" id="header">
+ <child type="end">
+ <object class="GtkLabel" id="fps">
+ <attributes>
+ <attribute name="font-features" value="tnum=1"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="box">
+ </object>
+ </child>
+ </object>
+</interface>