platform/upstream/libSkiaSharp.git
9 years agoFirst set of minimal docs for the new Markdown server, which will eventually replace...
jcgregorio [Mon, 5 Jan 2015 19:17:27 +0000 (11:17 -0800)]
First set of minimal docs for the new Markdown server, which will eventually replace https://sites.google.com/site/skiadocs/.

Design of the new Markdown server is documented here:

  https://github.com/google/skia-buildbot/blob/master/doc/README.md

  You can see the server up and running here: http://skiadocs.com:8000/

  This is *reed because it adds a new top level directory to the skia repo.

BUG=skia:

Review URL: https://codereview.chromium.org/835083003

9 years agoUpdate PdfViewer's SkNulCanvas
robertphillips [Mon, 5 Jan 2015 19:11:21 +0000 (11:11 -0800)]
Update PdfViewer's SkNulCanvas

This appears to have been missed in https://codereview.chromium.org/831253002/ (move remaining virtual draw methods to onDraw)

Review URL: https://codereview.chromium.org/839433002

9 years agoAdd conic support to Default and AAConvex path redender.
egdaniel [Mon, 5 Jan 2015 18:22:28 +0000 (10:22 -0800)]
Add conic support to Default and AAConvex path redender.

This is achieved but chopping up conics into quads.

With this change conics should be ready to be used on the gpu side of things

BUG=skia:3258

Review URL: https://codereview.chromium.org/825443002

9 years agoCleanup isRect variants
robertphillips [Mon, 5 Jan 2015 18:13:46 +0000 (10:13 -0800)]
Cleanup isRect variants

Review URL: https://codereview.chromium.org/832083002

