epoger@google.com
0a030cde4e
fix gyp-generated xcode project files for SampleApp and other targets
...
see http://codereview.appspot.com/4515181/
git-svn-id: http://skia.googlecode.com/svn/trunk@1482 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 19:52:14 +00:00
bungeman@google.com
3b0a8da8a5
Add EGL context for Windows.
...
http://codereview.appspot.com/4517133/
git-svn-id: http://skia.googlecode.com/svn/trunk@1481 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 15:38:06 +00:00
tomhudson@google.com
0d831725f6
Reduce GrGLProgram::ProgramDesc from 88B to 24B.
...
http://codereview.appspot.com/4561058 .
git-svn-id: http://skia.googlecode.com/svn/trunk@1480 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 15:37:14 +00:00
epoger@google.com
ccdbd2c522
create GYP files for these targets: tests, gm, skhello, skimage, skdiff
...
see http://codereview.appspot.com/4536096/
git-svn-id: http://skia.googlecode.com/svn/trunk@1479 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 14:38:23 +00:00
reed@google.com
f850d096af
add copyright notices
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1478 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 14:08:49 +00:00
reed@google.com
542e035dcd
remove unneeded check for thumb. see http://codereview.appspot.com/4539048/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1477 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 13:45:33 +00:00
senorblanco@chromium.org
907afcadfa
Add a missing include path for the linux build of utils.gyp. Remove the Linux
...
utils files from the build of views.a, since they're already being compiled into
utils.a, since it was causing unnecessary rebuilds (the same could probably be
done for linux and mac). Remove the commented-out SkImageDecoder_libpvjpeg.cpp,
which has been removed from SVN.
http://codereview.appspot.com/4532105/
git-svn-id: http://skia.googlecode.com/svn/trunk@1476 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 20:55:45 +00:00
tomhudson@google.com
78e7d2c795
Fix to bug, partial fix to unit tests following on from
...
http://codereview.appspot.com/4536100/
git-svn-id: http://skia.googlecode.com/svn/trunk@1475 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 20:43:05 +00:00
reed@google.com
9b24d25c6b
include SkTypes.h
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1474 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 20:27:53 +00:00
caryclark@google.com
ab0ab4a601
committing http://codereview.appspot.com/4515175/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1473 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 20:15:20 +00:00
tomhudson@google.com
0d3f1fbd6b
Speed up GrBinHashKey computation by replacing Adler32 with One-at-a-Time hash
...
function, do 32b at a time instead of 8b at a time.
git-svn-id: http://skia.googlecode.com/svn/trunk@1472 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 19:27:31 +00:00
reed@google.com
8cf334f20e
remove dead/abandoned file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1471 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 18:38:51 +00:00
senorblanco@chromium.org
aa73168094
Clean up the gyp files to reflect some files that were removed and/or renamed.
...
Review URL: http://codereview.appspot.com/4536098/
git-svn-id: http://skia.googlecode.com/svn/trunk@1470 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 18:28:22 +00:00
yangsu@google.com
1f3942110a
Added code to enable the pipe module to record to a file
...
http://codereview.appspot.com/4564052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1469 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 18:03:34 +00:00
reed@google.com
34e52a0392
initialize fCurrY
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1468 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 17:32:11 +00:00
yangsu@google.com
0fed8c2a5d
Added a sample pipe reader app that uses File I/O for playback
...
http://codereview.appspot.com/4551083/
git-svn-id: http://skia.googlecode.com/svn/trunk@1467 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 17:07:22 +00:00
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