New issue
Advanced search Search tips

Issue 599185 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature



Sign in to add a comment

Need a chrome.gpuBenchmarking.printToSkPicture equivalent for printing.

Project Member Reported by halcanary@google.com, Mar 30 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2687.0 Safari/537.36

Steps to reproduce the problem:
This feature would be used by the Skia team to test the printing workflow from within our testing tools.

This would print to a series of SKP files rather than to a printer. 

What is the expected behavior?

What went wrong?
.

Did this work before? No 

Chrome version: 51.0.2687.0  Channel: n/a
OS Version: 
Flash Version: Shockwave Flash 21.0 r0
 
Cc: rmis...@chromium.org
Labels: -OS-Linux -Pri-2 -Via-Wizard Pri-3
Owner: halcanary@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by rmis...@google.com, Apr 11 2016

Blocking: skia:5183

Comment 3 by rmis...@google.com, Apr 11 2016

Blocking: -skia:5183
Project Member

Comment 4 by sheriffbot@chromium.org, Jun 3 2016

Labels: Hotlist-Google
Components: Internals>Printing
Labels: OS-All
Status: Started (was: Assigned)
Project Member

Comment 8 by bugdroid1@chromium.org, Aug 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2510d9da2799341fc2acd774088a9819bcd6c71e

commit 2510d9da2799341fc2acd774088a9819bcd6c71e
Author: halcanary <halcanary@google.com>
Date: Tue Aug 23 17:29:37 2016

chrome.gpuBenchmarking.printPagesToSkPictures

To use:
Launch Chrome with

    --enable-gpu-benchmarking --no-sandbox

In the javascript console,

    chrome.gpuBenchmarking.printPagesToSkPictures('/tmp/file.mskp')

Motivation: make debugging printing issues easier.

BUG= 599185 

Review-Url: https://codereview.chromium.org/2265483002
Cr-Commit-Position: refs/heads/master@{#413775}

[modify] https://crrev.com/2510d9da2799341fc2acd774088a9819bcd6c71e/content/renderer/gpu/gpu_benchmarking_extension.cc
[modify] https://crrev.com/2510d9da2799341fc2acd774088a9819bcd6c71e/content/renderer/gpu/gpu_benchmarking_extension.h

Status: Fixed (was: Started)

Sign in to add a comment