Commit Graph

2529 Commits

Author SHA1 Message Date
tomhudson@google.com
05fffdcc91 Doxygen configuration file, documentation and minor cleanup on blitters.
git-svn-id: http://skia.googlecode.com/svn/trunk@2782 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 20:41:24 +00:00
epoger@google.com
9aa9f5b787 whitespace commit to trigger windows build
git-svn-id: http://skia.googlecode.com/svn/trunk@2781 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 17:45:28 +00:00
djsollen@google.com
b44cd65a53 Fix Paint == comparison on Android.
The == operator was incorrect because of Androids use of
fGenerationID. This change moves the ID to the end of the
paint struct and omits it from the == comparison.
Review URL: http://codereview.appspot.com/5437098

git-svn-id: http://skia.googlecode.com/svn/trunk@2780 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 17:09:21 +00:00
bsalomon@google.com
ceb1d9ee5b remove SkOSWindow_Win.cpp (has been replaced by SkOSWindow_win.cpp [lowercase w])
git-svn-id: http://skia.googlecode.com/svn/trunk@2779 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 16:52:08 +00:00
bsalomon@google.com
eedef2564a Remove suffixes from SK_wGL macros
git-svn-id: http://skia.googlecode.com/svn/trunk@2778 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 16:50:24 +00:00
bsalomon@google.com
bd7c64150c Add SkWGLExtensionInterface for dealing with WGL extensions
Review URL: http://codereview.appspot.com/5447059

git-svn-id: http://skia.googlecode.com/svn/trunk@2777 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 16:34:28 +00:00
bsalomon@google.com
06711bd972 Move SkGLCanvas.h to obsolete, delete from gyp
Review URL: http://codereview.appspot.com/5451065/



git-svn-id: http://skia.googlecode.com/svn/trunk@2776 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-01 15:47:23 +00:00
reed@google.com
ea6805d222 add 2nd _ to __OpenBSD_
git-svn-id: http://skia.googlecode.com/svn/trunk@2775 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 20:44:25 +00:00
bsalomon@google.com
56d11e097b Add support for GL_ANGLE_pack_reverse_row_order
Review URL: http://codereview.appspot.com/5448063/


git-svn-id: http://skia.googlecode.com/svn/trunk@2774 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 19:59:08 +00:00
reed@google.com
573f22b3bd handle if unflattening returned a null shader
git-svn-id: http://skia.googlecode.com/svn/trunk@2773 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-30 19:17:15 +00:00
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