replicant-frameworks_native/services/surfaceflinger
Jesse Hall 7adb0f8a9f Minor cleanups/fixes before virtual display refactoring
None of these should change behavior, except for removing some
incorrect log messages when using a virtual display.

- HWComposer::getAndResetReleaseFenceFd() checks the HWC version, so
  no need to do that in the DisplayDevice::onSwapBuffersCompleted().
  However, it should check that mFramebufferSurface is not NULL like
  it is for virtual displays.
- Comment that FramebufferSurface::dump() overrides the non-virtual
  ConsumerBase::dump(), and fix it so the right thing happens
  regardless of the static type of the pointer/reference the callee
  has. FramebufferSurface::dump() could be removed right now, but I'd
  need to bring it back in a later change.
- Use the right enum for validating display type ids.
- Don't try to send hotplug events for virtual displays.
- Mark virtual displays as connected so HWComposer::prepare() doesn't
  think something is wrong when it gets a non-NULL layer list.
- Remove unused FramebufferSurface methods.

Bug: 8384764
Change-Id: Id28a2f9be86b45f4bb7915fdf7752157035f4294
2013-03-18 14:16:02 -07:00
..
DisplayHardware Minor cleanups/fixes before virtual display refactoring 2013-03-18 14:16:02 -07:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk Get rid of LayerBase. 2013-03-05 19:52:30 -08: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.cpp
clz.h
DdmConnection.cpp
DdmConnection.h
DisplayDevice.cpp Minor cleanups/fixes before virtual display refactoring 2013-03-18 14:16:02 -07:00
DisplayDevice.h Get rid of LayerBase. 2013-03-05 19:52:30 -08:00
EventThread.cpp Minor cleanups/fixes before virtual display refactoring 2013-03-18 14:16:02 -07:00
EventThread.h
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
GLExtensions.cpp
GLExtensions.h
Layer.cpp get rid of ISurface 2013-03-12 17:11:48 -07:00
Layer.h get rid of ISurface 2013-03-12 17:11:48 -07:00
LayerDim.cpp get rid of ISurface 2013-03-12 17:11:48 -07:00
LayerDim.h get rid of ISurface 2013-03-12 17:11:48 -07:00
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Minor cleanups/fixes before virtual display refactoring 2013-03-18 14:16:02 -07:00
SurfaceFlinger.h get rid of ISurface 2013-03-12 17:11:48 -07:00
SurfaceFlingerConsumer.cpp libgui: disallow NULL Fence pointers 2013-02-12 18:15:38 -08:00
SurfaceFlingerConsumer.h
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
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