f1a1e8d5528d123890c9e86f672084b86c69dcfe |
|
14-May-2012 |
Derek Sollenberger <djsollen@google.com> |
Cleanup pixel ref mutexes in Skia 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
/external/skia/src/core/SkBitmap.cpp
|
4f1dae40e24d57d647db01443b8bf2410514b8b5 |
|
06-Mar-2012 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 3312) This CL also includes changes made to Android's copy of Skia in their J release branch. Change-Id: Ib2baecf48004951a3ad4a1574cdc38790c814cbc
/external/skia/src/core/SkBitmap.cpp
|
1cab2921ab279367f8206cdadc9259d12e603548 |
|
18-Jan-2012 |
Derek Sollenberger <djsollen@google.com> |
Skia merge (revision 3022) This CL has companion changes to account for API updates in... (1) frameworks/base (2) external/webkit Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
/external/skia/src/core/SkBitmap.cpp
|
35e2e62b55598210f6999fc2ea26ff8f41446ffe |
|
16-May-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 1327) Change-Id: I46f41274d07a3d7bac4728f8841c7f5e89dc9181
/external/skia/src/core/SkBitmap.cpp
|
87b8e645865f9633f410c02252a0fd3feb18f09b |
|
14-Apr-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 1116) There is a companion change in external/webkit Change-Id: I1c4110e7520bbef3f4e5f9551adb7ec79ac1e3ed
/external/skia/src/core/SkBitmap.cpp
|
05b6b4d746867a9fb02e14edfe1bf3685abeb813 |
|
14-Mar-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 922) Change-Id: I7ed57d10905d8bad6486a4d7410165eec1cc2b4f
/external/skia/src/core/SkBitmap.cpp
|
71531ca1f484da5837be8017a0c83e5bff701587 |
|
24-Feb-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 842) This merge picks up the fixed width font updates and improved blur code from the Skia repository. Change-Id: Iad2301a353c31da27ca214527cf4ed8f24641749
/external/skia/src/core/SkBitmap.cpp
|
7157c81e3a5c916ab44a02273b140e1cd8a6d1bb |
|
24-Feb-2011 |
Derek Sollenberger <djsollen@google.com> |
Merge "Skia Merge (revision 808)"
|
800e1ff0b9eaff0b02ce711bb7f22f2149141c9e |
|
22-Feb-2011 |
Eric Hassold <hassold@google.com> |
Check for pixels allocation failure 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
/external/skia/src/core/SkBitmap.cpp
|
40528743dbb9ce7f39f093e0cdc47849ac8887cf |
|
07-Jan-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 808) 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
/external/skia/src/core/SkBitmap.cpp
|
bdc1207aa05f2f1b013e937f9cbe4795768eaa74 |
|
07-Dec-2010 |
Patrick Dubroy <dubroy@google.com> |
Changes to support bitmaps allocated in the Java heap. Change-Id: Ib083409abc4110dafa32b5ee4bfa01c0caeb907b
/external/skia/src/core/SkBitmap.cpp
|
3026a9ec59b285412941d278a570e382088f8ada |
|
24-Aug-2009 |
Mike Reed <reed@google.com> |
refresh from skia trunk - 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
/external/skia/src/core/SkBitmap.cpp
|
b1fd0813e0219e9f536ee5f43e988d10f4e147e6 |
|
17-Jul-2009 |
Mike Reed <reed@google.com> |
remove build conditional for mipmaps
/external/skia/src/core/SkBitmap.cpp
|
a8c52de60de1d2471206b3c81e9243e2c76f2edb |
|
29-Jun-2009 |
Mike Reed <reed@google.com> |
refresh from trunk: shape flattening, bzero
/external/skia/src/core/SkBitmap.cpp
|
f87ea139deed57504b433fc4e1bf98c85ef0da80 |
|
10-Jun-2009 |
Mike Reed <reed@google.com> |
speedup gl port by detecting when the device hasn't changed
/external/skia/src/core/SkBitmap.cpp
|
b630785db28d3dbd2ef9fa2b15eb7aea0def82e8 |
|
02-Jun-2009 |
Mike Reed <reed@google.com> |
refresh from skia, esp. with opengl updates initialize fFlags in shader constructors
/external/skia/src/core/SkBitmap.cpp
|
dab163f0b2658c2dba48839e72f81d3d8ee0ae8b |
|
29-May-2009 |
Mike Reed <reed@google.com> |
refresh from skia/trunk - add canvas entry-point for shapes - add SDL support to GL port - rowbytes computation fixes in bitmaps
/external/skia/src/core/SkBitmap.cpp
|
11285a304c143d1bdf3a1e321803cfcc8a6a938c |
|
04-May-2009 |
Mike Reed <reed@google.com> |
extend copyTo to support index8 -> index8 deep copies Now copyTo always supports copying to the same dst config as the src, even if it could not normally "render" into that config (e.g. Index8). Part of this change also added a copy-constructor to SkColorTable. Also removed some trailing ws
/external/skia/src/core/SkBitmap.cpp
|
d7cda4273e6b2dcca5bb9215121f5117fb261c18 |
|
27-Mar-2009 |
Mike Reed <> |
AI 143089: promote bitmap width/height to 32bits allows browser to remove its Find hack workaround Automated import of CL 143089
/external/skia/src/core/SkBitmap.cpp
|
aa4832adcc7eba085987357591bcfeb530ba7b0d |
|
25-Mar-2009 |
Mike Reed <> |
Automated import from //branches/master/...@142205,142205
/external/skia/src/core/SkBitmap.cpp
|
0910916c0f7b951ee55c4b7c6358295b9bca0565 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/skia/src/core/SkBitmap.cpp
|
6eb364108744656fcd23a96a478aa772cd4e85bc |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/skia/src/core/SkBitmap.cpp
|
03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/external/skia/src/core/SkBitmap.cpp
|