OSDN Git Service

Move gralloc_gbm_handle_t accesses into gralloc_gbm.cpp
authorRob Herring <robh@kernel.org>
Fri, 16 Feb 2018 16:23:26 +0000 (10:23 -0600)
committerRob Herring <robh@kernel.org>
Mon, 2 Jul 2018 22:43:28 +0000 (16:43 -0600)
commit82c0082b4e88b0770e3517fce76d72adfc32e499
tree2d57b2c3ddac81fbfb0e6bcb4a44899738b9f81b
parented2c246bfc6c4bd8f9ef72b6a771814cf493c1f8
Move gralloc_gbm_handle_t accesses into gralloc_gbm.cpp

The only access to the gralloc_gbm_handle_t in gralloc.cpp is to set the
stride of allocated buffers. Move this into gralloc_gbm.cpp to isolate
accesses to the struct in one place.

Signed-off-by: Rob Herring <robh@kernel.org>
gralloc.cpp
gralloc_gbm.cpp
gralloc_gbm_priv.h