Re: HiDPI stuff partially merged

2013-09-05 Thread Alexander Larsson


- Original Message -
 On Wed, Jul 03, 2013 at 03:40:56PM +0200, Alexander Larsson wrote:
  I just merged the wip/window-scales2 branch. This means that gtk+ master
  has some level of support for window scaling.
  
  If you want to test this, you will still need the cairo branch at:
  http://cgit.freedesktop.org/~ickle/cairo/log/?h=device-scale
  (It still builds without it, but doesn't support scaling)
  
  Chris will merge this into cairo master and start a 1.13 version as soon
  as he manages to release the latest 1.12.x version, then this will not
  be needed. (Also, Chris talked about making cairo automatically inherit
  device-scale in cairo_surface_create_similar, if that happens we need to
  modify gdk_window_create_similar_surface to not do this.)
 
 And Chris finally has done so. Now available on the master branch at
 git://anongit.freedesktop.org/cairo

Sweet, I just pushed an update to Gtk+ master to handle the change in 
device-scale
inheritance. This means that Gnome 3.10 will be able to work in HiDPI out of 
the box
if you build it with an snapshot of cairo!
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


HiDPI stuff partially merged

2013-07-03 Thread Alexander Larsson
I just merged the wip/window-scales2 branch. This means that gtk+ master
has some level of support for window scaling. 

If you want to test this, you will still need the cairo branch at:
http://cgit.freedesktop.org/~ickle/cairo/log/?h=device-scale
(It still builds without it, but doesn't support scaling)

Chris will merge this into cairo master and start a 1.13 version as soon
as he manages to release the latest 1.12.x version, then this will not
be needed. (Also, Chris talked about making cairo automatically inherit
device-scale in cairo_surface_create_similar, if that happens we need to
modify gdk_window_create_similar_surface to not do this.)

I also have some patches to add automatic detection of hidpi screens and
enable the scale at:
https://git.gnome.org/browse/gsettings-desktop-schemas/log/?h=wip/window-scales
https://git.gnome.org/browse/gnome-settings-daemon/log/?h=wip/window-scales

Also, gnome-shell is pretty broken when Gtk+ is running in scaled mode,
so there is this badhack I use to make gnome-shell work with the above:
https://git.gnome.org/browse/gnome-shell/log/?h=wip/window-scales

Highres css assets require a branch atm:
https://git.gnome.org/browse/gnome-themes-standard/log/?h=wip/hidpi

Running with all the above on my Chromebook pixel things seems to mostly
work. There are some open issues:

* clutter doesn't respect the window scaling, so the gl rendering is too
  small.

* No support at all for using larger cursors or DnD icons

* As I said above, gnome-shell doesn't handle scaling at all

I'm leaving for vacation after friday and will be back for Guadec... I
might be around now and then, but not much.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list