- 02 Aug, 2013 1 commit
-
-
Derek Sollenberger authored
Change-Id: Id9089424d82567556fc1faf6024cfe46b3de7cfe
-
- 05 Jun, 2013 2 commits
-
-
Jean-Baptiste Queru authored
Change-Id: I093e7a32dad529023f761b735eefbd1db6b1fca0
-
Jean-Baptiste Queru authored
This reverts commit 9a8580ee.
-
- 31 May, 2013 1 commit
-
-
Derek Sollenberger authored
Change-Id: Ieaf903e12302b65921da06c10bf43185125ba31a
-
- 30 Apr, 2013 3 commits
-
-
Nick Kralevich authored
Change-Id: I519864f11ad11aa44601b55dbf4bc7e2ae566b18
-
Nick Kralevich authored
-
Nick Kralevich authored
SkString uses a dynamic growing mechanism for storing strings. This dynamic mechanism confuses GCC, which thinks it's operating with a single character. This causes crashes when we use Android's -D_FORTIFY_SOURCE=2 extensions. Consider the following code: SkLanguage SkLanguage::getParent() const { SkASSERT(fInfo != NULL); const char* tag = fInfo->fTag.c_str(); SkASSERT(tag != NULL); // strip off the rightmost "-.*" char* parentTagEnd = strrchr(tag, '-'); [DELETED] } fInfo->fTag is a SkString, which is declared as: class SkString { public: [DELETED] size_t size() const { return (size_t) fRec->fLength; } const char* c_str() const { return fRec->data(); } char operator[](size_t n) const { return this->c_str()[n]; } [DELETED] private: struct Rec { public: size_t fLength; int32_t fRefCnt; char fBeginningOfData; char* data() { return &fBeginningOfData; } const char* data() const { return &fBeginningOfData; } }; Rec* fRec; [DELETED] }; When "fInfo->fTag.c_str();" is executed in "SkLanguage::getParent()", it returns a pointer to fBeginningOfData, which is a single char. The compiler believes that "tag" always points to an element of size 1. When Android's strrchr() fortify extensions are called, we trigger an abort, because strrchr() detects an attempt to read beyond the one character fBeginningOfData. Change-Id: Ibe957544b5114c14018630a8f42213bf3dd806e3
-
- 18 Apr, 2013 1 commit
-
-
Derek Sollenberger authored
-
- 12 Apr, 2013 1 commit
-
-
Chris Craik authored
bug:8598158 The generationID should be saved first thing, before the paint is modified Change-Id: I0709788554dc1c1d3fd8e8e71791aba4eb22d562
-
- 11 Apr, 2013 1 commit
-
-
Raph Levien authored
-
- 10 Apr, 2013 1 commit
-
-
Ying Wang authored
Bug: 8580410 Change-Id: I2de6a0b69b31ed33a14c9b9bcbbe09845a28ac8c
-
- 08 Apr, 2013 1 commit
-
-
Raph Levien authored
This is an implementation of bug 8565810: Enable more complex scripts in text layout This change adds a number of additional scripts to the mapping from "representative" Unicode code point to script tag, which is used by Skia's fallback mechanism to find an appropriate font for a run of text. In cases where Harfbuzz old does not have the script in its enum (for legacy rendering), we use a value which can never occur, which will preserve the existing behavior. Change-Id: I3e197abf7a6ccf305d2e6409b17a8aeb7dc7d32e
-
- 27 Mar, 2013 3 commits
-
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
Change-Id: Ide7ecd29d6931999357fc9ca48fd64e5510a6a2b
-
- 26 Mar, 2013 2 commits
-
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
-
- 20 Mar, 2013 1 commit
-
-
Vikas Arora authored
There's case, when Skia SkStream passed to WebP decoder may have incorrect length (stream->getLength()). This is observed, if the App decodes an image (size > 80KB) using: 'ParcelFileDescriptor --> BitmapFactory.decodeStream()' Updated the WebP incremental decoding loop to not rely on stream->getLength() Change-Id: I3c7cdd1cf6483e5bb4c0211bc989e14ba8ce4457
-
- 06 Mar, 2013 1 commit
-
-
Jean-Baptiste Queru authored
Change-Id: I136fcbbc14072ee5f5281d09445f28d083ed3ce1
-
- 04 Mar, 2013 1 commit
-
-
Derek Sollenberger authored
bug: 7392718 Change-Id: I44674faa8bd42a8cf80ee3ac0c7feae5eaae285d
-
- 27 Feb, 2013 1 commit
-
-
Romain Guy authored
All the text measurement methods (measureText, getFontMetrics, breakText) rely on an internall class called SkAutoRestorePaintTextSizeAndFrame to save and restore the paint state. This class has the side effect of always changing the style of the paint once or twice (by forcing the style to kFill_Style first then by restoring the previous value.) This is causing Android to incorrectly track paints in hardware display lists and leading to incorrect renderings. The change simply saves and restores the generation ID of the paint. Change-Id: I8f1eea274e8f444e126555bfb937b594170061c0
-
- 22 Feb, 2013 3 commits
-
-
Jesse Hall authored
Change-Id: I45836219fc0e97607d83d458de9babb44f4c7534
-
Derek Sollenberger authored
-
Derek Sollenberger authored
bug: 6906025
-
- 20 Feb, 2013 1 commit
-
-
Ed Heyl authored
-
- 14 Feb, 2013 1 commit
-
-
Chris Craik authored
This reverts commit ee9208ea, reversing changes made to 2dad6229. Change-Id: Id7f0fb0a3c46bcf9ae0e90de83661f8eadb30bfc
-
- 13 Feb, 2013 2 commits
-
-
Chris Craik authored
am 07d1532b: (-s ours) Revert "Merge remote-tracking branch \'goog/master-chromium\' into \'goog/master\'" DO NOT MERGE # Via Chris Craik * commit '07d1532b': Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE
-
Chris Craik authored
This reverts commit ee9208ea, reversing changes made to 2dad6229. Change-Id: Id7f0fb0a3c46bcf9ae0e90de83661f8eadb30bfc
-
- 05 Feb, 2013 1 commit
-
-
Derek Sollenberger authored
bug: 6906025
-
- 04 Feb, 2013 2 commits
-
-
Derek Sollenberger authored
Conflicts resolved in: include/gpu/GrBackendEffectFactory.h src/core/SkPaint.cpp src/effects/gradients/SkLinearGradient.cpp src/ports/FontHostConfiguration_android.cpp Change-Id: I5ad1f8f99f8fdbc26c5f98861701dd0c1cee82fa
-
http://skia.googlecode.com/svn/trunk@7527Derek Sollenberger authored
Change-Id: I83c7c2152f5d2c303b4655a5a604f513a54f350a
-
- 29 Jan, 2013 1 commit
-
-
Ruben Brunk authored
# Via Ruben Brunk * commit '2dad6229': This fixes the immediate setjmp crash.
-
- 28 Jan, 2013 1 commit
-
-
Ruben Brunk authored
Bug: 6880937 Change-Id: I13340705b7ae5050e00cd7fba56f21921de5a502
-
- 22 Jan, 2013 6 commits
-
-
Derek Sollenberger authored
* commit '0203c47d': Introduces new shared library that will be used to playback SkPictures.
-
Derek Sollenberger authored
* commit 'f8cacf6b': Make a copy of the Skia sources to isolate them from updates.
-
Derek Sollenberger authored
Change-Id: Ied68be289bf5f54d51ddad5cf08fd2b1f1e8fedd
-
Derek Sollenberger authored
This is a specific library only needed on devices that must be capable of playing back SkPicture files recorded with a previous version of Skia than what is currently on the system. bug: 8019756 Change-Id: I0c1b8c8d74fd4df64b86c2e2eb534bd85841d81c
-
Derek Sollenberger authored
These files will be the basis for a special shared library that will be used to playback SkPicture files that have been saved using this version of Skia. bug: 8019756 Change-Id: I1ea4d6baf9bb09be01f267337271e0c352cea81e
-
Derek Sollenberger authored
Change-Id: I420c812b34ba41a3fc03db1f1276340954d379c1
-
- 15 Jan, 2013 1 commit
-
-
Raph Levien authored
* commit 'cfceaa81': Changes to Skia to support Harfbuzz NG
-