summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/LayerBuffer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-26 22:19:19 -0700
committerMathias Agopian <mathias@google.com>2010-05-26 22:19:19 -0700
commitdc7a80f07aa046925313cf8f6e94feaa16387fda (patch)
treed4138b277aa7ec2db8db4f8263e7e0d79e16cdef /libs/surfaceflinger/LayerBuffer.cpp
parenta7f669256f93a593c723f05784ef04d3c7d052bb (diff)
downloadframeworks_native-dc7a80f07aa046925313cf8f6e94feaa16387fda.zip
frameworks_native-dc7a80f07aa046925313cf8f6e94feaa16387fda.tar.gz
frameworks_native-dc7a80f07aa046925313cf8f6e94feaa16387fda.tar.bz2
clean-up dead-code
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r--libs/surfaceflinger/LayerBuffer.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp
index 1fc982c..740b8cd 100644
--- a/libs/surfaceflinger/LayerBuffer.cpp
+++ b/libs/surfaceflinger/LayerBuffer.cpp
@@ -143,14 +143,6 @@ void LayerBuffer::onDraw(const Region& clip) const
}
}
-bool LayerBuffer::transformed() const
-{
- sp<Source> source(getSource());
- if (LIKELY(source != 0))
- return source->transformed();
- return false;
-}
-
void LayerBuffer::serverDestroy()
{
sp<Source> source(clearSource());
@@ -319,9 +311,6 @@ void LayerBuffer::Source::postBuffer(ssize_t offset) {
}
void LayerBuffer::Source::unregisterBuffers() {
}
-bool LayerBuffer::Source::transformed() const {
- return mLayer.mTransformed;
-}
// ---------------------------------------------------------------------------
@@ -442,11 +431,6 @@ void LayerBuffer::BufferSource::setBuffer(const sp<LayerBuffer::Buffer>& buffer)
mBuffer = buffer;
}
-bool LayerBuffer::BufferSource::transformed() const
-{
- return mBufferHeap.transform ? true : Source::transformed();
-}
-
void LayerBuffer::BufferSource::onDraw(const Region& clip) const
{
sp<Buffer> ourBuffer(getBuffer());