Lines Matching refs:other
218 void DisplayState::merge(const DisplayState& other) { in merge() argument
219 if (other.what & eSurfaceChanged) { in merge()
221 surface = other.surface; in merge()
223 if (other.what & eLayerStackChanged) { in merge()
225 layerStack = other.layerStack; in merge()
227 if (other.what & eDisplayProjectionChanged) { in merge()
229 orientation = other.orientation; in merge()
230 viewport = other.viewport; in merge()
231 frame = other.frame; in merge()
233 if (other.what & eDisplaySizeChanged) { in merge()
235 width = other.width; in merge()
236 height = other.height; in merge()
240 void layer_state_t::merge(const layer_state_t& other) { in merge() argument
241 if (other.what & ePositionChanged) { in merge()
243 x = other.x; in merge()
244 y = other.y; in merge()
246 if (other.what & eLayerChanged) { in merge()
249 z = other.z; in merge()
251 if (other.what & eSizeChanged) { in merge()
253 w = other.w; in merge()
254 h = other.h; in merge()
256 if (other.what & eAlphaChanged) { in merge()
258 alpha = other.alpha; in merge()
260 if (other.what & eMatrixChanged) { in merge()
262 matrix = other.matrix; in merge()
264 if (other.what & eTransparentRegionChanged) { in merge()
266 transparentRegion = other.transparentRegion; in merge()
268 if (other.what & eFlagsChanged) { in merge()
270 flags = other.flags; in merge()
271 mask = other.mask; in merge()
273 if (other.what & eLayerStackChanged) { in merge()
275 layerStack = other.layerStack; in merge()
277 if (other.what & eCropChanged_legacy) { in merge()
279 crop_legacy = other.crop_legacy; in merge()
281 if (other.what & eCornerRadiusChanged) { in merge()
283 cornerRadius = other.cornerRadius; in merge()
285 if (other.what & eDeferTransaction_legacy) { in merge()
287 barrierHandle_legacy = other.barrierHandle_legacy; in merge()
288 barrierGbp_legacy = other.barrierGbp_legacy; in merge()
289 frameNumber_legacy = other.frameNumber_legacy; in merge()
291 if (other.what & eOverrideScalingModeChanged) { in merge()
293 overrideScalingMode = other.overrideScalingMode; in merge()
295 if (other.what & eGeometryAppliesWithResize) { in merge()
298 if (other.what & eReparentChildren) { in merge()
300 reparentHandle = other.reparentHandle; in merge()
302 if (other.what & eDetachChildren) { in merge()
305 if (other.what & eRelativeLayerChanged) { in merge()
308 z = other.z; in merge()
309 relativeLayerHandle = other.relativeLayerHandle; in merge()
311 if (other.what & eReparent) { in merge()
313 parentHandleForChild = other.parentHandleForChild; in merge()
315 if (other.what & eDestroySurface) { in merge()
318 if (other.what & eTransformChanged) { in merge()
320 transform = other.transform; in merge()
322 if (other.what & eTransformToDisplayInverseChanged) { in merge()
324 transformToDisplayInverse = other.transformToDisplayInverse; in merge()
326 if (other.what & eCropChanged) { in merge()
328 crop = other.crop; in merge()
330 if (other.what & eFrameChanged) { in merge()
332 frame = other.frame; in merge()
334 if (other.what & eBufferChanged) { in merge()
336 buffer = other.buffer; in merge()
338 if (other.what & eAcquireFenceChanged) { in merge()
340 acquireFence = other.acquireFence; in merge()
342 if (other.what & eDataspaceChanged) { in merge()
344 dataspace = other.dataspace; in merge()
346 if (other.what & eHdrMetadataChanged) { in merge()
348 hdrMetadata = other.hdrMetadata; in merge()
350 if (other.what & eSurfaceDamageRegionChanged) { in merge()
352 surfaceDamageRegion = other.surfaceDamageRegion; in merge()
354 if (other.what & eApiChanged) { in merge()
356 api = other.api; in merge()
358 if (other.what & eSidebandStreamChanged) { in merge()
360 sidebandStream = other.sidebandStream; in merge()
362 if (other.what & eColorTransformChanged) { in merge()
364 colorTransform = other.colorTransform; in merge()
366 if (other.what & eHasListenerCallbacksChanged) { in merge()
368 hasListenerCallbacks = other.hasListenerCallbacks; in merge()
372 if (other.what & eInputInfoChanged) { in merge()
374 inputInfo = other.inputInfo; in merge()
378 if (other.what & eCachedBufferChanged) { in merge()
380 cachedBuffer = other.cachedBuffer; in merge()
382 if (other.what & eBackgroundColorChanged) { in merge()
384 color = other.color; in merge()
385 bgColorAlpha = other.bgColorAlpha; in merge()
386 bgColorDataspace = other.bgColorDataspace; in merge()
388 if (other.what & eMetadataChanged) { in merge()
390 metadata.merge(other.metadata); in merge()
392 if ((other.what & what) != other.what) { in merge()
395 other.what, what); in merge()
401 void InputWindowCommands::merge(const InputWindowCommands& other) { in merge() argument
404 std::make_move_iterator(other.transferTouchFocusCommands.begin()), in merge()
405 std::make_move_iterator(other.transferTouchFocusCommands.end())); in merge()
407 syncInputWindows |= other.syncInputWindows; in merge()