| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
functor calls" into jb-mr1.1-dev
* commit 'a9473881eb066b41ea2fb3389b5c0031c2ab4f38':
Use the same interrupt/resume logic for all functor calls
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug:7093396
The functor was able to change the renderer's blend mode without it
being restored in process mode. This single path of updating gl caches
reduces likelihood of this occurring in the future.
Change-Id: Ie367532f9c683299f02bc4f635d7cb31f96db39f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, cache textures were updated whenever mCurrentCacheTexuture was changed.
Since updating cache textures needs glTexSubImage2D call, frequent changing
of mCurrentCacheTexture (which can easily happen when an app uses lots of unique glyphs
even with precaching) caused many glTexSubImage2D calls and bad framerates.
This patch optimized isssueDrawCommand function. Consequently, changing mCurrentCacheTexture doesn't
cause glTexSubImage2D call any more and it will improve font rendering performance.
Change-Id: Id19d959fa0e69eeb2a39f83a57e311d7394586b2
Signed-off-by: Sangkyu Lee <geteuid@gmail.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
mOwnedData contains the mHeader data structure
Change-Id: I0ae9ba3a0d18fc3f368c629501fadebce8807198
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
set" into jb-mr1-dev
* commit '7494f0c04b1abd010207ee5c7e8c9aff6d69c956':
Avoid tesselation path when useCenter is set
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bug:7458300
The tesselation path doesn't handle sharp joins.
Change-Id: I28bf03f3b72fc584a205daa40934dda17031098f
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
jb-mr1-dev
* commit 'f5fa64f24b0ee6aa53ac2803590e8729122c445b':
Handle offscreen animations correctly
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A bug in software rendering caused animations on views that are offscreen
to not get drawn, therefore the animation doesn't continue (since old-style
animations depend on the logic in the drawing code to keep running). Fix is
to special case the isAnimating case in ViewRoot to go ahead and schedule
a traversal even if the dirty rect does not intersect with the visible region.
Issue #7396035 Animations starting offscreen don't draw run/end/draw properly (sw rendering only)
Change-Id: Iae25b3a424ddc5a16ba431ecd68cf42d5500db3f
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
window resize Bug #7385090" into jb-mr1-dev
* commit 'd04fe3c1aeaf4ce63f6a6f3def61a8cc5faff705':
Properly draw the window background on window resize Bug #7385090
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #7385090
This change gets rid of two silly asumptions:
- That a layer needs to be cleared with opaque black (it shouldn't,
it's already cleared to transparent and the view will cover it up
with its own background)
- The the clip should be dirty at the beginning of a frame only
when the render target is opaque
Change-Id: I415b6d3cab196057fb0281419a53fef601a44e28
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
until we\'re really ready" into jb-mr1-dev
* commit '6534dd0275c8d01de7e7400ba239d203c37c8164':
Don't null the reference to Bitmap pixels until we're really ready
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A change in the VM triggers a native memory error more aggressively than before,
showing that there's a bug in the logic of recycling bitmaps. Since the pixel
memory is allocated on the Java heap, nulling out the reference to that memory
in the Java level Bitmap object can cause that memory to get collected at any time.
Meanwhile, we may have a reference to that memory at the native level for rendering
purposes, causing an error if/when we access that memory after it has been collected
by the VM.
The fix is to avoid setting the reference to the pixels to null unless we are
not referring to it in native code. This is determined at the time we call
recycle() - we return a boolean to indicate whether the native code is still
using the memory. if not, the Java code can null out the reference and allow the
VM to collect it. Otherwise, it will get collected later when the encompassing
Bitmap object is collected.
Issue #7339156 HTML5 tests crash the app (Vellamo)
Change-Id: I3a0d6b9a6c5dd3b86cc2b0ff7719007e774b5e3c
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
#7326824" into jb-mr1-dev
* commit 'eb78cf538f87301c1612bf081ae2d5f93cae50f0':
Defer layer rendering to avoid stalls Bug #7326824
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #7326824
When a layer is taken out of the cache and initialized it gets cleared
to prepare it for future rendering. This triggers the following sequence
of operations:
glBindFramebuffer(layer.fbo)
attach texture storage to FBO
glClear()
glBindFramebuffer(defaultFbo)
The clear forces a resolve on tilers which stalls the CPU for a little
while, thus producing jank during animations. This change moves the
clear to the next frame when we know we will have to execute a resolve
anyway.
Change-Id: Ic1939c25df20ed65a4c48dc81ee549b2cd8b6ec3
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
transform for clipping Bug #7370212" into jb-mr1-dev
* commit '07a9ebd1a01bc2819a90ddc98263a24bd6459768':
Take into account the texture layer's transform for clipping Bug #7370212
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #7370212
Change-Id: Ibdc3161306f54a1cfe66e08458f05ee01a13b1df
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
time Bug #7353771" into jb-mr1-dev
* commit 'cdc702093cc807237979f14776e75ffdba869ba6':
Enable mipmapping, without a deadlock this time Bug #7353771
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #7353771
Change-Id: I89a08a58608e374f1c604a26ee0769d5850b2f7b
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
offscreen" into jb-mr1-dev
* commit 'c894029a8e398502c058c2f5332bfe75d4b01735':
Correctly adjust clip regions that lie offscreen
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were clamping the x/y location of the scissor to 0,0, but not adjusting
the width/height appropriately. This fix adjusts width/height and also clamps
them to 0 to correctly clip out offscreen operations.
Issue #7221524 Top left and top right portions of the screen blanks out after some time
Change-Id: I47f23336ea612409ed86652b9a68e272819ef00e
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
during boot)" into jb-mr1-dev
* commit '3d2ecafd7742a93a3ca83993cf12f352aa998112':
workaround to unbreak the build (deadlock during boot)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
bug: 7363206
Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
#7353771" into jb-mr1-dev
* commit 'fa71ba2c847622c0b23321477b3914f4a4cdd536':
Add API to enable mipmaps on Bitmap Bug #7353771
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #7353771
This API can be used when scaling large images down to a small size
to get nicer looking results.
Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
#7357394" into jb-mr1-dev
* commit '7b852ab384ae420359309c959ec699992c94a86b':
Always use the correct pixel store size Bug #7357394
|
| |\ \ \ \
| | |/ / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #7357394
When a bitmap is reused it may change configuration which can lead
to a different pixel store alignment. Our current texture cache
implementation assumes this never happens and keeps the old alignment
which can lead to distorted texture (if the bitmap goes from
ARGB8888 to RGB565 for instance.)
Change-Id: Ic57acf2403411ae4d0924e92f221298350612617
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #7354162" into jb-mr1-dev
* commit '3edb0dda40ae19653c51beb6c8858825e253f7b7':
Support clipping in Canvas.drawBitmapMesh() Bug #7354162
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #7354162
Change-Id: Ifd1d0b365e8a4d88e0ff0629c9ee13f27e1a7331
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
with BUTT caps" into jb-mr1-dev
* commit '779ba3ad84db57b99bfb742517e3ba157f3f8c4c':
HW Acceleration support for stroked arcs with BUTT caps
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bug:4419017
Change-Id: I7371bfb36cef460da861a47d4d945218c6d0c3d0
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '826343138dfd8666d2263dd82bfdbf657fc1881e':
Reject bad ResXMLTree::setTo calls
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: http://code.google.com/p/android/issues/detail?id=21838
Change-Id: I1092499906f0cafe5a3c42ab2579edf3763cedb7
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
jb-mr1-dev
* commit 'fb0bfa2b03a985c4c3cb548fbd56b4e1d4b62417':
fix stroke sub-hairline threshold
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
bug:7339943
Change-Id: I4051a03f4cd5bd2c313840208540601fb7a056e2
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into jb-mr1-dev
* commit '21ff8c9cf22b38ad577d7eb01088cb49274cb22d':
Prevent possible divide by 0 Bug #7307304
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #7307304
Should never happen, but eh :))
Change-Id: Ic7a09fd5c7a3622e6b4963f9ee6920e232018e2e
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
jb-mr1-dev
* commit '3bb02a347f453136dff28720aaf9d7db2f517bb4':
Allow 9patches to shrink Bug #7307304
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #7307304
Change-Id: I1fabf6df99c18c86ab1ec0e1e398a3d6d4098496
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '7952c4cd99b0a75922b11a5df55bf8f7cf24030c':
Use offset in line drawing
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Partial revert of cb4d6009
bug:7299070
Change-Id: I1db7b035e3015e0f6d15c95aef71ea74dbeca13e
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
#7296475" into jb-mr1-dev
* commit 'f3c2eb79e4660692d85cc531c2825bff65270242':
Work around a possible driver bug Bug #7296475
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #7296475
When re-enabling the scissor the driver seems to ignore the already
existing scissor box. This change resets the scissor box when the
test state changes.
Change-Id: I3a68433164f99d21fbab769a26c56fe416c1539a
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
jb-mr1-dev
* commit 'd87cb794b063c503f4d732141904bd1edd5c5914':
Settings (and general) restore fixes
|