bungeman@google.com
63aab2fecb
Fixup utils.gyp.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1466 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 16:15:43 +00:00
bungeman@google.com
7a9ad1b986
Make gyp VC project debug configuration /DEBUG.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1465 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 16:14:01 +00:00
yangsu@google.com
4c295a3d92
Added 3 new sample tests. http://codereview.appspot.com/4527092/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1464 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 16:11:58 +00:00
reed@google.com
416d303709
add MatrixBench.cpp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1463 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 15:11:42 +00:00
reed@google.com
3fb5187647
speed-up SkMatrix::preScale by 3x, by special-casing it instead of just calling
...
concat. Inspired by the profile of the fishtank site
git-svn-id: http://skia.googlecode.com/svn/trunk@1462 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 15:11:22 +00:00
bungeman@google.com
ac2e663762
Add gyp for bench and make run on Windows. (2)
...
http://codereview.appspot.com/4528112/
git-svn-id: http://skia.googlecode.com/svn/trunk@1461 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 13:23:29 +00:00
reed@google.com
81e3d7f794
update to SampleView
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1460 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 12:42:36 +00:00
reed@google.com
e5ff439066
inherit from SampleView
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1459 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 11:59:08 +00:00
bungeman@google.com
206c98ae40
Add gyp for bench and make run on Windows.
...
http://codereview.appspot.com/4528112/
git-svn-id: http://skia.googlecode.com/svn/trunk@1458 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 21:21:54 +00:00
senorblanco@chromium.org
e6ff8ab743
Rename some global symbols defined by glu's libtess which conflict with the
...
WebKit implementation. #define them with a prefix, as we did with the main
entry points.
Review URL: http://codereview.appspot.com/4551079/
git-svn-id: http://skia.googlecode.com/svn/trunk@1457 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 21:15:10 +00:00
reed@google.com
fa57ae7d1e
remember previous x-offset when we re-enter the runs array. speeds up paths
...
with lots of x-transitions in a single scanline
git-svn-id: http://skia.googlecode.com/svn/trunk@1456 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 19:18:02 +00:00
reed@google.com
9405e55c37
remove dump printf
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1455 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 19:14:21 +00:00
epoger@google.com
51c078b12a
make this work again: ./gyp_skia && make SampleApp
...
see http://codereview.appspot.com/4517123/
git-svn-id: http://skia.googlecode.com/svn/trunk@1454 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 19:02:37 +00:00
vandebo@chromium.org
d897bfb76f
[PDF] Add pages accessor to SkPDFDocument.
...
Also add SK_API to SkPDFPage::getFontResources.
Review URL: http://codereview.appspot.com/4561050
git-svn-id: http://skia.googlecode.com/svn/trunk@1453 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 18:18:21 +00:00
Scroggo
f33d153732
Port the SampleApp (raster) to Android.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1452 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 17:10:21 +00:00
Scroggo
bbb203c075
Remove unnecessary call to unlock.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1451 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 17:04:56 +00:00
reed@google.com
1d5aaa8ef6
fix memory leaks
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1448 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 15:35:54 +00:00
reed@google.com
5a1e79595f
remove dead code
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1447 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 14:36:21 +00:00
epoger@google.com
ae85aea58e
split skia.gyp into separate gypfile for each source dir
...
see http://codereview.appspot.com/4527084/
Now, to build out/Debug/SampleApp on Linux, do the following:
cd trunk/gyp
rm -rf Makefile *mk *.Makefile out
./gyp_skia -fmake --ignore-environment "--toplevel-dir=$PWD" \
-Icommon.gypi "--depth=$PWD" SampleApp.gyp
make
git-svn-id: http://skia.googlecode.com/svn/trunk@1446 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 13:50:51 +00:00
vandebo@chromium.org
3509f05081
Add more SK_API declarations to fix Chrome.
...
TBR=ctguil@chromium.org
Review URL: http://codereview.appspot.com/4526088
git-svn-id: http://skia.googlecode.com/svn/trunk@1445 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-30 20:52:33 +00:00
vandebo@chromium.org
f0ec2666d9
[PDF] Add plumbing and accessors so that Chrome can record the font types used in a PDF.
...
- Add a font type accessor to SkPDFFont.
- Plumb font resource retrivial up to SkPDFPage.
Review URL: http://codereview.appspot.com/4547069
git-svn-id: http://skia.googlecode.com/svn/trunk@1444 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-29 05:55:42 +00:00
bsalomon@google.com
d7beab4252
Fix copy/paste bug that checks same stencil field twice in isDisabled().
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1442 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-27 16:42:30 +00:00
reed@google.com
b8b0983c9e
make --replay be the default. Now --noreplay will disable testing through a picture
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1437 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 15:57:56 +00:00
reed@google.com
e3605d0e74
retool without shapes, which are broken/experimental
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1436 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 15:12:35 +00:00
twiz@google.com
c0c4d22bac
Removal of obsolete interface, SkMatrixClipObserver.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1435 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 14:57:48 +00:00
reed@google.com
4c9a8155a8
remove self-modifying matrix code, which can't work with pictures, and will be removed from shapes api soon
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1434 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 14:42:48 +00:00
reed@google.com
64f340ceea
dynamically allocate the pixels, so they can be referened when drawn into a picture
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1433 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 14:35:41 +00:00
reed@google.com
de324a1d8e
we don't checkin baselines for pdf yet
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1432 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 14:04:23 +00:00
reed@google.com
e3dc4a68b8
add gpu baselines for linux
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1431 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 14:01:36 +00:00
reed@google.com
67db6644ab
draw rotated rects as paths if we're antialiasing, until we extend our rect-aa
...
code to handle that case.
git-svn-id: http://skia.googlecode.com/svn/trunk@1430 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 11:46:35 +00:00
reed@google.com
e70e400bac
checkpoint for better 8bit->5bit reduction (disable for now)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1429 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 11:41:27 +00:00
reed@google.com
eebb4a2681
balance the call to matrix::flatten from r1414. Formerly both of these were
...
just memcpy. This fixes a regression when using matrices in pictures.
git-svn-id: http://skia.googlecode.com/svn/trunk@1428 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-26 11:39:41 +00:00
Scroggo
3272ba8abc
Show fatbits mode in openGL. http://codereview.appspot.com/4515141/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1426 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 20:50:42 +00:00
junov@google.com
5d6e108624
This change eliminates a potential memory leak and it
...
fixes a mem check bug that was blocking the skia roll
into Chromium.
BUG=http://code.google.com/p/skia/issues/detail?id=278
git-svn-id: http://skia.googlecode.com/svn/trunk@1424 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 20:26:11 +00:00
reed@google.com
d9097e0256
add
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1422 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 20:13:50 +00:00
reed@google.com
03c2ef5473
inherit from SampleView
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1421 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 20:13:06 +00:00
senorblanco@chromium.org
1fa803d6b4
Rename glu libtess symbols. When enabled in WebKit, the internal_glu libtess
...
symbols in skia will collide with the same internal_ implementation in WebKit.
Rename the glu entry points with an Sk_ prefix instead. Also, unfork the
changes to the libtess source as much as possible (the same as was done in
http://trac.webkit.org/changeset/87178 ).
Review URL: http://codereview.appspot.com/4536080/
git-svn-id: http://skia.googlecode.com/svn/trunk@1419 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 14:46:17 +00:00
vandebo@chromium.org
8887ede824
[PDF] Improve the SkClipStack skipping prefix code.
...
Because of intersecting done in SkClipStack, we may have to do more work in the last entry of the prefix.
Review URL: http://codereview.appspot.com/4530066
git-svn-id: http://skia.googlecode.com/svn/trunk@1418 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 01:27:52 +00:00
vandebo@chromium.org
19e3c1ed1b
[PDF] Reuse the invert function object for xform object masks.
...
Review URL: http://codereview.appspot.com/4557046
git-svn-id: http://skia.googlecode.com/svn/trunk@1417 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-25 00:41:30 +00:00
vandebo@chromium.org
13d14a9dbd
[PDF] Rename ContentEntryAccessor to ScopedContentEntry.
...
Review URL: http://codereview.appspot.com/4515134
git-svn-id: http://skia.googlecode.com/svn/trunk@1416 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 23:12:41 +00:00
vandebo@chromium.org
61d267879b
[PDF] Fix regression - correct for fInitialTrnasform in form xobjects.
...
Chrome bug http://crbug.com/83658
Review URL: http://codereview.appspot.com/4550072
git-svn-id: http://skia.googlecode.com/svn/trunk@1415 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 23:02:07 +00:00
senorblanco@chromium.org
50108cdbfe
Grab-bag of memory fixes. SkFlatMatrix::Flatten had the same issue as
...
Sk2DPathEffect: it was encoding a partially-unintialized matrix type mask.
The others are simply uninitialized vars in the sample code.
Review URL: http://codereview.appspot.com/4539072/
git-svn-id: http://skia.googlecode.com/svn/trunk@1414 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 20:25:32 +00:00
ctguil@chromium.org
f4ff39ca48
Cleanup: Use member function isContentEmpty().
...
Review URL: http://codereview.appspot.com/4556058
git-svn-id: http://skia.googlecode.com/svn/trunk@1412 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 19:55:05 +00:00
tomhudson@google.com
5b32529ab8
Stores index.html in the output (diff) directory rather than in the current
...
working directory.
Skips PDFs since we have no way to compare them.
Includes prototype of --weighted option to scale percent different metric by
intensity of difference at each pixel.
(qv http://codereview.appspot.com/4557042/ )
git-svn-id: http://skia.googlecode.com/svn/trunk@1411 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 19:41:13 +00:00
vandebo@chromium.org
ee7a9569f2
[PDF] Don't draw empty layers.
...
Review URL: http://codereview.appspot.com/4527072
git-svn-id: http://skia.googlecode.com/svn/trunk@1410 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 17:38:01 +00:00
vandebo@chromium.org
b069c8cfcd
[PDF] Add helper class to manage ContentEntry set up and completion.
...
This stack object helper class calls finishContentEntry when it goes out of scope, maintains the current content entry, and manages the dst form xobject when it is needed. This can be made cleaner by moving the guts of SkPDFDevice into a core object, which can expose setUp/finishContentEntry as public, but that is left as a todo.
Review URL: http://codereview.appspot.com/4515126
git-svn-id: http://skia.googlecode.com/svn/trunk@1409 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 17:19:38 +00:00
epoger@google.com
8f096724a2
Rebase GM tool for SKIA_SCALAR=fixed
...
http://codereview.appspot.com/4559041
git-svn-id: http://skia.googlecode.com/svn/trunk@1408 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 17:07:01 +00:00
vandebo@chromium.org
481aef6833
[PDF] Add clip support and some optimizations for "complex" xfer modes.
...
For Clear, Src, Dst/Src-In/Out, we have to consider the current clip, and
potentially draw Dst, clipped to the inverse of the current clip before
doing the operation of interest.
For clear or src, if we haven't drawn anything, or the clip is empty, there's
nothing to be done.
For Src/Dst-In/Out, if either is empty, the result is empty.
Review URL: http://codereview.appspot.com/4538082
git-svn-id: http://skia.googlecode.com/svn/trunk@1407 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 16:39:05 +00:00
junov@google.com
2f83940c4d
Fixes performance for texture domain uniform upload
...
Code review: http://codereview.appspot.com/4536073/
bug: http://code.google.com/p/skia/issues/detail?id=275
git-svn-id: http://skia.googlecode.com/svn/trunk@1406 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 15:13:01 +00:00
epoger@google.com
b28b5e4e26
Warn when an SkScalar is passed into SkIntToScalar() (converted twice)
...
http://codereview.appspot.com/4548051/
git-svn-id: http://skia.googlecode.com/svn/trunk@1405 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-24 14:51:57 +00:00