summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-04-22 00:47:35 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-22 00:47:35 +0000
commit2bff43a91240ba3e2f98778233f3c9fb8221bbf7 (patch)
tree6a8dfada6c1130ec8ee3629408c114ad9d3f3a37 /include/gui
parent1c38c4192bdb3fc5d856e6882268f3d4b76032e3 (diff)
parent3805a00d6efef02535aaed96f412e0c55a9875f8 (diff)
downloadframeworks_native-2bff43a91240ba3e2f98778233f3c9fb8221bbf7.zip
frameworks_native-2bff43a91240ba3e2f98778233f3c9fb8221bbf7.tar.gz
frameworks_native-2bff43a91240ba3e2f98778233f3c9fb8221bbf7.tar.bz2
am 3805a00d: am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"
* commit '3805a00d6efef02535aaed96f412e0c55a9875f8': libgui: Fix CPU rendering on Surface
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/Surface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h
index 8217652..a9f78cf 100644
--- a/include/gui/Surface.h
+++ b/include/gui/Surface.h
@@ -298,12 +298,12 @@ private:
sp<GraphicBuffer> mPostedBuffer;
bool mConnectedToCpu;
- // In the lock/unlock context, this reflects the region that the producer
- // wished to update and whether the Surface was able to copy the previous
- // buffer back to allow a partial update.
+ // When a CPU producer is attached, this reflects the region that the
+ // producer wished to update as well as whether the Surface was able to copy
+ // the previous buffer back to allow a partial update.
//
- // In the dequeue/queue context, this reflects the surface damage (the
- // damage since the last frame) passed in by the producer.
+ // When a non-CPU producer is attached, this reflects the surface damage
+ // (the change since the previous frame) passed in by the producer.
Region mDirtyRegion;
};