| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Bug #5136067
Change-Id: I366e840bef44415436dc7b13d89cfb610feed663
|
|
|
|
| |
Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
|
|
|
|
|
|
| |
Bug #5133876
Change-Id: I3d1fa4e29498044796d725337ac93e6a1e8f0bcb
|
|
|
|
|
|
| |
Bug #5112207
Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
|
|
|
|
| |
Change-Id: I8546f5a5ecf38031c9a40bdcc434d4c7f22da63d
|
|
|
|
|
|
| |
Bug #5098359
Change-Id: I52ee8c7b4c9e8d4c7bedb684eaf7bef6c44c74b9
|
|
|
|
| |
Change-Id: I1049282e1996b1020c92cb7bec46e9f28e94e967
|
|
|
|
|
|
| |
Yay.
Change-Id: I04557ad575c307a55088549f48f0e9ad994b7275
|
|
|
|
| |
Change-Id: I3fa1bc3ff50fb99e3d2e490925bd6b0a0f809fff
|
|
|
|
| |
Change-Id: Ia4950dd5f0e0a224ecb69c581d33aa4f32260a7c
|
|
|
|
|
|
| |
Bug #5081795
Change-Id: Iee3382d362a71c1e6c5c498b319bf7f7bcf5a2f0
|
|
|
|
|
|
|
|
| |
This change sets textures filtering to GL_NEAREST by default. GL_LINEAR
filtering is only used when textures are transformed with a scale or
a rotation. This helps save a couple of fps on some GPUs.
Change-Id: I1efaa452c2c79905f00238e54d886a37203a2ac1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 5062011
Previously, each GLES20DisplayList would hold onto an instance of
GLES20RecordingCanvas. In turn, each GLES20RecordingCanvas
held onto an SkWriter with a 16Kb buffer along with several other
objects. With one display list per view and hundreds of views,
the overhead could add up to a few megabytes.
Ensured that the GLES20RecordingCanvas is reset as soon as
the display list has been constructed, thereby promptly freeing
the 16Kb buffer.
Changed GLES20DisplayList so that it acquires a GLES20RecordingCanvas
from a pool as needed and recycles it when done.
Removed some dead code and cruft related to the construction of
GLES20Canvas objects in general. Some code was written with the
assumption that the underlying renderer object could change
behind the scenes or might be lazily constructed, but that isn't
actually the case so we can simplify things.
Removed an unnecessary weak reference from GLES20DisplayList
to the View. It isn't actually used anywhere.
Fixed a bug in GLES20DisplayList where isValid() would return
true while the display list was being recorded. This is incorrect
because the native display list might not actually exist. Worse,
even if the native display list does exist, it is stale and
potentially refers to old Bitmaps that have been GC'd (because the
mBitmaps list was cleared when recording started).
Change-Id: Ib12d5483688cb253478edeb0156d34c476c2566b
|
|
|
|
| |
Change-Id: I8ccea17fc1fb3c132329baa0acc1b3d5a140a5c6
|
|
|
|
| |
Change-Id: I9225077184f374b1a43300add15cc1d5b6869d1c
|
|
|
|
|
|
|
|
|
| |
Debugging code attempted to delete a stack item.
Also, the flag fields weren't exactly clear, so rewrite it so it's
clear that kDebugMoreCaches is a combined flag.
Change-Id: If42b7f0f754919343301da5656aee5943cc9bd4a
|
|
|
|
|
|
| |
Bug #5003739
Change-Id: I3dfbf4eb92e2c870f33c96947a7d6439e3730965
|
|
|
|
| |
Change-Id: I1678b1c5bdab140b44e56556c50ab8329255f18a
|
|
|
|
| |
Change-Id: I4649062bbdf18ebba7924bdf578f39ad8f6576ac
|
|
|
|
| |
Change-Id: Id5bee1bd4a322cf93e8000b08e18f1e1b058648e
|
|
|
|
|
|
| |
This problem was affecting Android builds with gcc/x86.
Change-Id: Ibb7978413c89bd1ac09f0d1ea78f5cb4fe61f6ed
|
|
|
|
| |
Change-Id: Iec368405ad6a4ccfd569a0b3b4d681871a770396
|
|
|
|
| |
Change-Id: Ic23cd9257889d0abe8cc3fc1d04a66d0505e383e
|
|
|
|
| |
Change-Id: I64c346004e0adf9a776d0315534d4fe445f0c0ca
|
|
|
|
|
|
| |
TextureView assumes its content is opaque by default.
Change-Id: Iba873423566a5b67c388081838bd910dceba32ba
|
|
|
|
| |
Change-Id: I23ed56891452a05cf3ca13f6919c4fef90d5ff4e
|
|
|
|
|
|
|
|
| |
When creating a display list, matrices are duplicated locally. They
were however never deleted, thus causing apps to slowly leak memory
(a matrix is about 40 bytes.)
Change-Id: Iac465b720d4c4c9b5ca3fce870c0c912c14a74ab
|
|
|
|
|
|
|
| |
This method is invoked by TextureView.getBitmap() and failures must be
caught to avoid leaving the GL context in a potentially bad state.
Change-Id: I620de395ba1bc20154de58c81963223dc55cac78
|
|
|
|
| |
Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
|
|
|
|
|
|
|
| |
This API can be used to get a Bitmap copy of the content of a
TextureView.
Change-Id: I07522216c353720fba5cab333174f58f484eb911
|
|
|
|
| |
Change-Id: I04079e070739c1e46df3e90fc388c335e2a7d2b9
|
|
|
|
| |
Change-Id: I21138d4d0589cc28f1dcffb8b675cd81a9900e24
|
|
|
|
|
|
| |
Bug #4546327
Change-Id: I8eb593b03a81145e08be92579706ddd775feb0a2
|
|
|
|
|
|
| |
Bug #4350336
Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
|
|
|
|
| |
Change-Id: I486b24a5b609c6f8adb0276037ddb24af2b888b2
|
|
|
|
| |
Change-Id: I071c6a04a144a96955d85f56dffc6162288ee33e
|
|
|
|
| |
Change-Id: I05a31775e03f5b223a55a5144d420351abac89be
|
|
|
|
|
|
|
|
|
| |
The previous implementation was using glBlendFunc with the parameters
GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha
sources (anti-aliasing.) The correct implementation is GL_ZERO/
GL_ONE_MINUS_SRC_ALPHA.
Change-Id: I4cca65e57b6a37bbf5a41d382cb0648ee8e11e79
|
|
|
|
| |
Change-Id: I7b022100fb0762613f9cf7753dbb0217e1e75f8d
|
|
|
|
| |
Change-Id: I2a8f5869dbe95bb594f2ba5d7278f9b330e6f17a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- add OpenGLRenderer.drawGlyph()
- refactor glypth logging code
Change-Id: I797e6f1304d3f3f8f6ed31e7f9965d336233d2a4
|
|/
|
|
| |
Change-Id: I7ca6931606541ddd504bd5db7f8dc04b9cde8cd9
|
|
|
|
| |
Change-Id: Ic24bb0e1e669989f0cae3a9b8fa064b38c8e7948
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the translucent boundary of AA lines would be scaled
by the line's transform. It should always be exactly one pixel wide
in screen space. This fix accounts for scaling for the boundary
region, and fixes some AA calculations that make wide/AA lines
more correct.
Change-Id: I30df2d5d96315bf3e7ff30be9735282fd5439a39
|
|/
|
|
|
|
|
|
|
| |
Clicking on a node in hierarchyviewer1 and hierarchyviewer2 and then
clicking the new "Dump DisplayList" button will cause the display
list for the selected node (including its children) to be output into
logcat.
Change-Id: Iad05f5f6cca0f8b465dccd962b501dc18fe6e053
|
|
|
|
| |
This reverts commit b2a4b52e8d5e499d33e2765e8c47851bf0266299.
|
|
|
|
|
|
|
|
|
| |
Clicking on a node in hierarchyviewer1 and hierarchyviewer2 and then
clicking the new "Dump DisplayList" button will cause the display
list for the selected node (including its children) to be output into
logcat.
Change-Id: Id32f62569ad1ab4d533bc62987f3a7390c1bb4e6
|
|\ |
|