OSDN Git Service

split hwcomposer.h
authorMathias Agopian <mathias@google.com>
Mon, 14 May 2012 05:49:06 +0000 (22:49 -0700)
committerMathias Agopian <mathias@google.com>
Mon, 14 May 2012 05:49:06 +0000 (22:49 -0700)
commite291f71e0a25ac9bb39fb754c599b710ab8f59d5
tree8a4a94e0d060954bb723af4a630b175cf66dc25a
parenta3e364144cc258bbe94e7eb0a216e317a9e7e38d
split hwcomposer.h

hwcomposer_defs.h now contains enums, which are essentially names.
This won't change when we rev the h/w composer API (new ones will be added instead).

we do this to avoid having to abstract all these constants in higher
level APIs; instead hwcomposer_defs.h can be included without exposing
the hwcomposer's data structures (which are a lot more fragile wrt.
backward compatibility)

Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc
include/hardware/hwcomposer.h
include/hardware/hwcomposer_defs.h [new file with mode: 0644]