reed [Wed, 6 May 2015 14:54:38 +0000 (07:54 -0700)]
Revert of Revert of Make drawImage a virtual on SkDevice (patchset #1 id:1 of https://codereview.chromium.org/
1124003002/)
Reason for revert:
retry now that some fixes (onDrawImage overrides) have landed in chrome/blink
Original issue's description:
> Revert of Make drawImage a virtual on SkDevice (patchset #4 id:60001 of https://codereview.chromium.org/
1122643005/)
>
> Reason for revert:
> speculative to see if it unblocks DEPS roll
>
> Original issue's description:
> > Make drawImage a virtual on SkDevice
> >
> > Now with patch for SkDeferredCanvas
> >
> > This reverts commit
119468b71f8f4f45657ab30ead331be665de5a57.
> >
> > BUG=skia:
> >
> > Committed: https://skia.googlesource.com/skia/+/
14fe8fd3e53b5e988aac189a8bc3ed28904d85c8
>
> TBR=robertphillips@google.com,mtklein@google.com,reed@google.com
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/
3538e3bfe2e00bc1b5b48d977fa7adff64d8c96b
TBR=robertphillips@google.com,mtklein@google.com,reed@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/
1126273002
mtklein [Wed, 6 May 2015 14:54:07 +0000 (07:54 -0700)]
DM: add Via abstract class
BUG=skia:
Review URL: https://codereview.chromium.org/
1117183007
mtklein [Wed, 6 May 2015 14:40:25 +0000 (07:40 -0700)]
Make SkFunction copyable so it can go in containers.
This totally overhauls the implementation to use ordinary inheritance-based type erasure. I give up for now getting my manual vtable shenanigans to work with MSVC. Still those same "expected ; before ), also expected ) before ;" errors.
I added support for uninitialized SkFunctions and operator=(), because it was fairly straightforward with this implementation.
The main downside here is that I've removed the inline implementation. All SkFunctions involve a heap allocation, even when just wrapping function pointers.
BUG=skia:
Review URL: https://codereview.chromium.org/
1056673002
joshualitt [Wed, 6 May 2015 13:46:01 +0000 (06:46 -0700)]
small fix to correct bounds on distance field text
BUG=skia:
Review URL: https://codereview.chromium.org/
1122253003
robertphillips [Wed, 6 May 2015 12:15:57 +0000 (05:15 -0700)]
Add GrAAConvexTessellator class
This CL adds a GrAAConvexTessellator class. It does not connect it to the GrAAConvexPathRenderer.
Review URL: https://codereview.chromium.org/
1084943003
robertphillips [Wed, 6 May 2015 11:38:36 +0000 (04:38 -0700)]
Reduce the API surface of GrBufferAllocPool and its derivatives
This utility class is going to be revamped and moved. This CL shrinks it a bit so there will be less to shuffle around.
Review URL: https://codereview.chromium.org/
1126753003
reed [Wed, 6 May 2015 00:30:45 +0000 (17:30 -0700)]
Revert of Make drawImage a virtual on SkDevice (patchset #4 id:60001 of https://codereview.chromium.org/
1122643005/)
Reason for revert:
speculative to see if it unblocks DEPS roll
Original issue's description:
> Make drawImage a virtual on SkDevice
>
> Now with patch for SkDeferredCanvas
>
> This reverts commit
119468b71f8f4f45657ab30ead331be665de5a57.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/
14fe8fd3e53b5e988aac189a8bc3ed28904d85c8
TBR=robertphillips@google.com,mtklein@google.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/
1124003002
joshualitt [Tue, 5 May 2015 21:09:05 +0000 (14:09 -0700)]
small cleanup in GrOvalRenderer
BUG=skia:
Review URL: https://codereview.chromium.org/
1126723004
joshualitt [Tue, 5 May 2015 20:58:20 +0000 (13:58 -0700)]
trivial fix for drawvertices bounds
BUG=skia:
Review URL: https://codereview.chromium.org/
1127633003
bsalomon [Tue, 5 May 2015 20:20:09 +0000 (13:20 -0700)]
Fix vertex/index buffer leaks
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/
1123823004
borenet [Tue, 5 May 2015 20:11:27 +0000 (13:11 -0700)]
Add matrix configs to DM
BUG=skia:832
Review URL: https://codereview.chromium.org/
1125793002
mtklein [Tue, 5 May 2015 19:59:56 +0000 (12:59 -0700)]
DM: add a Via to simulate SP pictures.
Will use this to test the other CL that adds small SkPicture implementations.
Not quite sure why patch_primitive doesn't draw the same in 8888 and sp-8888, but everything else does, so I'm not going to let that hold me back for now.
BUG=skia:
Review URL: https://codereview.chromium.org/
1126613005
reed [Tue, 5 May 2015 19:54:33 +0000 (12:54 -0700)]
Make drawImage a virtual on SkDevice
Now with patch for SkDeferredCanvas
This reverts commit
119468b71f8f4f45657ab30ead331be665de5a57.
BUG=skia:
Review URL: https://codereview.chromium.org/
1122643005
reed [Tue, 5 May 2015 19:14:45 +0000 (12:14 -0700)]
add DeferredCanvas mode to SampleApp
BUG=skia:
Review URL: https://codereview.chromium.org/
1129603002
joshualitt [Tue, 5 May 2015 18:55:39 +0000 (11:55 -0700)]
create GrInOrderCommandBuilder
BUG=skia:
Review URL: https://codereview.chromium.org/
1118403003
mtklein [Tue, 5 May 2015 18:38:45 +0000 (11:38 -0700)]
DM: add draw_to_canvas() to trim some boilerplate for Vias.
BUG=skia:
Review URL: https://codereview.chromium.org/
1123743007
reed [Tue, 5 May 2015 18:36:02 +0000 (11:36 -0700)]
remove dead code behind BOOL_ONGETINFO
need this to land in chrome first https://codereview.chromium.org/
1125573002
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1123473004
halcanary [Tue, 5 May 2015 18:28:55 +0000 (11:28 -0700)]
SkPDF: Remove unused deprecated functions in SkPDFTypes
depends on:
http://crrev.com/
1107923002
http://crrev.com/
1103163002
http://crrev.com/
1110533002
http://crrev.com/
1107913002
http://crrev.com/
1106163002
BUG=skia:3585
Review URL: https://codereview.chromium.org/
1113583002
joshualitt [Tue, 5 May 2015 17:45:57 +0000 (10:45 -0700)]
Move RectBatch to GrRect
BUG=skia:
Review URL: https://codereview.chromium.org/
1127713002
mtklein [Tue, 5 May 2015 17:28:44 +0000 (10:28 -0700)]
Add presubmit to run `{dm,nanobench}_flags.py test` when changed.
BUG=skia:
Review URL: https://codereview.chromium.org/
1129443005
halcanary [Tue, 5 May 2015 17:24:09 +0000 (10:24 -0700)]
SkPDF: clean up uses of deprecated calls in SkPDFFont
BUG=skia:3585
Review URL: https://codereview.chromium.org/
1110533002
bsalomon [Tue, 5 May 2015 16:51:38 +0000 (09:51 -0700)]
Move DrawInfo out from GrDrawTarget and rename to GrVertices.
Review URL: https://codereview.chromium.org/
1124733004
joshualitt [Tue, 5 May 2015 15:41:50 +0000 (08:41 -0700)]
Create GrCommandBuilder
BUG=skia:
Review URL: https://codereview.chromium.org/
1113313003
borenet [Tue, 5 May 2015 15:28:23 +0000 (08:28 -0700)]
Blacklist tiles_rt-gpu gm imagefilterscropped on GalaxyS4
BUG=skia:3802
Review URL: https://codereview.chromium.org/
1115303004
reed [Tue, 5 May 2015 15:11:33 +0000 (08:11 -0700)]
add deferred config to DM
BUG=skia:
Review URL: https://codereview.chromium.org/
1113273006
jvanverth [Tue, 5 May 2015 15:01:51 +0000 (08:01 -0700)]
Adjust tolerance to fix GPU hairline curve issues
BUG=chromium:472847
Review URL: https://codereview.chromium.org/
1126793003
halcanary [Tue, 5 May 2015 15:00:24 +0000 (08:00 -0700)]
SkPDF: clean up uses of deprecated calls in SkDocument_PDF
BUG=skia:3585
Review URL: https://codereview.chromium.org/
1107913002
kkinnunen [Tue, 5 May 2015 15:00:10 +0000 (08:00 -0700)]
Avoid using SkPathEffect::DashInfo in GrStrokeInfo
Avoid using SkPathEffect::DashInfo for storing the phase
in GrStrokeInfo. Instead, just use normal instance variables.
Fixes the copy constructor pointing the DashInfo interval pointer
to the wrong interval data.
Also fixes GrStrokeInfo::setDashInfo(const SkPathEffect::DashInfo&)
by updating the fDashType correctly.
Makes it simpler to write code such as the operator== in the future.
Review URL: https://codereview.chromium.org/
1110093002
reed [Tue, 5 May 2015 14:55:19 +0000 (07:55 -0700)]
remove dead code for SK_SUPPORT_LEGACY_RADIAL_GRADIENT_SQRT
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1122933002
stephana [Tue, 5 May 2015 14:55:06 +0000 (07:55 -0700)]
cleanup
BUG=skia:
Review URL: https://codereview.chromium.org/
1085583006
reed [Tue, 5 May 2015 14:49:56 +0000 (07:49 -0700)]
remove dead SK_SUPPORT_LEGACY_CUBIC_CHOPPER code
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1116263005
bsalomon [Tue, 5 May 2015 14:49:49 +0000 (07:49 -0700)]
Start on simplifying generateGeometry() overrides
Committed: https://skia.googlesource.com/skia/+/
f28381c6866cad92af8ebe5b9d2db074613b1963
Review URL: https://codereview.chromium.org/
1122673002
reed [Tue, 5 May 2015 12:42:02 +0000 (05:42 -0700)]
Revert of Make drawImage a virtual on SkDevice (patchset #3 id:40001 of https://codereview.chromium.org/11188… (patchset #2 id:20001 of https://codereview.chromium.org/
1122813002/)
Reason for revert:
did not update DeferredCanvas
Original issue's description:
> Make drawImage a virtual on SkDevice (patchset #3 id:40001 of https://codereview.chromium.org/
1118823004/)"
>
> Fixed serialization from prev CL
>
> This reverts commit
973d1f1f60f2710a268a3165aa4f3460502d4be5.
>
> BUG=skia:3803
> TBR=
>
> Committed: https://skia.googlesource.com/skia/+/
5392785080001fe737fac9e5801fc2127a78d4fb
TBR=
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:3803
Review URL: https://codereview.chromium.org/
1123743006
egdaniel [Mon, 4 May 2015 19:58:16 +0000 (12:58 -0700)]
Remove canTweakAlphaForCoverage from XP's since batch reads flag.
BUG=skia:
Review URL: https://codereview.chromium.org/
1127693002
bungeman [Mon, 4 May 2015 19:03:50 +0000 (12:03 -0700)]
Fix typeface ids on Mac.
The current typeface ids with CoreText rely on ATS (which causes
memory use issues) or font data (which is unreliable, and will not
work with axes and synthetics). This changes the code so that stream
fonts never end up in the cache and always get a unique id, and
system fonts will be given an id as they are used.
Review URL: https://codereview.chromium.org/
1125763002
bsalomon [Mon, 4 May 2015 18:41:57 +0000 (11:41 -0700)]
Don't attempt to draw path if dashing or stroking fails
TBR=egdaniel@google.com
Committed: https://skia.googlesource.com/skia/+/
39202f12d37b6ef69ffaddcaa8cc92c621fcda41
Review URL: https://codereview.chromium.org/
1119393002
bsalomon [Mon, 4 May 2015 18:41:41 +0000 (11:41 -0700)]
Revert of Start on simplifying generateGeometry() overrides (patchset #10 id:160001 of https://codereview.chromium.org/
1122673002/)
Reason for revert:
Breaking bots
Original issue's description:
> Start on simplifying generateGeometry() overrides
>
> Committed: https://skia.googlesource.com/skia/+/
f28381c6866cad92af8ebe5b9d2db074613b1963
TBR=joshualitt@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/
1124633003
bsalomon [Mon, 4 May 2015 18:27:45 +0000 (11:27 -0700)]
Start on simplifying generateGeometry() overrides
Review URL: https://codereview.chromium.org/
1122673002
bsalomon [Mon, 4 May 2015 18:21:34 +0000 (11:21 -0700)]
Revert of Don't attempt to draw path if dashing or stroking fails (patchset #1 id:1 of https://codereview.chromium.org/
1119393002/)
Reason for revert:
Doesn't draw
Original issue's description:
> Don't attempt to draw path if dashing or stroking fails
>
>
> TBR=egdaniel@google.com
>
> Committed: https://skia.googlesource.com/skia/+/
39202f12d37b6ef69ffaddcaa8cc92c621fcda41
TBR=egdaniel@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/
1119423002
mtklein [Mon, 4 May 2015 17:54:48 +0000 (10:54 -0700)]
ignore_result()
BUG=skia:3801
Review URL: https://codereview.chromium.org/
1127603003
reed [Mon, 4 May 2015 17:49:41 +0000 (10:49 -0700)]
Make drawImage a virtual on SkDevice (patchset #3 id:40001 of https://codereview.chromium.org/
1118823004/)"
Fixed serialization from prev CL
This reverts commit
973d1f1f60f2710a268a3165aa4f3460502d4be5.
BUG=skia:3803
TBR=
Review URL: https://codereview.chromium.org/
1122813002
robertphillips [Mon, 4 May 2015 17:42:05 +0000 (10:42 -0700)]
Get debugger compiling again
Review URL: https://codereview.chromium.org/
1125543003
joshualitt [Mon, 4 May 2015 17:41:57 +0000 (10:41 -0700)]
Move state management to GrInOrderDrawBuffer
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/
5d6bb6f795143ca360b868560b52165de51fa269
Review URL: https://codereview.chromium.org/
1120143002
bsalomon [Mon, 4 May 2015 17:36:53 +0000 (10:36 -0700)]
Don't attempt to draw path if dashing or stroking fails
TBR=egdaniel@google.com
Review URL: https://codereview.chromium.org/
1119393002
bsalomon [Mon, 4 May 2015 17:36:42 +0000 (10:36 -0700)]
Move instanced index buffer creation to flush time
Committed: https://skia.googlesource.com/skia/+/
ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26
Review URL: https://codereview.chromium.org/
1116943004
bsalomon [Mon, 4 May 2015 17:09:23 +0000 (10:09 -0700)]
Revert of Move instanced index buffer creation to flush time (patchset #6 id:100001 of https://codereview.chromium.org/
1116943004/)
Reason for revert:
messed up caching, recreating index buffers all the time.
Original issue's description:
> Move instanced index buffer creation to flush time
>
> Committed: https://skia.googlesource.com/skia/+/
ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26
TBR=joshualitt@google.com,robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/
1126613003
reed [Mon, 4 May 2015 16:00:45 +0000 (09:00 -0700)]
Revert of make drawImage a virtual on SkDevice (patchset #3 id:40001 of https://codereview.chromium.org/
1118823004/)
Reason for revert:
need to make serialization work for pictures, now that images are "real"
Original issue's description:
> make drawImage a virtual on SkDevice
>
> default impl will turn the Image into a (raster) bitmap and call drawBitmap.
>
> BUG=skia:3803
>
> Committed: https://skia.googlesource.com/skia/+/
f603fb3d0e5fa57c3f228d66945bef198b001135
TBR=bsalomon@google.com,robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:3803
Review URL: https://codereview.chromium.org/
1122803002
reed [Mon, 4 May 2015 15:32:51 +0000 (08:32 -0700)]
remove redundant/deprecated TwoPointRadial gradiet -- use TwoPointConical
This CL derived from https://codereview.chromium.org/
1114243005/
BUG=skia:
Review URL: https://codereview.chromium.org/
1117423003
reed [Mon, 4 May 2015 15:32:02 +0000 (08:32 -0700)]
make drawImage a virtual on SkDevice
default impl will turn the Image into a (raster) bitmap and call drawBitmap.
BUG=skia:3803
Review URL: https://codereview.chromium.org/
1118823004
bsalomon [Mon, 4 May 2015 15:09:30 +0000 (08:09 -0700)]
Move instanced index buffer creation to flush time
Review URL: https://codereview.chromium.org/
1116943004
borenet [Mon, 4 May 2015 15:04:28 +0000 (08:04 -0700)]
Support SKIA_OUT on Mac and ChromeOS
BUG=skia:3774
Review URL: https://codereview.chromium.org/
1122593003
joshualitt [Mon, 4 May 2015 14:51:09 +0000 (07:51 -0700)]
Revert of Move state management to GrInOrderDrawBuffer (patchset #4 id:60001 of https://codereview.chromium.org/
1120143002/)
Reason for revert:
Breaks windows
Original issue's description:
> Move state management to GrInOrderDrawBuffer
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/
5d6bb6f795143ca360b868560b52165de51fa269
TBR=bsalomon@google.com,robertphillips@google.com,joshualitt@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/
1119353002
joshualitt [Mon, 4 May 2015 14:41:40 +0000 (07:41 -0700)]
Move state management to GrInOrderDrawBuffer
BUG=skia:
Review URL: https://codereview.chromium.org/
1120143002
tfarina [Mon, 4 May 2015 13:40:31 +0000 (06:40 -0700)]
Update src/svg to follow C++11 style rule for {virtual,override}.
The Google style guide states that only one of {virtual,override,final}
should be used for each declaration, since override implies virtual
and final implies both virtual and override.
The entries were found using the following command line:
$ find src/ -iname "*.h" -o -iname "*.cpp" | xargs pcregrep -M
"[^\n/]+virtual\ [^;{]+\ [a-zA-Z0-9_]+\([^;{]+\ override[ \n]*[;{]"
The regex was a courtesy of nick@chromium.org
BUG=None
R=mtklein@google.com
Review URL: https://codereview.chromium.org/
1123573004
gen.kim [Mon, 4 May 2015 05:36:30 +0000 (22:36 -0700)]
SkPictureShader: scale down if width or height is larger than maxTextureSize
Grdient renders black because of failure onCreateTexture
if one of width or height is larger than maxTextureSize
with --force-gpu-rasterization.
BUG=chromium:473166
Review URL: https://codereview.chromium.org/
1101513004
skia.buildbots [Sun, 3 May 2015 08:03:55 +0000 (01:03 -0700)]
Update SKP version
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/
1124513002
reed [Sat, 2 May 2015 15:00:03 +0000 (08:00 -0700)]
remove unneeded SK_SUPPORT_LEGACY_IMAGEFILTER_TO_COLORFILTER flag
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1120033003
joshualitt [Sat, 2 May 2015 14:07:17 +0000 (07:07 -0700)]
Add hairlines batch unit test
BUG=skia:
Review URL: https://codereview.chromium.org/
1119563002
joshualitt [Sat, 2 May 2015 13:58:10 +0000 (06:58 -0700)]
Fix for valgrind
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/
1127453002
joshualitt [Fri, 1 May 2015 20:43:30 +0000 (13:43 -0700)]
Move bounds to GrBatch
BUG=skia:
Review URL: https://codereview.chromium.org/
1121463002
reed [Fri, 1 May 2015 16:34:31 +0000 (09:34 -0700)]
clean up pre-storage in canvas
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1117213003
joshualitt [Fri, 1 May 2015 15:51:48 +0000 (08:51 -0700)]
Simple CL to add a joinWithPossiblyEmptyArg to SkRect
BUG=skia:
Review URL: https://codereview.chromium.org/
1118293002
halcanary [Fri, 1 May 2015 14:35:45 +0000 (07:35 -0700)]
SkPDF: clean up uses of deprecated calls in tests
BUG=skia:3585
Review URL: https://codereview.chromium.org/
1106163002
halcanary [Fri, 1 May 2015 14:06:23 +0000 (07:06 -0700)]
SkTime: return timezone information; format in ISO-8601
Motivation: PDF/A metadata will need the creation date embedded in it.
Also, GetDateTime returns local time in Win32. This now behaves the
same as on Unix systems.
BUG=skia:3110
Review URL: https://codereview.chromium.org/
1109593002
bsalomon [Thu, 30 Apr 2015 21:18:54 +0000 (14:18 -0700)]
This replaces the texture creation/caching functions on GrContext with a GrTextureProvider interface. The goal is to pass this narrowly focused object in places that currently take a GrContext but don't need and shouldn't use its other methods. It also has an extended private interface for interacting with non-texture resource types.
Review URL: https://codereview.chromium.org/
1107973004
bungeman [Thu, 30 Apr 2015 21:12:58 +0000 (17:12 -0400)]
Move resource fonts to common location.
Move resource fonts to resources/fonts, add a destortable font for
testing, and clean up how the tests create fonts from resources.
R=joshualitt@google.com
Review URL: https://codereview.chromium.org/
1120823002
joshualitt [Thu, 30 Apr 2015 21:03:02 +0000 (14:03 -0700)]
Simple CL to Compute bounds in GrContext::drawVertices
BUG=skia:
Review URL: https://codereview.chromium.org/
1117953003
joshualitt [Thu, 30 Apr 2015 20:49:27 +0000 (13:49 -0700)]
Add batch unit tests for ovals
BUG=skia:
Review URL: https://codereview.chromium.org/
1108403005
reed [Thu, 30 Apr 2015 20:09:24 +0000 (13:09 -0700)]
add heuristic to pour small pictures into recordings, rather than ref'ing
BUG=skia:
Review URL: https://codereview.chromium.org/
1118693003
mtklein [Thu, 30 Apr 2015 19:06:19 +0000 (12:06 -0700)]
Make SkAutoTDelete's operator T*() const, like all the others.
BUG=skia:
Review URL: https://codereview.chromium.org/
1114043005
senorblanco [Thu, 30 Apr 2015 19:06:10 +0000 (12:06 -0700)]
Fix gpu memory accounting for auto-resolving MSAA.
BUG=skia:
Review URL: https://codereview.chromium.org/
1115233002
skia.buildbots [Thu, 30 Apr 2015 17:59:13 +0000 (10:59 -0700)]
Update SKP version
Automatic commit by the RecreateSKPs bot.
TBR=
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/
1118053002
mtklein [Thu, 30 Apr 2015 16:15:44 +0000 (09:15 -0700)]
Add missing include to SkPictureContentInfo.
BUG=skia:
Review URL: https://codereview.chromium.org/
1113023003
joshualitt [Thu, 30 Apr 2015 16:05:54 +0000 (09:05 -0700)]
simple cleanup in GrTargetCommands
BUG=skia:
Review URL: https://codereview.chromium.org/
1116923003
robertphillips [Thu, 30 Apr 2015 15:55:06 +0000 (08:55 -0700)]
Fix for texture allocation failure in 'preAbandonGpuContext' mode
Review URL: https://codereview.chromium.org/
1118723003
reed [Thu, 30 Apr 2015 14:47:13 +0000 (07:47 -0700)]
use pathops utils to improve precision of cubic chopping in scan converter
BUG=skia:
Review URL: https://codereview.chromium.org/
1113963002
dongseong.hwang [Thu, 30 Apr 2015 14:47:05 +0000 (07:47 -0700)]
Fix build warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
Review URL: https://codereview.chromium.org/
1109933003
mtklein [Thu, 30 Apr 2015 14:35:27 +0000 (07:35 -0700)]
Looks like rssPages * pageSize is overflowing on 32-bit Linux...
... resulting in apparently negative memory usage:
(-2040/2058MB 5867) 1.81s serialize-8888 skp top25desk_google_com_calendar_.skp
Turns out long is 32-bit there, long long is 64-bit.
NOTREECHECKS=true
BUG=skia:
Review URL: https://codereview.chromium.org/
1117923002
mtklein [Thu, 30 Apr 2015 14:11:22 +0000 (07:11 -0700)]
DM+nanobench: print both current and max RSS.
out/Debug/dm:
( 360/380 MB 2112) 396ms gpu gm xfermodes
out/Release/nanobench:
32/33 MB 1659 2.46µs 2.55µs 2.54µs 2.67µs 2% ▄▄▄▅▅▃▂▁▂█ gpu gradient_conicalZero_clamp_hicolor
out/Debug/nanobench:
42/42 MB desk_css3gradients.skp_1 8888
BUG=skia:
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/
1115203002
dongseong.hwang [Thu, 30 Apr 2015 12:53:27 +0000 (05:53 -0700)]
Fix build warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
Review URL: https://codereview.chromium.org/
1110353003
skia.buildbots [Thu, 30 Apr 2015 12:19:38 +0000 (05:19 -0700)]
Update SKP version
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/
1118683002
bungeman [Wed, 29 Apr 2015 21:35:49 +0000 (14:35 -0700)]
Check for NULL familyName in SkFontMgr_fontconfig.
If the familyName is NULL, don't bother spending time trying to add
it to the FcPattern.
Review URL: https://codereview.chromium.org/
1115073002
cdalton [Wed, 29 Apr 2015 21:17:00 +0000 (14:17 -0700)]
Use texture barriers to read directly from the RT
Updates GrXferProcessor to read directly from the RT texture when
texture barriers are supported and it needs to know the dst color.
Also adds the notion of an Xfer barrier and uses it to issue texture
barriers when the XP will read the RT.
BUG=skia:
Review URL: https://codereview.chromium.org/
1040303002
reed [Wed, 29 Apr 2015 19:18:57 +0000 (12:18 -0700)]
Use colorfilter instead of imagefilter when possible
needs https://codereview.chromium.org/
1115713003 to land first in chrome
BUG=skia:
Review URL: https://codereview.chromium.org/
986353002
egdaniel [Wed, 29 Apr 2015 18:54:42 +0000 (11:54 -0700)]
Make XPFragmentBuilder only Builder with access to DstCopy.
Plus a bunch of renaming.
BUG=skia:
Review URL: https://codereview.chromium.org/
1110033004
bungeman [Wed, 29 Apr 2015 18:32:57 +0000 (11:32 -0700)]
FontConfig character/lang match requires weak family.
In FontConfig the normal priority order of matches is character, family,
language; however family can be marked as weak which changes the order to
character, language, family. This is what is desired in
matchFamilyStyleCharacter.
Review URL: https://codereview.chromium.org/
1118553002
joshualitt [Wed, 29 Apr 2015 18:32:05 +0000 (11:32 -0700)]
Add dash lines batch unit test
BUG=skia:
Review URL: https://codereview.chromium.org/
1108053004
jvanverth [Wed, 29 Apr 2015 18:18:05 +0000 (11:18 -0700)]
Pull out shader-specific caps into GrShaderCaps and GrGLSLCaps
BUG=skia:
Review URL: https://codereview.chromium.org/
1116713002
rmistry [Wed, 29 Apr 2015 17:15:07 +0000 (10:15 -0700)]
Handpick 16 Skia page sets to create SP enabled SKPs from
Context is in: https://code.google.com/p/skia/issues/detail?id=3763#c18
NOTRY=true
BUG=skia:3763
Review URL: https://codereview.chromium.org/
1115003002
cdalton [Wed, 29 Apr 2015 17:14:03 +0000 (10:14 -0700)]
Fix double blend in GrAAConvexPathRenderer
Updates GrAAConvexPathRenderer to not draw the interior fan of a
convex path when it does not exist (i.e when segment count <= 2).
TODO: We should also detect and combine colinear segments in order to
make sure we catch every case.
BUG=skia:
Review URL: https://codereview.chromium.org/
1094293002
joshualitt [Wed, 29 Apr 2015 17:01:22 +0000 (10:01 -0700)]
Initial CL to create GrBatchTest infrastructure
BUG=skia:
Review URL: https://codereview.chromium.org/
1109153004
reed [Wed, 29 Apr 2015 15:34:00 +0000 (08:34 -0700)]
onCreateDevice -> NULL now means the caller should create its own (bitmap) device
BUG=skia:
Review URL: https://codereview.chromium.org/
1116453002
caryclark [Wed, 29 Apr 2015 15:28:30 +0000 (08:28 -0700)]
minor fixes to cubics code and overall alignment of how bounds and tops are computed for all curve types
All but 17 extended tests work.
A helper function is privately added to SkPath.h to permit a test to modify a given point in a path.
BUG=skia:3588
Review URL: https://codereview.chromium.org/
1107353004
msarett [Wed, 29 Apr 2015 15:17:15 +0000 (08:17 -0700)]
Implementing a scanline decoder for jpeg
BUG=skia:3257
Review URL: https://codereview.chromium.org/
1092303003
mtklein [Wed, 29 Apr 2015 15:16:50 +0000 (08:16 -0700)]
Straighten out SkPicture::AccelData APIs.
Must have been we needed them to be weird (mutable, const setter) before.
It doesn't look like that's necessary now... we can just pass it to the
constructor.
BUG=skia:
Review URL: https://codereview.chromium.org/
1112833003
bungeman [Wed, 29 Apr 2015 15:15:31 +0000 (08:15 -0700)]
Remove system call in DW for default font.
The last user of the GDI default font in DW is
onMatchFamilyStyleCharacter and it doesn't appear to actually need
to use it. This change removes a system call, making things a bit
faster, as well as eliminating a call blocked in the sandbox.
BUG=chromium:459056
Review URL: https://codereview.chromium.org/
1107283003
msarett [Wed, 29 Apr 2015 14:38:43 +0000 (07:38 -0700)]
Requires a minor API change to pass the color table to getScanlineDecoder, as we do with getPixels().
BUG=skia:3722
Review URL: https://codereview.chromium.org/
1061713007
rmistry [Wed, 29 Apr 2015 14:26:33 +0000 (07:26 -0700)]
Create SP enabled SKPs from only the top_25_smooth page set.
Context is here: https://code.google.com/p/skia/issues/detail?id=3763#c14
BUG=skia:3763
NOTRY=true
Review URL: https://codereview.chromium.org/
1111273003
bsalomon [Wed, 29 Apr 2015 11:33:52 +0000 (04:33 -0700)]
Remove unneeded features from GrBufferAllocPool
Review URL: https://codereview.chromium.org/
1103423004
kkinnunen [Wed, 29 Apr 2015 05:19:25 +0000 (22:19 -0700)]
Pass dashing info from drawPath to Gr side
Pass dashing info also from drawPath calls to gpu path rendering code.
Previously dashing info was preserved only for fast-pathed drawRects and
such.
This enables path renderers to see dashing info for arbitrary paths.
Review URL: https://codereview.chromium.org/
1114463002