Lines Matching refs:mailbox
97 SwapBuffersInfo mailbox,
100 if (mailbox.type == SOFTWARE_COMPOSITOR_FRAME) {
101 delete mailbox.shared_memory;
102 mailbox.shared_memory = NULL;
104 // Reset mailbox's name if the resource was lost.
105 mailbox.name.SetZero();
109 if (last_host_id_ != mailbox.host_id ||
110 last_output_surface_id_ != mailbox.output_surface_id ||
111 last_route_id_ != mailbox.route_id)
123 switch (mailbox.type) {
125 std::string mailbox_name(reinterpret_cast<const char*>(mailbox.name.name),
126 sizeof(mailbox.name.name));
131 mailbox.route_id,
132 mailbox.host_id,
140 ack.gl_frame_data->mailbox = mailbox.name;
141 ack.gl_frame_data->size = mailbox.size;
148 mailbox.route_id,
149 mailbox.output_surface_id,
150 mailbox.host_id,
156 ack.last_software_frame_id = mailbox.software_frame_id;
162 mailbox.route_id,
163 mailbox.output_surface_id,
164 mailbox.host_id,
183 const SwapBuffersInfo& mailbox,
190 // surface and must ACK with the new ID's and an empty mailbox.
191 if (last_route_id_ != mailbox.route_id ||
192 last_output_surface_id_ != mailbox.output_surface_id ||
193 last_host_id_ != mailbox.host_id)
196 last_route_id_ = mailbox.route_id;
197 last_output_surface_id_ = mailbox.output_surface_id;
198 last_host_id_ = mailbox.host_id;
203 MailboxReleased(mailbox, sync_point, false);
225 CheckSizeAndAdjustLayerBounds(mailbox.size,
229 bool is_software_frame = mailbox.type == SOFTWARE_COMPOSITOR_FRAME;
231 mailbox.shared_memory != NULL : !mailbox.name.IsZero();
233 SwapBuffersInfo empty_info = mailbox;
245 mailbox);
247 texture_mailbox = cc::TextureMailbox(mailbox.shared_memory,
248 mailbox.size, callback);
250 texture_mailbox = cc::TextureMailbox(mailbox.name, callback, sync_point);
283 swap_info.name = frame->gl_frame_data->mailbox;