minigbm/virgl: Add NV12 to texture formats
Add NV12 to the list of supported texture source formats for virgl. Bug: 218708219 Test: run cts -m CtsNativeHardwareTestCases Change-Id: I771551287400bc974530b273372c01e2645f8f52
This commit is contained in:
parent
2fe64ebda9
commit
335711e592
1 changed files with 3 additions and 2 deletions
|
|
@ -48,8 +48,9 @@ static const uint32_t dumb_texture_source_formats[] = {
|
|||
};
|
||||
|
||||
static const uint32_t texture_source_formats[] = {
|
||||
DRM_FORMAT_NV21, DRM_FORMAT_R8, DRM_FORMAT_R16, DRM_FORMAT_RG88,
|
||||
DRM_FORMAT_YVU420_ANDROID, DRM_FORMAT_ABGR2101010, DRM_FORMAT_ABGR16161616F
|
||||
DRM_FORMAT_NV12, DRM_FORMAT_NV21, DRM_FORMAT_R8,
|
||||
DRM_FORMAT_R16, DRM_FORMAT_RG88, DRM_FORMAT_YVU420_ANDROID,
|
||||
DRM_FORMAT_ABGR2101010, DRM_FORMAT_ABGR16161616F
|
||||
};
|
||||
|
||||
extern struct virtgpu_param params[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue