OSDN Git Service

Align goldfish_dma_context to 8 byte boundaries
authorLingfeng Yang <lfy@google.com>
Fri, 17 Feb 2017 22:44:20 +0000 (14:44 -0800)
committerLingfeng Yang <lfy@google.com>
Fri, 17 Feb 2017 22:45:49 +0000 (14:45 -0800)
commit02cf3e86e59632c4085ac374d943814fad2c6252
tree938ca242dc53f7f76f536545ccb2e0263ce9f914
parent324c8451017a689e06a6710e81ab712f61f049b0
Align goldfish_dma_context to 8 byte boundaries

bug: 35465006

It looks like when Chrome is started, we are in some strange world
where sizeof(goldfish_dma_context) = 16 instead of 24,
and we get in trouble with gralloc_register buffer,
and Chrome fails to boot.

TODO: Note that youtube videos inside chrome still don't seem to work,
for some reason (this doesn't depend on whether or not goldfish_dma is
used).

Change-Id: Ibc66885434b885993025b70d957ea8e1adf524de
system/OpenglSystemCommon/goldfish_dma.h