summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-11-21 15:25:08 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-11-25 15:21:36 -0500
commit74e43a470268e16f2ee1e3bd69cf39e10c65cc0a (patch)
treeec8e2ebe583ec8f36841e38f15816377a8472011 /doc
parent0764b2058ad3686ffd910065d8accfa6ecccddc7 (diff)
downloadmutter-74e43a470268e16f2ee1e3bd69cf39e10c65cc0a.tar.gz
cullable: Turn cull_out / reset_culling into a separate interface
Instead of hardcoded knowledge of certain classes in MetaWindowGroup, create a generic interface that all actors can implement to get parts of their regions culled out during redraw, without needing any special knowledge of how to handle a specific actor. The names now are a bit suspect. MetaBackgroundGroup is a simple MetaCullable that knows how to cull children, and MetaWindowGroup is the "toplevel" cullable that computes the initial two regions. A future cleanup here could be to merge MetaWindowGroup / MetaBackgroundGroup so that we only have a generic MetaSimpleCullable, and move the "toplevel" cullability to be a MetaCullableToplevel. https://bugzilla.gnome.org/show_bug.cgi?id=714706
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/meta-sections.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt
index 90f815249..7aa893177 100644
--- a/doc/reference/meta-sections.txt
+++ b/doc/reference/meta-sections.txt
@@ -389,6 +389,23 @@ meta_window_actor_get_type
</SECTION>
<SECTION>
+<FILE>meta-cullable</FILE>
+<TITLE>MetaCullable</TITLE>
+MetaCullable
+MetaCullableInterface
+meta_cullable_cull_out
+meta_cullable_reset_culling
+meta_cullable_cull_out_children
+meta_cullable_reset_culling_children
+<SUBSECTION Standard>
+META_TYPE_CULLABLE
+META_CULLABLE
+META_IS_CULLABLE
+META_CULLABLE_GET_IFACE
+meta_cullable_get_type
+</SECTION>
+
+<SECTION>
<FILE>prefs</FILE>
MetaPreference
MetaPrefsChangedFunc