summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/clz.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-07-07 14:27:31 -0700
committer Dianne Hackborn <hackbod@google.com> 2010-07-08 11:06:59 -0700
commit3c5d125ed796dbecdd80fa2c03e04ff9b1d752e4 (patch)
tree429606751a11b5211392f0b94af09b6c93db3b8b /libs/surfaceflinger/clz.cpp
parente53d857c20482e7ad7b142049b892fa08c9c816d (diff)
Add new glue code for writing native apps.
This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
Diffstat (limited to 'libs/surfaceflinger/clz.cpp')
0 files changed, 0 insertions, 0 deletions