8976e84ded
gdkwindow: Don't pass the region to the impl when beginning a paint
...
It's unused. At the same time, rename "begin_paint_region" to
"begin_paint". This will help us clean up how GDK painting works
in the future to allow more creative use of double-buffering.
2014-11-22 08:08:34 -08:00
1730bb0e81
mir: initialize surface name with program name
2014-11-21 04:46:47 +01:00
cf94da2ca1
GdkGLContext: Remove unused update vfunc
...
The update virtual function for GdkGLContext is unused and is a
leftover from a previous GL approach. Just remove it.
https://bugzilla.gnome.org/show_bug.cgi?id=739750
2014-11-20 12:38:04 +01:00
f5d96f7110
mir: use proper naming for mir window type checking macro
2014-11-20 05:51:12 +01:00
99d849412b
mir: add public getter for the internal MirSurface
2014-11-20 04:41:45 +01:00
60e185e496
mir: don't use struct MirConnection*, just the latter
2014-11-20 04:41:06 +01:00
6e9db05601
mir: add OpenGL support
...
Implement GdkGLContext using EGL and use hardware mir surfaces
when a GdkWindow uses gl rendering.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740346
2014-11-20 04:33:38 +01:00
e0e46a4f6b
mir: update surface type based on events
2014-11-17 17:23:36 +01:00
da8fdab87b
mir: fix typo in GDK_IS_WINDOW_MIR definition
2014-11-17 14:02:22 +01:00
acfc4f8910
mir: invert scrolling delta
2014-11-17 14:02:22 +01:00
f5c5e9385e
mir: handle more surface types
2014-11-14 23:19:15 +01:00
8bc523ef59
mir: fix compilation in mirscreen
2014-11-14 23:19:15 +01:00
c42146d88c
mir: get/set window surface type
2014-11-13 04:42:48 +01:00
c7e7e35083
mir: don't request more surface formats than the supported ones
2014-11-13 03:59:29 +01:00
4e4ccb76cd
mir: implement screen get_plug_name
2014-11-13 02:26:38 +01:00
a77571c42e
mir: clear screen objects correctly
2014-11-13 02:19:29 +01:00
0d024c2df8
mir: don't crash when querying infos for an invalid monitor
2014-11-13 02:07:46 +01:00
c8826ba8c7
mir: clear screen data
2014-11-13 01:59:21 +01:00
98a8c66970
mir: correctly get screen mm sizes
2014-11-13 01:47:56 +01:00
c6de20496c
mir: unset config change callback on finalize
2014-11-13 01:34:10 +01:00
92c2e99dda
mir: actually pass the GdkMirScreen to display config change cb
2014-11-13 01:30:10 +01:00
ec729d0649
mir: rework cursors a bit
...
Store the cursor name on the cursor (rather than always using its type).
Use this when setting a cursor on a surface.
The mir server will fallback to using standard cursors from the cursor
theme if the name used is not one of those defined by mir, which is more
or less what we want to happen here in case of creating a cursor by
name.
2014-11-06 16:18:53 -05:00
2fdb266c0d
mir: set cursor
2014-11-06 16:18:53 -05:00
053b65a21a
mir: Handle pointer up/down events without a button mask set (i.e. touch events)
...
The Mir backend was checking for button mask changes to generate the appropriate
GDK event. When Mir generates a touch event it has no button mask. In this case
we'll just generate a primary button event.
2014-11-06 11:15:52 +13:00
c41231cc0f
mir: Don't assert on unknown Mir events.
...
If we get a Mir event we don't understand generate a warning instead of an assert.
2014-11-05 15:50:55 +13:00
887b7356c3
gdkdisplay: Provide a default event_data_copy / event_data_free
...
Every single implementation but Quartz is a no-op for this, so just
provide it once rather than in every backend.
2014-10-27 22:13:23 -07:00
0f26b26f1d
Gdk: add an experimental backend for mir
...
This is disabled by default. Enable with --enable-mir-backend.
This backend is a combined work of Robert Ancell and Ryan Lortie.
2014-10-22 11:17:15 -05:00