summaryrefslogtreecommitdiff
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2011-01-28 15:49:07 -0800
committer Jason Sams <rjsams@android.com> 2011-01-28 16:18:01 -0800
commit62f258f1e4293dfc982da38a39701c50d2076954 (patch)
tree71390deb4c0072e080673c0d5dfc6650385b4721 /libs/rs/rsAllocation.cpp
parent35e7026357762c3370a649a4f0f0bcae0eb7156d (diff)
Clean up RS samples for SDK, bug 2943369
Fix bug 3403965 rsgSyncAll would not mark constants as changed found by inspection. Only rsAllocation.cpp affects on device bits. Change-Id: I6b7ec0df87e42687b24384aaf54dc04976cb84f7 doc update Change-Id: Id5841f08868557e086f185024470924ef202d19f
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index 41c9fe2d016c..c598f0395362 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -679,6 +679,7 @@ static void mip(const Adapter2D &out, const Adapter2D &in) {
void rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) {
Allocation *a = static_cast<Allocation *>(va);
a->syncAll(rsc, src);
+ a->sendDirty();
}
void rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) {