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. |