From 3c0dfbab807a459622aeade4940daddf482dec66 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Sun, 27 Sep 2009 17:50:38 -0700 Subject: Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement. --- libs/rs/rsAllocation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/rs/rsAllocation.cpp') diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp index 8ee6e5a45324..8ac9c26a2f37 100644 --- a/libs/rs/rsAllocation.cpp +++ b/libs/rs/rsAllocation.cpp @@ -141,6 +141,7 @@ void Allocation::subData(uint32_t xoff, uint32_t count, const void *data, uint32 if (size != sizeBytes) { LOGE("Allocation::subData called with mismatched size expected %i, got %i", size, sizeBytes); + mType->dumpLOGV("type info"); return; } memcpy(ptr, data, size); -- cgit v1.2.3-59-g8ed1b