| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Ia9eefa6b7fa8bea028f972407913a3a61b1caafe
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* Optiming constructor of Paint object
* Special copy path for small object
* Global Language list instead of constructing a new obj everytime.
Change-Id: I8d4687fffe055166a4758059872af09bfdc973d4
|
|
|
|
|
|
|
|
|
| |
Bug #7353771
This API is just a boolean property that tells the hardware renderer
whether it should use mipmap levels.
Change-Id: I123a334b89b0d64d711bdad43f5e2feb416de8b4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 6609231
Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mutexes in pixelrefs were done very sloppily initially. The code (a) assumes all
pixelref subclasses want a mutex to guard their lock/unlock virtuals, and (b)
most subclasses use the same mutex for *all* of their instances, even when there
is no explicit need to guard modifying one instances with another.
When we try drawing bitmaps from multiple threads, we are seeing a lot of slow-
down from these mutexes. This CL has two changes to try to speed things up.
1. Add setPreLocked(), for pixelrefs who never need the onLockPixels
virtual to be called. This speeds up those subclasses in multithreaded environs
as it avoids the mutex lock all together (e.g. SkMallocPixelRef).
2. Add setMutex() to allow a subclass to change the mutex choice. ashmem wants
this, since its unflattening constructor cannot pass down the null, it needs
to cleanup afterwards.
see https://codereview.appspot.com/6199075/
bug: 6469917
Change-Id: I81a7cfa0b2ead5a42059697eafa58de1e7a87da2
|
|/
|
|
|
|
| |
Bug #6408362
Change-Id: I69c21d9aeeb663aa6244132ce8d598be888886e2
|
|
|
|
|
|
|
|
|
| |
This is a cherry-pick of two CL's from upstream Skia:
https://codereview.appspot.com/6092056/
https://codereview.appspot.com/6131062/
bug: 6400332
Change-Id: Ia833e7c0d4fd6e21a06980653450095176f5bd42
|
|
|
|
|
| |
bug: 6226962
Change-Id: I8d078faa836c1daa38810bc24aa24942cb70676f
|
|
|
|
|
|
|
|
| |
- will be used for better CJK shaping
- forced to use a "placement new" operator because of use of sk_bzero / memcpy
in the Skia contructor and copy operator
Change-Id: If6f62634c9088d2401250c35239a1722102fe80c
|
|\
| |
| |
| | |
Change-Id: Ia1cbb6b274e1b3739704de9dd997e6d5dc5185af
|
| |
| |
| |
| |
| |
| |
| | |
This CL also includes changes made to Android's copy of
Skia in their J release branch.
Change-Id: Ib2baecf48004951a3ad4a1574cdc38790c814cbc
|
| |
| |
| |
| | |
Change-Id: I19c1919cae24a875671c37777c32b356d3141a1d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Skia's serialize methods are not intended for backwards compatibility,
but the browser used it to implement saved pages. As a result the
revision of Skia used for ICS (r1562) is not compatible with the
revision of Skia used in JB (r3000+). This CL attempts to make pages
saved in ICS render in JB while still allowing JB pages to be saved
and displayed.
bug: 6025365
Change-Id: I9983517b46d2dedf31c6d90f48f6cf00ec042bc2
|
|/
|
|
|
|
| |
This is required to optimize texture generation in display lists.
Change-Id: I7291e3af85771bfa74190b718d45e61555c7087d
|
|
|
|
|
|
|
|
| |
This CL has companion changes to account for API updates in...
(1) frameworks/base
(2) external/webkit
Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shadowed text currently does not get subjected to culling until
immediately prior to rendering each glyph. This is problematic
for any page with an axis greater than 32k as we can't covert
the glyph coordinates to fixed point. Additionally, this is a
large perf hit as we look at every shadowed glyph on the page
for every draw call regardless of the canvas' clip.
This fix enables shadowed text to be quickly rejected based on
the canvas' clip when the draw text command is executed.
Finally, a mirror image of this CL is currently under review for
inclusion in the open-source Skia project.
bug: 5571685
Change-Id: I5df94eccecbd7d77a08004b5cbcca02120e390f7
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ief005abc9eb741ccf5efec3d1f29fe2dfc23103d
|
|/
|
|
|
|
|
|
| |
Extending Skia-WebP interface to handle the WebP encoding as well.
The WebP encoding is required for sharing WebP images and transcoding
images from other formats like PNG/JPEG to WEBP.
Change-Id: I23d52323abf5e7eec0c6d3e0159a1ca7baee468b
|
|
|
|
| |
Change-Id: Ie9f88806b1083f0b4ef99731bd4f1e42fff467fe
|
|
|
|
|
|
|
| |
This makes it easier for now to deal with situations
where derived classes don't have an implementation.
Change-Id: Iaf4b3495441cb5881ad98633e55da1c5acdd9768
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL includes bug fixes and closely mirrors the version of
Skia used in Chrome M13, which is likely to be our baseline for
ICS.
The CL also adds source files for the SampleApp which will allow
us to execute basic skia tests. The SampleApp requires the
utils/views directory in order to run.
Finally, we have included the PDF backend for Skia in order to
experiment with using it to generate PDF files for certain
applications.
Note: The SampleApp and PDF code are not built as part of libskia.
Change-Id: I1895ccfbd8074e25f19148cc7bd1b4af571fb307
|
|
|
|
| |
Change-Id: I34121c66fc53aaa47aed798f7cd8e33d5977e0d8
|
|
|
|
| |
Change-Id: I46f41274d07a3d7bac4728f8841c7f5e89dc9181
|
|
|
|
|
|
| |
There is a companion change in external/webkit
Change-Id: I1c4110e7520bbef3f4e5f9551adb7ec79ac1e3ed
|
|
|
|
| |
Change-Id: I5acaa683a402162c31a566c524b53b0b16445a3f
|
|
|
|
|
|
|
| |
This merge will allow us to now import the sample app
infrastructure in skia to do on device measurements.
Change-Id: Idcab6b1524f371521717cde61a6e98a12d897e6b
|
|
|
|
| |
Change-Id: I7ed57d10905d8bad6486a4d7410165eec1cc2b4f
|
|
|
|
| |
Change-Id: I30b3a3806f4484d95602539def1a77a366560fdf
|
|
|
|
|
|
|
| |
This merge picks up the fixed width font updates and improved
blur code from the Skia repository.
Change-Id: Iad2301a353c31da27ca214527cf4ed8f24641749
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This merge has companion changes in the following projects in order
to be compatible with changes to skia interfaces and practices:
1. /frameworks/base
2. /external/webkit
Change-Id: I54092971305579e81a8fdb27bbe04ec340792e3b
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I712b80173c8a102a46157543979d0dde3c5008f8
|
|/
|
|
|
|
|
|
|
|
| |
Standard memory allocator in Skia abort when an allocation request
fails. However, when allocating in managed heap, need to check for
allocation failure in allocPixels(). This add checks for all allocPixels
calls in Skia Bitmap code.
Bug: 3418381
Change-Id: I3c4ac403a3c073d64a689b29d3baccdc7fc90e1a
|
|\
| |
| |
| |
| | |
* commit '67a98d6726e2bcb1d3d7b8863b89ad753ae15774':
Implement SkRegion::toString().
|
| |
| |
| |
| | |
Change-Id: I012feed3eb119a9eda98989e13dacc53c0199e19
|
|/
|
|
|
|
|
|
|
|
| |
This enable Skia to decode WebP images. Since BitmapFactory relies
on Skia to decode images, this aims at adding support for WebP format
in any application relying on BitmapFactory. Decoder relies on
libwepb library, imported as external library in external/webp in
Android source tree.
Change-Id: I13ef4c1404b989af6a856e9150c62e297200331b
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|