replicant-frameworks_native/libs/gui
Dan Stoza 2632350ac8 GLConsumer: Fix unsigned subtraction during crop
Since some variables had been switched from signed to unsigned, there
was a section of code that was guaranteed to be incorrect because it
effectively did 'if (a < b) { c = a - b; }'. This change fixes it.

Cherry pick of I9cdd6c9a0179801addebb5d6dc1fbaddf8f53c62

Bug: 19346631
Change-Id: Id13a46f74c9ae7278463ce22b586f4dc21b5e453
2015-03-18 16:00:44 -07:00
..
tests am 55f71bc0: Merge "Replace IInterface::asBinder() with a static" 2014-11-17 18:52:56 +00:00
Android.mk libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BitTube.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferItem.cpp Add a BufferItem parameter to onFrameAvailable 2014-11-07 10:39:13 -08:00
BufferItemConsumer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferQueue.cpp Add a BufferItem parameter to onFrameAvailable 2014-11-07 10:39:13 -08:00
BufferQueueConsumer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferQueueCore.cpp BufferQueue: release mutex while allocating. DO NOT MERGE 2014-07-22 19:45:55 +00:00
BufferQueueProducer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferSlot.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
CleanSpec.mk
ConsumerBase.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
CpuConsumer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
DisplayEventReceiver.cpp
GLConsumer.cpp GLConsumer: Fix unsigned subtraction during crop 2015-03-18 16:00:44 -07:00
GraphicBufferAlloc.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
GuiConfig.cpp
IConsumerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IDisplayEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferAlloc.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferConsumer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferProducer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IProducerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorServer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
LayerState.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
Sensor.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorEventQueue.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorManager.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
StreamSplitter.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
Surface.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SurfaceControl.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SyncFeatures.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00