blob: 6b5d77ad5c0183991c486b196fd0813cffe755e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <gui/BufferSlot.h>
namespace android {
const char* BufferSlot::bufferStateName(BufferState state) {
switch (state) {
case BufferSlot::DEQUEUED: return "DEQUEUED";
case BufferSlot::QUEUED: return "QUEUED";
case BufferSlot::FREE: return "FREE";
case BufferSlot::ACQUIRED: return "ACQUIRED";
default: return "Unknown";
}
}
} // namespace android
|