summaryrefslogtreecommitdiffstats
path: root/rsAllocation.h
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-03-10 12:15:08 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2015-03-10 12:15:08 +0000
commit4d9245fd508125ca177794b7eb740dbcf35a1366 (patch)
tree016c49a6d577cdfe83fe317bdf30274a43923199 /rsAllocation.h
parentb0a4a7f403287d16ade9451722a50b4cb00723f1 (diff)
parentad410d91de8f32e02f824c40b58db638dcafc1b4 (diff)
downloadandroid_frameworks_rs-cm-12.1.tar.gz
android_frameworks_rs-cm-12.1.tar.bz2
android_frameworks_rs-cm-12.1.zip
Android 5.1.0 release 1
Diffstat (limited to 'rsAllocation.h')
-rw-r--r--rsAllocation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rsAllocation.h b/rsAllocation.h
index f197efc1..065d7be1 100644
--- a/rsAllocation.h
+++ b/rsAllocation.h
@@ -88,6 +88,8 @@ public:
uint32_t shift;
uint32_t step;
} yuv;
+
+ int grallocFlags;
};
mutable DrvState drvState;
@@ -183,7 +185,7 @@ protected:
const android::renderscript::Context *rsc;
const android::renderscript::Allocation *alloc;
- virtual void onFrameAvailable();
+ virtual void onFrameAvailable(const BufferItem& item);
};
sp<NewBufferListener> mBufferListener;