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

Commit 832258e9 authored by Ady Abraham's avatar Ady Abraham
Browse files

composer: remove getClientTargetSupport

getClientTargetSupport is not used anyware

Bug: 203093280
Test: build
Change-Id: I8b48188d34c1b0c3eed02e1e5d94ff5be3413ae2
parent d06f050d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ interface IComposerClient {
  void destroyVirtualDisplay(long display);
  android.hardware.graphics.composer3.ExecuteCommandsStatus executeCommands(int inLength, in android.hardware.common.NativeHandle[] inHandles);
  int getActiveConfig(long display);
  void getClientTargetSupport(long display, int width, int height, in android.hardware.graphics.composer3.ClientTargetProperty clientTargetProperty);
  android.hardware.graphics.composer3.ColorMode[] getColorModes(long display);
  float[] getDataspaceSaturationMatrix(android.hardware.graphics.common.Dataspace dataspace);
  int getDisplayAttribute(long display, int config, android.hardware.graphics.composer3.DisplayAttribute attribute);
+0 −19
Original line number Diff line number Diff line
@@ -188,25 +188,6 @@ interface IComposerClient {
     */
    int getActiveConfig(long display);

    /**
     * Returns whether a client target with the given properties can be
     * handled by the device.
     *
     * This function must return true for a client target with width and
     * height equal to the active display configuration dimensions,
     * PixelFormat::RGBA_8888, and Dataspace::UNKNOWN. It is not required to
     * return true for any other configuration.
     *
     * @param display is the display to query.
     * @param width is the client target width in pixels.
     * @param height is the client target height in pixels.
     * @param clientTargetProperty is the client target format and dataspace.
     * @exception EX_BAD_DISPLAY when an invalid display handle was passed in.
     * @exception EX_UNSUPPORTED when the given configuration is not supported.
     */
    void getClientTargetSupport(
            long display, int width, int height, in ClientTargetProperty clientTargetProperty);

    /**
     * Returns the color modes supported on this display.
     *