9 years agoRevert of Revert of enable conics gm (patchset #1 id:1 of https://codereview.chromium...
reed [Mon, 5 Jan 2015 18:01:25 +0000 (10:01 -0800)]
Revert of Revert of enable conics gm (patchset #1 id:1 of https://codereview.chromium.org/811863006/)

Reason for revert:
maybe this wasn't the cause of the chromeos crash?

Original issue's description:
> Revert of enable conics gm (patchset #3 id:40001 of https://codereview.chromium.org/835593002/)
>
> Reason for revert:
> did I break the build?
>
> Original issue's description:
> > enable conics gm
> >
> > BUG=skia:
> > TBR=
> >
> > Committed: https://skia.googlesource.com/skia/+/03119ba4f815bc2c2774a9349ca8278ab1695072
>
> TBR=egdaniel@google.com
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/ede901c7a2e21a44552b8c1436d9521ce33f4de5

TBR=egdaniel@google.com,reed@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/836773002

9 years agoPrint out failing PathRef test on ChromeOS
robertphillips [Mon, 5 Jan 2015 17:20:04 +0000 (09:20 -0800)]
Print out failing PathRef test on ChromeOS

This is intended to provide additional information for a flaky assertion failure on ChromeOS Daisy.

BUG=skia:3282

Review URL: https://codereview.chromium.org/821683002

9 years agoCorrectly declare skiagm::DCShader to be not flattenable.
halcanary [Mon, 5 Jan 2015 16:55:34 +0000 (08:55 -0800)]
Correctly declare skiagm::DCShader to be not flattenable.

Motivation: As part of my testing I serialize all of our GMs to SKP
files.  This was breaking my code.

Review URL: https://codereview.chromium.org/832393002

9 years agoexperimental skp_to_pdf_md5 program.
halcanary [Mon, 5 Jan 2015 16:55:24 +0000 (08:55 -0800)]
experimental skp_to_pdf_md5 program.

This program takes a list of Skia Picture (SKP) files and
renders each as a multipage PDF, then prints out the MD5
checksum of the PDF file.  This can be used to verify that
changes to the PDF backend will not change PDF output.

Review URL: https://codereview.chromium.org/832403002

9 years agoremoving dashcubics from ignore, may cause failures
joshualitt [Mon, 5 Jan 2015 16:34:28 +0000 (08:34 -0800)]
removing dashcubics from ignore, may cause failures

NOTRY=True
TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/834673004

9 years agoRevert of Revert of move remaining virtual draw methods to onDraw (patchset #1 id...
reed [Mon, 5 Jan 2015 15:49:08 +0000 (07:49 -0800)]
Revert of Revert of move remaining virtual draw methods to onDraw (patchset #1 id:1 of https://codereview.chromium.org/835913002/)

Reason for revert:
test to see if it wasn't this CL that broke chromeos

Original issue's description:
> Revert of move remaining virtual draw methods to onDraw (patchset #5 id:80001 of https://codereview.chromium.org/817723005/)
>
> Reason for revert:
> did this cause chromeos heap corruption on skp?
>
> Original issue's description:
> > move remaining virtual draw methods to onDraw
> >
> > BUG=skia:
> >
> > Committed: https://skia.googlesource.com/skia/+/2e0f7d53bba5438c9bf11ee5ccae2c301e348419
>
> TBR=robertphillips@google.com,djsollen@google.com,bsalomon@google.com,mtklein@google.com
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/e87e383351e1547b21d96d02bcd0c3cbbe0837f1

TBR=robertphillips@google.com,djsollen@google.com,bsalomon@google.com,mtklein@google.com,reed@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/831253002

9 years agoClean up dead clear() code in SkRecord.
mtklein [Mon, 5 Jan 2015 15:02:45 +0000 (07:02 -0800)]
Clean up dead clear() code in SkRecord.

This removes the SkRecords::Clear struct and everything that refers to it.
Notice there is nothing actually creating a Clear, which means this is all
dead code.

Now that all ops obey the clip, I don't think we need the weird
inflate-empty-to-epsilon hack for BBH queries.

BUG=skia:

Review URL: https://codereview.chromium.org/835813002

9 years agoadd SkGeometry.h to core.gypi
reed [Mon, 5 Jan 2015 14:47:44 +0000 (06:47 -0800)]
add SkGeometry.h to core.gypi

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/820683005

9 years agodm/gold: Let's consider source_type a key.
mtklein [Mon, 5 Jan 2015 14:47:41 +0000 (06:47 -0800)]
dm/gold: Let's consider source_type a key.

Ex.

   "results" : [
      {
         "key" : {
            "config" : "565",
            "mode" : "direct",
            "name" : "textblob",
            "source_type" : "GM"
         },
         "md5" : "024ecfc3be8c08ea0cc580c12411fe09"
      },

BUG=skia:3255

Review URL: https://codereview.chromium.org/811403003

9 years agoWhitespace change to trigger rebuilds after gsutil fix
borenet [Mon, 5 Jan 2015 14:38:26 +0000 (06:38 -0800)]
Whitespace change to trigger rebuilds after gsutil fix

BUG=434422
TBR=rmistry
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/776463003

9 years agoRevert of move remaining virtual draw methods to onDraw (patchset #5 id:80001 of...
reed [Mon, 5 Jan 2015 12:49:38 +0000 (04:49 -0800)]
Revert of move remaining virtual draw methods to onDraw (patchset #5 id:80001 of https://codereview.chromium.org/817723005/)

Reason for revert:
did this cause chromeos heap corruption on skp?

Original issue's description:
> move remaining virtual draw methods to onDraw
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/2e0f7d53bba5438c9bf11ee5ccae2c301e348419

TBR=robertphillips@google.com,djsollen@google.com,bsalomon@google.com,mtklein@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/835913002

9 years agodebugger: Remove few redundant variables
kkinnunen [Mon, 5 Jan 2015 09:14:11 +0000 (01:14 -0800)]
debugger: Remove few redundant variables

Use the GUI widget states instead of instance variables
reflecting the widget state.

Fixes the case where pause state would be left on when
switching files, but the image would change to the last
frame of newly loaded image.

Review URL: https://codereview.chromium.org/810033004

9 years agoUpdate SKP version
skia.buildbots [Mon, 5 Jan 2015 06:27:44 +0000 (22:27 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/835813003

9 years agomove remaining virtual draw methods to onDraw
reed [Mon, 5 Jan 2015 05:09:04 +0000 (21:09 -0800)]
move remaining virtual draw methods to onDraw

BUG=skia:

Review URL: https://codereview.chromium.org/817723005

9 years agoRevert of enable conics gm (patchset #3 id:40001 of https://codereview.chromium.org...
reed [Mon, 5 Jan 2015 04:52:15 +0000 (20:52 -0800)]
Revert of enable conics gm (patchset #3 id:40001 of https://codereview.chromium.org/835593002/)

Reason for revert:
did I break the build?

Original issue's description:
> enable conics gm
>
> BUG=skia:
> TBR=
>
> Committed: https://skia.googlesource.com/skia/+/03119ba4f815bc2c2774a9349ca8278ab1695072

TBR=egdaniel@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/811863006

9 years agoenable conics gm
reed [Mon, 5 Jan 2015 04:24:42 +0000 (20:24 -0800)]
enable conics gm

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/835593002

9 years agoUpdate SKP version
skia.buildbots [Sat, 3 Jan 2015 07:10:47 +0000 (23:10 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/832983002

9 years agoadd toString to SkImage
reed [Sat, 3 Jan 2015 04:45:37 +0000 (20:45 -0800)]
add toString to SkImage

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/823013003

9 years agoFix for chrome fuzzer
joshualitt [Fri, 2 Jan 2015 18:54:26 +0000 (10:54 -0800)]
Fix for chrome fuzzer

TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/801493003

9 years agodebugger: Move Skia initialization out of the GUI widget class
kkinnunen [Fri, 2 Jan 2015 15:24:14 +0000 (07:24 -0800)]
debugger: Move Skia initialization out of the GUI widget class

Move Skia initialization out of the GUI widget class to the
main function.

Before, Skia may have been already called before the SkGraphics::Init
was run.

Review URL: https://codereview.chromium.org/822583003

9 years agoremove unused drawData
reed [Fri, 2 Jan 2015 14:39:51 +0000 (06:39 -0800)]
remove unused drawData

BUG=skia:

Review URL: https://codereview.chromium.org/830083002

9 years agodebugger: Make inspector widget smaller
kkinnunen [Fri, 2 Jan 2015 14:35:43 +0000 (06:35 -0800)]
debugger: Make inspector widget smaller

Make inspector widget a bit smaller by letting the Qt widget system
layout the widgets.

Let the inspector widget calculate its own smallest size. Use stretch
factor of 0 for inspector, 1 for picture canvas.

Group the matrix and clip widgets in groups. Put the text edits in a grid
layout instead of a handwritted column layout containing row layouts.

This commit is part of work that tries to make the debugger window to be
a bit more resizeable, so that it would fit 1900x1200 screen.

Review URL: https://codereview.chromium.org/830743002

9 years agoUpdate SKP version
skia.buildbots [Fri, 2 Jan 2015 06:27:03 +0000 (22:27 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/832013002

9 years agoUpdate SKP version
skia.buildbots [Thu, 1 Jan 2015 06:55:21 +0000 (22:55 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/832823002

9 years agofix conic gm to have fixed wrapping
reed [Thu, 1 Jan 2015 04:07:01 +0000 (20:07 -0800)]
fix conic gm to have fixed wrapping

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/815143003

9 years agochange API contract: disallow zero-sized images or surfaces
reed [Wed, 31 Dec 2014 20:31:43 +0000 (12:31 -0800)]
change API contract: disallow zero-sized images or surfaces

BUG=skia:

Review URL: https://codereview.chromium.org/830033003

9 years agoRebaseline complexclip2_rect_aa & simpleaaclip_rect GMs for the S4
robertphillips [Wed, 31 Dec 2014 19:28:28 +0000 (11:28 -0800)]
Rebaseline complexclip2_rect_aa & simpleaaclip_rect GMs for the S4

I believe these are left over from https://codereview.chromium.org/822483003/ (rebase)

TBR=joshualitt@google.com

Review URL: https://codereview.chromium.org/828973002

9 years agoRebaseline lagging K1 GMs
robertphillips [Wed, 31 Dec 2014 17:52:08 +0000 (09:52 -0800)]
Rebaseline lagging K1 GMs

The Nexus9 took a break from 12/20/14 until 12/30/14. This updates the GMs for all the changes during that time. Except for the changes due to https://codereview.chromium.org/834503002/ (Update stroke path to use rect returned from isRect (to fix trailing moveTo bug)), in which a GM was changed, they are all imperceptible.

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/831953002

9 years agoRebaselines after "Fix computation of bound in FillBounds::updateSaveBounds"
robertphillips [Wed, 31 Dec 2014 17:41:22 +0000 (09:41 -0800)]
Rebaselines after "Fix computation of bound in FillBounds::updateSaveBounds"

The CL in question impacted the size of the hoisted layers and thus impacted the image results for the MPD GMs (for the GPU configs).

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/827423003

9 years agoignore failure -- pdf gradients on mac-mini
reed [Wed, 31 Dec 2014 16:27:52 +0000 (08:27 -0800)]
ignore failure -- pdf gradients on mac-mini

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/810653004

9 years agorebaseline after GM change
reed [Wed, 31 Dec 2014 16:23:19 +0000 (08:23 -0800)]
rebaseline after GM change

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/794833003

9 years agoUpdate SKP version
skia.buildbots [Wed, 31 Dec 2014 07:12:01 +0000 (23:12 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/805813006

9 years agodebugger: Make draw command image widget resize
kkinnunen [Wed, 31 Dec 2014 07:03:56 +0000 (23:03 -0800)]
debugger: Make draw command image widget resize

Make draw command image widget resize. The widget was not resizing,
effectively preventing the window from being resized smaller.

Make the rasterized draw command image be proportional to the widget
size. The draw rasterization canvas is still an equilateral rectangle
with dimensions of the smaller side of the widget.

Makes the widget re-rasterize the image only when the draw command
changes, not for each widget paint.

Renames the widget from "image widget" to "draw command geometry
widget".

Makes the background of the image black, similar to the raster widget
background.

Adds a tooltip saying "Command geometry" for the widget, so that user might
understand what the contents should be.

This commit is part of work that tries to make the debugger window to be
a bit more resizeable, so that it would fit 1900x1200 screen.

Review URL: https://codereview.chromium.org/787143004

9 years agodebugger: Make settings widget resizeable
kkinnunen [Wed, 31 Dec 2014 06:49:58 +0000 (22:49 -0800)]
debugger: Make settings widget resizeable

The settings widget was laid out by hand, eg. the widths of most
elements were hardcoded. This prevented it from being laid out by the Qt
widget system. This in turn prevents the widget from shrinking to its
optimal size. This in turn causes cascading effect where the geometry of
many of the UI widgets has to be hard-coded. This in turn prevents
proper resizing of the UI.

Make Qt layout the settings widget by following changes:

a) Group settings in QGroupBox groups instead of hand-written
layouts and labels hardcoded in certain places.

b) Remove "Expanding" size policy from settings widget. The widget
calculates its own size based on the widgets inside. Thus "Preferred"
is the correct policy to use, as expanding the widget will not
bring any new content visible.

c) Remove maximum width 250 from Settings widget

d) Make "canvas settings and image layout", eg. the horizontal layout
holding the settings widget divide the space between the picture and
settings like so: settings uses up only as much as it needs (stretch
factor 0), while picture uses up everything else (stretch factor 1).

In order to do a) reasonably, reorganize the UI and the code a bit:

a1) Rename settings group "visual filter" to "Visualizations".
a2) Make "visual filter: on/off" combo box a checkbox in
"Visualizations".
a3) Move "Mega viz" setting checkbox from "raster" (or "render targets")
section to "Visualizations"
a4) Move "PathOps" setting checkbox from "raster" to "Visualizations"

a5) Make Raster and GL checkboxes use QGroupBox checkbox feature

a6) Move "current command", "command hitbox" and "zoom level" from
"Settings" widget to part of "Inspector" concept. These pieces of
information are now visualized as their own box in the right-hand
bar, below settings.

a7) Do not expose settings user selects through the UI widgets
state that record the user interacts with. Instead, expose it as state
of the "settings widget". Thus settings widget provides "raster settings
changed" signal, which the client hook to and then query the state
through the object API.

This makes the full window a bit shorter.

This commit is part of work that tries to make the
debugger window to be a bit more resizeable, so that it would fit
1900x1200 screen.

Review URL: https://codereview.chromium.org/829933002

9 years agoFix computation of bound in FillBounds::updateSaveBounds
robertphillips [Tue, 30 Dec 2014 21:53:51 +0000 (13:53 -0800)]
Fix computation of bound in FillBounds::updateSaveBounds

intersect doesn't change the bounds when the two bounds do not intersect. This is definitely not the intended behavior.

With the SKPs captured on 12/23/14, Chrome began passing Skia drawPicture ops that did not intersect the current clip - which revealed this bug.

Review URL: https://codereview.chromium.org/817483004

9 years agoAdd a simpler key type for scratch resource keys.
bsalomon [Tue, 30 Dec 2014 20:50:52 +0000 (12:50 -0800)]
Add a simpler key type for scratch resource keys.

BUG=skia:2889

Review URL: https://codereview.chromium.org/815833004

9 years agoFix for disabled color writes xp on n6
egdaniel [Tue, 30 Dec 2014 17:42:49 +0000 (09:42 -0800)]
Fix for disabled color writes xp on n6

The N6 has some driver bug that is required us to give some value to gl_FragColor.
The disabledColorWriteXP should not need to set any value in its shader, but to fix
this crash this cl sets gl_FragColor to 0.

BUG=445377

Review URL: https://codereview.chromium.org/823053003

9 years agoViewMatrix uniform upload moved to GeometryProcessor
joshualitt [Tue, 30 Dec 2014 17:04:15 +0000 (09:04 -0800)]
ViewMatrix uniform upload moved to GeometryProcessor

BUG=skia:

Review URL: https://codereview.chromium.org/827973002

9 years agoUpdate SKP version
skia.buildbots [Tue, 30 Dec 2014 15:40:28 +0000 (07:40 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/831793002

9 years agoChange DebugCanvas API to not encourage memory leaks
kkinnunen [Tue, 30 Dec 2014 15:22:58 +0000 (07:22 -0800)]
Change DebugCanvas API to not encourage memory leaks

Pass command strings and offset arrays as out parameters instead of
returning new arrays from the functions.

This simplifies debugger leak investigations, as the app leaks less by
design.

Review URL: https://codereview.chromium.org/821663003

9 years agorebase
joshualitt [Tue, 30 Dec 2014 15:04:16 +0000 (07:04 -0800)]
rebase

TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/822483003

9 years agoUpdate stroke-fill GM baselines
robertphillips [Tue, 30 Dec 2014 14:06:19 +0000 (06:06 -0800)]
Update stroke-fill GM baselines

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/827243002

9 years agoMove ViewMatrix off of drawstate
joshualitt [Mon, 29 Dec 2014 23:10:07 +0000 (15:10 -0800)]
Move ViewMatrix off of drawstate

BUG=skia:

Review URL: https://codereview.chromium.org/815553003

9 years agoUpdate stroke path to use rect returned from isRect (to fix trailing moveTo bug)
robertphillips [Mon, 29 Dec 2014 22:06:51 +0000 (14:06 -0800)]
Update stroke path to use rect returned from isRect (to fix trailing moveTo bug)

This basically recreates what was done in:

https://codereview.chromium.org/16950021/ (add rect-output parameter to isRect, allowing us to return the correct bounds even if a rectagular path has a trailing moveTo) with the addition of GM representation

BUG=skia:247770

Review URL: https://codereview.chromium.org/834503002

9 years agoFix bound returned by SkPath::isRect when the path contains a trailing moveTo
robertphillips [Mon, 29 Dec 2014 19:36:39 +0000 (11:36 -0800)]
Fix bound returned by SkPath::isRect when the path contains a trailing moveTo

Oddly enough this was fixed in:

https://codereview.chromium.org/16950021/ (add rect-output parameter to isRect, allowing us to return the correct bounds even if a rectagular path has a trailing moveTo)

but was reverted here:

https://skia.googlesource.com/skia/+/8fd160350ca5f57fbb1b2e03383c5778414a9b48

since it appeared to be crashing Chrome's trybots. I think it just fell through the cracks after that.

If this sticks I will land a follow on patch for the stroke issue reported in the original bug (crbug.com/247770).

BUG=247770,445368

Review URL: https://codereview.chromium.org/834483002

9 years agoremoving coord change matrices
joshualitt [Mon, 29 Dec 2014 17:04:40 +0000 (09:04 -0800)]
removing coord change matrices

BUG=skia:

Review URL: https://codereview.chromium.org/821243003

9 years agoRemove coordchanges from drawstate
joshualitt [Mon, 29 Dec 2014 15:43:36 +0000 (07:43 -0800)]
Remove coordchanges from drawstate

BUG=skia:

Review URL: https://codereview.chromium.org/818233002

9 years agoAdd device space skshader GM to test kDevice_GrCoordSet
bsalomon [Mon, 29 Dec 2014 15:05:27 +0000 (07:05 -0800)]
Add device space skshader GM to test kDevice_GrCoordSet

Review URL: https://codereview.chromium.org/816003002

9 years agoUpdate SKP version
skia.buildbots [Mon, 29 Dec 2014 06:24:29 +0000 (22:24 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/829753002

9 years agoUpdate SKP version
skia.buildbots [Sun, 28 Dec 2014 06:24:05 +0000 (22:24 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/827813002

9 years agoUpdate SKP version
skia.buildbots [Fri, 26 Dec 2014 06:45:02 +0000 (22:45 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/822393002

9 years agodisable using codecs until that can work in chrome
reed [Fri, 26 Dec 2014 04:41:13 +0000 (20:41 -0800)]
disable using codecs until that can work in chrome

BUG=skia:3275
TBR=

Review URL: https://codereview.chromium.org/820343002

9 years agomark c_gms to be rebaselined (gm updated)
reed [Fri, 26 Dec 2014 00:40:13 +0000 (16:40 -0800)]
mark c_gms to be rebaselined (gm updated)

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/820303002

9 years agoadd image-from-codec to c api
reed [Thu, 25 Dec 2014 22:16:21 +0000 (14:16 -0800)]
add image-from-codec to c api

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/822203002

9 years agofix images in multi-thread by doing shallow-copies
reed [Thu, 25 Dec 2014 21:55:08 +0000 (13:55 -0800)]
fix images in multi-thread by doing shallow-copies

BUG=skia:
TBR=mtklein@google.com

Review URL: https://codereview.chromium.org/791473006

9 years agoUpdate SKP version
skia.buildbots [Wed, 24 Dec 2014 07:16:19 +0000 (23:16 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/806243004

9 years agoadd maskfilter to c api
reed [Tue, 23 Dec 2014 22:11:11 +0000 (14:11 -0800)]
add maskfilter to c api

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/822053002

9 years agoAdd baselines for Tegra2 complexclip* GMs.
jvanverth [Tue, 23 Dec 2014 17:19:59 +0000 (09:19 -0800)]
Add baselines for Tegra2 complexclip* GMs.

They look bad, so marked as failure-ignored and tagged with a bug #.

BUG=skia:3273
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/800523003

9 years agoLay down baselines for complexclip_*_invert and complexclip3_*.
jvanverth [Tue, 23 Dec 2014 16:34:00 +0000 (08:34 -0800)]
Lay down baselines for complexclip_*_invert and complexclip3_*.

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/821093007

9 years agofix for valgrind
joshualitt [Tue, 23 Dec 2014 15:58:02 +0000 (07:58 -0800)]
fix for valgrind

BUG=skia:

Review URL: https://codereview.chromium.org/816103003

9 years agoUpdate SKP version
skia.buildbots [Tue, 23 Dec 2014 07:08:17 +0000 (23:08 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/796993003

9 years agoignoring imageblur2 on galaxy
joshualitt [Tue, 23 Dec 2014 02:20:31 +0000 (18:20 -0800)]
ignoring imageblur2 on galaxy

NOTRY=True
TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/816893003

9 years agoadd picture to c api
reed [Tue, 23 Dec 2014 01:46:00 +0000 (17:46 -0800)]
add picture to c api

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/818153002

9 years agorebase
joshualitt [Tue, 23 Dec 2014 01:29:33 +0000 (17:29 -0800)]
rebase

TBR=
NOTRY=True
BUG=skia:

Review URL: https://codereview.chromium.org/818163002

9 years agoadd private flag for sprite-as-bitmap
reed [Tue, 23 Dec 2014 00:12:38 +0000 (16:12 -0800)]
add private flag for sprite-as-bitmap

BUG=skia:3272

Review URL: https://codereview.chromium.org/806853005

9 years agoThis CL cleans up the last remaining users of localCoordChange on paint
joshualitt [Mon, 22 Dec 2014 23:27:05 +0000 (15:27 -0800)]
This CL cleans up the last remaining users of localCoordChange on paint

NOTREECHECKS=True
BUG=skia:

Review URL: https://codereview.chromium.org/817853002

9 years agoRemove last trace of SK_LEGACY_ENCODE_BITMAP
scroggo [Mon, 22 Dec 2014 21:50:45 +0000 (13:50 -0800)]
Remove last trace of SK_LEGACY_ENCODE_BITMAP

Review URL: https://codereview.chromium.org/819173002

9 years agoinitial baselines for new GMs
reed [Mon, 22 Dec 2014 21:07:35 +0000 (13:07 -0800)]
initial baselines for new GMs

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/816453007

9 years agoadd testing flag to ignore saveLayer bounds
reed [Mon, 22 Dec 2014 19:58:30 +0000 (11:58 -0800)]
add testing flag to ignore saveLayer bounds

BUG=skia:

Review URL: https://codereview.chromium.org/819123003

9 years agoRename GrGpuGL -> GrGLGpu
jvanverth [Mon, 22 Dec 2014 19:44:19 +0000 (11:44 -0800)]
Rename GrGpuGL -> GrGLGpu

Review URL: https://codereview.chromium.org/824753002

9 years agoFix gyp for GrDisableColorXP
egdaniel [Mon, 22 Dec 2014 19:20:57 +0000 (11:20 -0800)]
Fix gyp for GrDisableColorXP

TBR=bsalomon@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/819923002

9 years agoFix conics for gpu GrAAHairLinePathRender
egdaniel [Mon, 22 Dec 2014 18:57:08 +0000 (10:57 -0800)]
Fix conics for gpu GrAAHairLinePathRender

This fixes one of the bugs discovered when rrects/ovals were changed to conics.
Specifcally the case where hairlines were being drawing randomly all of the place.
There is still a bug in a lot of our rrect/oval draws/clipping so the legacy flags
are still needed.

BUG=skia:3258

Review URL: https://codereview.chromium.org/822733003

9 years agoDisable GPU sRGB textures for the moment.
jvanverth [Mon, 22 Dec 2014 18:29:30 +0000 (10:29 -0800)]
Disable GPU sRGB textures for the moment.

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/817373002

9 years agoreenable complexclip3 for gpu
bsalomon [Mon, 22 Dec 2014 16:40:49 +0000 (08:40 -0800)]
reenable complexclip3 for gpu

Review URL: https://codereview.chromium.org/814273003

9 years agoAdd sRGB texture support.
jvanverth [Mon, 22 Dec 2014 16:31:49 +0000 (08:31 -0800)]
Add sRGB texture support.

Review URL: https://codereview.chromium.org/791823003

9 years agoremove dead SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER code
reed [Mon, 22 Dec 2014 15:37:29 +0000 (07:37 -0800)]
remove dead SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER code

BUG=skia:

Review URL: https://codereview.chromium.org/816273002

9 years agoAdd XP to handle the cases where we disable color write.
egdaniel [Mon, 22 Dec 2014 15:35:52 +0000 (07:35 -0800)]
Add XP to handle the cases where we disable color write.

BUG=skia:

Review URL: https://codereview.chromium.org/787233003

9 years agorebaseline after gradient fix
reed [Mon, 22 Dec 2014 15:22:20 +0000 (07:22 -0800)]
rebaseline after gradient fix

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/821703002

9 years agoUpdate ColorFilterImageFilter & BlurImageFilter debugger strings
robertphillips [Mon, 22 Dec 2014 14:52:04 +0000 (06:52 -0800)]
Update ColorFilterImageFilter & BlurImageFilter debugger strings

This CL allows us to see the image filter DAG in the debugger.

Review URL: https://codereview.chromium.org/811913004

9 years agorebaseline after gradient fix
reed [Mon, 22 Dec 2014 14:39:42 +0000 (06:39 -0800)]
rebaseline after gradient fix

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/794963004

9 years agosuppress testimagefilters-gpu on 10.9 for now
reed [Mon, 22 Dec 2014 14:30:41 +0000 (06:30 -0800)]
suppress testimagefilters-gpu on 10.9 for now

BUG=skia:3269
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/823603002

9 years agoremove suppression as all GMs have been rebased or were uneffected.
djsollen [Mon, 22 Dec 2014 14:26:47 +0000 (06:26 -0800)]
remove suppression as all GMs have been rebased or were uneffected.

Review URL: https://codereview.chromium.org/807653003

9 years agoremove flags now in chrome's SkUserConfig.h
reed [Mon, 22 Dec 2014 14:11:45 +0000 (06:11 -0800)]
remove flags now in chrome's SkUserConfig.h

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/824653002

9 years agoAvoid leaking render targets in debugger
kkinnunen [Mon, 22 Dec 2014 14:06:41 +0000 (06:06 -0800)]
Avoid leaking render targets in debugger

Render targets were not unreffed when QGLWidget::resizeGL was called.

Review URL: https://codereview.chromium.org/817243002

9 years agorebaseline
reed [Mon, 22 Dec 2014 14:06:38 +0000 (06:06 -0800)]
rebaseline

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/816383002

9 years agoInitialize wrapped render target wrap status correctly
kkinnunen [Mon, 22 Dec 2014 13:57:33 +0000 (05:57 -0800)]
Initialize wrapped render target wrap status correctly

Make GrGLGpu::onWrapBackendRenderTarget update "is wrapped" flag.
Otherwise accessing the flag results in uninitialized read, possibly
resulting in wrapped render target ending up in the cache.

Review URL: https://codereview.chromium.org/818023002

9 years agoMake debugger raster window background black
kkinnunen [Mon, 22 Dec 2014 13:56:45 +0000 (05:56 -0800)]
Make debugger raster window background black

Make debugger raster window background black. This helps to understand
where the picture boundaries are. It is probably more common for pictures to
have non-black background vs non-white background.

This makes raster window similar to opengl window.

Review URL: https://codereview.chromium.org/816363002

9 years agounsuppress after rebaselining
reed [Mon, 22 Dec 2014 13:52:30 +0000 (05:52 -0800)]
unsuppress after rebaselining

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/824703002

9 years agorebaselines for obsolete suppressions
reed [Mon, 22 Dec 2014 13:51:36 +0000 (05:51 -0800)]
rebaselines for obsolete suppressions

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/822723002

9 years agounsuppress after rebaselining
reed [Mon, 22 Dec 2014 13:20:11 +0000 (05:20 -0800)]
unsuppress after rebaselining

BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/824693002

9 years agoUpdate SKP version
skia.buildbots [Mon, 22 Dec 2014 07:02:07 +0000 (23:02 -0800)]
Update SKP version

Automatic commit by the RecreateSKPs bot.

TBR=

Review URL: https://codereview.chromium.org/822673002

9 years agoremove dead SK_SUPPORT_LEGACY_N32_NAME code
reed [Sun, 21 Dec 2014 22:29:04 +0000 (14:29 -0800)]
remove dead SK_SUPPORT_LEGACY_N32_NAME code

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/818903004

9 years agoremove dead SK_SUPPORT_LEGACY_GRTYPES dead
reed [Sun, 21 Dec 2014 19:52:15 +0000 (11:52 -0800)]
remove dead SK_SUPPORT_LEGACY_GRTYPES dead

BUG=skia:
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/823503002

9 years agoremoved dead SK_SUPPORT_LEGACY_DRAWTEXT_VIRTUAL code
reed [Sun, 21 Dec 2014 19:38:35 +0000 (11:38 -0800)]
removed dead SK_SUPPORT_LEGACY_DRAWTEXT_VIRTUAL code

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/817193002

9 years agoundef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES to fix callers
reed [Sun, 21 Dec 2014 19:06:06 +0000 (11:06 -0800)]
undef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES to fix callers

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/824533002

9 years agoremove dead SK_SUPPORT_LEGACY_DEVICE_CLEAR code
reed [Sun, 21 Dec 2014 19:03:36 +0000 (11:03 -0800)]
remove dead SK_SUPPORT_LEGACY_DEVICE_CLEAR code

BUG=skia:
TBR=robertphilips@google.com

Review URL: https://codereview.chromium.org/807083003