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

visionbuf use EGL texture #310

Closed
wants to merge 7 commits into from
Closed

visionbuf use EGL texture #310

wants to merge 7 commits into from

Conversation

jwooning
Copy link
Contributor

@jwooning jwooning commented Jun 1, 2022

@@ -117,6 +117,27 @@ void VisionBuf::init_cl(cl_device_id device_id, cl_context ctx) {
assert(err == 0);
}

void VisionBuf::init_gl() {
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason to do this here instead of UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the image/texture is linked to the shared buffers, so it requires a texture pointer for every visionbuf object, so I guess it makes more sense to put it there

@jwooning jwooning marked this pull request as ready for review June 2, 2022 13:44
@jwooning jwooning closed this Jun 3, 2022
@jwooning jwooning deleted the visionbuf_gl_texture branch June 3, 2022 09:26
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.

2 participants