Skip to content
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

ctx.createPattern() for fillRect (draft version) #34

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

lekzd
Copy link

@lekzd lekzd commented Dec 27, 2015

No description provided.

kg and others added 22 commits April 13, 2012 14:13
…, return a normal 2d context instead. webgl-2d contexts have an isWebGL property to let you know that you got a GL context.

Use premultiplied alpha instead of normal alpha blending. Fixes ringing/color bleeding artifacts around scaled images.
Implement the source-over, copy and lighter globalCompositeOperations. Warn about unsupported globalCompositeOperations.
Implement globalAlpha.
Handle a canvas being passed to drawImage instead of an image.
Allow invalidating the contents of webgl-2d's cached texture by setting 'isDirty=true' on the source image/canvas.
(until something like Object.prototype.watch is standard)
(fallback to regular 2d context)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants