Skip to content

Comments

Fix bug when blitting pixels outside read framebuffer#2086

Merged
zhenyao merged 1 commit intoKhronosGroup:masterfrom
Richard-Yunchao:blitting-outofbounds
Oct 10, 2016
Merged

Fix bug when blitting pixels outside read framebuffer#2086
zhenyao merged 1 commit intoKhronosGroup:masterfrom
Richard-Yunchao:blitting-outofbounds

Conversation

@Richard-Yunchao
Copy link

@Richard-Yunchao Richard-Yunchao commented Oct 10, 2016

After holiday, I carefully revisited the behavior of blitting from pixels outside read framebuffer TO PIXELS OUTSIDE OF DRAW FRAMEBUFFER, I found that I misunderstand the behavior suggested in this issue: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=3576. The out-of-bounds pixels in dst region should be considered for scaling during blitting, although these outofbounds pixels in dst region will not be drew. But they should not be ignored.

This small pr will correct the behavior.

After this revision applied, this test can pass in Linux and Windows (But still fail on MacOSX as expected). PTAL. @zhenyao and @kenrussell .

@Kangz
Copy link
Contributor

Kangz commented Oct 10, 2016

LGTM.

@zhenyao
Copy link
Contributor

zhenyao commented Oct 10, 2016

lgtm

@zhenyao zhenyao merged commit 1db74f6 into KhronosGroup:master Oct 10, 2016
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.

3 participants