epoger@google.com
353c252a2f
delete manually-imported Gyp source
...
see http://codereview.appspot.com/4610045
git-svn-id: http://skia.googlecode.com/svn/trunk@1580 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:57:16 +00:00
bsalomon@google.com
8bf2d20f07
Updated mac baselines from gl ctx size change and new version of shadertext with txt-on-path.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1578 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:20:23 +00:00
bsalomon@google.com
137c428290
Update baselines for linux-fixed. Make shader text sample/GM work with scalar=fixed.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1577 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:13:22 +00:00
epoger@google.com
0ae27e0911
Use automatically imported third_party/externals/gyp instead of
...
manually imported third_party/gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@1576 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 16:01:04 +00:00
bsalomon@google.com
3914958a49
Fix text-as-path with skshader on gpu
...
Review URL: http://codereview.appspot.com/4576057/
git-svn-id: http://skia.googlecode.com/svn/trunk@1575 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 21:55:32 +00:00
bsalomon@google.com
79d2dbed5a
uint32_t -> int for texture extents
...
Review URL: http://codereview.appspot.com/4584053/
git-svn-id: http://skia.googlecode.com/svn/trunk@1574 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 19:28:02 +00:00
Scroggo
5a23424b40
Implement timers for linux SampleApp. http://codereview.appspot.com/4592054/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1573 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 19:17:58 +00:00
reed@google.com
b9255d523f
drop extraneous GrPrintfs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1572 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:54:59 +00:00
epoger@google.com
8cdb78c4fd
set externals/gyp dependency to same version as manually imported gyp code
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1571 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:45:15 +00:00
epoger@google.com
cc9cf9ac6e
Modify DEPS so that it works properly for the buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1570 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:08:41 +00:00
bsalomon@google.com
c4a30bf828
AA updates for mac gm baseline WRT r1568
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1569 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:01:57 +00:00
bsalomon@google.com
919583674b
Consider hw render target limit for offscreen supersample and tile
...
Review URL: http://codereview.appspot.com/4575041/
git-svn-id: http://skia.googlecode.com/svn/trunk@1568 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 17:58:13 +00:00
djsollen@google.com
e32b5837c3
Updates to the Android SampleApp
...
http://codereview.appspot.com/4602049/
git-svn-id: http://skia.googlecode.com/svn/trunk@1567 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 16:58:40 +00:00
epoger@google.com
fc0685652e
Add DEPS file in an attempt to make both gclient and svn update bring in
...
third_party/externals.
git-svn-id: http://skia.googlecode.com/svn/trunk@1566 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 16:04:25 +00:00
reed@google.com
c8cc60cd3a
move SkMatrix44
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1565 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 14:58:44 +00:00
reed@google.com
da9fac0aa1
add row/col major getters, plus unit-tests
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1564 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 14:46:52 +00:00
reed@google.com
8260a89586
move into utils
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1563 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 14:02:52 +00:00
reed@google.com
7d26c590f6
add 2nd parameter to SkFontHost::NextLogicalFont()
...
needed by android to map different styles of fallback fonts
git-svn-id: http://skia.googlecode.com/svn/trunk@1562 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 13:01:10 +00:00
epoger@google.com
80afbf08eb
#include <math.h> if SK_SCALAR_IS_FIXED but SK_CAN_USE_FLOAT
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1561 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 22:16:28 +00:00
tomhudson@google.com
ea325437bd
When user specifies an output path with -w, only output files from main
...
render (don't output -replay and -serialize files into separate
directories).
If main render fails, don't test -replay or -serialize.
Also fix misnamed variable, line-wrap.
git-svn-id: http://skia.googlecode.com/svn/trunk@1560 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 20:30:03 +00:00
reed@google.com
125002a94c
update SkMatrix44
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1559 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 19:13:41 +00:00
tomhudson@google.com
88a0e05265
Fix signed/unsigned mismatch in rev 1553.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1558 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 18:54:01 +00:00
epoger@google.com
73f8399835
Define SK_CAN_USE_FLOAT in gyp build, just like Makefile build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1557 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 18:51:41 +00:00
epoger@google.com
e02b68c47e
Remove SkTableMaskFilter.cpp from gyp build, because it was breaking for skia_scalar=fixed (and it was not being exercised by the old Makefile anyway)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1555 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 17:37:59 +00:00
reed@google.com
2f3567c000
check-point for unifying results between runs and mask backends for aa
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1554 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 15:54:38 +00:00
tomhudson@google.com
9dc527bebf
skdiff usability improvements: summary to stdout, -diff in output filenames,
...
better statistics on HTML page when using -white, output directory name is
optional.
codereview.appspot.com/4590048/
git-svn-id: http://skia.googlecode.com/svn/trunk@1553 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 15:47:10 +00:00
junov@google.com
53a5584bb0
Adding functionality for purgin graphics resource handles
...
This will allow a fix to WebKit for preventing a crash when the graphics
context is destroyed before the GrContext
BUG=http://code.google.com/p/chromium/issues/detail?id=85309
git-svn-id: http://skia.googlecode.com/svn/trunk@1551 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 22:55:10 +00:00
epoger@google.com
5189a4e65e
add skia_scalar switch to gyp script
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1550 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 20:55:53 +00:00
bungeman@google.com
2080900985
Fix scale metric bench.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1549 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 19:38:53 +00:00
epoger@google.com
bf083a9a20
fix windows compile errors in "tests"
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1547 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 18:26:08 +00:00
epoger@google.com
e7ccdb3bef
revert to manually imported gyp source (from SVN externals)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1541 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 15:34:21 +00:00
tomhudson@google.com
ddab2276cb
Duplicates code from GrPathUtils to verify that an approximation for the number
...
of points in a quadratic curve is within +/- 2x the value determined by the
previous expensive method.
Running a similar approximation method on the Guimark2 HTML5 Charting demo drops
the share of time spent in SkPoint::distanceToLineSegmentBetweenSqd() from 4.57%
to under 0.6%, although SkPath::Iter::next(), SkPath::lineTo(), and
GrPathUtils::quadraticPointCount() all increase a bit.
Using a similar approximation method for SampleSlides.cpp produces visually
reasonable results. Without a relevant gm (it looks like gm/pathfill.cpp doesn't
have explicit quadratics?) I'm not sure how to get a better output quality
test.
We could avoid code duplication by:
- have two implementations in GrPathUtils (computedQuadraticPointCount() &
estimatedQuadraticPointCount() are my working titles)
- use a #define to select between them at compile time
- expose both of them in the header file for this test to access
git-svn-id: http://skia.googlecode.com/svn/trunk@1540 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 14:46:28 +00:00
Scroggo
aed68d999b
Make linux sample app work on my laptop. Reviewed at http://codereview.appspot.com/4568050/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1539 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 14:26:00 +00:00
thakis@chromium.org
7e12f82aa4
GCC 4.6 fix: intptr_t <-> NULL triggers an warning.
...
BUG=chromium:87001
TEST=none
Patch by Ryan Sleevi <rsleevi@chromium.org>
Review URL: http://codereview.appspot.com/4571048/
git-svn-id: http://skia.googlecode.com/svn/trunk@1538 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 22:18:07 +00:00
bungeman@google.com
be9ad4e5fc
Higher resolution timers for bench.
...
http://codereview.appspot.com/4548090/
git-svn-id: http://skia.googlecode.com/svn/trunk@1534 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 19:16:02 +00:00
reed@google.com
41249466fe
rebaselin from 1528
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1533 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 18:48:32 +00:00
bsalomon@google.com
7ca72f3355
Apply translate param to path bounds when computing ssaa bounds
...
Review URL: http://codereview.appspot.com/4591044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1532 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 18:46:50 +00:00
reed@google.com
4c0e88e202
rebaseline from 1528
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1531 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 18:43:05 +00:00
reed@google.com
3b139f5888
round Y baseline for text, as we do in the raster case
...
http://code.google.com/p/chromium/issues/detail?id=83934
git-svn-id: http://skia.googlecode.com/svn/trunk@1528 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 17:56:25 +00:00
epoger@google.com
b7fd3ee27e
Temporarily fall back to the old makefile; the new one was killing buildbot.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1527 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 15:46:40 +00:00
epoger@google.com
1e8e056afc
Some final cleanups leading up to The Official Switch to Gyp
...
see http://codereview.appspot.com/4580043
1. Create a single public skia.gyp file that all outside projects (Chrome,
Android, etc.) should depend on from now on. I haven't yet created targets
suitable for those projects to use, but this is where we should add them.
2. Make gyp generate its Makefiles within out/ directory, rather than polluting
directories under source control.
3. Modify trunk/Makefile to automatically run gyp_skia and then call the
generated Makefile, to ease developer transition.
git-svn-id: http://skia.googlecode.com/svn/trunk@1526 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 14:48:41 +00:00
tomhudson@google.com
288ff33d06
New benchmarks to determine performance of matrix-point multiplication for floating point vs. double matrices.
...
Over-the-shoulder review by reed@.
git-svn-id: http://skia.googlecode.com/svn/trunk@1525 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 14:31:38 +00:00
reed@google.com
a87e065870
add SkFixedFloorToFixed
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1524 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 13:38:39 +00:00
thakis@chromium.org
441d7da536
Correct argument order for drawSimpleRect()
...
Patch by Ryan Sleevi <rsleevi@chromium.org>
Review URL: http://codereview.appspot.com/4568055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1523 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 04:03:17 +00:00
kbr@chromium.org
120bdffcf0
Committing on behalf of gman@chromium.org:
...
Fix for putImageData
TEST=manually ran tests that were failing
BUG=84165
TBR=reed@google.com
Code review URL: http://codereview.appspot.com/4570042
git-svn-id: http://skia.googlecode.com/svn/trunk@1518 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 01:27:01 +00:00
tomhudson@google.com
8d430185e0
Increase use of SkMatrix::hasPerspective(), merge in has_perspective().
...
Unifies SkMatrix::hasPerspective(), has_perspective(), and manual tests of SkMatrix::getType & kPerspective_Mask.
git-svn-id: http://skia.googlecode.com/svn/trunk@1517 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-06 19:11:19 +00:00
tomhudson@google.com
25583a3812
Make scalar benchmarks compile and run under SKIA_SCALAR=fixed as well as float.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1516 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-06 17:55:11 +00:00
tomhudson@google.com
521ed7c7c2
Attempt to correct issue with fixed point from SkMatrix changes in r1512.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1515 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-06 17:21:44 +00:00
reed@google.com
e1fee49d03
remove legacy LCDTEXT define
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1514 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-06 17:15:46 +00:00
reed@google.com
99683cede2
move code inside #ifdef to fix warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1513 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-06 17:14:52 +00:00