replicant-frameworks_native/services/surfaceflinger
Mathias Agopian 5219a06d61 set correct crop rectangle in LayerBase::setCrop
The crop always had left=top=0, because the crop position
and the layer's transform were merged together in
computeBounds() (which really used to compute the
bounds in screen space, which we usually call the
"frame" elsewhere in the code)

Note: in practice this crop value is not used by
hwc, because it's overridden in Layer::setGeometry(), which
is why this bug was never apparent.

Change-Id: I1ec6400a8fc8314408e4252708f43ea98c2fe64e
2013-02-28 18:43:04 -08:00
..
DisplayHardware Initialize DisplayData fences to NO_FENCE, not NULL 2013-02-27 16:48:41 -08:00
tests Refactoring: Rename SurfaceTextureClient to Surface 2013-02-14 19:19:05 -08:00
Android.mk SurfaceFlinger: Move GraphicBufferAlloc to libgui 2012-12-11 17:54:29 -08:00
Barrier.h move native services under services/ 2010-07-22 15:28:19 -07:00
Client.cpp get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
Client.h get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
clz.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07: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 Refactoring: Rename SurfaceTextureClient to Surface 2013-02-14 19:19:05 -08:00
DisplayDevice.h rework a bit how we scissor the display 2012-10-31 14:22:51 -07:00
EventThread.cpp make sure we don't call into the HWC HAL when not needed 2012-10-04 15:25:32 -07:00
EventThread.h Display events now always carry the display id they happened on 2012-09-21 14:20:35 -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
GLExtensions.cpp add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
GLExtensions.h add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
Layer.cpp SurfaceFlinger: fix a couple NULL fence checks 2013-02-25 15:34:30 -08:00
Layer.h SurfaceFlinger: add win anim frame time tracking 2013-02-08 13:32:21 -08:00
LayerBase.cpp set correct crop rectangle in LayerBase::setCrop 2013-02-28 18:43:04 -08:00
LayerBase.h get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
LayerDim.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerDim.h Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerScreenshot.cpp SurfaceFlinger: add support for secure displays 2012-10-22 13:41:21 -07:00
LayerScreenshot.h SurfaceFlinger: add support for secure displays 2012-10-22 13:41:21 -07:00
MessageQueue.cpp one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MessageQueue.h one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MODULE_LICENSE_APACHE2 move native services under services/ 2010-07-22 15:28:19 -07:00
SurfaceFlinger.cpp set correct crop rectangle in LayerBase::setCrop 2013-02-28 18:43:04 -08:00
SurfaceFlinger.h Refactoring: Rename SurfaceTextureClient to Surface 2013-02-14 19:19:05 -08:00
SurfaceFlingerConsumer.cpp libgui: disallow NULL Fence pointers 2013-02-12 18:15:38 -08:00
SurfaceFlingerConsumer.h Rename ISurfaceTexture and SurfaceTexture 2012-12-18 13:10:48 -08:00
SurfaceTextureLayer.cpp Add some comments. 2013-01-11 10:16:10 -08:00
SurfaceTextureLayer.h Add some comments. 2013-01-11 10:16:10 -08:00
Transform.cpp Ensure that viewport and frame are initialized. 2012-09-09 00:07:17 -07:00
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00