reed@google.com
8790fc635e
add comment on return-value for SkTSearch
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3797 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 17:17:21 +00:00
reed@google.com
a95ea2c518
code-style cleanups only
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3796 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 16:35:25 +00:00
reed@google.com
8a0d8ff854
add tests for how empty regions should behave in intersects() and contains()
...
Review URL: https://codereview.appspot.com/6134053
git-svn-id: http://skia.googlecode.com/svn/trunk@3795 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 16:28:04 +00:00
reed@google.com
c34f53db60
just coding style fixes, no logic change
...
Review URL: https://codereview.appspot.com/6141043
git-svn-id: http://skia.googlecode.com/svn/trunk@3794 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 15:10:13 +00:00
reed@google.com
515d99840f
make name lower-case, to match all other benches
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3793 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 14:43:46 +00:00
reed@google.com
71937d6618
must return a value
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3792 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 13:54:36 +00:00
reed@google.com
7d4aee34e2
Variant of SkRegion::op (called Oper) that either writes the result into a 3rd
...
region (normal mode) or does a quick-return if the result will be non-empty
(called for predicates like contains() and intersects()).
git-svn-id: http://skia.googlecode.com/svn/trunk@3791 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 13:29:02 +00:00
reed@google.com
6720d50d33
rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3790 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 13:24:34 +00:00
reed@google.com
fceadf0125
rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3789 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 13:22:36 +00:00
reed@google.com
50129dbfaa
add contains xy test, adjust number of rects (using xor this time)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3788 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-30 12:07:55 +00:00
mike@reedtribe.org
67c3184a67
add test for contains and intersects, in advance of optimization work
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3787 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-28 20:09:19 +00:00
reed@google.com
ded4414985
Apply fix from #3739 to quads and cubics as well
...
Fixes http://code.google.com/p/chromium/issues/detail?id=125249
Review URL: https://codereview.appspot.com/6137046
git-svn-id: http://skia.googlecode.com/svn/trunk@3786 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 20:22:07 +00:00
twiz@google.com
1ac87ff5aa
Addition of necessary flush to copyToTexturePixelRef(...).
...
Ganesh batches drawing operations, which means that the copy operation, which does not flush the pipeline, can capture stale contents. By forcing a flush, the up-to-date version of the texture is copied.
TEST=none
BUG=124054
Review URL: https://codereview.appspot.com/6129043
git-svn-id: http://skia.googlecode.com/svn/trunk@3785 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 19:39:33 +00:00
reed@google.com
8c2cc1a4dd
add RegionBench, in preparation for speeding up intersects and contains for chrome
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3784 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 19:29:52 +00:00
robertphillips@google.com
ec05eaaeac
Bumped num stages to 4 in preparation for AA clipping
...
http://codereview.appspot.com/6135046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3783 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 18:59:52 +00:00
bsalomon@google.com
76b7fcc79e
Some cleanup of GrResource
...
Review URL: http://codereview.appspot.com/6139043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3782 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 17:24:09 +00:00
epoger@google.com
c4ae974db6
Add SkString.contains()
...
Review URL: https://codereview.appspot.com/6130046
git-svn-id: http://skia.googlecode.com/svn/trunk@3781 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 17:11:31 +00:00
bsalomon@google.com
8d033a1b12
Remove GrPath typedef
...
Review URL: http://codereview.appspot.com/6128045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3780 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 15:52:53 +00:00
robertphillips@google.com
5af5606901
convert float to SkScalar changes
...
http://codereview.appspot.com/6071043/
Submitted on behalf of Guanqun.Lu@gmail.com
git-svn-id: http://skia.googlecode.com/svn/trunk@3779 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 15:39:52 +00:00
robertphillips@google.com
f294b773f0
Initial version of AA clip A8/R8 mask creation
...
http://codereview.appspot.com/6104043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3778 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 14:29:26 +00:00
bsalomon@google.com
f6b070da5e
Clamp requested MSAA sample count to GL_MAX_SAMPLES
...
Review URL: http://codereview.appspot.com/6135044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3777 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 14:25:44 +00:00
bsalomon@google.com
e9b087e958
Remove expired comment
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3776 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 14:09:22 +00:00
bsalomon@google.com
e7655f1144
Fix trivial int->scalar warning introduced in r3772
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3775 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 13:55:29 +00:00
bsalomon@google.com
266530804f
Rebaseline from r3772
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3774 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 13:44:17 +00:00
epoger@google.com
20bf4ca8f5
Clean up DashPathEffect modulo math from r3761
...
Review URL: https://codereview.appspot.com/6124048
git-svn-id: http://skia.googlecode.com/svn/trunk@3773 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 13:34:52 +00:00
bsalomon@google.com
93c9660cd1
draw circle paths directly via GPU
...
Review URL: http://codereview.appspot.com/5696086/
Submitted on behalf of Guanqun.Lu@gmail.com
git-svn-id: http://skia.googlecode.com/svn/trunk@3772 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 13:05:21 +00:00
robertphillips@google.com
05141c23ed
Fixed minor c++ issues found by cppcheck
...
http://codereview.appspot.com/6127049/
git-svn-id: http://skia.googlecode.com/svn/trunk@3771 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 12:54:01 +00:00
tomhudson@google.com
725a295c50
Allow building on platforms with SSE2 but not SSSE3 by adding an #ifdef.
...
Patch from Wei James (wistoch@gmail).
http://codereview.appspot.com/6124050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3770 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 12:52:51 +00:00
robertphillips@google.com
f4c2c527dd
First portion of refactoring to bundle SW path rendering into GrPathRenderer
...
http://codereview.appspot.com/6125046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3769 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-27 12:08:47 +00:00
caryclark@google.com
fa0588ff67
work in progress
...
in the middle of switching to sortless version
git-svn-id: http://skia.googlecode.com/svn/trunk@3768 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-26 21:01:06 +00:00
bsalomon@google.com
8e124a2454
Give GrGLProgramStage a virtual destructor
...
Review URL: http://codereview.appspot.com/6127044
git-svn-id: http://skia.googlecode.com/svn/trunk@3767 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 17:48:49 +00:00
robertphillips@google.com
7460b378d6
Fixed minor Release & fixed point compiler warnings on Linux
...
http://codereview.appspot.com/6118050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3766 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 16:54:51 +00:00
bsalomon@google.com
c1f6621446
Rebaselines from r3764
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3765 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 16:45:48 +00:00
bsalomon@google.com
7d30a21315
Fixes matrix inconsistency in GPU draws with filters. Also adds a GM test.
...
May make GM go red on bots, will rebaseline.
Committed on behalf of Guanqun.Lu@gmail.com
Review URL: http://codereview.appspot.com/6049046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3764 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 15:52:27 +00:00
robertphillips@google.com
0f191f30af
Minor refactoring to remove duplicate enum from Ganesh (_SetOp -> SkRegion::Op)
...
http://codereview.appspot.com/6116047/
git-svn-id: http://skia.googlecode.com/svn/trunk@3763 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 15:23:36 +00:00
bsalomon@google.com
69afee1c8f
add isSimilarityTransform() and some tests
...
Committed on behalf of Guanqun.Lu@gmail.com
Review URL: http://codereview.appspot.com/5999050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3762 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-25 15:07:40 +00:00
reed@google.com
1df888bc3a
check for numerical imprecision on phase
...
fixes http://code.google.com/p/chromium/issues/detail?id=124652
git-svn-id: http://skia.googlecode.com/svn/trunk@3761 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-24 22:47:21 +00:00
reed@google.com
566c837844
use new storage parameter to SkOrderedWriteBuffer (to avoid small dynamic allocs)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3760 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-24 21:30:16 +00:00
reed@google.com
e49aca968c
add optional storage parameter to SkWriter32
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3759 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-24 21:12:39 +00:00
epoger@google.com
494548b870
Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.com
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3758 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-24 15:19:23 +00:00
reed@google.com
064e50d495
allow SkMutex* as an alternative arg to SkAutoMutexAcquire constructor
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3754 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 16:04:22 +00:00
reed@google.com
d65ad1324c
fix copy/paste error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3753 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 15:57:46 +00:00
reed@google.com
ae1b6b61ce
add SkTLS::Delete
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3752 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 15:49:45 +00:00
reed@google.com
098370137f
move FontCacheLimit implementations into SkGlyphCache.cpp, in prep for TLS
...
Review URL: https://codereview.appspot.com/6110043
git-svn-id: http://skia.googlecode.com/svn/trunk@3751 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 15:04:44 +00:00
reed@google.com
331560e461
fix debug build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3750 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 14:09:38 +00:00
reed@google.com
eb9a9bfc73
cleanups in prep for tls cache
...
Review URL: https://codereview.appspot.com/6109045
git-svn-id: http://skia.googlecode.com/svn/trunk@3749 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 13:43:30 +00:00
reed@google.com
e6f7d6821f
add experimental tls (for font cache eventually)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3748 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-23 12:51:32 +00:00
epoger@google.com
fa1755f12c
whitespace change to test buildbot changes in r3746
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3747 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-20 20:59:29 +00:00
bsalomon@google.com
daf12bb01a
Fix early termination of GM when 16x msaa rt can't be created.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3744 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-20 19:08:44 +00:00
scroggo@google.com
72ae6bd24e
Fix the Android build.
...
Use the correct macro for SkEmbossMaskFilter
Review URL: https://codereview.appspot.com/6081045
git-svn-id: http://skia.googlecode.com/svn/trunk@3743 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-20 18:42:55 +00:00