Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement validateBufferSize() method #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matviizorin
Copy link

The method implementation is required for passing the ValidateBufferSizeBadValue of GraphicsMapperHidlTest. The minimal implementation ensures that the input parameters from the mapper and the data accessed by the buffer handle are equal.

Corresponding to the Glodroid issue#85.

The method implementation is required for passing the ValidateBufferSizeBadValue
of GraphicsMapperHidlTest.

The minimal implementation ensures that the input parameters from
the mapper and the data accessed by the buffer handle are equal.

Signed-off-by: Matvii Zorin <[email protected]>
@@ -265,7 +278,8 @@ struct gbm_module_t HAL_MODULE_INFO_SYM = {
.lock = gbm_mod_lock,
.unlock = gbm_mod_unlock,
.lock_ycbcr = gbm_mod_lock_ycbcr,
.perform = gbm_mod_perform
.perform = gbm_mod_perform,
.validateBufferSize = gbm_mod_validate_buffer_size
Copy link
Owner

Choose a reason for hiding this comment

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

Does this function exist on older Android versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants