bsalomon@google.com
54ad851361
Fix infinite recursion in cubic->quad conversion, also attempt to detect nearly flat cubics early.
...
Review URL: http://codereview.appspot.com/6448100/
THIS WILL REQUIRE REBASELINING OF CONVEXPATHS GM.
git-svn-id: http://skia.googlecode.com/svn/trunk@4917 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:55:45 +00:00
reed@google.com
c8d640b178
special-case edge-building for polygons (paths with only lines)
...
makes the dashing bench faster (from 13.4 -> 11.5 ticks)
Review URL: https://codereview.appspot.com/6449080
git-svn-id: http://skia.googlecode.com/svn/trunk@4916 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:26:43 +00:00
reed@google.com
bc7ef5a783
rebaseline after change to the test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4915 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:08:54 +00:00
robertphillips@google.com
8424d5c808
Rebaselining complexclip2* and simpleaaclip* for r4905
...
http://codereview.appspot.com/6443079/
git-svn-id: http://skia.googlecode.com/svn/trunk@4913 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:03:00 +00:00
bsalomon@google.com
cf8fb1f6f0
Create GPU-less build of Skia.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:03:32 +00:00
reed@google.com
f2a9e58858
remove these for now, as they are flaky (or buggy) on macpro
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4911 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 14:01:36 +00:00
reed@google.com
aedae19cce
rebaseline, noting bug in msaa output for hair-curves
...
http://code.google.com/p/skia/issues/detail?id=754
git-svn-id: http://skia.googlecode.com/svn/trunk@4910 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 13:41:40 +00:00
reed@google.com
adcd74199a
rebaseline after change to test
...
gpu images wrong, but known bug: need to colorize A8 bitmap
git-svn-id: http://skia.googlecode.com/svn/trunk@4909 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 13:14:53 +00:00
reed@google.com
b818b0b443
rebaseline after change to test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4908 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 13:09:16 +00:00
robertphillips@google.com
08eacc1447
Added check for aa/bw rect merging
...
http://codereview.appspot.com/6449079/
git-svn-id: http://skia.googlecode.com/svn/trunk@4907 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 12:49:00 +00:00
robertphillips@google.com
768fee8b6e
Fixed oversized SkRegion bound problem for complexclip_aa GM
...
http://codereview.appspot.com/6447076/
git-svn-id: http://skia.googlecode.com/svn/trunk@4906 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 12:42:43 +00:00
robertphillips@google.com
ab5ec7e3a5
Translated clip GMs to increase stability
...
http://codereview.appspot.com/6458064/
This will require rebaselining of complexclip2* & simplaaaclip*
git-svn-id: http://skia.googlecode.com/svn/trunk@4905 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 12:37:01 +00:00
bungeman@google.com
2bf82d843d
Set fReservedAlign to 0.
...
Cleans scalar context key and should fix http://code.google.com/p/chromium/issues/detail?id=140196
git-svn-id: http://skia.googlecode.com/svn/trunk@4904 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-02 10:06:19 +00:00
reed@google.com
ba7bae4759
rebaseline after gpu change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4903 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 21:52:22 +00:00
scroggo@google.com
19c2894bc7
Fix memory leak in gammatext GM.
...
Review URL: https://codereview.appspot.com/6458055
git-svn-id: http://skia.googlecode.com/svn/trunk@4902 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 20:53:33 +00:00
senorblanco@chromium.org
302cffba86
Replace the asAFoo() functions in SkImageFilter with canFilterImageGPU() and
...
onFilterImageGPU() virtuals. This allows each filter to implement its own GPU
processing code, even for multi-pass filters.
Review URL: http://codereview.appspot.com/6449075/
git-svn-id: http://skia.googlecode.com/svn/trunk@4900 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 20:16:34 +00:00
robertphillips@google.com
a2d71482db
Removed GrClip & related classes
...
http://codereview.appspot.com/6450071/
git-svn-id: http://skia.googlecode.com/svn/trunk@4899 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 20:08:47 +00:00
reed@google.com
eef938c0a7
check that copied paths have the same segment-masks as their src
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4898 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 20:01:49 +00:00
junov@chromium.org
d122fd5ab5
Turning on deferred canvas SkGPipe backend by default
...
Review URL: https://codereview.appspot.com/6452080
git-svn-id: http://skia.googlecode.com/svn/trunk@4897 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 20:00:03 +00:00
scroggo@google.com
0c3e5fe728
Pipe factory names independently from the flattenables using them.
...
Avoids an issue where a flattenable written twice might be written
differently (the first time the flat data may have a name, whereas
the second time it will have an index).
Also add a test which confirms that identical flattenables will have
the same SkFlatData representation.
BUG=https://code.google.com/p/skia/issues/detail?id=721
TEST=FlatDataTest.cpp
Review URL: https://codereview.appspot.com/6431057
git-svn-id: http://skia.googlecode.com/svn/trunk@4896 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 19:34:20 +00:00
chudy@google.com
4605a3f3ff
Added --picture flag to SampleApp, loads individual skp.
...
Review URL: https://codereview.appspot.com/6452077
git-svn-id: http://skia.googlecode.com/svn/trunk@4895 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 17:58:01 +00:00
keyar@chromium.org
163b56734f
Merged bench_pictures and render_pictures rendering methods.
...
bench_pictures now uses a class based method for choosing the benchmark type as well.
Review URL: https://codereview.appspot.com/6452070
git-svn-id: http://skia.googlecode.com/svn/trunk@4894 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 17:53:29 +00:00
chudy@google.com
92b11f6103
Added more DrawPoints debugging info for inspector
...
Review URL: https://codereview.appspot.com/6441084
git-svn-id: http://skia.googlecode.com/svn/trunk@4893 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 16:10:06 +00:00
digit@google.com
fbf31949ac
arm: Move SkUtilsArm.h from include/core to src/core
...
There is no reason to make this visible to client code.
Review URL: https://codereview.appspot.com/6441082
git-svn-id: http://skia.googlecode.com/svn/trunk@4892 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 15:58:41 +00:00
chudy@google.com
830b8793bb
Optimization: SkDebugCanvas is capable of pausing and drawing incrementally instead of redrawing all commands.
...
Review URL: https://codereview.appspot.com/6458056
git-svn-id: http://skia.googlecode.com/svn/trunk@4891 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 15:57:52 +00:00
bungeman@google.com
6385314686
Handle rgb_to_a8 when kGenA8FromLCD_Flag is set.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4889 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 15:36:46 +00:00
digit@google.com
fce02aca62
arm: dynamic NEON support for SkBitmapProcState matrix operations.
...
This patch implements dynamic ARM NEON support for the functions
implemented by src/core/SkBitmapProcState_matrixProcs.cpp.
- Because the SkBitmapProcState_matrix_{clamp,repeat}.h headers
are NEON-specific, they are renamed with a _neon.h suffix, and
moved to src/opts/ (from src/core/)
- Add a new file src/opts/SkBitmapProcState_matrixProcs_neon.cpp
which implements the NEON code paths for all builds, and add
it to the 'opts_neon' static library.
- Modify SkBitmapProcState_matrixProcs.cpp to select the right
code-path depending on our build configuration. Note that in
the case where 'arm_neon == 1', we do not embed regular ARM
code paths in the final binary. Only 'arm_neon_optional == 1'
builds will contain both regular and NEON code paths at the
same time.
Note that there doesn't seem to be a simple way to put the
NEON-specific selection from that currently is in
SkBitmapProcState_matrixProcs.cpp into src/opts/. Doing so
would require much more drastic restructuring. This is also
true of the other SkBitmapProcState source files that will
be touched in a future patch.
Review URL: https://codereview.appspot.com/6453065
git-svn-id: http://skia.googlecode.com/svn/trunk@4888 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 14:25:07 +00:00
borenet@google.com
47de6787a5
Whitespace change to see if local bot triggers a rebuild
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4887 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-01 13:30:54 +00:00
borenet@google.com
d0bf319fb2
Whitespace change to see if local bot triggers a rebuild
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4877 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 22:17:45 +00:00
bungeman@google.com
c0d3f2f627
Fix units per em test.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4873 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 21:39:05 +00:00
junov@chromium.org
10f7f97d42
Prevent deferred canvases from recording draw operations that use an SkPaint object that indirectly references a GPU resource.
...
The specific case targeted by this patch is SkBitmapProcShaders that use an SkBitmap object that references a GPU texture.
BUG=http://code.google.com/p/chromium/issues/detail?id=139204
Review URL: https://codereview.appspot.com/6447068
git-svn-id: http://skia.googlecode.com/svn/trunk@4871 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 21:01:51 +00:00
rileya@google.com
98e8b6de04
Remove old constructors from GrGradientEffect subclasses, and moved their declarations into source files.
...
Review URL: https://codereview.appspot.com/6449067
git-svn-id: http://skia.googlecode.com/svn/trunk@4870 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 20:38:06 +00:00
robertphillips@google.com
c41149e6d8
Image rebaselines for r4865 (complexclip2 _gpu & _msaa)
...
http://codereview.appspot.com/6454075/
git-svn-id: http://skia.googlecode.com/svn/trunk@4869 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 20:32:48 +00:00
chudy@google.com
751961d471
Getting rid of compile-time warnings
...
Review URL: https://codereview.appspot.com/6447071
git-svn-id: http://skia.googlecode.com/svn/trunk@4868 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 20:07:42 +00:00
chudy@google.com
0b5bbb0f82
Optimized hit testing feature, refactored into seperate function from canvas draw calls
...
Review URL: https://codereview.appspot.com/6443068
git-svn-id: http://skia.googlecode.com/svn/trunk@4867 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 19:55:32 +00:00
robertphillips@google.com
622a17091b
Fixed minor memory leaks
...
http://codereview.appspot.com/6453066/
git-svn-id: http://skia.googlecode.com/svn/trunk@4866 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 19:23:02 +00:00
robertphillips@google.com
641f8b19a6
Replace GrClip with SkClipStack
...
http://codereview.appspot.com/6449070/
git-svn-id: http://skia.googlecode.com/svn/trunk@4865 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 19:15:58 +00:00
reed@google.com
4b2af9c91d
add getUnitsPerEm() to SkTypeface
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4863 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 17:24:44 +00:00
borenet@google.com
777e789093
Add baseline images for Galaxy Nexus
...
Review URL: https://codereview.appspot.com/6447069
git-svn-id: http://skia.googlecode.com/svn/trunk@4862 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 17:15:08 +00:00
scroggo@google.com
9f7520898e
Fix a memory leak in cmykjpeg GM.
...
Review URL: https://codereview.appspot.com/6448089
git-svn-id: http://skia.googlecode.com/svn/trunk@4861 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 16:37:11 +00:00
rileya@google.com
1ee7c6a18a
Modified GrGpuGL_unittest to no longer use the old constructors to create gradients, also added TwoPointConical to the tests.
...
Review URL: https://codereview.appspot.com/6452068
git-svn-id: http://skia.googlecode.com/svn/trunk@4860 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 16:00:13 +00:00
reed@google.com
5d4ba88694
check-point for gpu support in SkImage/SkSurface
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4859 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 15:45:27 +00:00
bsalomon@google.com
0982d35187
Make 0-texture GrCustomStages work.
...
Review URL: http://codereview.appspot.com/6448080/
git-svn-id: http://skia.googlecode.com/svn/trunk@4858 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 15:33:25 +00:00
reed@google.com
bd5fa90dd1
add flattening
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4857 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 15:19:56 +00:00
robertphillips@google.com
7b11289b4e
Added dev- & canv- prefixes to Ganesh bounding boxes to indicate coordinate space
...
http://codereview.appspot.com/6457061/
git-svn-id: http://skia.googlecode.com/svn/trunk@4856 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 15:18:21 +00:00
reed@google.com
a7ffb956cb
remove '../gm/image.cpp',
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4855 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 15:01:57 +00:00
reed@google.com
076f4c9791
fix LayerDrawLooper to record its fFlagsMask
...
convert SampleDrawLooper to a GM
git-svn-id: http://skia.googlecode.com/svn/trunk@4854 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 14:32:38 +00:00
reed@google.com
c5907e53e5
rebaseline after text gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4853 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 14:00:55 +00:00
reed@google.com
2fb8ccd1cd
rebaseline after text gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4852 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 13:35:59 +00:00
reed@google.com
96aed5751a
rebaseline after test gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4851 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-31 13:32:29 +00:00