Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e639288 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "composer3: fix documentation to match aidl style"

parents d394ed45 a80531fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ parcelable ColorTransformPayload {

    /**
     * Hint value which may be used instead of the given matrix unless it
     * is ColorTransform::ARBITRARY.
     * is ColorTransform.ARBITRARY.
     */
    ColorTransform hint;
}
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ enum Composition {
    /**
     * The device must handle the composition of this layer, as well as
     * its buffer updates and content synchronization. Only supported on
     * devices which provide Capability::SIDEBAND_STREAM.
     * devices which provide Capability.SIDEBAND_STREAM.
     *
     * Upon validateDisplay, the device may request a change from this
     * type to either DEVICE or CLIENT, but it is unlikely that content
+5 −5
Original line number Diff line number Diff line
@@ -41,15 +41,15 @@ enum DisplayCapability {
     */
    SKIP_CLIENT_COLOR_TRANSFORM = 1,
    /**
     * Indicates that the display supports PowerMode::DOZE and
     * potentially PowerMode::DOZE_SUSPEND if DisplayCapability.SUSPEND is also
     * Indicates that the display supports PowerMode.DOZE and
     * potentially PowerMode.DOZE_SUSPEND if DisplayCapability.SUSPEND is also
     * supported. DOZE_SUSPEND may not provide any benefit
     * over DOZE (see the definition of PowerMode for more information),
     * but if both DOZE and DOZE_SUSPEND are no different from
     * PowerMode::ON, the device must not claim support.
     * PowerMode.ON, the device must not claim support.
     * Must be returned by getDisplayCapabilities when getDozeSupport
     * indicates the display supports PowerMode::DOZE and
     * PowerMode::DOZE_SUSPEND.
     * indicates the display supports PowerMode.DOZE and
     * PowerMode.DOZE_SUSPEND.
     */
    DOZE = 2,
    /**
+5 −5
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ parcelable DisplayCommand {
    /**
     * Sets a color transform which will be applied after composition.
     *
     * If hint is not ColorTransform::ARBITRARY, then the device may use the
     * If hint is not ColorTransform.ARBITRARY, then the device may use the
     * hint to apply the desired color transform instead of using the color
     * matrix directly.
     *
@@ -46,7 +46,7 @@ parcelable DisplayCommand {
     * apply the desired color transform, it must force all layers to client
     * composition during VALIDATE_DISPLAY.
     *
     * If IComposer::Capability::SKIP_CLIENT_COLOR_TRANSFORM is present, then
     * If Capability.SKIP_CLIENT_COLOR_TRANSFORM is present, then
     * the client must never apply the color transform during client
     * composition, even if all layers are being composed by the client.
     *
@@ -74,9 +74,9 @@ parcelable DisplayCommand {

    /**
     * Sets the buffer handle which will receive the output of client
     * composition.  Layers marked as Composition::CLIENT must be composited
     * composition.  Layers marked as Composition.CLIENT must be composited
     * into this buffer prior to the call to PRESENT_DISPLAY, and layers not
     * marked as Composition::CLIENT must be composited with this buffer by
     * marked as Composition.CLIENT must be composited with this buffer by
     * the device.
     *
     * The buffer handle provided may be empty if no layers are being
@@ -94,7 +94,7 @@ parcelable DisplayCommand {
     * the description of SET_LAYER_SURFACE_DAMAGE.
     *
     * Will be called before PRESENT_DISPLAY if any of the layers are marked
     * as Composition::CLIENT. If no layers are so marked, then it is not
     * as Composition.CLIENT. If no layers are so marked, then it is not
     * necessary to call this function. It is not necessary to call
     * validateDisplay after changing the target through this function.
     */
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ parcelable DisplayRequest {
    /**
     * Instructs the client to write the result of client composition
     * directly into the virtual display output buffer. If any of the
     * layers are not marked as Composition::CLIENT or the given display
     * layers are not marked as Composition.CLIENT or the given display
     * is not a virtual display, this request has no effect.
     */
    const int WRITE_CLIENT_TARGET_TO_OUTPUT = 1 << 1;
Loading