replicant-frameworks_native/services/surfaceflinger/DisplayHardware
Jesse Hall 497ba0e085 Don't use implementation-defined format with CPU consumers
If the virtual display surface is being consumed by the CPU, it can't
be allowed with HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED since there is
no way for the CPU consumer to find out what format gralloc chose. So
for CPU-consumer surfaces, just use the BufferQueue's default format,
which can be set by the consumer.

A better but more invasive change would be to let the consumer require
a certain format (or set of formats?), and disallow the producer from
requesting a different format.

Bug: 11479817
Change-Id: I5b20ee6ac1146550e8799b806e14661d279670c0
2013-11-04 16:43:03 -08:00
..
DisplaySurface.h Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
FloatRect.h fix SF buffer cropping 2013-07-10 15:08:29 -07:00
FramebufferSurface.cpp Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
FramebufferSurface.h Provide HWC prepare with a valid output buffer 2013-08-20 16:35:32 -07:00
HWComposer.cpp Filter out vsync events from HWC with duplicate timestamps 2013-10-14 15:34:00 -07:00
HWComposer.h handle several vsync signal correctly 2013-08-21 17:45:46 -07:00
PowerHAL.cpp don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
PowerHAL.h don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
VirtualDisplaySurface.cpp Don't use implementation-defined format with CPU consumers 2013-11-04 16:43:03 -08:00
VirtualDisplaySurface.h Don't use implementation-defined format with CPU consumers 2013-11-04 16:43:03 -08:00