Searched refs:layer (Results 1 - 15 of 15) sorted by relevance

/fuchsia/zircon/system/dev/display/display/
H A Dclient.cpp305 new_layer->pending_node_.layer = new_layer.get();
306 new_layer->current_node_.layer = new_layer.get();
319 auto layer = layers_.find(req->layer_id); local
320 if (!layer.IsValid()) {
321 zxlogf(ERROR, "Tried to destroy invalid layer %ld\n", req->layer_id);
325 if (layer->current_node_.InContainer() || layer->pending_node_.InContainer()) {
326 zxlogf(ERROR, "Destroyed layer %ld which was in use\n", req->layer_id);
414 auto layer = layers_.find(layer_ids[i]); local
415 if (!layer
430 auto layer = layers_.find(req->layer_id); local
461 auto layer = layers_.find(req->layer_id); local
495 auto layer = layers_.find(req->layer_id); local
525 auto layer = layers_.find(req->layer_id); local
548 auto layer = layers_.find(req->layer_id); local
564 auto layer = layers_.find(req->layer_id); local
591 auto layer = layers_.find(req->layer_id); local
658 auto layer = current_layers.pop_front(); local
699 Layer* layer = layer_node.layer; local
741 auto* layer = new_current.pop_front(); local
766 Layer* layer = layer_node.layer; local
895 primary_layer_t* layer = &layer_node.layer->pending_layer_.cfg.primary; local
1031 Layer* layer = layer_node.layer; local
[all...]
H A Dcontroller.cpp83 // a basic layer configuration is acceptable.
442 // If there's a pending layer change, don't process any present/retire actions
480 // Since we know there are no pending layer changes, we know that every layer (i.e z_index)
482 // displayed), is older than its layer's image (i.e. in front of in the queue) and can be
483 // retired, or is newer than its layer's image (i.e. behind in the queue) and has yet to be
505 // those are older than whatever is currently in their layer.
566 // is applied means that a vsync with no handle for a layer could be interpreted as either
567 // nothing in the layer has been presented or everything in the layer ca
617 Layer* layer = layer_node.layer; local
[all...]
H A Dclient.h36 Layer* layer; member in struct:display::layer_node
39 // Almost-POD used by Client to manage layer state. Public state is used by Controller.
65 // Counters used for keeping track of when the layer's images need to be dropped.
74 // Storage for a color layer's color data bytes.
81 // The display this layer was most recently displayed on
201 // Cleans up layer state associated with an image. If image == nullptr, then
202 // cleans up all image state. Return true if a current layer was modified.
/fuchsia/zircon/system/uapp/display-test/
H A Dvirtual-layer.cpp10 #include "virtual-layer.h"
83 printf("Creating layer failed\n");
87 printf("Creating layer failed\n");
126 layer_t* layer = CreateLayer(dc_handle); local
127 if (layer == nullptr) {
131 if (!images_[0]->Import(dc_handle, &layer->import_info[0])) {
135 if (!images_[1]->Import(dc_handle, &layer->import_info[1])) {
139 zx_object_signal(layer->import_info[alt_image_].events[WAIT_EVENT],
145 config.layer_id = layer->id;
149 printf("Setting layer confi
352 layer_t* layer = CreateLayer(dc_handle); local
413 layer_t* layer = CreateLayer(dc_handle); local
[all...]
H A Dmain.cpp29 #include "virtual-layer.h"
126 for (auto& layer : layers) {
127 uint64_t id = layer->id(display.id());
202 printf("Client composition op (display %ld, layer %ld): %d\n",
256 for (auto& layer : layers) {
257 uint64_t id = layer->image_id(vsync->display_id);
262 if (image_ids[i] == layer->image_id(vsync->display_id)) {
263 layer->set_frame_done(vsync->display_id);
268 for (auto& layer : layers) {
269 if (!layer
[all...]
H A Drules.mk16 $(LOCAL_DIR)/virtual-layer.cpp \
H A Dvirtual-layer.h22 typedef struct layer { struct
34 // A layer whose output can appear on multiple displays.
40 // Finish initializing the layer. All Set* methods should be called before this.
55 // Gets the display controller layer ID for usage on the given display.
106 // Set* methods to configure the layer.
/fuchsia/zircon/system/dev/display/simple/
H A Dsimple-display.cpp81 primary_layer_t* layer = &display_configs[0]->layers[0]->cfg.primary; local
86 && layer->transform_mode == FRAME_TRANSFORM_IDENTITY
87 && layer->image.width == width_
88 && layer->image.height == height_
89 && memcmp(&layer->dest_frame, &frame, sizeof(frame_t)) == 0
90 && memcmp(&layer->src_frame, &frame, sizeof(frame_t)) == 0
92 && layer->alpha_mode == ALPHA_DISABLE;
/fuchsia/zircon/system/dev/display/imx8m-display/
H A Dimx8m-display.c153 primary_layer_t* layer = &display_configs[0]->layers[0]->cfg.primary; local
158 && layer->transform_mode == FRAME_TRANSFORM_IDENTITY
159 && layer->image.width == DISPLAY_WIDTH
160 && layer->image.height == DISPLAY_HEIGHT
161 && memcmp(&layer->dest_frame, &frame, sizeof(frame_t)) == 0
162 && memcmp(&layer->src_frame, &frame, sizeof(frame_t)) == 0
164 && layer->alpha_mode == ALPHA_DISABLE;
/fuchsia/zircon/system/dev/display/astro-display/
H A Dastro-display.cpp170 const primary_layer_t& layer = display_configs[0]->layers[0]->cfg.primary; local
175 && layer.transform_mode == FRAME_TRANSFORM_IDENTITY
176 && layer.image.width == width_
177 && layer.image.height == height_
178 && memcmp(&layer.dest_frame, &frame, sizeof(frame_t)) == 0
179 && memcmp(&layer.src_frame, &frame, sizeof(frame_t)) == 0
181 && layer.alpha_mode == ALPHA_DISABLE;
365 // Configure osd layer
/fuchsia/zircon/system/dev/display/vim-display/
H A Dvim-display.cpp241 primary_layer_t* layer = &display_configs[0]->layers[0]->cfg.primary; local
246 layer->image.width,
247 layer->image.pixel_format)
248 * ZX_PIXEL_FORMAT_BYTES(layer->image.pixel_format);
250 && layer->transform_mode == FRAME_TRANSFORM_IDENTITY
251 && layer->image.width == width
252 && layer->image.height == height
253 && layer->image.planes[0].byte_offset == 0
254 && (layer->image.planes[0].bytes_per_row == bytes_per_row ||
255 layer
[all...]
/fuchsia/zircon/system/dev/display/intel-i915/
H A Dpipe.cpp229 color_layer_t* layer = &config->layers[0]->cfg.color; local
230 ZX_DEBUG_ASSERT(layer->format == ZX_PIXEL_FORMAT_RGB_x888
231 || layer->format == ZX_PIXEL_FORMAT_ARGB_8888);
232 uint32_t color = *reinterpret_cast<uint32_t*>(layer->color);
244 layer_t* layer = config->layers[j]; local
245 if (layer->type == LAYER_PRIMARY && (layer->z_index - has_color_layer) == plane) {
246 primary = &layer->cfg.primary;
H A Dintel-i915.cpp169 static void get_posttransform_width(const layer_t& layer, uint32_t* width, uint32_t* height) { argument
170 const primary_layer_t* primary = &layer.cfg.primary;
895 // highest plane, so we don't care about the layer's z_index.
929 const layer_t* layer;
930 if (!GetPlaneLayer(pipe, plane_num, display_configs, display_count, &layer)) {
935 if (layer->type == LAYER_CURSOR) {
940 ZX_ASSERT(layer->type == LAYER_PRIMARY);
941 const primary_layer_t* primary = &layer->cfg.primary;
1094 const layer_t* layer;
1095 if (!GetPlaneLayer(pipe, plane_num, display_configs, display_count, &layer)) {
[all...]
/fuchsia/zircon/system/dev/bus/virtio/
H A Dgpu.cpp127 primary_layer_t* layer = &display_configs[0]->layers[0]->cfg.primary; local
132 && layer->transform_mode == FRAME_TRANSFORM_IDENTITY
133 && layer->image.width == gd->pmode_.r.width
134 && layer->image.height == gd->pmode_.r.height
135 && memcmp(&layer->dest_frame, &frame, sizeof(frame_t)) == 0
136 && memcmp(&layer->src_frame, &frame, sizeof(frame_t)) == 0
138 && layer->alpha_mode == ALPHA_DISABLE;
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Ddisplay-controller.h166 // If alpha_mode == ALPHA_DISABLED, the layer is opaque and alpha_layer_val is ignored.
204 // The color to use for the layer. The color is little-endian, and is
215 typedef struct layer { struct
218 // z_index of the layer. See |check_configuration| and |apply_configuration|.
277 // whether or not the layer configuration is valid.
284 // a single layer with width and height equal to the requested mode and the
288 // The client should convert the corresponding layer to a primary layer.
291 // single primary layer at the MERGE_BASE layer'
[all...]

Completed in 108 milliseconds