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

Commit 577b72b9 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Update type of surface stats listener function to include id used to identify the surface

Test: Existing tests
Change-Id: I5680edac1c9b241d3a2690ce056fc8296e0ad500
parent 70077d03
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ typedef struct ASurfaceControlStats ASurfaceControlStats;
 * Callback to be notified when surface stats for a specific surface control are available.
 */
typedef void (*ASurfaceControl_SurfaceStatsListener)(void* context,
        ASurfaceControl* control, ASurfaceControlStats* stats);
        ASurfaceControl* control, int32_t id, ASurfaceControlStats* stats);

/**
 * Registers a callback to be invoked when surface stats from a specific surface are available.
@@ -42,7 +42,7 @@ typedef void (*ASurfaceControl_SurfaceStatsListener)(void* context,
 *
 * \param func The callback to be invoked when surface stats are available.
 */
void ASurfaceControl_registerSurfaceStatsListener(ASurfaceControl* control, void* context,
void ASurfaceControl_registerSurfaceStatsListener(ASurfaceControl* control, int32_t id, void* context,
        ASurfaceControl_SurfaceStatsListener func);

/**