| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
avoid overflows
The change is conditional at the moment inside SkScan_Path.cpp, USE_NEW_BUILDER.
This chopping is meant to only pass in reasonable floats to the edgelist, so that we never
overflow when converting to fixed-point. It also has the side-effect of speeding up edges
to the left/right of the clip, since those become vertical lines, which are faster to
walk over than the original curve segment.
Future optimizations: throw away segments to the right of the clip, and tweak the edgelist
walker to not require an explicit matching right-edge for the current run.
|
| |
| |
| |
| |
| |
| | |
support for SSE2 blitrow optimizations
fix flattening in 2-point gradient
fix rotation in colormatrix
|
| | |
|
| |
| |
| |
| |
| | |
The work-around code forced us to take a slower path, which is unnecessary now that filter
is precise for opaque inputs.
|
| |
| |
| |
| | |
remove unneeded file from mac utils
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
pull clipper fix from skia/trunk rev.404
|
| | | |
|
|/ /
| |
| |
| | |
about the null mode
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
During record, our clip is wide-open (in the bug's case, 40K pixels tall). If we call saveLayer
with no bounds (as webkit does), we try to allocate an offscreen the size of the document, which
can be arbitrarily big. This cause us to run out of memory. In reality, I think there is not
benefit to calling through to saveLayer during record. On playback, we will of course call saveLayer,
but then we are on a real device (screen) with finite bounds, and the offscreen allocation is
reasonable.
|
|
|
|
| |
It is computing out-of-range indices. When I debug it, I'll renable it with the fix.
|
| |
|
|
|
|
|
|
| |
help with subtle
bitmap cracking when we're scaled but not filtered.
|
| |
|
|
|
|
| |
dimensions
|
|
|
|
| |
refresh misc. skia files
|
|
|
|
|
|
| |
full-span count unless we
know we're going to run a non-zero final proc for the endcap
|
|
|
|
|
|
| |
advantage
of gradients' ability to pre-dither their cache.
|
|
|
|
|
| |
- edge case fix in qsort compare proc (overflowing subtract)
- special case 1x1 bitmaps to draw as a color (much faster)
|
| |
|
|
|
|
|
|
|
| |
- correctly respect dither for index bitmaps
- fix copyTo to respect isOpaque()
- sanity check in antipath (need to investigate root cause)
- warning fix in bitmap sampler
|
| |
|
|
|
|
|
| |
compute max count from buffer size for bitmap shader
zero-init paint in constructor to account for padding so that our == works correctly using memcmp
|
|
|
|
|
| |
yields ~10% overall speedup
also, refresh misc fixes in freetype and antipath from trunk
|
|\ |
|
| | |
|
| |
| |
| |
| | |
available for arm.
|
| |
| |
| |
| |
| |
| | |
functions
remove remaining special-case neon functions that are (no longer) faster than the portable ones
|
| |
| |
| |
| | |
original code submitted by ARM LIMITED 2009
|
| |
| |
| |
| |
| |
| | |
given font
minor refresh on freetype and blitrow.h from skia/trunk
|
| |
| |
| |
| | |
vector out to those from our blitrow factory
|
| |
| |
| |
| | |
check-point for lcd text rendering
|
| | |
|
| |
| |
| |
| | |
first stage of neon optimizations
|
| | |
|
| |
| |
| |
| |
| | |
use expand16 format to speed up blend
fix typo bug in loops for 4444
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'ee38d710c05d4a6a8d8a649f5a05b8380ba748bc'
* commit 'ee38d710c05d4a6a8d8a649f5a05b8380ba748bc':
catch underflow in restore()
|
| | |
|
| |
| |
| |
| |
| |
| | |
we can take full
advantage of hw floats on v7 class devices.
|
| |
| |
| |
| |
| | |
fix gradient interpolation w/ alpha (do it in nonpremul space)
optimize index->16bit sprite blit
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '323fc5f6b797daedeb80cf137de1f7abb1ce6ff3'
* commit '323fc5f6b797daedeb80cf137de1f7abb1ce6ff3':
Fix a broken sim-eng build because of lacking of arm arch check.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
equals to 255, i.e., no need to add previous destination color values.
Merge commit '9255d4e019df455c662b01c7030b5d9ec2376695'
* commit '9255d4e019df455c662b01c7030b5d9ec2376695':
Bypass source-overing if the alpha value of a source color equals to
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
255, i.e., no need to add previous destination color values.
My experimental results showed that the percentage of calls
to SkSrcOver32To16() falling into the bypass path in the following
processes are around:
1. system_server: 72%
2. acore: 80%
3. camera: 57%
4. browser: 66%
|
| | |
|
| | |
|