bsalomon@google.com
7975fcce42
Rebaseline mac gpu images
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2772 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 18:45:23 +00:00
bsalomon@google.com
12a6e65d5a
Remove more failing gpu baselines on linux
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2771 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 18:40:09 +00:00
junov@chromium.org
d80a509eb7
replacing Gr* with Sk* in SkTArray.h
...
REVIEW=http://codereview.appspot.com/5447053/
git-svn-id: http://skia.googlecode.com/svn/trunk@2770 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 18:35:19 +00:00
bsalomon@google.com
0e86291512
Temporarily remove failing linux gpu baselines.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2769 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 18:23:34 +00:00
bsalomon@google.com
f83a66b071
Temporarily remove windows gpu baselines that need new images.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2768 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 18:10:33 +00:00
tomhudson@google.com
8b08c3e152
Make skdiff robust to image size differences: if the two image sizes differ,
...
report that fact explicitly, record 100% pixel difference, and don't try to
generate a valid delta image.
git-svn-id: http://skia.googlecode.com/svn/trunk@2767 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 17:01:00 +00:00
bsalomon@google.com
29d3501e3b
Fix issue where bumping the max gm width/height affects gpu images
...
Review URL: http://codereview.appspot.com/5440065/
git-svn-id: http://skia.googlecode.com/svn/trunk@2766 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 16:57:21 +00:00
reed@google.com
677b223857
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2765 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 15:35:30 +00:00
reed@google.com
3138d36f98
Add more Unix platforms on which Skia for Chromium has been built,
...
this patch was tested on FreeBSD, Solaris, NetBSD, and DragonFly BSD.
http://codereview.chromium.org/8672011/
git-svn-id: http://skia.googlecode.com/svn/trunk@2764 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 15:27:30 +00:00
reed@google.com
2f6c957afd
update verttext to remove leading space from image name
...
add mac-desktop baseline images
git-svn-id: http://skia.googlecode.com/svn/trunk@2763 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 14:58:16 +00:00
reed@google.com
181f4b3269
fix lcd16_shader_blend math
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2762 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 14:49:24 +00:00
reed@google.com
fb82300d1b
enable shadermask optimization all the time
...
update gm for shadermask
fix bugs in lcd_blend math
git-svn-id: http://skia.googlecode.com/svn/trunk@2761 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 14:29:55 +00:00
bsalomon@google.com
fb30951cd9
[GPU] tile when large bitmap pased drawBitmap and only a small fraction is used
...
Review URL: http://codereview.appspot.com/5450048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2760 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 14:13:48 +00:00
reed@google.com
a069c8ff9a
speedup AAClip::setRegion (n^2 to n)
...
add bench for setRegion
git-svn-id: http://skia.googlecode.com/svn/trunk@2759 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 19:54:56 +00:00
reed@google.com
1271d78e8f
add bytes() to SkTDArray, which returns the number of bytes in the array,
...
as opposed to count() which returns the number of elements.
git-svn-id: http://skia.googlecode.com/svn/trunk@2758 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 19:54:12 +00:00
bsalomon@google.com
1e0e607921
Add missing return statement.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2757 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 18:49:37 +00:00
bsalomon@google.com
136f55b617
Detect teximage2d failure
...
Review URL: http://codereview.appspot.com/5445045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2756 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 18:34:44 +00:00
tomhudson@google.com
01224d5d0a
Unroll loops in SkBlurMask for speedup on Windows (benchmarks should see
...
15% on interpolated blurs, 5-10% on simple blurs).
git-svn-id: http://skia.googlecode.com/svn/trunk@2755 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 18:22:01 +00:00
reed@google.com
5e12770cb0
fix copy/paste error in LCD16 masks: mask type needed to be uint16_t
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2754 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 16:32:01 +00:00
reed@google.com
e805535b19
add test for shader text w/ and w/o lcd (and w/ and w/o opaque)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2753 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 16:31:28 +00:00
reed@google.com
b9d1c6a3c4
call getSaveCount inside restoreToCount, in case it goes virtual...
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2752 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 16:09:24 +00:00
reed@google.com
37f3ae0b9f
add unittest for save/restore
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2751 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 16:06:04 +00:00
reed@google.com
05b6f3a5a9
move variable declarations above goto lines, to fix warning/error about
...
skipping over them.
git-svn-id: http://skia.googlecode.com/svn/trunk@2750 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 15:30:28 +00:00
reed@google.com
86ab6c694c
separate declaration from impl for overrides, so we can declare some of
...
the parameters as SK_RESTRICT w/o generate a warning about a mismatch
with the base class parameters (which don't mention restrict).
git-svn-id: http://skia.googlecode.com/svn/trunk@2749 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 15:26:14 +00:00
reed@google.com
c9d9337790
define SK_OVERRIDE based on windows compiler, not windows platform (for mingw)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2748 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-28 15:25:12 +00:00
bsalomon@google.com
b1277c96b0
Fix mac debug asserts
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2747 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 21:58:39 +00:00
bsalomon@google.com
6a2134ef13
Fix build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2746 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 21:33:11 +00:00
bsalomon@google.com
0442380545
Add hints for static analysis about when we intend to crash
...
Review URL: http://codereview.appspot.com/5433062
git-svn-id: http://skia.googlecode.com/svn/trunk@2745 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 21:25:35 +00:00
reed@google.com
a052aca410
more rgn==aaclip tests
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2744 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 19:43:46 +00:00
bsalomon@google.com
2cdfade4e8
Fix clang static analyzer errors in Gr
...
Review URL: http://codereview.appspot.com/5433055/
git-svn-id: http://skia.googlecode.com/svn/trunk@2743 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 16:53:42 +00:00
reed@google.com
055af884c8
add test for drawPosText, to measure any difference it introduces given that
...
it has to transform each char's position (unlike drawText)
git-svn-id: http://skia.googlecode.com/svn/trunk@2742 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 15:52:02 +00:00
bsalomon@google.com
31648eb1cf
Fix warnings
...
Review URL: http://codereview.appspot.com/5433054/
git-svn-id: http://skia.googlecode.com/svn/trunk@2741 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 15:01:08 +00:00
caryclark@google.com
4ee8aea2a7
fix mac warnings
...
http://codereview.appspot.com/5431053/
M include/views/SkOSWindow_Mac.h
M src/utils/mac/SkNSView.mm
M src/utils/mac/SkNSView.h
M src/utils/mac/SkOSWindow_Mac.mm
M src/utils/mac/SkSampleNSView.h
git-svn-id: http://skia.googlecode.com/svn/trunk@2740 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 14:54:19 +00:00
mike@reedtribe.org
95b85bd1ba
add test that aaclip.setRegion creates the same mask as the region
...
... in prep for optimizatin work on setRegion.
git-svn-id: http://skia.googlecode.com/svn/trunk@2739 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 03:12:58 +00:00
mike@reedtribe.org
259210c376
add SK_OVERRIDE
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2738 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 02:08:50 +00:00
reed@google.com
f50ff5c240
needs to be rebaselined
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2737 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:59:40 +00:00
reed@google.com
819141cd32
delete since it needs to be rebaselined
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2736 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:56:41 +00:00
reed@google.com
484561ffde
improve accuracy for luminance coefficients
...
rebaseline image in response to that.
git-svn-id: http://skia.googlecode.com/svn/trunk@2735 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:49:22 +00:00
reed@google.com
2b49cc8422
remove obsolete assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2734 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:08:28 +00:00
bsalomon@google.com
1571792450
[GPU] Allow kMulRGBByAlpha_InConfigFlag and kSwapRAndB_InConfigFlag to both be set
...
Review URL: http://codereview.appspot.com/5433049/
git-svn-id: http://skia.googlecode.com/svn/trunk@2733 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 19:57:18 +00:00
reed@google.com
ffe49f5380
store 3 bits of luminance, but (for now) discretize that in fonthost::filterec
...
for backward compatibility
git-svn-id: http://skia.googlecode.com/svn/trunk@2732 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 19:42:41 +00:00
tomhudson@google.com
8caac6447d
Add fractional-radius blurs to blur benchmark.
...
Specialize loops in apply_kernel and apply_kernel_interp,
improving blur benchmark performance by 25%.
git-svn-id: http://skia.googlecode.com/svn/trunk@2731 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 15:58:06 +00:00
reed@google.com
1f6b4ae0f7
remove GetGammaFlag from SkFontHost
...
prep for retooling of gamma support
git-svn-id: http://skia.googlecode.com/svn/trunk@2730 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 14:20:55 +00:00
bsalomon@google.com
897e66cb0b
Add windowscodecs.lib to images.gyp
...
Review URL: http://codereview.appspot.com/5422046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2728 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 21:04:06 +00:00
caryclark@google.com
54c782c968
add SetFlags for command line control
...
http://codereview.appspot.com/5416047/
M include/core/SkGraphics.h
M src/core/SkGraphics.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2727 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 20:42:14 +00:00
reed@google.com
f788feb3f1
use a define for the shift amount for the hinting bits
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2726 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 19:46:00 +00:00
reed@google.com
b6bb5cb7c2
reorder bits and remove obsolete kForceAA experimental bit
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2725 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 19:32:29 +00:00
reed@google.com
8426058dee
ensure we never change the text_encoding of the master paint, since it is used
...
to interpret the text/length parameters in draw[Pos]Text.
git-svn-id: http://skia.googlecode.com/svn/trunk@2724 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 16:42:10 +00:00
bsalomon@google.com
8ef3fd0ca6
Add support for GL_CHROMIUM_flipy
...
Review URL: http://codereview.appspot.com/5413051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2723 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 15:53:13 +00:00
reed@google.com
3d60812865
don't quickReject bitmaps if there is a looper or other possible bounds-modifier
...
add unittest for the above change
git-svn-id: http://skia.googlecode.com/svn/trunk@2722 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 15:16:16 +00:00