reed@google.com
2d903aea53
make sure we pass legal utf8
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9877 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 20:06:00 +00:00
reed@google.com
929c98d35f
speculative fix for signed-unsinged compare warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9876 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 20:02:06 +00:00
zachr@google.com
945708ad94
add diff recording and output code
...
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/18348011
git-svn-id: http://skia.googlecode.com/svn/trunk@9875 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 19:55:32 +00:00
epoger@google.com
8575b4df41
Fix rebaseline.py self-test to account for r9859
...
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/18559002
git-svn-id: http://skia.googlecode.com/svn/trunk@9872 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 18:25:06 +00:00
commit-bot@chromium.org
738e02c6f8
Update tests valgrind suppressions
...
R=borenet@google.com
Author: robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/18510005
git-svn-id: http://skia.googlecode.com/svn/trunk@9871 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 17:40:22 +00:00
commit-bot@chromium.org
76e0d13789
Commented SSE blend functions and cleaned-up variable naming.
...
R=senorblanco@chromium.org , alokp@chromium.org , reed@google.com , bungeman@google.com
Author: ernstm@chromium.org
Review URL: https://chromiumcodereview.appspot.com/17847010
git-svn-id: http://skia.googlecode.com/svn/trunk@9870 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 17:40:19 +00:00
reed@google.com
b4162b12b1
impl charsToGlyphs for freetype
...
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/18040004
git-svn-id: http://skia.googlecode.com/svn/trunk@9866 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 16:32:29 +00:00
reed@google.com
231129753c
test null-glyphs param case
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9865 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 16:28:53 +00:00
jvanverth@google.com
d1b5b14747
Fix for Ovals/RRects on N4 missing interior rectangles.
...
Clamp square of gradiant length to non-zero value so it can be passed to
inversesqrt().
Also adds some fixes to rrect setup to avoid crossing zero.
Skia issue #1372
R=bsalomon@google.com , robertphillips@google.com
Review URL: https://codereview.chromium.org/18375003
git-svn-id: http://skia.googlecode.com/svn/trunk@9864 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 14:46:03 +00:00
reed@google.com
a3e500cee9
use else instead of else-if -- fixes 'possibly unused' warning
...
BUG=
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/18527003
git-svn-id: http://skia.googlecode.com/svn/trunk@9863 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 14:44:27 +00:00
reed@google.com
c3eb56db6b
use if (false) instead of #ifdef to avoid unused code warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9861 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 14:01:23 +00:00
reed@google.com
bcb42aecf1
add charsToGlyphs to SkTypeface
...
Will disable new unittest until all backends are implemented.
On Mac, new API is 4x faster than old paint one, so next CL I will reimplement the paint calls in terms of the new typeface call.
R=eae@chromium.org
Review URL: https://codereview.chromium.org/18083023
git-svn-id: http://skia.googlecode.com/svn/trunk@9860 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 13:56:39 +00:00
robertphillips@google.com
63e9627fca
Add N4 to rebaseline.py
...
https://codereview.chromium.org/18023014/
(SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@9859 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 12:54:37 +00:00
robertphillips@google.com
53fa5fdc0d
Performance trigger rebaselines
...
(SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@9857 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 12:09:06 +00:00
skia.committer@gmail.com
0d55dd7d2c
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9856 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 07:00:59 +00:00
robertphillips@google.com
d3976a1bc0
Fix for Win7 bench compiler error/warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9855 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-02 00:16:57 +00:00
robertphillips@google.com
f8846504c7
Yet another fix for Win7 compiler errors/warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9854 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 23:47:44 +00:00
robertphillips@google.com
95faedb764
Yet another attempt to fix Win7 warnings/errors
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9852 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 23:15:57 +00:00
robertphillips@google.com
7d5758d118
Fixed Win7 compiler warning/error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9850 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 22:50:18 +00:00
dierk@google.com
6b4231225f
Merge remote-tracking branch 'refs/remotes/git-svn'
...
changed all makeXYWH args to SkScalar
Fixed non-constant array size in test.
Merge remote-tracking branch 'refs/remotes/git-svn'
Fixed non-constant array size in test.
Merge remote-tracking branch 'refs/remotes/git-svn'
fixed SkPathUtils.cpp:78
Fixed PathUtils.cpp:90
Fixed the float being passed to an int method
Fixed the bugs that crashed the build bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9849 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 20:50:41 +00:00
dierk@google.com
a950551018
Fixed non-constant array size in test.
...
Merge remote-tracking branch 'refs/remotes/git-svn'
Fixed non-constant array size in test.
Merge remote-tracking branch 'refs/remotes/git-svn'
fixed SkPathUtils.cpp:78
Fixed PathUtils.cpp:90
Fixed the float being passed to an int method
Fixed the bugs that crashed the build bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9848 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 20:36:31 +00:00
dierk@google.com
19b8438ffb
Merge remote-tracking branch 'refs/remotes/git-svn'
...
fixed SkPathUtils.cpp:78
Fixed PathUtils.cpp:90
Fixed the float being passed to an int method
Fixed the bugs that crashed the build bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9847 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 20:10:56 +00:00
dierk@google.com
6bee4ec36a
Fixed PathUtils.cpp:90
...
Fixed the float being passed to an int method
Fixed the bugs that crashed the build bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9846 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 19:52:36 +00:00
dierk@google.com
74887b6edd
Fixed the bugs that crashed the build bots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9845 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 19:30:14 +00:00
commit-bot@chromium.org
064779aa18
Adding my Bitmap2Path sample for 1on1 meeting.
...
BUG=
R=reed@google.com , borenet@google.com
Author: dierk@google.com
Review URL: https://chromiumcodereview.appspot.com/16829003
git-svn-id: http://skia.googlecode.com/svn/trunk@9843 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 17:50:29 +00:00
zachr@google.com
c6081abd2f
fix copy in SkTDArray
...
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/18363003
git-svn-id: http://skia.googlecode.com/svn/trunk@9839 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 17:04:32 +00:00
scroggo@google.com
e8f3471f94
Add a newline to the error message from JPEG.
...
Review URL: https://codereview.chromium.org/18344006
git-svn-id: http://skia.googlecode.com/svn/trunk@9836 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 14:44:54 +00:00
bungeman@google.com
2ff6d1d1dc
Separate showing and hiding the debugger settings and inspector.
...
Internally the settings and inspector in the debugger are separate, but the
inspector button toggles both of them. This is unfortunate, because both of
these have large minimum vertical sizes. This means that those with vertical
resolutions less than ~1024 cannot see the the details tab.
This change separates the settings and inspector toggles into two so that
the interface is usable on screens of smaller size.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/18279002
git-svn-id: http://skia.googlecode.com/svn/trunk@9835 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 14:24:12 +00:00
bungeman@google.com
0b4d6b289c
Basic error checking for debugger GL widget.
...
Currently the debugger segfaults if the GL context cannot be created.
This change allows the debugger to build with GL support, but still run if the
GL context cannot be created at runtime.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/18275002
git-svn-id: http://skia.googlecode.com/svn/trunk@9834 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 13:54:10 +00:00
rmistry@google.com
637d24c18e
Whitespace change to trigger GCE compile bots.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9833 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 13:50:32 +00:00
robertphillips@google.com
c111ce22e7
Partial revert of r9812 & put rest of r9812 behind a compile flag
...
https://codereview.chromium.org/18317003/
git-svn-id: http://skia.googlecode.com/svn/trunk@9832 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 13:10:10 +00:00
scroggo@google.com
6c4c3a5554
Fixes for nacl_debugger's use of picture.
...
Now that CreateFromStream is used, check for NULL rather than
looking at width and height (prevents a crash on an invalid SKP).
Unref the picture when done with it.
Remove the member variable for picture, since it is only accessed
inside the one function.
R=borenet@google.com
Review URL: https://codereview.chromium.org/18055014
git-svn-id: http://skia.googlecode.com/svn/trunk@9831 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 12:42:49 +00:00
scroggo@google.com
fa13a632a0
Expect razr to fail on some decoding tests.
...
Review URL: https://codereview.chromium.org/18272005
git-svn-id: http://skia.googlecode.com/svn/trunk@9830 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 12:38:50 +00:00
skia.committer@gmail.com
a6ff36bd61
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9826 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-29 07:03:21 +00:00
edisonn@google.com
5d41b36dd5
refactor folders to make prepare for native pdf parser
...
Review URL: https://codereview.chromium.org/18179007
git-svn-id: http://skia.googlecode.com/svn/trunk@9825 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 22:01:06 +00:00
scroggo@google.com
1e34b34a6c
Use CreateFromStream in nacl debugger.
...
Review URL: https://codereview.chromium.org/18153012
git-svn-id: http://skia.googlecode.com/svn/trunk@9824 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 21:57:51 +00:00
scroggo@google.com
0e0180a176
Temporary change to keep chrome happy.
...
Add back in a version of the constructor taking a stream so that
chrome can build until we switch chrome to using the factory.
Will be reverted once chrome switches to using the factory.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/17916003
git-svn-id: http://skia.googlecode.com/svn/trunk@9823 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 21:35:29 +00:00
scroggo@google.com
f1754ec691
Replace SkPicture(SkStream) constructors with a factory.
...
SkPicture:
Remove the constructors which take an SkStream as an argument. Rather
than having to check a variable for success, the factory will return
NULL on failure.
Add a protected function for determining if an SkStream is an SKP
to share code with SkTimedPicture.
In the factory, check for a NULL SkStream.
Use a default decoder (from BUG:
https://code.google.com/p/skia/issues/detail?id=1325 )
SkDebuggerGUI:
Call SkPicture::CreateFromStream when necessary.
Write a factory for creating SkTimedPictures and use it.
Use the factory throughout tools.
Add include/lazy to utils and effects gyp include_dirs so SkPicture.h
can reference SkImageDecoder.h which references SkBitmapFactory.h (in
include/lazy).
Changes code Chromium uses, so this will require a temporary Skia
and then a change to Chromium to use the new Skia code.
TODO: Create a decoder that does nothing to be used by pinspect,
lua pictures, etc, and allow it to not assert in SkOrderedReadBuffer.
R=reed@google.com
Review URL: https://codereview.chromium.org/17113004
git-svn-id: http://skia.googlecode.com/svn/trunk@9822 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 21:32:00 +00:00
scroggo@google.com
925cdca805
Skip the TIMESTAMP file.
...
Allows run_decoding_tests.py to pass the name of the folder, so
Android will not fail on account of the long adb command.
R=borenet@google.com
Review URL: https://codereview.chromium.org/18175008
git-svn-id: http://skia.googlecode.com/svn/trunk@9817 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 20:04:42 +00:00
reed@google.com
92833f99b9
use width() instead of fWidth to get int value
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9816 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 19:47:43 +00:00
reed@google.com
60d3235ab4
add bitmap::eraseArea
...
BUG=
R=scroggo@google.com
Review URL: https://codereview.chromium.org/18029021
git-svn-id: http://skia.googlecode.com/svn/trunk@9815 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 19:40:50 +00:00
bsalomon@google.com
0a208a117b
Add flag bits for partial GrContext reset
...
BUG=248728
R=bsalomon@google.com
Committed: https://code.google.com/p/skia/source/detail?r=9802
Review URL: https://codereview.chromium.org/17027003
git-svn-id: http://skia.googlecode.com/svn/trunk@9814 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 18:57:35 +00:00
edisonn@google.com
ab03e6816b
more work on pdf fonts, more to come
...
Review URL: https://codereview.chromium.org/18117005
git-svn-id: http://skia.googlecode.com/svn/trunk@9813 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 18:51:20 +00:00
robertphillips@google.com
353f0971d8
GPU "fix" for thin stroked rects
...
https://codereview.chromium.org/17845003/
git-svn-id: http://skia.googlecode.com/svn/trunk@9812 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 17:57:06 +00:00
scroggo@google.com
5330e44796
Print the file being deserialized before deserializing.
...
That way it is easier to tell which file failed.
R=edisonn@google.com
Review URL: https://codereview.chromium.org/18219002
git-svn-id: http://skia.googlecode.com/svn/trunk@9811 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 17:52:53 +00:00
bungeman@google.com
44fb1faefe
Make implicit cast explicit to fix r9807 on gcc.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 17:21:35 +00:00
bungeman@google.com
b20a1b56a0
Minimal changes for SampleApp to eb HiDPI aware on Mac.
...
R=caryclark@google.com
Review URL: https://codereview.chromium.org/18055009
git-svn-id: http://skia.googlecode.com/svn/trunk@9807 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 16:44:55 +00:00
zachr@google.com
572b54dd7a
add point of interest API
...
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/18176005
git-svn-id: http://skia.googlecode.com/svn/trunk@9806 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 16:27:33 +00:00
edisonn@google.com
ba669991e5
revert 9802 breacking tests on some configs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9805 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 16:03:21 +00:00
zachr@google.com
5eef11b293
fix OpenCL memory leak
...
R=djsollen@google.com
Review URL: https://codereview.chromium.org/18051004
git-svn-id: http://skia.googlecode.com/svn/trunk@9804 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 15:37:15 +00:00