replicant-frameworks_native/services/surfaceflinger
Jesse Hall 028dc8f2d7 Provide HWC prepare with a valid output buffer
We weren't dequeing and setting the output buffer until just before
set(). This didn't allow HWC to make decisions in prepare() based on
the output buffer format, dimensions, etc.

Now we dequeue the output buffer at the beginning of the composition
loop and provide it to HWC in prepare. In GLES-only rendering, we may
have to cancel the buffer and acquire a new one if GLES requests a
buffer with properties different than the one we already dequeued.

Bug: 10365313
Change-Id: I96b4b0a851920e4334ef05080d58097d46467ab8
2013-08-20 16:35:32 -07:00
..
DisplayHardware Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
EventLog surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
RenderEngine Encapsulate textures into their own Texture class 2013-08-16 16:29:02 -07:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk Encapsulate textures into their own Texture class 2013-08-16 16:29:02 -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
clz.h
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 Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
DisplayDevice.h Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
EventThread.cpp Use new HWC display type/count constants. 2013-08-16 14:28:37 -07:00
EventThread.h Use new HWC display type/count constants. 2013-08-16 14:28:37 -07:00
FrameTracker.cpp surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
FrameTracker.h surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
Layer.cpp Encapsulate textures into their own Texture class 2013-08-16 16:29:02 -07:00
Layer.h Encapsulate textures into their own Texture class 2013-08-16 16:29:02 -07:00
LayerDim.cpp SurfaceFlinger now uses GLES 2.x when available 2013-08-13 16:07:45 -07:00
LayerDim.h Refactor SF. Move all GL operations in their own class. 2013-07-03 14:39:27 -07:00
main_surfaceflinger.cpp move services executables sources in their respective src folder 2013-07-22 12:25:18 -07:00
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
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
SurfaceFlinger.h Use new HWC display type/count constants. 2013-08-16 14:28:37 -07:00
SurfaceFlingerConsumer.cpp SurfaceFlinger now uses GLES 2.x when available 2013-08-13 16:07:45 -07:00
SurfaceFlingerConsumer.h SurfaceFlinger now uses GLES 2.x when available 2013-08-13 16:07:45 -07:00
SurfaceTextureLayer.cpp Binderize the consumer side of BufferQueue 2013-08-01 17:20:08 -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