Matthias Clasen
b47fe87d61
Add code to put glyphs in a vulkan image
2017-09-10 10:02:41 -04:00
Matthias Clasen
63a1dc16ae
Drop the surface caching
2017-09-10 10:02:41 -04:00
Matthias Clasen
f1a36a93cb
update todo
2017-09-10 10:02:41 -04:00
Matthias Clasen
e1adca7301
Use color text pipeline
...
At the same time, rename the render ops to TEXT and COLOR_TEXT.
2017-09-10 10:02:41 -04:00
Matthias Clasen
0152a4b309
Add a color text pipeline
...
For now, this will be just the same as the blend pipeline,
but it will eventually do per-glyph instances.
2017-09-10 08:01:03 -04:00
Matthias Clasen
e4b5835185
Rename mask pipeline to text pipeline
...
It will become text-specific when we move to using one
instance per glyph, so rename it already.
2017-09-10 07:52:22 -04:00
Matthias Clasen
a6a3186bd7
update todo
2017-09-10 07:37:00 -04:00
Matthias Clasen
40de42cff9
update todo list
2017-09-09 23:00:13 -04:00
Matthias Clasen
36001547f5
Fix the mask renderer
2017-09-09 22:59:29 -04:00
Matthias Clasen
a87b120a2d
more work-in-progress
...
Use the proper blend factors for masks. Still doesn't work.
2017-09-09 22:31:02 -04:00
Matthias Clasen
fca1a9244e
wip: add a mask shader
...
It doesn't work yet.
2017-09-09 12:43:42 -04:00
Matthias Clasen
ae574b168a
More text node work
...
Use the surface as a plain texture. This currently doesn't do
the right thing for masking, and loses text color. Keep a simple
cache of the surfaces.
2017-09-09 11:41:43 -04:00
Matthias Clasen
344bad9788
More work on text nodes
...
This commit takes several steps towards rendering text
like we want to. We use cairo to create a mask surface.
In draw(), we use it to paint individual glyphs with the
text color, unless we are dealing with color glyphs,
in which case we use the surface as source. The surface
will eventually be replaced by a font atlas texture.
This commit also simplifies the text node api to just
have a single offset, which determines the left end of
the text baseline, like all our other text drawing APIs.
We temporarily drop text node serialization, since it
will have to change anyway.
2017-09-09 09:22:57 -04:00
Daniel Boles
09d1d5a0d6
Entry: Fix leak of text in ensure_has_tooltip()
...
Thanks to Mohammed Sadiq for noticing this. I guess I got
Widget.get_tooltip_text() confused with Label.get_label().
https://bugzilla.gnome.org/show_bug.cgi?id=787410
2017-09-07 14:56:20 +01:00
Javier Jardón
80e3239033
meson.build: enable-tests -> build-tests
...
This completes b5e00d36f0
2017-09-06 20:45:35 +01:00
Piotr Drąg
4b48ed569a
Update Polish translation
2017-09-06 20:17:24 +02:00
Matthias Clasen
dd4361a638
Rename enable-documentation and enable-man-pages options
...
You can now disable the documentation build with
-Ddocumentation=false and -Dman-pages=false.
2017-09-06 11:10:55 -04:00
Matthias Clasen
15edfbbc88
Rename and document the enable-gir option
...
You can disable introspection now with -Dintrospection=false.
2017-09-06 09:53:34 -04:00
Matthias Clasen
b5e00d36f0
Allow building without tests and demos
...
This is meant to cut down build time in flatpak and similar
situations. Since it produces technically incomplete builds,
we list these options in the status output at the end of
the meson run.
2017-09-06 09:53:20 -04:00
Matthias Clasen
af5d3e3299
popover: Fix a warning
...
We were unintentionally disconnecting an already-disconnected
signal handler in some cases. Don't do that, it causes warnings.
2017-09-06 08:04:33 -04:00
Matthias Clasen
ff0f5f57f1
gtk4-demo: Fix up the event axes demo
...
Use a drawing area instead of drawing directly on the
window, which doesn't work well with csd.
2017-09-06 07:05:01 -04:00
Matthias Clasen
b3b6c42e18
gtk4-demo: add a few missing window titles
2017-09-06 07:05:01 -04:00
Çağatay Yiğit Şahin
541af54d9d
Update Turkish translation
2017-09-06 06:49:29 +00:00
Matthias Clasen
863a9cef98
entry: Set a clip
...
Now that GtkEntry is using a text node, we were spilling
the contents out to the side when the entry is scrolling.
Avoid that by setting a clip.
2017-09-05 23:29:59 -04:00
Chun-wei Fan
1b7f08171a
gskpango.c: Include cairo.h consistently
...
The other source files use "#include <cairo.h>", so we should do
likewise.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
2017-09-06 10:42:32 +08:00
Daniel Boles
d97db77ad4
ActionBar: Fix links in set_revealed() doc, etc.
...
mostly: syncing with previous commit, where InfoBar copied this all from
Also, remove my unhelpful “and vice-versa” from InfoBar.
2017-09-05 21:33:00 +01:00
Daniel Boles
14387ed2e7
InfoBar: Fix typos in set_revealed() documentation
...
Fix a parameter type and a link to the corresponding property.
Tweak the wording and whatnot a little while at it.
2017-09-05 20:20:46 +01:00
Patrick Griffis
a55b57caff
build: Improve vulkan resource handling
...
This fixes the proper dependencies getting set up for generating
the shaders and only the necessary things getting rebuilt on
resources changing in gsk.
2017-09-05 15:18:56 -04:00
Mario Blättermann
f0f394bfdd
Update German translation
2017-09-05 17:56:32 +00:00
Mario Blättermann
bb8f2784d7
Update German translation
2017-09-05 17:52:35 +00:00
Balázs Úr
992aeb76ca
Update Hungarian translation
2017-09-05 15:16:16 +00:00
Balázs Úr
bf029e2d7a
Update Hungarian translation
2017-09-05 15:14:28 +00:00
Marek Cernocky
8b87137d2f
Updated Czech translation
2017-09-05 16:38:18 +02:00
Jakub Steiner
90ba317d92
adwaita: use generic sidebar icon style
...
https://bugzilla.gnome.org/show_bug.cgi?id=786613
2017-09-05 13:53:46 +02:00
Daniel Mustieles
54a03cb3d9
Update Spanish translation
2017-09-05 10:35:00 +00:00
Daniel Mustieles
bb5ef90827
Update Spanish translation
2017-09-05 10:33:59 +00:00
Jean-Baptiste Holcroft
4e7aa84b9b
Update French translation
2017-09-05 08:31:53 +00:00
Timm Bäder
2a373b8ac8
build: Depend on wayland-protocols 1.9
...
Needed for the keyboard shortcuts inhibit protocol
2017-09-05 10:09:24 +02:00
Matthias Clasen
4800a248bd
Typo fix
2017-09-04 23:32:31 -04:00
Matthias Clasen
7bb5b8df0b
A somewhat working blur shader
...
This is a very direct implementation of a Gaussian blur,
without any optimizations.
2017-09-04 23:32:31 -04:00
Andika Triwidada
bb2a4a4e9b
Update Indonesian translation
2017-09-05 01:12:51 +00:00
Andika Triwidada
a8d2ef28a5
Update Indonesian translation
2017-09-05 01:09:35 +00:00
Daniel Boles
9699a954cd
HighContrast: Stop hovered emoji from disappearing
...
Otherwise emoji are invisible in the normal variant & nearly in Inverse.
https://bugzilla.gnome.org/show_bug.cgi?id=787279
2017-09-05 01:42:56 +01:00
Daniel Boles
edad5e5c09
Adwaita: Fix a selector not regenerated in the CSS
2017-09-05 01:42:13 +01:00
Daniel Boles
23ea09aa48
HighContrast: Kill abominable headerbar vseparator
...
Commit 8cd37ff0df
fixed a syntax error and
unwittingly released this bizarre mutant.
2017-09-05 01:00:53 +01:00
Daniel Boles
b97f1900b7
EmojiChooser: Ensure always have a selected button
...
We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:58:24 +01:00
Daniel Boles
002a1d9c1c
EmojiChooser: Check the 1st button before 1st show
...
We scroll to the top in show() but only ever selected a button when the
adjustment changed, which doesn’t happen in init(). Check it manually.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:58:24 +01:00
Piotr Drąg
fcae5e942f
Update Polish translation
2017-09-04 23:53:19 +02:00
Rafael Fontenelle
40001d27a1
Update Brazilian Portuguese translation
2017-09-04 19:54:43 +00:00
Rafael Fontenelle
adc590721a
Update Brazilian Portuguese translation
2017-09-04 19:52:31 +00:00