| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I0a56ca7a5a399ec94993d3cea0c4aff6c0f86e39
|
|
|
|
| |
Change-Id: Ic5699bdbf880ad68748c827bb5b4976b12d4d413
|
|
|
|
| |
Change-Id: I900dd986f397b66f133e6021aa4c2539e7abc2b9
|
|
|
|
| |
Change-Id: Icd3326e6a054d6020c3ed61c8459394bc87401dd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To select the gamma correction method, adb shell setprop hwui.text_gamma_correction
with one of the following values:
lookup3
lookup
shader3
shader
See Properties.h for more information about these different methods.
You can also control gamma correction using the following properties:
hwui.text_gamma
hwui.text_gamma.black_threshold
hwui.text_gamma.white_threshold
Change-Id: I47970b804d2c590c37d3da5008db094241579e25
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
External bug: http://code.google.com/p/android/issues/detail?id=34946
DisplayListRenderer::drawPath was not invoking quickReject() properly,
passing x,y,width,height instead of left,top,right,bottom. A path
could thus get rejected when it should be drawn instead.
While working on this change I found a similar issue with another
drawing command, drawBitmapData().
Change-Id: I56484e8c101768cde6a78625290872f7849dd5ee
|
|
|
|
|
|
| |
Bug #6833979
Change-Id: I0ea78b7f31a557a335de10d910d03b0520029080
|
|
|
|
|
|
|
|
| |
To enable it, the system property ro.hwui.text_gamma_shader must be
set to true. For testing, DEBUG_FONT_RENDERER_FORCE_SHADER_GAMMA
can be set to 1 in libhwui/Debug.h.
Change-Id: If345c6b71b67ecf1ef2e8847b71f30f3ef251a27
|
|
|
|
| |
Change-Id: Ibcb6e1c883551273c3392cdaa40cd0b71a3bfa70
|
|
|
|
| |
Change-Id: I863100a0dc53fec1a3a1b2acbdeb76e6049ffe58
|
|
|
|
|
|
|
| |
This change is the first step to a shader-based text antialias
gamma correction.
Change-Id: I9eb02d4c56cb95d05219f712290c865b46141954
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change improves execution of display lists, particularly on
tiled renderers. The goal is to disable the scissor test as
often as possible. Drawing commands are rarely clipped by View
bounds so most of them can be drawn without doing a scissor test.
The speed improvements scale with the number of views and drawing
commands.
Change-Id: Ibd9b5e051a3e4300562463805acc4fd744ba6266
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
External bug: http://code.google.com/p/android/issues/detail?id=34879
This CL also fixes a bug where a View's alpha would be applied twice.
Change-Id: I13a1546228f44d4c169259414b6fa103a6e4a0fa
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: I2d43c009c62a7f4a4a2e0a6303bdfa692c4b8c8c
|
|/
|
|
| |
Change-Id: I5d4c7388afb5265964ab6b769cc0abfee9745c84
|
|
|
|
|
|
|
|
|
|
| |
When creating a new file using open(..., O_CREAT), it is an error
to fail to specify a creation mode. If a mode is not specified, a
random stack provided value is used as the "mode".
This will become a compile error in a future Android change.
Change-Id: I8635e8b69587ed107253870d991c3fcf563ca876
|
|\
| |
| |
| |
| |
| |
| | |
into jb-dev
* commit '68cefd201809372a547257a273b805cabbd0da68':
Textured text calls could be invisible Bug #6597730
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #6597730
Text would sometimes not appear when rendered with textured content
(BitmapShader, LinearGradientShader, etc.) This was due to a misuse
of OpenGL texture unit in FontRenderer. Textured text normally uses
two texture units:
- texture unit 0 for the font cache
- texture unit 1 for the textured content (gradient, etc.)
Recent changes to the font renderer allow it to bind new textures
while processing the text's geometry (this happens when caches get
full or when switching font size for instance.) The bindings were
done without ensuring the texture unit was the correct one
(unit 0), thus replacing the content of another texture unit
(unit 1).
This lead to text being drawn using the font cache itself as the
content texture, making the text invisible.
Change-Id: I392b4c884f09223305f6cbc6253e2ef9a98944c9
|
|\ \
| |/
| |
| |
| | |
* commit '44b2fe3fc114ee5f7273c6b0fee2cc999bf244a2':
Track canvas clearing for swap buffers logic.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A previous fix made it necessary for a frame to render something to GL
in order to cause a call to eglSwapBuffers(). Besides the calls being
tracked as part of issuing a DisplayList, there is also a potential call
to clear the canvas (via glClear()) on non-opaque surfaces. This call is also
good to track, since a surface that gets cleared without any other drawing operations
is worth flipping to the screen (to erase old contents on that surface).
This fix tracks the status of the pre-draw operations to find out whether
glClear() was called and then sets the drawing status appropriately.
Issue #6606422 QuickContact dismissal is janky again (Tracking)
Change-Id: I5fcaccfdc9293dd46b83f2fc279730a5d2740ebf
|
|\ \
| |/
| |
| |
| |
| |
| | |
detachFunctor"" into jb-dev
* commit '8f1f714f831bf8bf10f94211c42e36ef2851810d':
Revert "Add more temporary logging for investigating detachFunctor"
|
| |
| |
| |
| |
| |
| |
| |
| | |
bug:6608646
This reverts commit 8857b2f76abad1e4ec742dfd85d0c997880be376
Change-Id: I1563b5974c52b84201ae448298f804eb0dcc235d
|
|\ \
| |/
| |
| |
| |
| |
| | |
detachFunctor" into jb-dev
* commit '3676b137ecf2f24e88e8a3567c11234e7d4416d2':
Add more temporary logging for investigating detachFunctor
|
| |
| |
| |
| |
| | |
bug:6596807
Change-Id: Ic9e34e323b12a887f2e8df0773a6155627b6a64f
|
|\ \
| |/
| |
| |
| | |
* commit '51df04b93e8e362edd867abd7efaf1659b8b8b82':
Port the legacy velocity tracker strategy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
For comparison purposes, port the legacy velocity tracker
algorithm as it behaved prior to ICS.
Bug: 6413587
Change-Id: I7e8e56584dcdb1a3c660ca9d8f9c5bd5d868e449
|
|\ \
| |/
| |
| |
| | |
* commit 'a5b0698231459ac5b54cf8e8952ac5c2b2b2198b':
Implement a second order integrating VT strategy.
|
| |
| |
| |
| |
| | |
Bug: 6413587
Change-Id: I51bc7b8cbff22b10b728fc84ee15370e9984dd55
|
|\ \
| |/
| |
| |
| | |
* commit '18f329e9480fca75210bb7496e5b4bc987b4ad8f':
Implement a weighted least squares VelocityTracker strategy.
|
| |
| |
| |
| |
| |
| |
| | |
No change to the default strategy.
Bug: 6413587
Change-Id: I08eb6f9a511e65ad637359b55b5993c26ba93b40
|
|\ \
| |/
| |
| |
| |
| |
| | |
jb-dev
* commit '1fbbc0716f9b70c6dcee00c4550757077ef7f7b5':
Implement an integrating VelocityTracker strategy.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This algorithm better tolerates certain kinds of errors in the
touch input than the least squares strategy but it may underestimate
the velocity of accelerating movements. This algorithm is
mainly of interest as a baseline for testing and comparison with the
least squares algorithm, which remains the default.
Bug: 6413587
Change-Id: I8ddb50084e44875e234717907e5b06d03f59788c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'f47e76e2c78e78e26110786e99548d718d177c32':
Make velocity tracker strategy configurable.
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.
There is no change to the current default strategy.
Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
into jb-dev
* commit '561ff8a74e3d9ea15f58d9b6534da9ea5a63d84b':
Skip eglSwapBuffers() call when we do not draw to GL
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The fix is to track when we issue GL drawing commands, and to skip the
call to eglSwapBuffers() when a DisplayList does not result in
any actual rendering calls to GL.
Issue #6364143 QuickMuni list items and buttons flicker instead of fade
Change-Id: I60a02c61a58c32d92481a1e814b4c8a49c6a37a3
|
|\ \
| |/
| |
| |
| |
| |
| | |
destroy" into jb-dev
* commit '3534e13486a0081b1229e698f13bd3a37efa3fb0':
Avoid crash if onDetachedFromWindow called after destroy
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.
bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '7a9328a3118725389564fe2a9b926837fa3d58a9':
Add temporary functor lifetime logging
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:6535911
Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
#6527305" into jb-dev
* commit 'e5a4a3dc1648844f06d29efd42c9306c3cdf177e':
Ensure we always set the proper blending mode Bug #6527305
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #6527305
At the beginning of a frame, always set the blending mode that we
think GL is using just in case it was modified by another entity
(for instance a WebView functor.)
Change-Id: I0e1d0abee8a2abb2b8e7622aed28346e89562c06
|