Timm Bäder
ad1f5fe61a
box: Remove size_allocate_no_center
...
GtkBox never has a center widget these days.
2017-09-29 10:49:41 +02:00
Timm Bäder
f38555712b
adwaita: Remove outlines from focused entries for now
2017-09-29 09:23:56 +02:00
Matthias Clasen
5d698c1452
Recorder: Add details for inset and outset shadow nodes
2017-09-28 21:41:24 -04:00
Matthias Clasen
9e2e6c1115
gsk: Fix a typo
...
Repeating linear gradient nodes share most of the implementation
with linear gradient nodes, but they shouldn't share the class name.
2017-09-28 21:06:52 -04:00
Matthias Clasen
352b566179
Recorder: Show details about linear gradient nodes
2017-09-28 21:06:35 -04:00
Matthias Clasen
89261d18c2
Recorder: Show details of blur nodes
2017-09-28 19:48:42 -04:00
Matthias Clasen
5e4f7301d6
recorder: Show details for blend nodes
2017-09-28 19:40:03 -04:00
Matthias Clasen
e45ab76664
gsk: remove gsk_blend_node_get_blend_mode from public api
...
We don't have any other such getters in the public api at
this point, so leave this one out as well.
2017-09-28 19:39:16 -04:00
Matthias Clasen
0d8b2535d8
Recorder: Show details of crossfade nodes
2017-09-28 19:20:25 -04:00
Matthias Clasen
2d5a121c3c
recorder: Show details for opacity nodes
2017-09-28 19:14:32 -04:00
Matthias Clasen
9e9df66b81
Recorder: Show details of border nodes
2017-09-28 18:58:18 -04:00
Matthias Clasen
ae549c6ce4
recorder: Put text color in the right row
...
It ended up in the wrong place by accident.
2017-09-28 18:41:39 -04:00
Matthias Clasen
cddf415cbb
Recorder: Show colors visually for text too
...
Just because we can do it.
2017-09-28 18:37:47 -04:00
Matthias Clasen
2da234d70d
Reshuffle the recorder ui a bit
...
Make it possible to see the properties and the rendering at
the same time, it makes navigating easier.
2017-09-28 18:37:00 -04:00
Matthias Clasen
e58ee9ad52
recorder: Show surfaces and textures
...
This makes the properties list much more interesting.
2017-09-28 18:17:38 -04:00
Matthias Clasen
65bfdf4b15
recorder: Show text node properties
2017-09-28 17:16:41 -04:00
Matthias Clasen
149dd1f558
recorder: show color information for color nodes
...
A first step towards showing more information for render nodes.
2017-09-28 15:54:30 -04:00
Timm Bäder
29a4f0ce1f
Plug some memory leaks
...
Make sure the scroll controllers in GtkComboBox and GtkScrolledWindow
get destroyed.
2017-09-28 20:01:01 +02:00
Timm Bäder
29dd0a940e
GdkEvent: OWNER_CHANGE events have a selection as well
2017-09-28 20:01:01 +02:00
Timm Bäder
74ce20451f
GdkEvent: Unref user_data in free
...
gdk_event_set_user_data refs it and this was creating pretty bad leaks.
2017-09-28 20:01:01 +02:00
Matthias Clasen
535529ca98
vulkan: Measure gpu time
...
Since this value is only meaningful if we wait for the rendering
to end, we only keep this timer if GSK_RENDERING_MODE=sync is
enabled.
2017-09-28 10:29:16 -04:00
Matthias Clasen
72d043d51f
gsk: Change the profiler setup
...
Move away from the idea of intra-frame sampling, since we only
push samples once per frame, anyway. Instead, make the profiler
keep a rolling average of the last n frames.
2017-09-28 10:26:01 -04:00
Matthias Clasen
767966933d
gsk: Redo the sampling in the profiler
...
Reset the min/max/average counters before calculating,
and only print the values if we have samples. In addition,
print the number of samples.
2017-09-28 10:25:49 -04:00
Matthias Clasen
4d8e7d71ca
gsk: Add a profile counter for vulkan render passes
...
This is interesting now that we have multiple render passes.
2017-09-28 08:39:22 -04:00
Matthias Clasen
d61a715909
vulkan: Implement multiple render passes
...
Whenever we need a node as a texture, we now start a new render
pass that renders the node into a new intermediate texture, and
set up a semaphore to make the current render pass wait for it.
As part of this reorganization, much of the setup and drawing
code moved from gskvulkanrender.c to gskvulkanrenderpass.c.
2017-09-28 08:39:22 -04:00
Matthias Clasen
cbf897ab22
Add an api to get the vertex data for a render pass
2017-09-28 08:39:22 -04:00
Matthias Clasen
85e4e0672a
Add semaphores to the command buffer submit api
...
Allow to pass in semaphores to wait for before executing
and to signal after executing the command buffer. This
just exposes the capabilities of the underlying Vulkan
api. Update all callers to pass no semaphores, for now.
We will use this in the future.
2017-09-28 08:39:22 -04:00
Matthias Clasen
ff188f6bf0
Add an api to create intermediate textures
...
The new function creates a vulkan image that is suitable for
use as a framebuffer to render to and as a texture to read from.
2017-09-28 08:39:22 -04:00
Piotr Drąg
91bb86ca20
inspector: Mark missing strings for translation
2017-09-28 14:01:57 +02:00
Sam Thursfield
c9df0c34bf
flowbox: Fix annotation for GListModel binding callback
...
The GtkFlowBoxCreateWidgetFunc type lacked GObject Introspection
annotations for its arguments. This made gtk_flow_box_bind_model()
unusable from Python as the callback function would be passed useless
values.
The annotations that I've added match those of the similar callback
type GtkListBoxCreateWidgetFunc.
https://bugzilla.gnome.org/show_bug.cgi?id=780758
2017-09-27 13:33:20 +02:00
Matthias Clasen
485470511f
vulkan: Update the outset-shadow fragment shaders
...
These were missing the blur-radius parameter that is written
by the vertex shader, causing Vulkan validation to complain.
2017-09-26 18:24:52 -04:00
Matthias Clasen
145e4fde92
gsk: Fix Vulkan validation errors for image upload
...
I've finally figured out the right combination of src and dest
stage and access flags to make all validation warnings go away.
This commit only fixes the direct upload code.
2017-09-26 18:18:31 -04:00
Matthias Clasen
d812fc8a94
gdk: Tone down Vulkan validation
...
Don't show informational messages by default, only warnings
and errors. This makes it much easier to see what is going
on.
2017-09-26 18:17:27 -04:00
Daniel Elstner
08e37532b9
gdk-wayland: Do not leak dummy 1x1 surface on every draw
...
When using EGL, neither leak nor re-create the dummy 1x1 Cairo
surface every time gdk_wayland_window_ensure_cairo_surface()
is called.
https://bugzilla.gnome.org/show_bug.cgi?id=775126
2017-09-26 21:14:21 +02:00
Matthias Clasen
ae2c645a2a
gsk: report fallback pixels as a profile counter
...
This makes the value show up in the inspector without
any extra work. We report the number per-frame, since
that makes the most sense.
2017-09-25 21:02:21 -04:00
Matthias Clasen
cfbd6b4b99
gsk: Add a way to reset profiler counters
...
It is often useful to count things per-frame, and reset
the counter afterwards.
2017-09-25 20:58:10 -04:00
Matthias Clasen
b1e98d106d
vulkan: add a frame counter to the profiler
...
This is just to match the gl renderer and to learn how
counters work.
2017-09-25 18:37:22 -04:00
Matthias Clasen
171fef4b87
Fix a typo
2017-09-25 17:53:54 -04:00
Matthias Clasen
816b47d70d
gsk: Make profiler counters more useful
...
Make it possible to have counters that get incremented
by values other than 1.
2017-09-25 17:03:06 -04:00
Matthias Clasen
4970404d33
gsk: count fallback pixels
...
Always helps to have some measure of progress.
2017-09-25 09:28:18 -04:00
Debarshi Ray
60cee7339f
GtkBuilder: Enforce "class" as a mandatory attribute for <object>
...
https://bugzilla.gnome.org/show_bug.cgi?id=786931
2017-09-25 15:26:34 +02:00
Rico Tzschichholz
d09f695172
gsk: Some g-i annotation fixes
2017-09-25 11:15:14 +02:00
Matthias Clasen
f6626a9e0e
gsk: Documentation additions
...
Document newly added apis, and ensure that all public apis
are listed in the docs.
2017-09-24 22:26:39 -04:00
Matthias Clasen
b5ac277654
Plug a memory leak
...
A function with ensure in the name would better check if the
thing it is supposed to ensure already exists.
2017-09-24 21:48:07 -04:00
Daniel Boles
00f8a11aec
Label: Replace allow-none with nullable/optional
2017-09-24 19:32:19 +01:00
Timm Bäder
da701ede91
emojichooser: Plug a memory leak
2017-09-24 18:15:41 +02:00
Andre Klapper
44b9b6caee
Fix broken translations of 'calendar:' settings (ignored translator comments)
2017-09-23 23:42:55 +02:00
Matthias Clasen
4a5ac93762
gsk: Fix a prefix mishap
...
There shouldn't be any gst_ functions in here...
2017-09-23 13:15:30 -04:00
Matthias Clasen
a7f077a3a9
Cosmetics
...
Go back to a single GskVulkanOpRender that can
handle 0, 1 or 2 sources.
2017-09-23 09:47:05 -04:00
Matthias Clasen
3c98b90fc6
vulkan: Implement nonseparable blendmodes
...
This is a directly-from-the-spec, unoptimized implementation.
2017-09-23 09:16:58 -04:00