summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-07-01 14:53:49 -0700
committerMathias Agopian <mathias@google.com>2011-07-01 14:53:49 -0700
commiteec0f7ebac85d3d1b1151e62b2ed0f25c138d447 (patch)
tree51e127d4082b8f5aaee347fbc195b74789762450 /include
parent23b444a2e4e808262c22fa5254db9861eb961879 (diff)
downloadframeworks_base-eec0f7ebac85d3d1b1151e62b2ed0f25c138d447.zip
frameworks_base-eec0f7ebac85d3d1b1151e62b2ed0f25c138d447.tar.gz
frameworks_base-eec0f7ebac85d3d1b1151e62b2ed0f25c138d447.tar.bz2
return an error code with gralloc buffer allocation failures
Change-Id: I471e5d37ea7a42fc8a0f93446ee3b4229da37807
Diffstat (limited to 'include')
-rw-r--r--include/surfaceflinger/IGraphicBufferAlloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/surfaceflinger/IGraphicBufferAlloc.h b/include/surfaceflinger/IGraphicBufferAlloc.h
index e1b6b57..d3b2062 100644
--- a/include/surfaceflinger/IGraphicBufferAlloc.h
+++ b/include/surfaceflinger/IGraphicBufferAlloc.h
@@ -37,7 +37,7 @@ public:
/* Create a new GraphicBuffer for the client to use.
*/
virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
- PixelFormat format, uint32_t usage) = 0;
+ PixelFormat format, uint32_t usage, status_t* error) = 0;
};
// ----------------------------------------------------------------------------