borenet@google.com [Wed, 16 Jan 2013 13:25:45 +0000 (13:25 +0000)]
Whitespace change to trigger uploads after skia-autogen reset
git-svn-id: http://skia.googlecode.com/svn/trunk@7216
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 16 Jan 2013 07:05:56 +0000 (07:05 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7215
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 16 Jan 2013 04:19:01 +0000 (04:19 +0000)]
better quick fix for GM self-test: ignore instance-counting lines in Debug output
BUG=http://code.google.com/p/skia/issues/detail?id=1068
Review URL: https://codereview.appspot.com/7127044
git-svn-id: http://skia.googlecode.com/svn/trunk@7214
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 16 Jan 2013 03:34:15 +0000 (03:34 +0000)]
quick fix for GM self-test failures after r7206
BUG=http://code.google.com/p/skia/issues/detail?id=1068
Review URL: https://codereview.appspot.com/7131043
git-svn-id: http://skia.googlecode.com/svn/trunk@7213
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 21:54:27 +0000 (21:54 +0000)]
Add VALIDATE_FAILURE_IS_A_TOOL_FAILURE to specify whether a failure in validation
means the tool should return failure or not. For now it is not defined, which
means any failed pixels are still reported to stdout, but the tool does not
return an error, allowing the bots to go green (until we can fix these failures).
Review URL: https://codereview.appspot.com/7105056
git-svn-id: http://skia.googlecode.com/svn/trunk@7211
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 15 Jan 2013 20:58:17 +0000 (20:58 +0000)]
Fix busted texture coords in GrGLBlendEffect.
Review URL: https://codereview.appspot.com/7095062
git-svn-id: http://skia.googlecode.com/svn/trunk@7209
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 20:57:45 +0000 (20:57 +0000)]
Have drawBitmapRectToRect devolve to drawBitmap if it can (to avoid creating
a bitmap-shader, which is slower when the matrix is nearly translate-only).
SK_IGNORE_DRAWBITMAPRECT_AS_DRAWBITMAP will disable this if needed.
Review URL: https://codereview.appspot.com/7100058
git-svn-id: http://skia.googlecode.com/svn/trunk@7208
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 15 Jan 2013 20:37:04 +0000 (20:37 +0000)]
Re-enable inst counting in debug builds.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7098066
git-svn-id: http://skia.googlecode.com/svn/trunk@7206
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 20:34:54 +0000 (20:34 +0000)]
add LF at end of file
git-svn-id: http://skia.googlecode.com/svn/trunk@7205
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 20:26:59 +0000 (20:26 +0000)]
add LF at end of file to fix warning
git-svn-id: http://skia.googlecode.com/svn/trunk@7204
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 15 Jan 2013 20:24:03 +0000 (20:24 +0000)]
Revert r7198 until I can fix https://code.google.com/p/skia/issues/detail?id=1067
Review URL: https://codereview.appspot.com/7124043
git-svn-id: http://skia.googlecode.com/svn/trunk@7203
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 20:21:19 +0000 (20:21 +0000)]
add benches for drawBitmapRectToRect with slight scale/translate
git-svn-id: http://skia.googlecode.com/svn/trunk@7202
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 15 Jan 2013 20:17:47 +0000 (20:17 +0000)]
Added print out of SkShader information to debugger
https://codereview.appspot.com/7105045/
git-svn-id: http://skia.googlecode.com/svn/trunk@7201
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 15 Jan 2013 19:10:16 +0000 (19:10 +0000)]
gm: use new Expectations struct instead of comparison bitmaps
Review URL: https://codereview.appspot.com/7088044
git-svn-id: http://skia.googlecode.com/svn/trunk@7198
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 15 Jan 2013 18:29:41 +0000 (18:29 +0000)]
Update gm self-test results to expect new runtime config debug message
git-svn-id: http://skia.googlecode.com/svn/trunk@7197
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 15 Jan 2013 17:16:51 +0000 (17:16 +0000)]
Separate our jsoncpp dependency from Chromium's jsoncpp overrides.
BUG=https://code.google.com/p/skia/issues/detail?id=909
Review URL: https://codereview.appspot.com/7098047
git-svn-id: http://skia.googlecode.com/svn/trunk@7187
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Tue, 15 Jan 2013 16:35:31 +0000 (16:35 +0000)]
Unreviewed mac build fix : Removing unused variable
git-svn-id: http://skia.googlecode.com/svn/trunk@7186
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Tue, 15 Jan 2013 15:59:45 +0000 (15:59 +0000)]
Added missing include in non GPU case.
Review URL: https://codereview.appspot.com/7093067
git-svn-id: http://skia.googlecode.com/svn/trunk@7185
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 15:51:59 +0000 (15:51 +0000)]
Fix bug in cubic-clipper (SkEdgeClipper). When we chop the cubic on Top/Bottom
of the cliprect, we (correctly) clamp the Y coordinate of the control-point
right next to the on-curve point that was chopped (this ensures we don't go
slightly outside of the clip-rect due to imperfect T value calculation). However,
the code was also clamping the other control-point as well, resulting in warping
the cubic, which could sometimes force it outside of the clip.
The fix is to just remove the line of code that clampped the 2nd control-point.
unittest added to reproduce a test cubic that triggered an assert, due to the
cubic being outside of the cliprect. The test (w/o the fix) will assert in
a SK_DEBUG build.
Review URL: https://codereview.appspot.com/7100056
git-svn-id: http://skia.googlecode.com/svn/trunk@7184
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Tue, 15 Jan 2013 15:50:42 +0000 (15:50 +0000)]
Turn off timeIndividualTiles
The parser isn't working properly.
Review URL: https://codereview.appspot.com/7100057
git-svn-id: http://skia.googlecode.com/svn/trunk@7183
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Tue, 15 Jan 2013 15:40:19 +0000 (15:40 +0000)]
Implementation of the displacement effect (both CPU and GPU)
TEST=Added new GM called "displacement"
Review URL: https://codereview.appspot.com/7058075
git-svn-id: http://skia.googlecode.com/svn/trunk@7182
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 15 Jan 2013 14:54:00 +0000 (14:54 +0000)]
To support alignment pragmas (for speed), we need to relax assumptions about
our sizeof. So rewrite operator= and copy-constructor to just copy individual
fields.
Review URL: https://codereview.appspot.com/7098063
git-svn-id: http://skia.googlecode.com/svn/trunk@7181
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 15 Jan 2013 12:53:31 +0000 (12:53 +0000)]
dashing asPoints could draw excessively long first dash
https://codereview.appspot.com/7098054/
Will require rebaselining of dashing gm.
git-svn-id: http://skia.googlecode.com/svn/trunk@7177
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 15 Jan 2013 12:19:31 +0000 (12:19 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7176
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Tue, 15 Jan 2013 03:28:22 +0000 (03:28 +0000)]
call endContext() if we have to return false from setContext(), to keep the
debugging fInSetContext flag up-to-date.
git-svn-id: http://skia.googlecode.com/svn/trunk@7175
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Tue, 15 Jan 2013 03:03:38 +0000 (03:03 +0000)]
fix warning on linux
BUG=
Review URL: https://codereview.appspot.com/7101058
git-svn-id: http://skia.googlecode.com/svn/trunk@7174
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 15 Jan 2013 02:01:40 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7173
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 22:09:54 +0000 (22:09 +0000)]
fix all the false --> NULL issues in the gradient code
BUG=
Review URL: https://codereview.appspot.com/7095056
git-svn-id: http://skia.googlecode.com/svn/trunk@7170
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 22:01:14 +0000 (22:01 +0000)]
remove namespace qualifier for feof; it's making android unhappy
BUG=
Review URL: https://codereview.appspot.com/7106048
git-svn-id: http://skia.googlecode.com/svn/trunk@7169
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 14 Jan 2013 21:53:45 +0000 (21:53 +0000)]
Fix a problem in the matrix convolution image filter exposed by https://code.google.com/p/skia/source/detail?r=7152: when offsetting texture coordinates in a GrEffect, take the origin of the source bitmap origin into account, and flip Y coordinates when we need to.
NOTE: this will cause the matrixconvolution GM's to need to be rebaselined (again!).
Review URL: https://codereview.appspot.com/7086054
git-svn-id: http://skia.googlecode.com/svn/trunk@7168
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 21:01:28 +0000 (21:01 +0000)]
another false --> NULL return fix
false --> NULL for failure return
BUG=
Review URL: https://codereview.appspot.com/7100052
git-svn-id: http://skia.googlecode.com/svn/trunk@7167
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 20:17:04 +0000 (20:17 +0000)]
false --> NULL for failure return
BUG=
Review URL: https://codereview.appspot.com/7096058
git-svn-id: http://skia.googlecode.com/svn/trunk@7165
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 20:11:00 +0000 (20:11 +0000)]
move template specializations to inline functions in the header to make windows happy again
BUG=
Review URL: https://codereview.appspot.com/7099053
git-svn-id: http://skia.googlecode.com/svn/trunk@7164
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 19:42:08 +0000 (19:42 +0000)]
replace getline with fgets for portability
BUG=
Review URL: https://codereview.appspot.com/7085058
git-svn-id: http://skia.googlecode.com/svn/trunk@7163
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 19:20:28 +0000 (19:20 +0000)]
remove dynamic_cast because rtti is disabled on some platforms (but not all??)
BUG=
Review URL: https://codereview.appspot.com/7102056
git-svn-id: http://skia.googlecode.com/svn/trunk@7161
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 19:03:46 +0000 (19:03 +0000)]
fix gcc build
BUG=
Review URL: https://codereview.appspot.com/7095055
git-svn-id: http://skia.googlecode.com/svn/trunk@7160
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 14 Jan 2013 19:03:20 +0000 (19:03 +0000)]
Remove SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX.
https://codereview.appspot.com/7070073/
git-svn-id: http://skia.googlecode.com/svn/trunk@7159
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 14 Jan 2013 18:49:19 +0000 (18:49 +0000)]
Runtime configuration system for skia. This will allow developers to control settings at launch time without relying on compile-time flags or recompilation. It can be used to turn features on and off, as well as to control numeric quantities to 'tune' algorithms. Once I make sure it's working across all platforms I'll send out a quick tutorial on its use.
Review URL: https://codereview.appspot.com/7098051
git-svn-id: http://skia.googlecode.com/svn/trunk@7158
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 14 Jan 2013 18:25:55 +0000 (18:25 +0000)]
Make SkScalerContextRec::getMatrixFrom2x2 more direct.
https://codereview.appspot.com/7070072/
git-svn-id: http://skia.googlecode.com/svn/trunk@7157
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 14 Jan 2013 18:10:08 +0000 (18:10 +0000)]
Fix uninitialized memory issue
https://codereview.appspot.com/7085055/
git-svn-id: http://skia.googlecode.com/svn/trunk@7156
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 14 Jan 2013 17:40:15 +0000 (17:40 +0000)]
Change SkAutoTUnref usage
https://codereview.appspot.com/7094054/
git-svn-id: http://skia.googlecode.com/svn/trunk@7155
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 14 Jan 2013 17:07:22 +0000 (17:07 +0000)]
Fix debug build after r7153 (removed param referenced in assertion)
git-svn-id: http://skia.googlecode.com/svn/trunk@7154
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 14 Jan 2013 16:46:26 +0000 (16:46 +0000)]
Change signature of SkShader::asNewEffect(), implement for SkBitmapProcShader.
Review URL: https://codereview.appspot.com/7086051
git-svn-id: http://skia.googlecode.com/svn/trunk@7153
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Mon, 14 Jan 2013 16:27:50 +0000 (16:27 +0000)]
Changing imageFilter GM tests to use drawBitmap instead of drawSprite
The motivation is be able to test the filters with scaled SkPicture playback in isolation from the issues that surround usage of drawSprite
Review URL: https://codereview.appspot.com/7060071
git-svn-id: http://skia.googlecode.com/svn/trunk@7152
2bbb7eff-a529-9590-31e7-
b0007b416f81
digit@google.com [Mon, 14 Jan 2013 14:58:22 +0000 (14:58 +0000)]
Use the NDK's cpu-features library when building skia for Chromium/Android.
This patch ensures that when Skia is built for Chromium, it will
always use the Android NDK's cpu-features helper library to detect
NEON at runtime.
This is needed because sandboxed Chromium renderer processes cannot
access /proc, and the probing performed in SkUtilsArm.cpp will never
work. As such, the NEON code paths will never be used even when the
device supports them.
Chromium has special code that ensures that the browser process
passes the CPU features flags to every renderer process, but
Skia needs to use android_getCpuFeatures() to get them.
See http://crbug.com/164154 for full details.
Review URL: https://codereview.appspot.com/7102045
git-svn-id: http://skia.googlecode.com/svn/trunk@7149
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 14 Jan 2013 14:36:40 +0000 (14:36 +0000)]
Fix typo bug caught by mac warn-as-error (= should have been &=).
git-svn-id: http://skia.googlecode.com/svn/trunk@7148
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 11 Jan 2013 22:24:04 +0000 (22:24 +0000)]
Implement getConstantColorComponents() for matrix convolution.
R=senorblanco@chromium.org
Review URL: https://codereview.appspot.com/7092047
git-svn-id: http://skia.googlecode.com/svn/trunk@7146
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 11 Jan 2013 21:08:55 +0000 (21:08 +0000)]
Add GrEffect::updateKnownColorComponents(). It is used to determine whether the output of an effect has a constant output value for r,g,b, or a.
Review URL: https://codereview.appspot.com/7064057
git-svn-id: http://skia.googlecode.com/svn/trunk@7144
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Fri, 11 Jan 2013 21:04:40 +0000 (21:04 +0000)]
Adding commandline option to gm to make it write image results for tests that fails due to pixel mismatches.
Review URL: https://codereview.appspot.com/7100043
git-svn-id: http://skia.googlecode.com/svn/trunk@7143
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 11 Jan 2013 20:54:44 +0000 (20:54 +0000)]
Fix leaks in blurrect benchs and gm.
Review URL: https://codereview.appspot.com/7071060
git-svn-id: http://skia.googlecode.com/svn/trunk@7142
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 11 Jan 2013 20:45:24 +0000 (20:45 +0000)]
Enable per-tile logging in bench_pictures
- Modify bench_pictures buildstep to translate "key: True" --> "--key" rather
than requiring "key: value" --> "--key value"
- Add whacky TileArgs helper which includes "timeIndividualTiles: True"
Review URL: https://codereview.appspot.com/7092046
git-svn-id: http://skia.googlecode.com/svn/trunk@7141
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Fri, 11 Jan 2013 20:30:41 +0000 (20:30 +0000)]
Add option to render PDFs to memory only.
Review URL: https://codereview.appspot.com/7097045
git-svn-id: http://skia.googlecode.com/svn/trunk@7140
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 11 Jan 2013 20:02:32 +0000 (20:02 +0000)]
SkImageDecoder_WIC should work on Win7 with Win8 SDK.
https://codereview.appspot.com/7099044/
git-svn-id: http://skia.googlecode.com/svn/trunk@7139
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Fri, 11 Jan 2013 16:08:07 +0000 (16:08 +0000)]
Fix typo, report in validate diff teh value of the pixel, not the address of the pixel.
git-svn-id: http://skia.googlecode.com/svn/trunk@7135
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Fri, 11 Jan 2013 14:19:52 +0000 (14:19 +0000)]
Rebaselined webpage image GMs for ['base-macmini'] on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7130
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 11 Jan 2013 13:54:30 +0000 (13:54 +0000)]
Make GrEffect::textureAccess non-virtual. Require subclasses to append their GrTAs.
Review URL: https://codereview.appspot.com/7062063
git-svn-id: http://skia.googlecode.com/svn/trunk@7129
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 11 Jan 2013 13:54:21 +0000 (13:54 +0000)]
Remove non-destructive playback from GrIODB.
Review URL: https://codereview.appspot.com/7057070
git-svn-id: http://skia.googlecode.com/svn/trunk@7128
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 11 Jan 2013 02:01:25 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7127
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Fri, 11 Jan 2013 01:42:39 +0000 (01:42 +0000)]
Whitespace change to trigger rebuilds
git-svn-id: http://skia.googlecode.com/svn/trunk@7126
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Thu, 10 Jan 2013 19:55:18 +0000 (19:55 +0000)]
Rename onFilterImageGPU to filterImageGPU(), to match skia convention. No change in functionality.
(Note that this does mean that clients must override onFilterImage() to implement the raster path, but filterImageGPU() to implement the GPU path.)
Review URL: https://codereview.appspot.com/7058078
git-svn-id: http://skia.googlecode.com/svn/trunk@7123
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 10 Jan 2013 18:56:18 +0000 (18:56 +0000)]
DirectWrite generatePath must transform the path by the current matrix.
https://codereview.appspot.com/7061061/
This will require at least the shadertext2 gm for DirectWrite to be rebaselined.
git-svn-id: http://skia.googlecode.com/svn/trunk@7121
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 10 Jan 2013 18:54:11 +0000 (18:54 +0000)]
Add display of more SkPaint fields in Debugger
https://codereview.appspot.com/7060063/
git-svn-id: http://skia.googlecode.com/svn/trunk@7120
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 10 Jan 2013 17:11:27 +0000 (17:11 +0000)]
gm: if no readPath is given, report all tests as "missing reference image" instead of "passed"
Review URL: https://codereview.appspot.com/7070066
git-svn-id: http://skia.googlecode.com/svn/trunk@7119
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 10 Jan 2013 16:58:02 +0000 (16:58 +0000)]
Fix assertion caused by change in 7117.
SkRect::intersect returns false if either rectange is empty.
SkCanvas::quickReject returns true if an empty rectange is entirely contained within the clip bounds.
git-svn-id: http://skia.googlecode.com/svn/trunk@7118
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 10 Jan 2013 16:31:09 +0000 (16:31 +0000)]
Properly reject clipped out draws in BBox pictures.
https://codereview.appspot.com/7057065/
git-svn-id: http://skia.googlecode.com/svn/trunk@7117
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 10 Jan 2013 15:56:44 +0000 (15:56 +0000)]
gm self-test: update expected dashing2.png images (in inputs/ dir) to reflect new behavior
TBR=reed1
Review URL: https://codereview.appspot.com/7068060
git-svn-id: http://skia.googlecode.com/svn/trunk@7116
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 10 Jan 2013 15:47:41 +0000 (15:47 +0000)]
Update order in third_party/externals svn:externals property to match DEPS.
With the previous order a clean svn checkout fails to pull jsoncpp correctly.
git-svn-id: http://skia.googlecode.com/svn/trunk@7115
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 10 Jan 2013 14:40:28 +0000 (14:40 +0000)]
Remove default clip/drawstate in GrIODB.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7070064
git-svn-id: http://skia.googlecode.com/svn/trunk@7114
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 10 Jan 2013 02:01:29 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7113
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 9 Jan 2013 23:29:39 +0000 (23:29 +0000)]
Fix incorrect sample cnt assert
git-svn-id: http://skia.googlecode.com/svn/trunk@7112
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 9 Jan 2013 22:02:58 +0000 (22:02 +0000)]
Ensure that SkMemoryStream does not crash dereferencing fData.
SkMemoryStream attempts to dereference fData in multiple places.
Instead of allowing it to be NULL, resulting in a crash, set it
to SkData::NewEmpty().
Add a test for SkStream that will crash when its SkData is set to NULL.
Review URL: https://codereview.appspot.com/7061059
git-svn-id: http://skia.googlecode.com/svn/trunk@7111
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Wed, 9 Jan 2013 21:04:52 +0000 (21:04 +0000)]
This takes the convex path tesselator from the Android code and hooks it into a
GrPathRenderer. GrAndroidPathRenderer is activated by gyp flag 'skia_android_path_rendering'.
A few changes to get this to work:
- Had to change SkPaint* param to SkStrokeRec& in ConvexPathVertices()
- Had to copy the vertex buffer created by the Android code to GrDrawTarget-generated vertex buffer, and convert float alpha to GrColor for AA paths
git-svn-id: http://skia.googlecode.com/svn/trunk@7110
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Wed, 9 Jan 2013 18:22:53 +0000 (18:22 +0000)]
Add clear after each image save, so that GPU images won't end up progressively compositing on top of one another.
git-svn-id: http://skia.googlecode.com/svn/trunk@7108
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 9 Jan 2013 16:36:30 +0000 (16:36 +0000)]
fix iOS build after adding modifierKeys to click events
git-svn-id: http://skia.googlecode.com/svn/trunk@7107
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Wed, 9 Jan 2013 13:33:22 +0000 (13:33 +0000)]
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-angle'] on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7100
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 9 Jan 2013 02:01:30 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7099
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 9 Jan 2013 00:59:11 +0000 (00:59 +0000)]
speculative change to speedup blurrect bench for large radius, to see if the bots are timing out
git-svn-id: http://skia.googlecode.com/svn/trunk@7098
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 21:46:05 +0000 (21:46 +0000)]
Turn off WarnAsError when building ANGLE projects on windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@7096
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 20:40:22 +0000 (20:40 +0000)]
Turn off warnings-as-error on 64bit windows build due to many size_t-related warnings.
git-svn-id: http://skia.googlecode.com/svn/trunk@7095
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 20:31:53 +0000 (20:31 +0000)]
Enable warnings-as-errors on Windows.
Review URL: https://codereview.appspot.com/7066054
git-svn-id: http://skia.googlecode.com/svn/trunk@7094
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 8 Jan 2013 18:47:31 +0000 (18:47 +0000)]
gm: remove --diffPath option and all other pixel diff functionality.
If you want pixel diffs, you need to run skdiff instead; from now on,
gm will only tell you WHETHER the images differed (not HOW they differed).
Review URL: https://codereview.appspot.com/7064047
git-svn-id: http://skia.googlecode.com/svn/trunk@7093
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 18:42:20 +0000 (18:42 +0000)]
Fix signed/unsigned comparison in PictureTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@7092
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 17:59:54 +0000 (17:59 +0000)]
Rebaselined webpage image GMs for ['base-android-xoom'] on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7091
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 17:57:12 +0000 (17:57 +0000)]
Rebaselined webpage image GMs for %s on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7090
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 17:52:58 +0000 (17:52 +0000)]
Rebaselined webpage image GMs for %s on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7089
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 17:24:44 +0000 (17:24 +0000)]
Fix signed/unsigned comparison warning in PictureTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@7088
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 16:50:52 +0000 (16:50 +0000)]
translate modifier keys for xevents
git-svn-id: http://skia.googlecode.com/svn/trunk@7087
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Jan 2013 16:33:41 +0000 (16:33 +0000)]
Fix macro redefinition warning on 10.6 bots in mesa code.
R=humper@google.com
Review URL: https://codereview.appspot.com/7063050
git-svn-id: http://skia.googlecode.com/svn/trunk@7086
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 16:25:42 +0000 (16:25 +0000)]
fix linux build
git-svn-id: http://skia.googlecode.com/svn/trunk@7085
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 16:22:44 +0000 (16:22 +0000)]
fix win build
git-svn-id: http://skia.googlecode.com/svn/trunk@7084
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 16:17:50 +0000 (16:17 +0000)]
pass modifier keys to click events (e.g. control | shift etc.)
Review URL: https://codereview.appspot.com/7062054
git-svn-id: http://skia.googlecode.com/svn/trunk@7082
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Tue, 8 Jan 2013 16:08:01 +0000 (16:08 +0000)]
fix GPU drawing for 8 bit alpha bitmaps
BUG=
Review URL: https://codereview.appspot.com/7070052
git-svn-id: http://skia.googlecode.com/svn/trunk@7081
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 15:56:15 +0000 (15:56 +0000)]
$(SVN_VERSION) -> $SVN_VERSION in build-tot-chromium.sh
Review URL: https://codereview.appspot.com/7071053
git-svn-id: http://skia.googlecode.com/svn/trunk@7080
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 14:43:40 +0000 (14:43 +0000)]
Script to checkout and build ToT chromium with ToT skia
Review URL: https://codereview.appspot.com/7036049
git-svn-id: http://skia.googlecode.com/svn/trunk@7079
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 8 Jan 2013 13:45:09 +0000 (13:45 +0000)]
Proposed fix to new stroking/path render selection system
https://codereview.appspot.com/7075043/
git-svn-id: http://skia.googlecode.com/svn/trunk@7076
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 13:23:32 +0000 (13:23 +0000)]
fix warings. add SkTAbs()
git-svn-id: http://skia.googlecode.com/svn/trunk@7075
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Jan 2013 13:07:25 +0000 (13:07 +0000)]
fix spelling: cannonical -> canonical
git-svn-id: http://skia.googlecode.com/svn/trunk@7074
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 8 Jan 2013 02:11:58 +0000 (02:11 +0000)]
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-float'] on Google Storage.
git-svn-id: http://skia.googlecode.com/svn/trunk@7073
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 8 Jan 2013 02:01:29 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7072
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 7 Jan 2013 22:26:05 +0000 (22:26 +0000)]
fix warnings
Review URL: https://codereview.appspot.com/7060053
git-svn-id: http://skia.googlecode.com/svn/trunk@7070
2bbb7eff-a529-9590-31e7-
b0007b416f81