| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I415cf8ff0871fa74babaf9b879c68f210298b472
|
|
|
|
|
|
|
|
| |
This is used by framework to query buffer consumers (e.g. video encoders)
about required usage bits.
Bug: 13222807
Change-Id: I508335c9d753c7a7224bb882f2228bd2f4144031
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows changes to the SECURE flag to propagate down to
Layers in SurfaceFlinger so that WindowManager can change it on the fly
in response to device policy updates.
Bug: 20934462
Change-Id: I558f6d22c6273be373f1f480365e42536af18a33
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 21531826
Change-Id: I3792860ad3f6579ceb50ccaa212f8fbd471a9b6b
|
|/
|
|
| |
Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d
|
|
|
|
|
|
| |
bug:21195272
Change-Id: I520de9fee7fc40d0570d6bef450d756ce42a1462
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This allows batching of rendered events.
Bug: 20503131
Change-Id: I3b319317c0434eb225198f8c4bf716edf68079a2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a getConsumerName method to IGraphicBufferProducer and Surface.
Currently, the name is cached inside of IGBP and is update on connect
and dequeueBuffer, which should be good enough for most uses.
Bug: 6667401
Change-Id: I22c7881d778e495cf8276de7bbcd769e52429915
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 107fbe5599016b0e35145a1a00c4f238b63d61e4.
Change-Id: I0c2b0f7c81193b05eb3dd2f5a59f83598434b744
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a getConsumerName method to IGraphicBufferProducer and Surface.
Currently, the name is cached inside of IGBP and is updated on connect
and dequeueBuffer, which should be good enough for most uses.
Bug: 6667401
Change-Id: Ife94bd89023fe7c00bad916932b9a19233fd2290
|
|/
|
|
|
|
|
|
|
|
|
| |
Add functions to allow a client to take over the ashmem region
that was transferred so that it can claim it for its own and
reuse it.
Add support for mutable ashmem regions too.
Bug: 21428802
Change-Id: I16eca338cdb99b07d81fc43573d53ce86dbc60c8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change allows producers to set a generation number on a
BufferQueue. This number will be embedded in any new GraphicBuffers
created in that BufferQueue, and attempts to attach buffers which have
a different generation number will fail.
It also plumbs the setGenerationNumber method through Surface, with the
additional effect that any buffers attached to the Surface after
setting a new generation number will automatically be updated with the
new number (as opposed to failing, as would happen on through IGBP).
Bug: 20923096
Change-Id: I32bf726b035f99c3e5834beaf76afb9f01adcbc2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Attempts to replicate Java parceling in native code is fraught with
peril.
Change-Id: I4359036c5dddd1b886d886beef1d060523e53e5f
(cherry picked from commit f47a381001d4d4ce66c2e35aac5b96a26acc0730)
|
|/
|
|
|
|
|
|
|
| |
This is so that it can be equivalent to the previously named
VideoDecoderOutputMetaData struct.
Bug: 13222807
Change-Id: I9463694f65436a7edb1f6b592efc0a6329232a27
|
|
|
|
| |
Change-Id: Ie101eb355887072b2ab92f489b86115a40952bd1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix kMetadataBufferTypeANWBuffer, so that it only relies on
system/core structures. This resolves potential linker issues if
the framework changes.
- Add fence to be passed with kMetadataBufferTypeANWBuffer.
- Add utility structures to access the metadata buffer layouts.
Related-bug: 19614055
Bug: 13222807
Bug: 12386081
Change-Id: I608958fd394b08cc3396bcbd5cdd350b87bc66f3
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Bug: 15986092
Change-Id: I272ec070113a0bfc41c637c45a6e1a2ab346e87b
|
|\ \ |
|
| |/
| |
| |
| |
| | |
bug: 21370100
Change-Id: Ia3991dc591c176bdbd1d78d1804aa22777525b62
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I43e6c029412d0ed1d345c16fdce90e2879c52a8e
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move setDefaultBufferSize, setDefaultBufferFormat, and
setDefaultBufferDataSpace into ConsumerBase and remove them from
CpuConsumer and BufferItemConsumer.
Bug: 19977701
Change-Id: Ic68992464c5da6da7a41c4063a53029a69efcd1b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 20105644
Change-Id: I21526b5397ea51a15500c44a99daa9d75fc4ea67
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
* changes:
Fix input tests to work with new MotionEvent member
Revert "Revert "Add new MotionEvent actions for button press and release.""
|
| | |
| | |
| | |
| | | |
Change-Id: I0dde0f91f693903f26edc116b5dbcbf33bac2b93
|
| | |
| | |
| | |
| | | |
This reverts commit 70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3.
|
|\ \ \
| |/ /
| | |
| | | |
into mnc-dev
|
| | |
| | |
| | |
| | | |
This reverts commit 48a8a0e4322969e1551536d6183af3a1faa2240b.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE as actions to
signal a button press or release. If these actions happen
simulanteously with a DOWN or UP event then they're explicitly
ordered to happen after the DOWN or preceding the UP in order to send
them to the most recently targeted view.
Also, introduce new stylus button constants that differ from the
constants we use for mouse buttons.
Bug: 20704355
Change-Id: Ib960a5004db5429ad2fc8db020704773e2978327
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changes the way that SurfaceFlinger's shadow buffer management
works such that instead of tracking the size of the shadow queue in the
BufferQueue, SF tracks the last frame number it has seen, and passes
that into the acquireBuffer call. BufferQueueConsumer then ensures that
it never returns a buffer newer than that frame number, even if that
means that it must return PRESENT_LATER for an otherwise valid buffer.
Change-Id: I3fcb45f683ed660c3f18a8b85ae1f8a962ba6f0e
|
| |/
|/|
| |
| |
| |
| |
| | |
This completes the plumbing from ConsumerListener::onFrameReplaced into
SurfaceFlinger (and other consumers that may care).
Change-Id: I376e78ace95d6748e8662e6b4d47c0dfa697a300
|
|/
|
|
| |
Change-Id: I21bb8b0dcfd3f1c812753a9fd77dea792e7155f2
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SurfaceFlinger's (Layer's) shadow copy of the BufferQueue queue was
getting out of sync for a few reasons. This change fixes these by
doing the following:
- Adds a check to re-synchronize the shadow copy every time we
successfully acquire a buffer by first dropping stale buffers before
removing the current buffer.
- Avoids trying to perform updates for buffers which have been rejected
(for incorrect dimensions) by SurfaceFlinger.
- Adds IGraphicBufferConsumer::setShadowQueueSize, which allows the
consumer to notify the BufferQueue that it is maintaining a shadow
copy of the queue and prevents it from dropping so many buffers
during acquireBuffer that it ends up returning a buffer for which the
consumer has not yet received an onFrameAvailable call.
Bug: 20096136
Change-Id: I78d0738428005fc19b3be85cc8f1db498043612f
(cherry picked from commit 2e36f2283f48ab764b496490c73a132acf21df3a)
|
|
|
|
| |
Change-Id: Id747767377953fd644a538aad3f603d6c50875a2
|
|
|
|
|
|
|
|
|
| |
Adds a NATIVE_WINDOW_BUFFER_AGE query, which returns the age of the
contents of the most recently dequeued buffer as the number of frames
that have elapsed since it was last queued.
Change-Id: Ib6fd62945cb62d1e60133a65beee510363218a23
(cherry picked from commit 49f810c72df8d1d64128e376757079825c8decd4)
|
|
|
|
|
|
|
|
|
|
| |
Changes Surface::detachNextBuffer to return an sp<GraphicBuffer>
instead of an ANativeWindowBuffer* to ensure that reference counting
works correctly.
Bug: 20092217
Change-Id: I3979ea6121aaf14845f0554477b778770413581e
(cherry picked from commit 8b2daa3ca29492b181fb67840640d771c4a2b3ac)
|
|
|
|
| |
Change-Id: I3927aec64f5a1555d2e5d07591fd04e7b3be5f09
|