more clean-up in preparation of bigger changes

the most important change here is the renaming of
ISurfaceFlingerClient to ISurfaceComposerClient

Change-Id: I94e18b0417f50e06f21377446639c61f65f959b3
This commit is contained in:
Mathias Agopian
2010-05-28 14:22:23 -07:00
parent cdfd5fe2c8
commit 770492cb2b
16 changed files with 117 additions and 90 deletions

View File

@@ -49,10 +49,6 @@ status_t SharedClient::validate(size_t i) const {
return surfaces[i].status;
}
uint32_t SharedClient::getIdentity(size_t token) const {
return uint32_t(surfaces[token].identity);
}
// ----------------------------------------------------------------------------
@@ -161,6 +157,12 @@ status_t SharedBufferBase::getStatus() const
return stack.status;
}
int32_t SharedBufferBase::getIdentity() const
{
SharedBufferStack& stack( *mSharedStack );
return stack.identity;
}
size_t SharedBufferBase::getFrontBuffer() const
{
SharedBufferStack& stack( *mSharedStack );