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

Add case for default fbo content would not changed between two readPxels calls. #2354

Merged
merged 1 commit into from Apr 5, 2017

Conversation

xhcao
Copy link
Contributor

@xhcao xhcao commented Mar 29, 2017

It seems that every readPixels call will trigger CMAA operation in
Chromium if CMAA is enabled. If there are not drawing operations
between two readPixels calls, fbo content should not be changed.

@xhcao
Copy link
Contributor Author

xhcao commented Mar 29, 2017

This case is testing for https://codereview.chromium.org/2597933002/

Copy link
Contributor

@zhenyao zhenyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test looks good

@@ -1,3 +1,3 @@
read-pixels-pack-alignment.html
read-pixels-test.html

fbo-remains-unchanged-after-read-pixels.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add 1.0.4 condition to the new test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhenyao , why need to add 1.0.4 for the new test? Is the reason that it is CMAA special case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All new tests should have the min version condition so that browsers passing older version of conformance won't regress; it's also for bookkeeping purpose so people know this is a newly added tests after 1.0.3 snapshot.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had added the min version for this test, please help to review it again, thank you.

@@ -1,3 +1,3 @@
read-pixels-pack-alignment.html
read-pixels-test.html

--min-version 1.0.4 fbo-remains-unchanged-after-read-pixels.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I didn't catch this earlier, but please follow alphabetical order.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, late reply for vacation. I had ordered these files according alphabetical order.

…xels calls.

It seems that every readPixels call will trigger CMAA operation in
Chromium if CMAA is enabled. If there are not drawing operations
between two readPixels calls, fbo content should not be changed.
@zhenyao
Copy link
Contributor

zhenyao commented Apr 5, 2017

lgtm
thanks

@zhenyao zhenyao merged commit 32cfddc into KhronosGroup:master Apr 5, 2017
@ds-hwang
Copy link
Contributor

ds-hwang commented Apr 8, 2017

lgtm after mass. Thanks!

xlai-o pushed a commit to xlai-o/WebGL that referenced this pull request Apr 18, 2017
…xels calls. (KhronosGroup#2354)

It seems that every readPixels call will trigger CMAA operation in
Chromium if CMAA is enabled. If there are not drawing operations
between two readPixels calls, fbo content should not be changed.
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.

None yet

3 participants