summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gl renderer: handle cross-fade nodes with invisible childrenwip/baedert/gl-reworkTimm Bäder2020-01-231-2/+12
|
* gl renderer: Handle blur nodes with invisible childrenTimm Bäder2020-01-231-0/+3
|
* gl renderer: Make render_rounded_clip_node clearerTimm Bäder2020-01-231-13/+13
|
* testsuite: Add test cases for last commitTimm Bäder2020-01-235-0/+26
| | | | Easy enough to test
* gl renderer: Add builder offset correctly for non-affine modelviewsTimm Bäder2020-01-231-3/+5
|
* GskTransform: Add gsk_transform_transform_point()Timm Bäder2020-01-232-0/+61
| | | | | Equivalent of gsk_transform_transform_bounds() and graphene_matrix_transform_point() respectively.
* gl renderer: Shorten shaders a bitTimm Bäder2020-01-232-11/+3
|
* cssimageicontheme: Avoid copying colorsTimm Bäder2020-01-231-9/+10
|
* cssimagepaintable: Implement is_computed()Timm Bäder2020-01-231-0/+9
|
* cssimagescaled: Implement is_computed()Timm Bäder2020-01-231-0/+10
|
* cssimagerecolor: Implement is_computed()Timm Bäder2020-01-231-0/+10
|
* gl renderer: Move rect transformation to the vertex shaderTimm Bäder2020-01-2311-130/+181
| | | | No need to do this for every fragment.
* gl renderer: Transform rounded rect on the GPUTimm Bäder2020-01-236-69/+94
| | | | | Change the RoundedRect struct we use in our shaders so we can transform it using (affine) matrices.
* Ensure icon themes are loaded with other themesMatthias Clasen2020-01-223-7/+13
| | | | | | Trigger icon theme loading from the code in GtkApplication where we set up the icon theme search path. This makes it happen before the first frame.
* icontheme: Add profiler marks around icon theme loadingMatthias Clasen2020-01-221-0/+4
| | | | This is happening during the first frame.
* iconhelper: Add profiler marks around icon loadingMatthias Clasen2020-01-221-0/+11
| | | | | These mainly happen during the first frame, causing it to be longer than 'normal' frames.
* css: Add a profiler mark around theme loadingMatthias Clasen2020-01-221-0/+10
| | | | This is also time spent before the first frame.
* application: Add some profiler marksMatthias Clasen2020-01-221-0/+8
| | | | | | Add marks around gtk_init and application startup helps to understand where the time before the first frame goes.
* gdk: Add a profiler mark for paint_idleMatthias Clasen2020-01-221-0/+4
| | | | | | This is the big frame clock function where most signals are emitted, and it can keep us away from the mainloop for a long time.
* wayland: Add a mark for cursor loadingMatthias Clasen2020-01-221-0/+8
| | | | This is much too slow.
* More profiler reshufflingMatthias Clasen2020-01-223-30/+9
| | | | Add more of the marks without requiring a debug build.
* gtk: Clearer names for profiler marksMatthias Clasen2020-01-222-3/+3
| | | | Naming matters. Don't be overly generic here.
* gl: Disambiguate profiler marksMatthias Clasen2020-01-221-1/+1
| | | | "render" was used for both GL and widgets. Oops.
* surface: Always dd events to the profiler traceMatthias Clasen2020-01-221-6/+0
| | | | We want to get this data for release builds as well.
* frame clock: Redo the profiler marksMatthias Clasen2020-01-222-6/+52
| | | | | | Instead of reporting the frame clock phases as defined, report the duration of the signal emissions, which is more useful for tracking down what is taking time.
* ci: Save syscap files from performance testsMatthias Clasen2020-01-223-7/+56
| | | | They might become useful at some point.
* window: Rename a profiler markMatthias Clasen2020-01-221-1/+1
| | | | | The "layout" name was already taken for the frame clock phase by that name. Oops.
* wayland: Add profiler marks around surface handlingMatthias Clasen2020-01-222-0/+6
| | | | | | | Add marks for when we do commits, swap buffer or receive frame events. These are the low-level start and end points of the frame cycle, and it is useful to see them in the profiler.
* surface: Add enter/leave events to profiler tracesMatthias Clasen2020-01-221-0/+3
| | | | | These are just as likely to trigger extra work than other mouse events, so it is useful to show them.
* icontheme: Add profiler marks for loading iconsMatthias Clasen2020-01-221-0/+3
| | | | | This helps to clearly identify the places where we do IO, in profiler traces.
* Update Japanese translationsicklylife2020-01-221-34/+26
|
* Update Japanese translationsicklylife2020-01-221-555/+572
|
* Merge branch 'wip/jimmac/typography-classes' into 'master'Matthias Clasen2020-01-221-8/+24
|\ | | | | | | | | | | | | Adwaita: general typography classes Closes #1808 See merge request GNOME/gtk!1339
| * Adwaita: general typography classesJakub Steiner2020-01-221-8/+24
|/ | | | | | | | - many moons and some iterations later, these are the suggested general typographic styles. Already being referenced in apps like Banner Viewer (for now shipping custom definitions) Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1808
* testsuite: Move the meson performance tests upMatthias Clasen2020-01-222-16/+16
| | | | | Since the binary is moved, there is no need for the subdirectory here anymore.
* Make the performance testcase more generalMatthias Clasen2020-01-225-4/+33
| | | | Reuse the performance test for layout and snapshot timings.
* css: Make performance test more flexibleMatthias Clasen2020-01-221-1/+3
| | | | | Allow to specify the name of the mark that we're looking for the first instance of.
* widget: Add profiler marksMatthias Clasen2020-01-211-0/+16
| | | | | This gives high-level entries for the duration of snapshotting and layout in the frame cycle.
* window: Add a profiler mark around size allocationMatthias Clasen2020-01-211-0/+9
| | | | | This give a high-level entry for the duration of size allocation in the frame cycle.
* container: Remove an unnecessary checkMatthias Clasen2020-01-211-3/+1
| | | | | GtkWindow implements GtkRoot, so we can avoid treating them separately.
* Merge branch 'matthiasc/perf-tests' into 'master'Matthias Clasen2020-01-2211-18/+317
|\ | | | | | | | | Performance tests See merge request GNOME/gtk!1338
| * testsuite: Make performance test failMatthias Clasen2020-01-211-0/+3
| | | | | | | | | | If a child process exits unsuccessfully, make the performance test fail.
| * testsuite: Point performance tests at uninstalled schemasMatthias Clasen2020-01-211-1/+2
| | | | | | | | widget-factory won't run otherwise.
| * Use the v9 image for ci runsMatthias Clasen2020-01-211-1/+1
| | | | | | | | | | The v9 image add sysprof-devel, so we can build and run performance tests using libsysprof.
| * ci: Build with profiler supportMatthias Clasen2020-01-211-0/+1
| | | | | | | | This will let us run sysprof-based performance tests.
| * ci: Add sysprof-devel to the imageMatthias Clasen2020-01-211-0/+1
| | | | | | | | We need it to build with profiler support.
| * Fix testsuite without -Dprofiler=trueMatthias Clasen2020-01-212-10/+12
| | | | | | | | Only build and run the performance tests if we have sysprof.
| * Run the css performance test in the testsuiteMatthias Clasen2020-01-213-0/+148
| | | | | | | | The numbers just end up in the testlog for now.
| * Prototype a sysprof helperMatthias Clasen2020-01-212-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an attempt to see how we can use sysprof data in our tests to extract useful performance numbers. Use it as a wrapper around any GTK+ process: ./testperf ./gtk4-widget-factory Currently, it repeatedly runs the given commandline, extracts the first css validation time from the resulting syscap file, and prints out the min/max/avg of the runs at the end. This relies on the environment variable GTK_DEBUG_AUTO_QUIT to cause the process to exit soon after launch.
| * widget-factory: Add a way to quit automaticallyMatthias Clasen2020-01-211-0/+10
| | | | | | | | This can be used to measure startup cost in tests.