diff options
| author | 2021-08-31 15:20:46 +0000 | |
|---|---|---|
| committer | 2021-09-06 16:55:11 +0000 | |
| commit | 577b72b975a956e98521cb8aa772e56d7c97a14f (patch) | |
| tree | c5d2ffbd37a10cac84f14d69831d5cfda5e28a08 | |
| parent | 70077d03e37d812c23159b834a84802698b7c062 (diff) | |
Update type of surface stats listener function to include id used to identify the surface
Test: Existing tests
Change-Id: I5680edac1c9b241d3a2690ce056fc8296e0ad500
| -rw-r--r-- | include/private/surface_control_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/surface_control_private.h b/include/private/surface_control_private.h index 37a476e679..44324f8314 100644 --- a/include/private/surface_control_private.h +++ b/include/private/surface_control_private.h @@ -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); /** |