-
Notifications
You must be signed in to change notification settings - Fork 668
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
Test OffscreenCanvas.transferToImageBitmap compositing steps (#3612) #3643
base: main
Are you sure you want to change the base?
Test OffscreenCanvas.transferToImageBitmap compositing steps (#3612) #3643
Conversation
a00b946
to
1d65f4f
Compare
3044345
to
44dde59
Compare
…Group#3612) Test following spec clarifications: * the value of preserveDrawingBuffer will have no effect * the contents of any depth and/or stencil buffers will be cleared to initial values
44dde59
to
23e0cc2
Compare
gl.bindAttribLocation(p, 0, "a_pos"); | ||
gl.linkProgram(p); | ||
gl.useProgram(p); | ||
gl.viewport(0, 0, 128, 128); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gl.viewport(0, 0, 128, 128); | |
gl.viewport(0, 0, gl.canvas.width, gl.canvas.height); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice to hardcode fewer things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for dropping this - looks good as long as it's testing the agreed-upon spec.
Test following spec clarifications: