Skip to content
Snippets Groups Projects
  • Patrick Williams's avatar
    16d8b2c5
    SF: Refactor Layer::prepareClientCompositionList · 16d8b2c5
    Patrick Williams authored
    Replace Layer::prepareClientCompositionList with
    Layer::prepareClientComposition now that at most one layer is returned
    for any call. Also changes OutputLayer::getOverrideCompositionList to
    return an optional for the same reason.
    
    Output::generateClientCompositionRequest is updated to use buffer ids
    instead of strong pointers to buffers when determining whether or not
    override settings are redundant. This is done to avoid duplicate checks
    on whether or not overrideInfo has a non-null buffer.
    
    Change-Id: I777f6ba8c3ca38ea31773e6fcbacb65fad287b03
    Bug: b/188891810
    Test: atest libcompositionengine_test
    16d8b2c5
    History
    SF: Refactor Layer::prepareClientCompositionList
    Patrick Williams authored
    Replace Layer::prepareClientCompositionList with
    Layer::prepareClientComposition now that at most one layer is returned
    for any call. Also changes OutputLayer::getOverrideCompositionList to
    return an optional for the same reason.
    
    Output::generateClientCompositionRequest is updated to use buffer ids
    instead of strong pointers to buffers when determining whether or not
    override settings are redundant. This is done to avoid duplicate checks
    on whether or not overrideInfo has a non-null buffer.
    
    Change-Id: I777f6ba8c3ca38ea31773e6fcbacb65fad287b03
    Bug: b/188891810
    Test: atest libcompositionengine_test