diff options
author | Paulo Sergio Travaglia <pstglia@gmail.com> | 2015-02-16 21:37:05 -0200 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2015-04-19 14:15:59 +0800 |
commit | dc21193e3252ba2d6526546ba1d0c02116baf3ee (patch) | |
tree | 34c6b3a58796795d800661692aebe75cf50cf704 /gralloc_drm_freedreno.c | |
parent | 28207c005b70a1384c1f70fa107b172d6d469f22 (diff) | |
download | external_drm_gralloc-dc21193e3252ba2d6526546ba1d0c02116baf3ee.zip external_drm_gralloc-dc21193e3252ba2d6526546ba1d0c02116baf3ee.tar.gz external_drm_gralloc-dc21193e3252ba2d6526546ba1d0c02116baf3ee.tar.bz2 |
Changed format constants to match what vmwgfx driver expects
When allocating a new buffer using pipe driver, pipe constants
are used to define a format based on corresponding HAL_PIXEL_FORMAT
However, vmwgfx driver expects other constants
(SVGA3D_A8R8G8B8, SVGA3D_X8R8G8B8, SVGA3D_R5G6B5, etc)
Changed the returning constants to match what driver expects.
v2: [cwhuang]
- Use the constants defined in svga3d_types.h.
- Use C99 standard to avoid building errors with mesa 10.6.
Diffstat (limited to 'gralloc_drm_freedreno.c')
0 files changed, 0 insertions, 0 deletions