Bug 96746 - Web Inspector: [WebGL] First step towards 2D canvas instrumentation in injected script
Summary: Web Inspector: [WebGL] First step towards 2D canvas instrumentation in inject...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Adaikin
URL:
Keywords:
Depends on:
Blocks: 97203
  Show dependency treegraph
 
Reported: 2012-09-14 03:17 PDT by Andrey Adaikin
Modified: 2012-09-24 09:59 PDT (History)
11 users (show)

See Also:


Attachments
Patch (15.60 KB, patch)
2012-09-14 03:20 PDT, Andrey Adaikin
no flags Details | Formatted Diff | Diff
Patch (16.09 KB, patch)
2012-09-19 03:29 PDT, Andrey Adaikin
no flags Details | Formatted Diff | Diff
Rebased (16.13 KB, patch)
2012-09-20 04:50 PDT, Andrey Adaikin
no flags Details | Formatted Diff | Diff
Rebased (16.18 KB, patch)
2012-09-24 08:25 PDT, Andrey Adaikin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Adaikin 2012-09-14 03:17:19 PDT
First step towards the 2D canvas instrumentation from the WebGL injected script module side.
Next: support this from the inspector instrumentation C++ code.
Next: rename [WebGL] to [Canvas]
Comment 1 Andrey Adaikin 2012-09-14 03:20:11 PDT
Created attachment 164087 [details]
Patch
Comment 2 Andrey Adaikin 2012-09-14 03:25:07 PDT
Note for reviewers:
- Canvas 2D context specs: http://www.w3.org/TR/2dcontext/
- Excerpts about the 2D context state:

Each context maintains a stack of drawing states. Drawing states consist of:

- The current transformation matrix.
- The current clipping region.
- The current values of the following attributes:
    strokeStyle, fillStyle, globalAlpha, lineWidth, lineCap, lineJoin, miterLimit, shadowOffsetX, shadowOffsetY, shadowBlur, shadowColor, globalCompositeOperation, font, textAlign, textBaseline.
- The current default path is NOT part of the drawing state. The current default path is persistent, and can only be reset using the beginPath() method.
Comment 3 Vsevolod Vlasov 2012-09-19 00:53:49 PDT
Comment on attachment 164087 [details]
Patch

Please explain what you are doing here in ChangeLog.
Comment 4 Andrey Adaikin 2012-09-19 03:29:33 PDT
Created attachment 164706 [details]
Patch
Comment 5 Andrey Adaikin 2012-09-20 04:50:50 PDT
Created attachment 164893 [details]
Rebased
Comment 6 Andrey Adaikin 2012-09-24 08:25:45 PDT
Created attachment 165387 [details]
Rebased
Comment 7 WebKit Review Bot 2012-09-24 09:49:58 PDT
Comment on attachment 165387 [details]
Rebased

Rejecting attachment 165387 [details] from commit-queue.

aandrey@chromium.org does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.
Comment 8 WebKit Review Bot 2012-09-24 09:59:00 PDT
Comment on attachment 165387 [details]
Rebased

Clearing flags on attachment: 165387

Committed r129383: <http://trac.webkit.org/changeset/129383>
Comment 9 WebKit Review Bot 2012-09-24 09:59:04 PDT
All reviewed patches have been landed.  Closing bug.