| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm
if (gl_ozone) {
gpu_feature_info_.supports_nv12_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kNV12);
gpu_feature_info_.supports_p010_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kP010);
}This logic is different for the case where !gl_ozone but I just want to confirm that doesn't matter? Aka the values are only checked when we're using GrContextType::kGL.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (gl_ozone) {
gpu_feature_info_.supports_nv12_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kNV12);
gpu_feature_info_.supports_p010_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kP010);
}This logic is different for the case where !gl_ozone but I just want to confirm that doesn't matter? Aka the values are only checked when we're using GrContextType::kGL.
Yes, we only check it in [grcontext=gl, and assume support in vulkan](https://source.chromium.org/chromium/chromium/src/+/main:media/mojo/services/gpu_mojo_media_client_linux.cc;l=54;drc=b3eab4fd06ddbeee84b37224f4cc9d78094fc2f7;bpv=0;bpt=1)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Thanks for reviews!
if (gl_ozone) {
gpu_feature_info_.supports_nv12_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kNV12);
gpu_feature_info_.supports_p010_gl_native_pixmap =
gl_ozone->CanImportNativePixmap(viz::MultiPlaneFormat::kP010);
}Kramer GeThis logic is different for the case where !gl_ozone but I just want to confirm that doesn't matter? Aka the values are only checked when we're using GrContextType::kGL.
Yes, we only check it in [grcontext=gl, and assume support in vulkan](https://source.chromium.org/chromium/chromium/src/+/main:media/mojo/services/gpu_mojo_media_client_linux.cc;l=54;drc=b3eab4fd06ddbeee84b37224f4cc9d78094fc2f7;bpv=0;bpt=1)
Yes, the context type in media would have to GL before checking for these bools.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[ozone][gpu] Remove GetSupportedFormatsForGLNativePixmapImport
Instead of a vector of supported formats, add bools for checking if
Native Pixmap of NV12/P010 formats can be imported into GL for
media/mojo client. This can be done directly through
CanImportNativePixmap checks on GLOzone. This helps remove
GetSupportedFormatsForGLNativePixmapImport.
Eventually, we can look at moving supports_nv12_gl_native_pixmap
and supports_p010_gl_native_pixmap to SharedImageCapabilities
but also converging these with those for allocation and texturing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |