| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
This change makes BufferQueue derive the min undequeued buffer count from a max
acquired buffer count that is set by the consumer. This value may be set at
any time that a producer is not connected to the BufferQueue rather than at
BufferQueue construction time.
Change-Id: Icf9f1d91ec612a079968ba0a4621deffe48f4e22
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This change reworks how the maximum buffer count is computed.
Change-Id: I7d3745814b9bd6f6f447f86bfea8eb7729914ebf
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change is a clean up of some of the handling of the maximum number of
buffers that are allowed at once. It mostly renames a few member variables and
methods, but it includes a couple small refactorings.
Change-Id: I9959310f563d09583548d4291e1050a7bbc7d87d
|
|/
|
|
|
|
| |
This reverts commit 9b5782baf0a8a2d7afc7129453beb5df7abe7650.
A new ril for toro, hack no longer needed.
|
|
|
|
|
|
|
| |
Add a temporary shim until the vendor fixes the ril.
Bug: 7073467
Change-Id: Ia95a58bd90677c03406c988d1c29ae785f8662f2
|
|
|
|
|
|
|
|
|
|
|
| |
This is a compatibility shim for one product whose drivers
are depending on SurfaceComposerClient::getDisplayInfo(
int, DisplayInfo*) when it really shouldn't.
Revert this patch when the problem has been resolved.
Bug: 7065398
Change-Id: I6542691b81fd1b1e1d79500a62e82d40a3d51db7
|
|
|
|
| |
Change-Id: I8944a9f4a27c330b11e5e837c69b88c8f84145ba
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use only display tokens in the API to refer to new displays.
Don't require the caller to specify the display when creating
a surface (since in general a surface could be shown on
any display).
This is intended to be a minimum change just to update the API.
Note that SurfaceFlinger still uses DisplayID in a few places
internally that might cause some features not to work properly
when there are multiple displays (LayerScreenshot, for example).
Change-Id: I3d91eec2da406eefd97bcd53655d403ad865a7e6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change makes SurfaceTexture inherit from ConsumerBase. It removes all of
the functionality from SurfaceTexture that is now provided by the base class.
This includes fixes for two bugs that were found after checking this change in
the first time and then reverting it.
Change-Id: Ie2d9f4f27cfef26fdac341de3152e842b01a58d2
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BufferItemConsumer allows for acquiring BufferQueue's BufferItems,
which contain all the data and metadata the BufferQueue has for a
given graphics buffer.
This consumer is useful when direct access to the native buffer_handles
is needed by the client.
Also includes a minor cleanup of CpuConsumer's use of 'virtual'.
Bug: 6243944
Change-Id: If7dc4192b15ac499555f1eda42a85140f2434795
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: I55178b1d673ffa0fbc6e63ef47642c64d4d03228
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ed059a8d754770c3cf28b78dba30f7a6ba475dbe
Change-Id: I72542c2595771a40c2c88251e0d6eb54e305b99b
|
|\ \ \
| | | |
| | | |
| | | | |
jb-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit f8d33c652b930abbfb0722f3a2928cbc2ea71078
Change-Id: I1ff2e1cc85824a8fac1051f573d2931db81af511
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change fixes SurfaceTexture::freeBufferLocked so that it calls the base
class implementation.
Change-Id: I45d76fb2eb02c1fa6e4e917823ead83e2086bd15
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
Change-Id: I17da10797736f3772a143e2015fe25df0bb3eb3f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was an issue in Surface::lock where failure to lock a surface
resulted in two bad things happening:
- success was returned to the caller (it was apparently locked).
- an uninitialised pointer was returned as the buffer.
Change-Id: I8b0df81400e0fa0542a8bb993d76923ac96b686e
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
This change makes SurfaceTexture inherit from ConsumerBase. It removes all of
the functionality from SurfaceTexture that is now provided by the base class.
Change-Id: I4a881df42810a14ee32d4ef7c8772a8f2510f4c7
|
|/ /
| |
| |
| | |
Change-Id: Ifade9f2f1a0df9a36aede77a6cf5eee4be534f98
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this change introduces a new class LightFlattenable<> which is
a protocol to flatten simple objects that don't require
binders or file descriptors; the benefit of this protocol is that
it doesn't require the objects to have a virtual table and give us
a consitant way of doing this.
we also introduce an implementation of this protocol for
POD structures, LightFlattenablePod<>.
Parcel has been update to handle this protocol automatically.
Sensor, Rect, Point and Region now use this new protocol.
Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a
|
| |
| |
| |
| |
| |
| |
| | |
- displays are represented by a binder on the client side
- c++ clients can now create and modify displays
Change-Id: I203ea5b4beae0819d742ec5171c27568f4e8354b
|
| |
| |
| |
| | |
Change-Id: I1d24ec17f5003ec2abab5f7472daaff4cc4cc2d3
|
| |
| |
| |
| |
| | |
Bug: 6949010
Change-Id: I289992c964504b4fe5458dbd19b248a841ef043f
|
| |
| |
| |
| |
| | |
Bug: 6879028
Change-Id: Ic3d35a9384c0a6dfa4000e7743a6f6859608b0bf
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change refactors the FramebufferSurface class to inherit from the new
ConsumerBase class.
Bug: 6620200
Change-Id: I46ec942ddb019658e3c5e79465548b171b2261f2
|
| |
| |
| |
| | |
Change-Id: Ibb8d698d594216d0746b0e7270cf87d7e5acab2b
|
| |
| |
| |
| | |
Change-Id: Idc41386804ae7d7eb981c36e1bc55c270870c8d0
|
| |
| |
| |
| | |
Change-Id: I6206cc9ca46c4e2f125d3d820256280586ad66a1
|
| |
| |
| |
| |
| | |
Bug: 6876502
Change-Id: I2ec2800881dcba9e4f6ff32ffa1341a2de01f0a2
|
| |
| |
| |
| | |
Change-Id: If814060aca1d2ff2619d4adcd57296983d207f7f
|
| |
| |
| |
| |
| |
| |
| | |
this attribute can be set through a regular transaction using
SurfaceComposerClient (just like any other attribute, eg: position or size)
Change-Id: I701a47c677ea6442ca713728a93335328cd2b172
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
no change of functionality -- the old behavior is implemented
on top of this new protocol.
this new protocol will allow, eventually, to pass informations
about displays and layer stacks.
Change-Id: Ic6c2295e61ec8ecbc8ce01ab7664e35d928202fc
|
| |
| |
| |
| |
| |
| | |
This is all dead code.
Change-Id: I646673aac793a6ec45021c370a2450f0ea4fbcce
|
| |
| |
| |
| | |
Change-Id: I2b70249a1545636fd6d98b58057b22f9529cad21
|
| |
| |
| |
| | |
Change-Id: I9b16526ebfe4ffabf7c4372cca9b192ce046aa21
|
| |
| |
| |
| |
| |
| | |
Also do a CPU-wait on the fence before using it for GL composition.
Change-Id: I0f645a42a44803276cae11b904e5a26d65871562
|
| |
| |
| |
| | |
Change-Id: Iab22054c1dc4fd84affab3cc5bbdcd5a1e689666
|
| |
| |
| |
| | |
Change-Id: I09b49433788d01e8b2b3684bb4d0112be29538d3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When updateTexImage acquires a buffer but then aborts (due to an error
or the buffer being rejected), it releases the newly-acquired buffer.
It was passing the buffer slot's fences to releaseBuffer, even though
they hadn't been created after the acquire yet. This wasn't a bug,
since the fences would be cleared just after the buffer slot was last
released, but explicitly passing null fences makes this clearer.
Change-Id: I087f2ec3fd02c40f57782c1fca24eb9567e2943d
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Change-Id: Ic19750793ad993f0e85391f3cabd743ba565d4c9
|