OSDN Git Service

drm_hwcomposer: implement the safe handling of layers
authorZach Reizner <zachr@google.com>
Fri, 11 Sep 2015 01:30:54 +0000 (18:30 -0700)
committerZach Reizner <zachr@google.com>
Fri, 25 Sep 2015 20:52:22 +0000 (13:52 -0700)
commit4a253659cef3d82bfb0b25b3ff4c7b073d7a0460
tree65affd74723b165eaf0431a54a95275b92e1c161
parent176d9464c7ca1004f8e2b994267ac0d07fd7237e
drm_hwcomposer: implement the safe handling of layers

This is a sweeping change to discard our usage of struct hwc_layer_t outside
hwcomposer.cpp. That was a dangerous struct that was a source of many of our
errors. Replacing it with safer RAII-style classes reduces the amount and
complexity of our code.

Change-Id: I580cafdf89bd1e7e6583f3073858b8e78e6018ba
drm_hwcomposer.h
drmcomposition.cpp
drmcomposition.h
drmdisplaycomposition.cpp
drmdisplaycomposition.h
drmdisplaycompositor.cpp
glworker.cpp
glworker.h
hwcomposer.cpp
seperate_rects.h