diff options
author | Mathias Agopian <mathias@google.com> | 2010-05-21 14:19:50 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-05-21 14:34:32 -0700 |
commit | 082a4d89ae4bd156052346bbac7031ed7d741c9d (patch) | |
tree | 3a628b33555c747fa45da6ae566490a0e281bc3d /include | |
parent | 1f5be9e90868b92b99868fef232fe973f9d58713 (diff) | |
download | frameworks_av-082a4d89ae4bd156052346bbac7031ed7d741c9d.zip frameworks_av-082a4d89ae4bd156052346bbac7031ed7d741c9d.tar.gz frameworks_av-082a4d89ae4bd156052346bbac7031ed7d741c9d.tar.bz2 |
added native_window_set_buffer_count()
this method can be used to change the number of buffers
associated to a native window. the default is two.
Change-Id: I608b959e6b29d77f95edb23c31dc9b099a758f2f
Diffstat (limited to 'include')
-rw-r--r-- | include/private/surfaceflinger/SharedBufferStack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/surfaceflinger/SharedBufferStack.h b/include/private/surfaceflinger/SharedBufferStack.h index 0c5a2e4..c3ac317 100644 --- a/include/private/surfaceflinger/SharedBufferStack.h +++ b/include/private/surfaceflinger/SharedBufferStack.h @@ -80,6 +80,7 @@ public: // file need to be updated. static const unsigned int NUM_LAYERS_MAX = 31; static const unsigned int NUM_BUFFER_MAX = 16; + static const unsigned int NUM_BUFFER_MIN = 2; static const unsigned int NUM_DISPLAY_MAX = 4; struct Statistics { // 4 longs |