New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OffscreenCanvas API #22168
Closed
PrayaniSingh0106
wants to merge
13
commits into
servo:master
from
PrayaniSingh0106:OffscreenCanvasAPI
+231
−1
Closed
OffscreenCanvas API #22168
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
03a45c5
added prefrences for OffscreenCanvas
maharsh312 893ae3b
Added webidl file for OffscreenCanvas
Chiaggs 2e37c91
New .webidl file added
PrayaniSingh0106 e81319d
Merge branch 'master' of https://github.com/PrayaniSingh0106/servo
Chiaggs 447cac6
Merge pull request #1 from PrayaniSingh0106/ServoOSS
PrayaniSingh0106 5e865b8
Merge branch 'master' of https://github.com/PrayaniSingh0106/servo
Chiaggs fd57e91
Offscreen canvas
PrayaniSingh0106 b7d443e
Merge branch 'master' into ServoOSS
PrayaniSingh0106 84e9bd2
Merge pull request #2 from PrayaniSingh0106/ServoOSS
PrayaniSingh0106 6efbc8d
added offscreencanvas
maharsh312 555af4f
added a file
Chiaggs a51bb61
Fixed few errors following Josh's review
PrayaniSingh0106 595b537
Merge pull request #5 from PrayaniSingh0106/master
PrayaniSingh0106 File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.
New .webidl file added
New .webidl file added
- Loading branch information
commit 2e37c913de9e4a9efd9a077bf8f6dbe57f985664
| @@ -0,0 +1,28 @@ | ||
| /* This Source Code Form is subject to the terms of the Mozilla Public | ||
| * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
|
||
|
|
||
|
|
||
| [Exposed=(Window,Worker)] | ||
| [Pref="dom.offscreen_canvas.enabled"] | ||
| interface OffscreenCanvasRenderingContext2D { | ||
|
||
| void commit(); | ||
| readonly attribute OffscreenCanvas canvas; | ||
| }; | ||
|
|
||
| OffscreenCanvasRenderingContext2D includes CanvasState; | ||
| OffscreenCanvasRenderingContext2D includes CanvasTransform; | ||
| OffscreenCanvasRenderingContext2D includes CanvasCompositing; | ||
| OffscreenCanvasRenderingContext2D includes CanvasImageSmoothing; | ||
| OffscreenCanvasRenderingContext2D includes CanvasFillStrokeStyles; | ||
| OffscreenCanvasRenderingContext2D includes CanvasShadowStyles; | ||
| OffscreenCanvasRenderingContext2D includes CanvasFilters; | ||
| OffscreenCanvasRenderingContext2D includes CanvasRect; | ||
| OffscreenCanvasRenderingContext2D includes CanvasDrawPath; | ||
| OffscreenCanvasRenderingContext2D includes CanvasText; | ||
| OffscreenCanvasRenderingContext2D includes CanvasDrawImage; | ||
| OffscreenCanvasRenderingContext2D includes CanvasImageData; | ||
| OffscreenCanvasRenderingContext2D includes CanvasPathDrawingStyles; | ||
| OffscreenCanvasRenderingContext2D includes CanvasTextDrawingStyles; | ||
| OffscreenCanvasRenderingContext2D includes CanvasPath; | ||
ProTip!
Use n and p to navigate between commits in a pull request.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
TravisCI doesn't like that this file is named
OffscreenCanvasRenderingContext2d.webidl, while the interface is namedOffscreenCanvasRenderingContext2D. The filename should match the interface name (ie.2D, not2d).