- 16 May, 2012 1 commit
-
-
Derek Sollenberger authored
-
- 14 May, 2012 2 commits
-
-
Romain Guy authored
Bug #6408362 Change-Id: I69c21d9aeeb663aa6244132ce8d598be888886e2
-
Derek Sollenberger authored
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
-
- 11 May, 2012 1 commit
-
-
Raph Levien authored
addNameLocked() was failing when namelist count == 0, which was causing the fonts not to be loaded. Change-Id: Ib7c9ee96e3f0574ac3cc920ce086338d60ef7397
-
- 10 May, 2012 1 commit
-
-
Derek Sollenberger authored
-
- 09 May, 2012 3 commits
-
-
Fabrice Di Meglio authored
Cleaned up the system font and fallback font list memory management using smart arrays. Cleaned up the addition and removal of font records from the font family lists. Previously, list insertion was occurring when the typeface was constructed, which obscured much of the logic. Bug #6406249 SystemUI crashed when changing Locale Change-Id: I3e33f7868f1b0a6835b91652652a457799d991d5
-
Jeff Brown authored
load_system_fonts() could potentially be called without a lock held. To make this problem less likely to happen again in the future, adopted a naming convention for all locked methods. Change-Id: I04ff5e8ad005e5c1180aae9be8c134d0d384ac2c
-
Derek Sollenberger authored
Add S32A_Opaque_BlitRow32 with TEST_SRC_ALPHA Add optimization for 32bit blits on neon Optimize S32A_D565 pixel loop, non-NEON CPUs bug: 6467331 Change-Id: I3e0b0a8f711bf2ed97b480b81232a52f6f94dbe3
-
- 01 May, 2012 2 commits
-
-
Derek Sollenberger authored
1) fixes a bug where the a custom font can be loaded prior to the system fonts being loaded when Skia is first loaded. 2) fixes a bug where the lists for system fonts and fallbacks can be corrupted if the font in the configuration file is not present This should fix bug 5911298 Change-Id: I93b93e0f20d916b91438e8bbaa50a32ac5e20d88
-
Derek Sollenberger authored
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
-
- 30 Apr, 2012 1 commit
-
-
Chet Haase authored
A feature in Android 3.0 allows Bitmaps to be reused when loading a bitmap of the same dimensions. A documented limitation is that the only formats supported are jpeg and png, the most common formats for Android. But if you actually try to do it anyway, you'll end up causing memory trashing and an eventual strange native crash. It's not pretty. This fix puts code in other possible image format decoders (gif, ico, and bmp) to return false from the onDecode() operation, which will result in an exception being thrown back to the user code. Issue #6146246 Sparodic crash in GraphicsJNI::allocateJavaPixelRef (memory corruption?) Change-Id: Ifd3e0f87c9ea6d41a37f58616e1ced0b19132056
-
- 19 Apr, 2012 1 commit
-
-
Derek Sollenberger authored
bug: 6226962 Change-Id: I8d078faa836c1daa38810bc24aa24942cb70676f
-
- 13 Apr, 2012 1 commit
-
-
Fabrice Di Meglio authored
-
- 12 Apr, 2012 1 commit
-
-
Derek Sollenberger authored
anticipate overflow (or if the path is completely clipped out). http://code.google.com/p/skia/source/detail?r=3658 bug: 6208579 Change-Id: If9749231bea465c3d35cc98c1b8e2fad3c7aeff6
-
- 11 Apr, 2012 1 commit
-
-
Fabrice Di Meglio authored
- 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
-
- 30 Mar, 2012 1 commit
-
-
John Reck authored
Bug: 5383693 Change-Id: I71258a269aa1b739c655c9ef9f2cf043c9928079
-
- 20 Mar, 2012 1 commit
-
-
Derek Sollenberger authored
If the paint has a text point size that is small (e.g. < 1) then the results returned from FreeType are not accurate. This code is an adapation of the Skia CL that was reviewed at http://codereview.appspot.com/5844060/ Change-Id: I3ca1d69b2097b47b344ec9f56a04fe94da76013d http://code.google.com/p/android/issues/detail?id=26764
-
- 19 Mar, 2012 1 commit
-
-
Derek Sollenberger authored
bug: 5558851 Change-Id: Icf85ad7846e42c248556de8fce70b3d086e5b602
-
- 13 Mar, 2012 1 commit
-
-
Russell Brenner authored
When the system locale is changed, skia reloads its fallback fonts using the best-matching configuration files for both framework and vendor. Bug: 5873170 Change-Id: Ie1d13cb404905ae2af05d8f20fbd857c96f39e4b
-
- 12 Mar, 2012 3 commits
-
-
Derek Sollenberger authored
Change-Id: Ia1cbb6b274e1b3739704de9dd997e6d5dc5185af
-
Derek Sollenberger authored
* commit '358eae71': Skia Merge (revision 3312)
-
Derek Sollenberger authored
-
- 06 Mar, 2012 2 commits
-
-
Derek Sollenberger authored
This CL also includes changes made to Android's copy of Skia in their J release branch. Change-Id: Ib2baecf48004951a3ad4a1574cdc38790c814cbc
-
Chet Haase authored
Change-Id: I19c1919cae24a875671c37777c32b356d3141a1d
-
- 27 Feb, 2012 1 commit
-
-
Derek Sollenberger authored
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
-
- 24 Feb, 2012 2 commits
-
-
Derek Sollenberger authored
-
Romain Guy authored
This is required to optimize texture generation in display lists. Change-Id: I7291e3af85771bfa74190b718d45e61555c7087d
-
- 23 Feb, 2012 2 commits
-
-
Derek Sollenberger authored
The original CL was missing a negation in an if statement and had to be reverted. This CL reapplies the change with the necessary correction. This reverts commit aafd212a. bug: 5860912 Change-Id: I68654747229ebeabb34a427397728d4815e68bca
-
Chih-Chung Chang authored
This reverts commit dd7047bd.
-
- 22 Feb, 2012 1 commit
-
-
Romain Guy authored
Change-Id: I01ebeeaf58a3fabf3b9891249d1c43f3f0ed3875
-
- 21 Feb, 2012 1 commit
-
-
Derek Sollenberger authored
bug: 5860912 Change-Id: Ic456b5bbaf2a33a903ccd942622143313fc1f936
-
- 15 Feb, 2012 3 commits
-
-
Derek Sollenberger authored
-
Derek Sollenberger authored
bug: 6011971 Change-Id: Ic9e9088dcc2fe3c8d675f64605223e2def0a6e18
-
Jing Yu authored
fPreferQualityOverSpeed was not initialized, which resulted in some garbage value and caused unexpected animation flicker when skia was compiled with gcc-4.6. Change-Id: I51cd091cbb119832fb1592ebc63be0ae039a7cba
-
- 06 Feb, 2012 3 commits
-
-
Derek Sollenberger authored
Change-Id: I3b4536dedc12ad3de40aa2f6c357423bf33bce72
-
Derek Sollenberger authored
* commit '1cab2921': Skia merge (revision 3022)
-
Derek Sollenberger authored
This CL has companion changes to account for API updates in... (1) frameworks/base (2) external/webkit Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
-
- 01 Feb, 2012 3 commits
-
-
The Android Open Source Project authored
* commit 'e2d01455':
-
The Android Open Source Project authored
* commit '90e9d287':
-
The Android Open Source Project authored
Change-Id: I65f63f2d5a8821761507dfc2e924aa9741e2debd
-