| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some of the code in latchBuffer was calling invalidateHwcGeometry,
but that didn't cause the SurfaceFlinger visible region code to
re-evaluate the layer's visibility. Set the recomputeVisibleRegions
"out" parameter instead.
Bug 7235797
Change-Id: If6ba33fbd1a594cd64cc5253aebf752d6ceda1c9
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The transparent region hint is computed only from view layout
locations, ignoring post-layout translation. If a SurfaceView is layed
out with no other views above it, but a view is moved above it
post-layout, that view's layout bounds would be subtracted from the
window's transparent region instead of its drawing bounds. Prior to
this change, the view would not be visible (except where its layout
bounds and drawing bounds overlap).
With this change, composition uses visible regions computed without
regard to the transparent regions. However, if all of a layer's
visible region is transparent, it will be removed from the list of
layers to composite. This doesn't fix the root problem of incorrect
transparent regions, and doesn't prevent bad composition in all cases.
But it does avoid it for some existing apps, whiel still allowing the
transparent region hint to save power in the important
fullscreen-video-in-a-SurfaceView case.
Bug: 7179570
Change-Id: I47cf939e12129b167afa344b8b036e8827103ac8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we now try first with EGL_FRAMEBUFFER_TARGET_ANDROID, and
pick the first config we find. Otherwise, we revert to
the old algorithm.
Bug: 7232584
Change-Id: I8d5c5a4ce48420832c2e2828718a8f53325effb0
|
|/
|
|
|
| |
Bug: 7232690
Change-Id: I2c4b35a82f131da26deea738ef294e100e536d15
|
|
|
|
|
|
|
|
|
|
| |
MemoryHeapBase::getBase() returns MAP_FAILED in case or
OOM, not null which is what SF was checking against.
This addresses one of the issues of bug 7230543.
Bug: 7230543
Change-Id: I763a88f64a2f9ff75eb139cfbaf9a1a9746c5577
|
|
|
|
|
| |
Bug: 7204034
Change-Id: I64dd78362fa75149513a7d9ff92dde175e9b4958
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a line to the "dumpsys SurfaceFlinger" output that shows
build-time configuration values.
Example:
Build configuration: [sf HAS_CONTEXT_PRIORITY] [libui] \
[libgui USE_FENCE_SYNC]
Bug 7206633
Change-Id: Ibe1856b459d34a4be6ee83a4ebfd2807e6cc68a0
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
b/6606849
Change-Id: Idad46032b4b5d309db0319caeb7a1dfc0550f9f7
|
| |
| |
| |
| |
| | |
Bug: 7224628
Change-Id: I9421f0a06b9a27fe00eefaa1dfab8c4309c380c9
|
| |
| |
| |
| |
| | |
bug: 7211067
Change-Id: Id8658a8df429d76c20ab9112858b38e52343dc9c
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* changes:
don't call eglMakeCurrent() before calling HWC commit() on HWC 1.1
handle EGL errors
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this call is not needed and misleading on HWC 1.1; it can also have
a negative performance impact when multiple displays are used.
Bug: 7124069
Change-Id: I47cd25c9d6e69abcc9333b9ecd5044e8fb1919ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for now we just restart the runtime.
bug: 7225248
Change-Id: I7638ffe82075a4db9e7e6f9e35cf48afcb5a387a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Id8b1b114e2a7a88956b857c63a0429e9b33fdb5c
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e
|
|/ /
| |
| |
| |
| |
| | |
this will help debugging bug: 7216919
Change-Id: I54ac65f20c5ed55cc93a5cbc5350fadfb0fcb804
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I3580120cb63c027c327e80ec70e68650b75395de
|
|\ \ \
| | | |
| | | |
| | | | |
jb-mr1-dev
|
| |/ /
| | |
| | |
| | |
| | | |
Bug: 6847310
Change-Id: I9283932a7c211cd08b3b9fe6a93d8f219e6c9767
|
|/ /
| |
| |
| |
| | |
Bug: 7191563
Change-Id: I8f0fbf3b29658c9479443141798e6f288a1f2d52
|
| |
| |
| |
| | |
Change-Id: I12de1d883c23927722bc3a71b782f0079de4e831
|
| |
| |
| |
| | |
Change-Id: I527eec77f338cd6f1a9021aa4c9d384dbddd6d2a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change fixes an issue causing the mEglContext member of a SurfaceTexture
to get incorrectly zeroed out. This would happen when a call to
ConsumerBase::releaseBufferLocked resulted in the current buffer being freed.
Freeing the current buffer would set SurfaceTexture::mCurrentTexture to -1,
which would then be used by SurfaceTexture::releaseBufferLocked to reset the
current slot's EGLSyncKHR to EGL_NO_SYNC_KHR (= 0). This would overwrite the
mEglContext field, resulting in context mismatch errors in
SurfaceTexture::doGLFenceWaitLocked.
The fix is to simply use the buffer slot that's passed in to
SurfaceTexture::releaseBufferLocked rather than mCurrentTexture.
Change-Id: I0e5e2bd88fcbb354c35a3744f317716fff3e0e41
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds a new extension for EGL implementations to indicate the
EGLConfigs that support use as a HWComposer framebuffer target layer.
Change-Id: Ia7c8fbe8da09d57b4ec8bf1d9ddb67ca21aa2885
|
|/ /
| |
| |
| | |
Change-Id: I405a3a7bb42b9bbd2ec7bfe09e60e1b7acf7389d
|
| |
| |
| |
| | |
Change-Id: Icf01254689633d04967872749ac947a671e47ed8
|
| |
| |
| |
| | |
Change-Id: Ie8b1a3b97ad1821cc970e43abe96c8cec7135b66
|
| |
| |
| |
| | |
Change-Id: I2d6b7787d39e5929485a551e4982498c5053c211
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
getDisplayInfo() now returns proper information for
HWC managed displays.
hotplug is sitll not supported; so this is not fully correct
as the information returned will be bogus if the HDMI screen
is not plugged in.
Bug: 7191563
Change-Id: If55d8e829fae0443571548155007f486cdf9bc9f
|
| |
| |
| |
| | |
Change-Id: I79d80b432b20b3d02428da19add464ac1e2b9378
|
| |
| |
| |
| |
| |
| |
| | |
this was confusing because the one in FramebufferSurface
wasn't in fact being used
Change-Id: Ied45aec20d804cfbe52440f9b2f2852a85c757cf
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 7100774
Change-Id: I6ede2a37a5d485134fe419b5dc766f70ae4af9d4
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
- Allow caller to set the observer and cookie.
- Add more notifications that the HDCPModule can send to its Observer.
Change-Id: I8bf9cc02a029cd38bbd25d9f0a634452173f4d26
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The emulator without GPU acceleration only supports 16-bit
framebuffers.
Bug: 7185810
Change-Id: I883180367bf5b291d5e70427ab586d2e17868a96
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
space lighting with point lights"
* commit '516efc1bea1c05492c5d4636a589cfc686661842':
libagl: Transform the vertex if using eye space lighting with point lights
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
with point lights"
* commit '8a2b54235a45f92827b13723380065d1ce308236':
libagl: Transform the vertex if using eye space lighting with point lights
|
| | |\ \
| | | | |
| | | | |
| | | | | |
lights"
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes lighting when using point lights, when eye space
lighting is used (which is the default).
Change-Id: I0cd0d2329893d6b5f8af3b1e595274c2076fc322
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
improve sensor battery usage tracking
track UID with connections
|