summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_freedreno.c
diff options
context:
space:
mode:
authorPaulo Sergio Travaglia <pstglia@gmail.com>2015-02-16 21:37:05 -0200
committerChih-Wei Huang <cwhuang@linux.org.tw>2015-04-19 14:15:59 +0800
commitdc21193e3252ba2d6526546ba1d0c02116baf3ee (patch)
tree34c6b3a58796795d800661692aebe75cf50cf704 /gralloc_drm_freedreno.c
parent28207c005b70a1384c1f70fa107b172d6d469f22 (diff)
downloadexternal_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