summaryrefslogtreecommitdiffstats
path: root/skia/ext/skia_utils_ios.mm
Commit message (Collapse)AuthorAgeFilesLines
* setConfig is deprecated, use setInfo or allocPixels instead.reed@google.com2014-07-021-7/+1
| | | | | | | | | | | kPNColor_SkColorType is now kN32_SkColorType TBR= BUG=skia:2706 Review URL: https://codereview.chromium.org/363933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281044 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from (deprecated) setIsOpaque to setAlphaType.tfarina@chromium.org2013-11-061-2/+6
| | | | | | | | | | BUG=None TEST=cc_unittests R=reed@google.com,danakj@chromium.org,thakis@chromium.org Review URL: https://codereview.chromium.org/57153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233221 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef.thakis@chromium.org2013-06-241-10/+13
| | | | | | | | | | | | | | | | | This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98
* Adding iOS native support to load multi-resolution imagesnoyau@chromium.org2012-11-151-0/+27
| | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/11366217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168030 0039d316-1c4b-4281-b951-d872f2087c98
* Preserve transparency when converting UIImage to SkBitmap.noyau@chromium.org2012-11-151-0/+1
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/11365252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167888 0039d316-1c4b-4281-b951-d872f2087c98
* Use CGImage for conversion to SkBitmap.noyau@chromium.org2012-11-091-16/+3
| | | | | | | | | | | | | This has two advantages: we can convert a CGImage without building an UIImage first and the convertion can happen on any thread, not just the main thread. BUG= Review URL: https://chromiumcodereview.appspot.com/11362164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166900 0039d316-1c4b-4281-b951-d872f2087c98
* Sets the proper device scale factor on iOS.rohitrao@chromium.org2012-10-231-2/+4
| | | | | | | | | | | | | | iOS sets a single supported scale factor at runtime, either 100P or 200P depending on whether the device is hidpi. This CL also corrects some conversion methods that did not properly support 200P scale factors. BUG=None TEST=Image unittests all pass on hidpi devices. Review URL: https://chromiumcodereview.appspot.com/11233040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163725 0039d316-1c4b-4281-b951-d872f2087c98
* Properly flip the CGContext during UIImage->SkBitmap conversions.rohitrao@chromium.org2012-09-241-0/+6
| | | | | | | | | | | | | | | Skia's origin is in the upper-left whereas CG's origin is in the lower-left, so the CGContext needs to be flipped in order to prevent the resulting image from being upside-down. TBR=thakis@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10963064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158441 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an iOS implementation of gfx::Image.rohitrao@chromium.org2012-09-141-0/+77
BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10928093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156787 0039d316-1c4b-4281-b951-d872f2087c98