Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Side by Side Diff: third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml

Issue 2352563002: third_party: Remove deprecated zwp wayland interfaces. (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="alpha_compositing_unstable_v1"> 2 <protocol name="alpha_compositing_unstable_v1">
3 3
4 <copyright> 4 <copyright>
5 Copyright 2016 The Chromium Authors. 5 Copyright 2016 The Chromium Authors.
6 6
7 Permission is hereby granted, free of charge, to any person obtaining a 7 Permission is hereby granted, free of charge, to any person obtaining a
8 copy of this software and associated documentation files (the "Software"), 8 copy of this software and associated documentation files (the "Software"),
9 to deal in the Software without restriction, including without limitation 9 to deal in the Software without restriction, including without limitation
10 the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 the rights to use, copy, modify, merge, publish, distribute, sublicense,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 <request name="set_alpha"> 118 <request name="set_alpha">
119 <description summary="set the alpha value"> 119 <description summary="set the alpha value">
120 Set the alpha value applied to the whole surface for compositing. 120 Set the alpha value applied to the whole surface for compositing.
121 See wp_alpha_compositing for the description. 121 See wp_alpha_compositing for the description.
122 122
123 The alpha value state is double-buffered state, 123 The alpha value state is double-buffered state,
124 and will be applied on the next wl_surface.commit. 124 and will be applied on the next wl_surface.commit.
125 </description> 125 </description>
126 <arg name="value" type="fixed" summary="the new alpha value"/> 126 <arg name="value" type="fixed" summary="the new alpha value"/>
127 </request> 127 </request>
128
129 </interface> 128 </interface>
130 129
131 <interface name="zwp_alpha_compositing_v1" version="1">
132 <description summary="DEPRECATED">
133 The global interface exposing compositing and blending capabilities is
134 used to instantiate an interface extension for a wl_surface object.
135 This extended interface will then allow the client to specify the
136 blending equation and alpha value used for compositing the wl_surface.
137 </description>
138
139 <request name="destroy" type="destructor">
140 <description summary="unbind from the blending interface">
141 Informs the server that the client will not be using this
142 protocol object anymore. This does not affect any other objects,
143 blending objects included.
144 </description>
145 </request>
146
147 <enum name="error">
148 <entry name="blending_exists" value="0"
149 summary="the surface already has a blending object associated"/>
150 </enum>
151
152 <request name="get_blending">
153 <description summary="extend surface interface for blending">
154 Instantiate an interface extension for the given wl_surface to
155 provide surface blending. If the given wl_surface already has
156 a blending object associated, the blending_exists protocol error
157 is raised.
158 </description>
159
160 <arg name="id" type="new_id" interface="zwp_blending_v1"
161 summary="the new blending interface id"/>
162 <arg name="surface" type="object" interface="wl_surface"
163 summary="the surface"/>
164 </request>
165 </interface>
166
167 <interface name="zwp_blending_v1" version="1">
168 <description summary="DEPRECATED">
169 An additional interface to a wl_surface object, which allows the
170 client to specify the blending equation used for compositing and
171 an alpha value applied to the whole surface.
172
173 If the wl_surface associated with the bledning object is destroyed,
174 the blending object becomes inert.
175
176 If the blending object is destroyed, the blending state is removed
177 from the wl_surface. The change will be applied on the next
178 wl_surface.commit.
179 </description>
180
181 <request name="destroy" type="destructor">
182 <description summary="remove blending from the surface">
183 The associated wl_surface's blending state is removed.
184 The change is applied on the next wl_surface.commit.
185 </description>
186 </request>
187
188 <enum name="blending_equation">
189 <description summary="different blending equations for compositing">
190 Blending equations that can be used when compositing a surface.
191 </description>
192 <entry name="none" value="0" summary="no blending"/>
193 <entry name="premult" value="1" summary="one / one_minus_src_alpha"/>
194 <entry name="coverage" value="2" summary="src_alpha / one_minus_src_alpha" />
195 </enum>
196
197 <request name="set_blending">
198 <description summary="set the blending equation">
199 Set the blending equation for compositing the wl_surface.
200 See wp_alpha_compositing for the description.
201
202 The blending equation state is double-buffered state,
203 and will be applied on the next wl_surface.commit.
204 </description>
205 <arg name="equation" type="uint" summary="the new blending equation"/>
206 </request>
207
208 <request name="set_alpha">
209 <description summary="set the alpha value">
210 Set the alpha value applied to the whole surface for compositing.
211 See wp_alpha_compositing for the description.
212
213 The alpha value state is double-buffered state,
214 and will be applied on the next wl_surface.commit.
215 </description>
216 <arg name="value" type="fixed" summary="the new alpha value"/>
217 </request>
218
219 </interface>
220 </protocol> 130 </protocol>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698