- 09 Oct, 2015 1 commit
-
-
mtklein authored
As I begin to wade in here, it's nice to remove as much code as possible. BUG=skia:4117 Review URL: https://codereview.chromium.org/1277953002 ======================================================================= Cherry-pick of https://skia.googlesource.com/skia/+/e683e810 Speculative fix for b/23648740. Remove the function that crashes. BUG:23648740 Change-Id: Ie4d681976bc1e39ed4f78d63d30259c9e35aea07
-
- 27 May, 2015 3 commits
-
-
djsollen authored
Review URL: https://codereview.chromium.org/1143603003 Uses sk_64_mul instead of Sk64 bug:20883006 (cherry picked from commit 181f49c7) Change-Id: If93c6b957ea2f31b882cc272268700e415f724c5
-
Leon Scroggins authored
This reverts commit d26ad41b. lmp-dev no longer has Sk64.h Change-Id: Ifffc2615d6c0ff83b839734ce8f54a9e26f4e06d
-
Leon Scroggins III authored
Review URL: https://codereview.chromium.org/1143603003 bug:20883006 cherry picked from commit 181f49c7 There are some modifications due to the fact that sk_64_mul does not yet exist. Instead, use Sk64. Change-Id: I0472c2b93bdf5f3bf291aaabe11a32e78497dcda
-
- 30 Apr, 2015 1 commit
-
-
zoran.jovanovic authored
Cherry-picked from https://codereview.chromium.org/1085253002 in Skia. Memory will be overwritten while downsampling some interlaced gif images, most commonly with odd sizes, when index of destination row stores in the current line computed from GifInterlaceIter meets: X is an integer in [0..height-1] and (X < height) && ((X - sampleSize/2) % sampleSize == 0) && ((X - sampleSize/2)/sampleSize >= height/sampleSize) Signed-off-by:
Lu Tong <lu.x.tong@sonymobile.com> BUG=skia: Review URL: https://codereview.chromium.org/1085253002 BUG:20723696 Change-Id: I2cca83a2a5c39b5a497f36b40724262b438ead8b
-
- 20 Oct, 2014 1 commit
-
-
Leon Scroggins III authored
In FrontBufferedStream, when attempting to read and buffer more data, do not try to read if the underlying stream is at the end. Depends on a change to frameworks base (Idd462ff9055aea42e8c7d5d58ef177f9e667385b) to report the stream is at the end when it throws an exception. Prevents a bug where we continue trying to read a stream that has already failed. BUG:17873145 Change-Id: Ifcf9eac5da533c9966c37f6f4631251063e23ed1
-
- 10 Sep, 2014 1 commit
-
-
reed authored
also boost preallocated storage to account for this combo of bitmapshader + emboss + colorfilter BUG=skia: R=djsollen@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/563563002 bug:16307475 Change-Id: I404fa776511a27b7be1b3b41dcb06b8b828a4716
-
- 28 Aug, 2014 1 commit
-
-
Derek Sollenberger authored
This is a cherry-pick of the following Skia changes https://codereview.chromium.org/510913003/ https://codereview.chromium.org/517663002/ bug:17302312 Change-Id: Iec5ad490e1b5eab1b5f3c902b22487d7d52cb92e
-
- 26 Aug, 2014 5 commits
-
-
djsollen authored
R=reed@google.com, scroggo@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/511453002 bug:17265466,17262540 Change-Id: I128b54c74d75b7afca20e47e6650c500278c5adc
-
djsollen authored
R=reed@google.com, scroggo@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/505153003 bug: 17265206 Change-Id: Id74fc6d165b55258dbd980d9d36afe1377e7a162
-
Narayan Kamath authored
* commit '1a199043': [MIPS64] Enable mips64 build
-
Narayan Kamath authored
* commit '250d81d0': Fix arm64 and mips skia builds
-
Narayan Kamath authored
* commit 'e62fa8ca': Fix libskia build for x86 and x86_64.
-
- 25 Aug, 2014 1 commit
-
-
John Reck authored
Bug: 16733996 Change-Id: I6958fd7c678d70ed7e8ef0a7f0856416be64ab9a
-
- 22 Aug, 2014 1 commit
-
-
John Reck authored
Bug: 16733996 Change-Id: I6749351bb0d337a471779dfbaabe7dcc7a703f58
-
- 21 Aug, 2014 4 commits
-
-
Derek Sollenberger authored
-
Dehao Chen authored
-
Dehao Chen authored
Bug: 16205175 Change-Id: I06d51346f20cab57a38217934db78c194437aa9d
-
Derek Sollenberger authored
bug: 17175893 Change-Id: I4c5595b8b1c43ed50d57ac24e9b33220715441be
-
- 19 Aug, 2014 1 commit
-
-
Derek Sollenberger authored
This CL reverts to the NO_AUTOHINT behavior when autohinting is not explicitly requested. This should be removed when Skia supports a better API for selecting the correct variation. bug: 15591234 Change-Id: I7af3973b8aa3a8ad7619c368f64e39dcddb71b6b
-
- 16 Aug, 2014 1 commit
-
-
Behdad Esfahbod authored
-
- 20 Aug, 2014 1 commit
-
-
Behdad Esfahbod authored
This allows us to drop the 64px strike from Noto Color Emoji, which saves a lot of space. Bug: 15348046 Change-Id: Ifd1c9a4fbc67a4eb2596c5830644f745a1e47d8c
-
- 14 Aug, 2014 1 commit
-
-
Derek Sollenberger authored
This merge includes the following CLs... 0d78ac2 Set maximum output size for scaled-image-cache images 0c1c911 Adding 64 bit checks f2d87ba Get additional DW font metrics when available. Bug: 17024392 Change-Id: I7956f50e5b95b1e012cf56614b12f1d834b423c1
-
- 30 Jul, 2014 1 commit
-
-
Derek Sollenberger authored
Change-Id: I1b50d090fce7ca18abef2afaf361e6bc6bca526f
-
- 29 Jul, 2014 1 commit
-
-
Dehao Chen authored
Change-Id: Ic6442cb1d9ee12e98e0722e95f99be5dca824eba
-
- 24 Jul, 2014 1 commit
-
-
Leon Scroggins III authored
-
- 25 Jul, 2014 2 commits
-
-
Derek Sollenberger authored
This merge includes the following CLs... 20ee1ba Change SkCanvasState to use inheritance. b572f07 DirectWrite to detect GDI only fonts 282aa1e Fix SkColorFilterImageFilter matrix optimization e849224 Re-land "Fix external SkImageFilter caching with clips." 9b1eeeb Better rendering detection with DirectWrite.
-
Leon Scroggins III authored
In SkPNGImageDecoder::onDecodeSubset, use png_read_rows to write to the scratch memory provided. This is what we should have been doing anyway. Further, writing directly to the bitmap can cause writing to the wrong memory since the bitmap may not be as big as the scratch memory in the case of sampling with a short bitmap. Cherry-pick of https://codereview.chromium.org/423473003/ BUG:13921093 Change-Id: Id113453f192257fc674b94c4b76e109fb2599d77
-
- 15 Jul, 2014 1 commit
-
-
scroggo authored
Cherry-pick of https://skia.googlesource.com/skia/+/352c2181d15ed053c3b759f08ff1f51d50e2d3bb The base class, SkCanvasState, now holds the version, width, and height. These fields will always be a necessary part of the class. (Also add in some padding.) The other fields, which may change, have been moved into the subclass, SkCanvasState_v1. If/when the version changes, it will correspond to a new subclass. In SkCanvasStateUtils::CreateFromCanvasState, check the version on the base class, then do a static_cast to the version corresponding to SkCanvasState::version. Remove CANVAS_STATE_VERSION, which is redundant with the version specified by the subclass. Use unambiguous type for rowBytes. Build Android with SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG. This allows us to run the full suite of CanvasState tests. It is also representative of what will be used on Android by WebView. Fix CanvasStateTest where it was broken inside ifdef'ed out code. Use SkCanvas::getBaseLayerSize() instead of the deprecated SkCanvas::getDeviceSize(). Update the comments in the header to be more clear. In particular, an SkCanvasState can only be used to pass an SkCanvas' state to a future version of Skia (or the same); not an older version. NOTREECHECKS=true BUG=b/15693384 R=reed@google.com, mtklein@google.com, djsollen@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/372003002 Change-Id: I2ff9ed7dc4d34f02aa753e9add8be4445102c0b9
-
- 14 Jul, 2014 3 commits
-
-
Leon Scroggins III authored
-
Leon Scroggins III authored
Originally, we pruned Android's fork to remove files which are not needed by Android, and may be a distraction from the files which matter. We decided to include all of the files (to simplify merging), so add a README.android to tell users to ignore the extraneous files. BUG:http://skbug.com/2416 Change-Id: Ib34f355962f5e8b9a2eca6e9b9952baa277ca166
-
henrik.smiding authored
Allows running skia_tests without crashing. Cherry-pick of a9309f5e in Skia. Enables the possibility to set thread model in the configuration files (like Android does). Also adds a warning check to make sure that we have an implementation for the thread safety class. Author: joakim.landberg@intel.com Signed-off-by:
Henrik Smiding <henrik.smiding@intel.com> R=reed@google.com, mtklein@google.com, tomhudson@google.com, djsollen@google.com, joakim.landberg@intel.com, torne@chromium.org, scroggo@google.com Author: henrik.smiding@intel.com Review URL: https://codereview.chromium.org/361423003 Change-Id: Ib1127edc79fc96e0d09983e564bd41f46221fb73 (cherry picked from commit f3e866f8)
-
- 10 Jul, 2014 5 commits
-
-
Leon Scroggins III authored
-
Leon Scroggins III authored
Cherry-pick of https://codereview.chromium.org/386693003/ Instead of setting SkShader::fLocalMatrix to Identity and storing a separate SkMatrix inside SkLocalMatrixShader, reuse SkShader::fLocalMatrix. Conflicts: src/core/SkLocalMatrixShader.h BUG:14315916 Change-Id: I673801444f0a8fd4f192b5b7effdde1aa83e702b
-
Leon Scroggins authored
-
reed authored
Allows skia_test to run without crashing. Cherry-pick of 7a7c3163 in Skia. BUG=skia: R=krajcevski@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/362833004 Change-Id: I4782424482d5ffad4544501bf297e6ff2e4a1b62
-
scroggo authored
Cherry-pick from 57ad4937 in Skia: Interpret size and offset as size_t, as they should be. When read as int, they could be negative values. If they are negative (rather than positive and very large), they will not allow us to fail the length test, resulting in trying to read uninitialized memory. BUG=b/16010240 R=halcanary@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/374413005 BUG:16010240 Change-Id: I70ff31c1d06ea2705700bb9f5c767a100b946d09
-
- 07 Jul, 2014 3 commits