Lines Matching refs:is

2 // Use of this source code is governed by a BSD-style license that can be
13 INACTIVE = 0; // the virtcon is never visible.
14 FALLBACK = 1; // the virtcon is visible if there is no primary client.
15 FORCED = 2; // the virtcon is visible even if there is a primary client.
50 // Modes supported by the attached display. The first entry is the
54 // first entry is the preferred mode.
58 // driver. Maybe be empty if there is no hardware support for cursors.
85 // Type conveys information about what is providing the pixel data. If this
86 // is not typeSimple, it is up to the driver and image producer to
108 // Alpha is disabled for the plane (default).
110 // Plane alpha is premultiplied.
155 // The requested layer configuration is invalid.
176 // client. The primary client is obtained by directly opening the devfs device,
177 // while the virtcon client is obtained by opening a 'virtcon' child of the
182 // than the image handles. The active configuration is composed of the most
184 // SetLayerImage for details on how the active image is defined. Note the
186 // configuration is available, it is immediately given to the hardware. This
194 // when the callback is registered if there are any connected displays.
201 // Imports a VMO backed image. If tiling is not typeSimple, it is up to
208 // It is safe to call this at any time. When an image is released, it
209 // is immediately removed from any pending or active configurations,
211 // associated with the image will be released as soon as the image is
217 // It is illegal for id to be equal to invalidId, and it is undefined to
231 // shown on at most one display at any given time. A layer is considered in
232 // use from the time it is passed to SetDisplayLayers until a subsequent
233 // configuration is applied which does not include the layer or until its
234 // display is removed.
239 // It is illegal to destroy a layer which does not exist or which is in use.
244 // It is illegal to pass a display mode which was not part of the display's Info.
247 // Set the color conversion applied to the display. The conversion is applied to
252 // where pixel is a column vector consisting of the pixel's 3 components.
254 // |coefficients| is passed in row-major order. If the first entry of an
255 // array is NaN, the array is treated as the identity element for the relevant
262 // Sets which layers are on a display. The list is in increasing z-order.
264 // It is illegal to use a layer on multiple displays concurrently. If a layer
267 // is also illegal to pass an invalid layer id.
277 // It is illegal to pass an invalid layer id.
285 // conditions is violated.
288 // is illegal.
293 // If |mode| == DISABLED, the layer is opaque and |val| is ignored.
295 // If |mode| == PREMULTIPLIED or HW_MULTIPLY and |val| is NaN, the alpha
296 // used when blending is determined by the per-pixel alpha channel.
298 // If |mode| == PREMULTIPLIED or HW_MULTIPLY and |val| is not NaN, the
299 // alpha used when blending is the product of |val| and any per-pixel
303 // It is illegal to call this on a non-primary layer, to pass an
304 // invalid mode, or to pass a value of |val| which is not NaN or
309 // default position is (0, 0).
314 // It is illegal to call this on an invalid layer.
322 // It is illegal to call this on a non-cursor layer.
326 // color_bytes vector is little-endian and must have length appropriate
329 // It is illegal to call this on an invalid layer or for the length of
338 // If signal_event_id is valid, then the driver will signal the event with
339 // ZX_EVENT_SIGNALED when the image is no longer being presented.
341 // A layer's active image is the most recently applied image which either has
355 // image be given back to the display controller while it is still in use.
356 // An image is considered in use when it is part of a pending configuration
357 // or from when its configuration is applied until its signal_event_id is
360 // It is illegal to call this with an invalid layer or image id, to
362 // ImageConfigs do not match. It is illegal to apply a configuration
363 // with an image layer that has no image (note that is is not illegal to
364 // validate such a configuration). It is illegal to reuse a wait event which
365 // another layer that has not been presented is waiting on.
370 // When CheckConfig is called, the driver will validate the pending
371 // configuration. If res is UNSUPPORTED_CONFIG, then ops will be
378 // If discard is true, the pending changes will be discarded after validation.
385 // fail, so the client should ensure its configuration is valid with
395 // display_id is the identifies the display on which the vsync occurred, and
396 // timestamp indicates the time the vsync occurred. images is a (possibly
400 // Sets the visibility behavior of the virtcon. It is illegal to call this