-
Notifications
You must be signed in to change notification settings - Fork 52
Apply new texture APIs #434
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
Apply new texture APIs #434
Conversation
* Contributes to flutter-tizen/engine/issues/285. * This change depends on flutter-tizen/engine/pull/338. Signed-off-by: Boram Bae <boram21.bae@samsung.com>
| flutter_desktop_gpu_buffer_->width = width; | ||
| flutter_desktop_gpu_buffer_->visible_width = width; | ||
| flutter_desktop_gpu_buffer_->height = height; | ||
| flutter_desktop_gpu_buffer_->visible_height = height; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These four values are unused by the embedder so I think you can remove the lines (or at least visible_*).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed them from all over this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, we still keep width and height although they are unused.
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
| gpu_surface_->width = width; | ||
| gpu_surface_->height = height; | ||
| gpu_surface_->release_callback = [](void *release_context) { | ||
| CameraDevice *cd = (CameraDevice *)release_context; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need another PR to do some refactoring (to fix the C type cast).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think another PR is better.
|
|
Signed-off-by: Boram Bae boram21.bae@samsung.com