diff options
Diffstat (limited to 'rsAllocation.h')
| -rw-r--r-- | rsAllocation.h | 4 |
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; |
