return ui::GetFourCCFormatFromBufferFormat(buffer_->GetBufferFormat());we should use 'GetFourCCFormatFromSharedImageFormat' now
aka use the shared image format above.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
return ui::GetFourCCFormatFromBufferFormat(buffer_->GetBufferFormat());we should use 'GetFourCCFormatFromSharedImageFormat' now
aka use the shared image format above.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
dmaBufDesc.drmFormat = pixmap_->GetFourCCBufferFormat();nit: Get we call `GetFourCCFormatFromSharedImageFormat` here instead of adding the method?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dmaBufDesc.drmFormat = pixmap_->GetFourCCBufferFormat();nit: Get we call `GetFourCCFormatFromSharedImageFormat` here instead of adding the method?
I used the method because i couldnt call GetFourCCFormatFromBufferFormat because it was somewhere in linux drm. I dont think this changed for GetFourCCFormatFromSharedImageFormat. So i think we should leave it as such
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dmaBufDesc.drmFormat = pixmap_->GetFourCCBufferFormat();Peter McNeeleynit: Get we call `GetFourCCFormatFromSharedImageFormat` here instead of adding the method?
I used the method because i couldnt call GetFourCCFormatFromBufferFormat because it was somewhere in linux drm. I dont think this changed for GetFourCCFormatFromSharedImageFormat. So i think we should leave it as such
I believe you can now, we changed it [here](https://chromium-review.googlesource.com/c/chromium/src/+/7545452). You probably will need to move [this](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/service/BUILD.gn;drc=3628a05592a7424a20692d6874f81c7d4e959adc;l=432) to deps above.
I don't have strong feelings about it though, it's more to keep change smaller and maintain illusion that NativePixmap is not posix-only.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dmaBufDesc.drmFormat = pixmap_->GetFourCCBufferFormat();Peter McNeeleynit: Get we call `GetFourCCFormatFromSharedImageFormat` here instead of adding the method?
Vasiliy TelezhnikovI used the method because i couldnt call GetFourCCFormatFromBufferFormat because it was somewhere in linux drm. I dont think this changed for GetFourCCFormatFromSharedImageFormat. So i think we should leave it as such
I believe you can now, we changed it [here](https://chromium-review.googlesource.com/c/chromium/src/+/7545452). You probably will need to move [this](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/service/BUILD.gn;drc=3628a05592a7424a20692d6874f81c7d4e959adc;l=432) to deps above.
I don't have strong feelings about it though, it's more to keep change smaller and maintain illusion that NativePixmap is not posix-only.
If you dont mind I will leave this as is. I had some issues with this particular aspect of the CL and this was the best that I came up with.
Perhaps another adventurer will come along and tackle this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dmaBufDesc.drmFormat = pixmap_->GetFourCCBufferFormat();Peter McNeeleynit: Get we call `GetFourCCFormatFromSharedImageFormat` here instead of adding the method?
Vasiliy TelezhnikovI used the method because i couldnt call GetFourCCFormatFromBufferFormat because it was somewhere in linux drm. I dont think this changed for GetFourCCFormatFromSharedImageFormat. So i think we should leave it as such
Peter McNeeleyI believe you can now, we changed it [here](https://chromium-review.googlesource.com/c/chromium/src/+/7545452). You probably will need to move [this](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/service/BUILD.gn;drc=3628a05592a7424a20692d6874f81c7d4e959adc;l=432) to deps above.
I don't have strong feelings about it though, it's more to keep change smaller and maintain illusion that NativePixmap is not posix-only.
If you dont mind I will leave this as is. I had some issues with this particular aspect of the CL and this was the best that I came up with.
Perhaps another adventurer will come along and tackle this.
| 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. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
10 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Move Dawn Ozone Image Representation over to Shared Texture Memory
(Attempt #3)
TESTED again on chromeos device using webgpu meets.
This is done as far as ozone is concerned but the issue with opaque fences still remains. Basically ozone backing works with sync fences
and the external_vk_image_backing doesnt not.
We are able to make this change only because webGPU for LINUX is not
enabled and will not be for the foreseeable future. WebGPU on linux
will work with this change if it uses the external_vk_image_backing
and associated representations.
This is dependent on:
https://dawn-review.googlesource.com/c/dawn/+/194440
This means that we must use single copy for linux video import as we
cannot use zero copy through ozone image backing (again due to
the fence sync vs opaque issue)
See: 'CanImportNativePixmapToWebGPU' function
| 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. |
Hi! Looks like implementation of virtual method 'GetFourCCBufferFormat' is missed in this class: https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/cast/surface_factory_cast.cc;l=48
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |