Skip to content

Conversation

@JeevakaPrabu
Copy link

No description provided.

@JeevakaPrabu JeevakaPrabu force-pushed the gralloc4_support branch 2 times, most recently from f5bf0ab to 98d9cf6 Compare May 2, 2023 07:01
As per Gralloc 4.0 mapper, buffer has to be imported before its usage
and released after its usage.

Changes include:
- Add importBuffer and release functions to Gralloc1
- Import the buffer before its usage.
- Release the buffer after its usage.

Tracked-On: OAM-105783
Co-authored-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Deepa K G <g.k.deepa@intel.com>
Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
ALOGE("%s: Request %d: Buffer %zu: Fence timed out after %d ms", __FUNCTION__,
frameNumber, i, kFenceTimeoutMs);
}
destBuf.rawHandle = native_handle_clone(*(destBuf.buffer));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we call native_handle_clone, but we didn't release the handle, will there be memory leak?

@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 6, 2024
@sysopenci
Copy link

one of the dependent pr's program name is not compatable with other dependent prs, for more details please check tracked_on

1 similar comment
@sysopenci
Copy link

one of the dependent pr's program name is not compatable with other dependent prs, for more details please check tracked_on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale label for inactive open prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants