replicant-frameworks_native/services/surfaceflinger
Mathias Agopian 595264f1af BufferQueue improvements and APIs changes
this is the first step of a series of improvements to
BufferQueue. A few things happen in this change:

- setSynchronousMode() goes away as well as the SynchronousModeAllowed flag
- BufferQueue now defaults to (what used to be) synchronous mode
- a new "controlled by app" flag is passed when creating consumers and producers
  those flags are used to put the BufferQueue in a mode where it
  will never block if both flags are set. This is achieved by:
  - returning an error from dequeueBuffer() if it would block
  - making sure a buffer is always available by replacing
    the previous buffer with the new one in queueBuffer()
    (note: this is similar to what asynchrnous mode used to be)

Note: in this change EGL's swap-interval 0 is broken; this will be
fixed in another change.

Change-Id: I691f9507d6e2e158287e3039f2a79a4d4434211d
2013-07-18 22:28:18 -07:00
..
DisplayHardware BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
EventLog Basic binary event-log helpers 2013-06-05 13:37:49 -07:00
RenderEngine Refactor SF. Move all GL operations in their own class. 2013-07-03 14:39:27 -07:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
Barrier.h
Client.cpp get rid of ISurface 2013-03-12 17:11:48 -07:00
Client.h get rid of ISurface 2013-03-12 17:11:48 -07:00
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp fix SurfaceFlinger DDMS debugging 2012-10-07 16:41:12 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp Rewrite VirtualDisplaySurface 2013-07-15 13:59:41 -07:00
DisplayDevice.h Rewrite VirtualDisplaySurface 2013-07-15 13:59:41 -07:00
EventThread.cpp clean-up/simplify all dump() APIs 2013-04-22 21:51:28 +02:00
EventThread.h SurfaceFlinger: EventThread: Fix Vsync array size. 2013-07-12 16:29:48 -07:00
FrameTracker.cpp SurfaceFlinger: add win anim frame time tracking 2013-02-08 13:32:21 -08:00
FrameTracker.h SurfaceFlinger: add win anim frame time tracking 2013-02-08 13:32:21 -08:00
Layer.cpp BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
Layer.h fix SF buffer cropping 2013-07-10 15:08:29 -07:00
LayerDim.cpp Refactor SF. Move all GL operations in their own class. 2013-07-03 14:39:27 -07:00
LayerDim.h Refactor SF. Move all GL operations in their own class. 2013-07-03 14:39:27 -07:00
MODULE_LICENSE_APACHE2
MessageQueue.cpp fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -07:00
MessageQueue.h fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -07:00
SurfaceFlinger.cpp Rewrite VirtualDisplaySurface 2013-07-15 13:59:41 -07:00
SurfaceFlinger.h Merge "Refactor SF. Move all GL operations in their own class." 2013-07-08 22:50:01 +00:00
SurfaceFlingerConsumer.cpp Pay attention to buffer timestamps 2013-07-10 15:38:40 -07:00
SurfaceFlingerConsumer.h always pass the BufferQueue explicitely to consumers 2013-07-12 22:06:26 -07:00
SurfaceTextureLayer.cpp BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
SurfaceTextureLayer.h BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
Transform.cpp implement display projection clipping in h/w composer 2013-02-28 18:43:04 -08:00
Transform.h implement display projection clipping in h/w composer 2013-02-28 18:43:04 -08:00
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00