| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Set fimg.isFilter from paint.isFilterBitmap() in drawBitmap like
it's done later in drawRect_withG2D.
Change-Id: I8c27933dba28ae8834f02cb1ba66ec58dd2c933c
|
|
|
|
|
|
|
| |
* replace undefined TRUE/FALSE with true/false in SkFimgApi3x.h
* fix warning in SkFimgApi3x.cpp
Change-Id: Iabaf66df526892f006573c97450fd36f461d9bb2
|
|
|
|
| |
Change-Id: Ie0509e7d537fe2a73b23c30f5128d80ee48c1d7d
|
|
|
|
|
|
| |
http://git.insignal.co.kr/insignal/origen_quad-jb_mr1.1/android/platform/external/skia/commit/?h=origen_quad-jb_mr1.1&id=7a2cdab99f7a27e2566afbf8c0a2d3ea64c8a375
Change-Id: If605106881540f2170249e6446770ec95b4667b3
|
|
|
|
|
|
|
|
|
|
| |
Adds optimization of Skia S32A_D565_Opaque_Dither blitter using
ARM NEON instruction set.
Improves performance in browser.
Change-Id: Ie20fb3cf3ad9a60f01b79e3ed2ddba7651bcf013
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds optimization of Skia S32A_Blend_BlitRow32 blitter using ARM NEON
instruction set. Special cases for when pixel alpha is zero.
Improves performance platform wide.
Change-Id: I6c8bf8a9525838682206ebd139855354d6b3a563
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds optimization of Skia S32A_Opaque_BlitRow32 blitter using ARM NEON
instruction set. Special cases for when alpha is zero or opaque.
Improves performance platform wide.
Change-Id: I0ffeb23b128e61cfe581ad121f227631d2918686
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Modifies the intermediate buffer size for sample pixel indexes, used in the
sample proc function calls. If the buffer is not large enough, the job is split
into several calls. This would impact the performance of SIMD optimizations.
Change-Id: I86848d1c44fe338258b40f6ee6a576289cebd496
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds an NEON optimized version of Skia sample blitter
S16_opaque_D32_nofilter_DX when running unscaled.
Used when scrolling UI lists.
Change-Id: I7a212f2e50aba3244aab237937395af02abe81a9
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds an optimized shader for S32_Opaque_D32_nofilter_DX when
running with clamped tile mode.
Improves performance of system and various applications.
Change-Id: I8dd7be24870315b2b8273bf72d9c22eb0aeb97fb
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds a NEON optimized shader for SI8_opaque_D32_filter_DX when
running with repeat tile mode.
Improves performance of browser.
Change-Id: Ic5cc63b3df86eb7e8ea0bbb3b7bddfc73db20025
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds a NEON optimized shader for SI8_opaque_D32_filter_DX when
running with clamped tile mode.
Improves performance of browser.
Change-Id: I0e1fa03d4104210953b7ec81ce10eba5f77459cc
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds a NEON optimized shader for S32_Opaque_D32_filter_DX when
running with clamped tile mode.
Improves performance of browser and many other applications.
Change-Id: Ic3d83bfd70c8b0c6c956482db5f3a08667655d6e
Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
|
|
|
|
| |
This reverts commit a9a4c66d163e245628ddde71dca40e4c29a44f47.
|
|
|
|
|
|
|
|
|
|
|
| |
This allows skia to choose whether to use the prescaled bitmap or the
unscaled bitmap depending on which would be optimal in the current
situation. This commit also introduces two functions necessary for
properly resizing Rects when using the non-pre-scaled bitmaps.
CRs-fixed: 451681
Change-Id: I36779d8a680a3ced7c28da492e879de02c7e87a5
|
|
|
|
|
|
|
| |
This will help avoid bugs like the one fixed in change-id:
Iaeb2b84b6696e3eebf29617dfdc41c55e5226776.
Change-Id: I892423e18f9927f827393d0ff0c923259e07389c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The destination is passed as the first argument to memcpy_76() and the
source is passed as the second argument. As originally written in
commit cb5701e, the first argument was called 'src' (despite being the
destination) and the second was called 'dst' (despite being the
source). The behavior of the memcpy_76() function was correct despite
the backward variable naming.
Commit ad673c1 reversed the naming of the two arguments to clarify the
semantics of the function but failed to reverse the naming in the ARM
assembly code. This broke the function's behavior on ARM devices.
Commits a8ce1a0 and f4be52e reversed the argument names again. This
fixed ARM support, but broke non-ARM architectures (the arguments to
memcpy() in the body of the memcpy_76() function were not also
reversed).
This change swaps the argument names again and swaps the names in the
ARM assembly, restoring correct behavior on non-ARM architectures and
aligning the variable names with the function's semantics.
Change-Id: Iaeb2b84b6696e3eebf29617dfdc41c55e5226776
|
|
|
|
|
|
|
|
|
| |
Before, memcpy_76() assumed ARM instruction set. Add preprocessor
guards to use generic memcpy() if not on ARM.
Original patch had args to memcpy_76 backwards.
Change-Id: Ib5375e9de28ab6c2b348731dcdf282d6f7a529c1
|
|
|
|
| |
This reverts commit ad673c1cb9dd151fd4e74380c4ba82c1fefb580b.
|
|
|
|
|
|
|
| |
Before, memcpy_76() assumed ARM instruction set. Add preprocessor
guards to use generic memcpy() if not on ARM.
Change-Id: Id4d7335332f4086fa33641630f41810b2fe07031
|
|
|
|
|
|
|
|
| |
* Optiming constructor of Paint object
* Special copy path for small object
* Global Language list instead of constructing a new obj everytime.
Change-Id: I8d4687fffe055166a4758059872af09bfdc973d4
|
|
|
|
|
|
|
|
|
|
|
|
| |
original function has calculation are called repetitively, and
Processed individual pixels only. So Function call overhead was reduced.
And In contrast to the serial data processing in the existing code,
the Neon code processes 8 or 4 pixels in parallel. In contrast to the
serial data processing in the existing code, the Neon code processes
8 or 4 pixels in parallel
Change-Id: Ib54aeb6bacfd4ed6d257324e8146b211f90b68e9
Signed-off-by: Lee Hwangjae <hj-yo.lee@samsung.com>
|
|\
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/external/skia into mr1-staging
Change-Id: I5cf0639d6ad25f58af4d5e0e480ee063148991f8
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is a cherry-pick of a larger change going into upstream Skia at...
https://codereview.appspot.com/6554064/
bug: 7124435
Change-Id: Id8b030afaf493741e133b592a4e08a3fd90ec2f3
|
| |
| |
| |
| |
| | |
bug: 6897797
Change-Id: If7bce42f5347bc78f10c55d5041389b983813c2a
|
| |
| |
| |
| | |
Change-Id: I2f164c30342620e1c0663e133ba671b4a3869b70
|
| |\
| | |
| | |
| | |
| | | |
* commit '1dccc9f3e889a5b702ec201129db689ab64a5eb8':
Fix access to freed memory
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit '372648a70bbb2778edcdad588c8d133a6c55a033':
Fix access to freed memory
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Source should be freed after all jpeg operations completed
since it is used by these operations.
Change-Id: Ieb0741e1d219dc0513133a94d47df86b5f95cf29
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
* commit 'c2ad1992ce99225f79a05ecaed619ec6b52f7bb1':
Forward-compatibility stubs
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9c5bf5ce38827ced91d8912a1fa49adbd14a46b8
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It looks like Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 upgraded this
message from an actual error notification into a full-fledged adb log
spammer. Oops! This CL moves it back to the location it should be at,
and requires SK_DEBUG to see it even there.
Bug: 7038312
Change-Id: Iefc0b001a9874e0f177507d43231e6fdb4a1d92a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Android/Skia supports pre-multiplied Alpha. WebP image format supports
Alpha via color modes MODE_RGBA & MODE_RGBA_4444 (corresponding ones for
premultiplied alpha are MODE_rgbA & MODE_rgbA_4444).
The pre-requisite change for this one is the libwebp patch:
https://googleplex-android-review.googlesource.com/#/c/219333/
Change-Id: I30b0d8d4b0325eb3c925371ac8f3a9b7d4801639
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Cherry-pick Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 from master.
During font initialization, create a seperate fallback list for each
locale. At runtime, use the fallbacklist associated with the locale
set in the paint object. Fallback files are associated with locales in
fallback_fonts.xml. Multiple files can be associated with the same
locale, ordering within that langauge and apart from that language in
the fallback order is preserved.
This changelist also includes some refactoring, notably of the
functions that call getNextContext().
Change-Id: I121f0e491a522c4a8558a0066b2d8969fb8a3667
|
| | | |
| | | |
| | | |
| | | |
| | | | |
bug: 6987261
Change-Id: I8cb5b6da2347a1fa88a13aa3548312a7773831e5
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The underlying problem is that no SkScalerContext objects existed at the
time shapeFontRun is called immediately after a locale change from en to
ja (apparently the dumping of the cache caused all these to be
deallocated), so gFTLibrary was null (and the call tio ref_ft_face
assumes that it's initialized).
There's a pattern for calls which might not necessarily be called from a
scaler context (GetAdvancedTypefaceMetrics is one such), to explicitly
check for an uninitialized library, and create one for the length of the
call if so. This patch changes GetUnitsPerEm to follow this pattern.
Change-Id: I19a4b6fa49fad0aeacc04bf971101aacca6bc94f
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Certain CJK glyphs become essentially unreadable when emboldened at
sizes used by common apps like News/Weather. Reducing embolden
strength slightly makes these glyphs much more readable without
sacrificing bold/normal weight differentiation.
Bug: 6712857
Change-Id: Iec1c478171e33751be1cddbaae6a8ec30bb6cbab
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The advance values computed by generateAdvance() were inconsistent with
those computed by generateMetrics, because the fMatrix22 was being
applied in the latter but not former case. Since fMatrix22.xx is 1.0
almost all the time (the exception is only when skew and scale are both
applied), failures were rare.
This patch is an alternative to ag/#/c/207887, in that they both fix the
problem, but in different ways. That patch made fMatrix22.xx equal to
1.0 in almost all cases, while this one gives correct advance values
for arbitrary fMatrix22 values.
Change-Id: Iedfa36e884e3e3e2f078a5d4edfc82004a54e895
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After this checkin, SkCreateTypefaceForScript refs each typeface
that it creates before it returns it. Additionally, all supported harfbuzz
codepoints are added to the unicode mapping array. This patch also fixes a test crash (see bug)
Bug:6756432
Change-Id: Ida3276b76e745b817f9e63be54945e411516dd03
|
| | | |
| | | |
| | | | |
This reverts commit 81957ccb58db76c172e195dc3e31eba85d3e4ac9
|
| | | |
| | | |
| | | | |
This reverts commit 421654d4bf3ca50e2247a7389851d2e8f4812564
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fonts can be marked with elegant or compact in fallback_fonts.xml.
Webkit uses elegant fonts, Textview uses compact fonts (the default),
unmarked fonts are used by both.
Bug: 6649136
Change-Id: I6ab6173c2efc50eba8fcc488c89dfdd083fb9c06
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This version of the fake-bold-for-fallback-fonts fix addresses the
issue succinctly inside of Skia, with no need for Skia's clients to
be aware of the issue. Attempts to draw a bold parent font flag the
embolden flag in the associated SkScalerContext while leaving the
SkPaint's fake bold flag unmodified.
This depends upon change Icdd13f6b, which arranges for FreeType's
FontHost to ignore redundant embolden requests.
Bug: 6629786
Change-Id: I4132a232896f72f632caefd79add2f00c36a578a
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change the webp_parse_header to read appropriate header bytes (required
for Alpha & lossless bit-stream);
Replaced call WebPGetInfo with WebPGetFeatures to get hasAlpha
information;
Replaced hard-coded setIsOpaque(true) with setIsOpaque(!hasAlpha);
Refactored code for setting decoder config;
Change-Id: I8208233d1aaa0a213a35dd996a72e43f78901c89
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
changes. Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a"
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 6609231
Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 6ab870723b749ffd632fecd648704d80b581fcf0.
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | | |
https://android.googlesource.com/platform/external/skia into aosp-merge
|