mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
webgl: Mark framebuffers as uninitialized when their attached renderbuffer's storage changes.
This commit is contained in:
parent
93fbc1575f
commit
59b8f971b5
6 changed files with 3 additions and 7 deletions
|
@ -532,6 +532,7 @@ impl WebGLFramebuffer {
|
|||
|
||||
pub fn invalidate_renderbuffer(&self, rb: &WebGLRenderbuffer) {
|
||||
self.with_matching_renderbuffers(rb, |_att, _| {
|
||||
self.is_initialized.set(false);
|
||||
self.update_status();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -145,6 +145,7 @@ impl WebGLRenderbuffer {
|
|||
};
|
||||
|
||||
self.internal_format.set(Some(internal_format));
|
||||
self.is_initialized.set(false);
|
||||
|
||||
// FIXME: Invalidate completeness after the call
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[uninitialized-test.html]
|
||||
disabled: https://github.com/servo/servo/issues/13710
|
||||
disabled: https://github.com/servo/servo/issues/21716
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[depth-renderbuffer-initialization.html]
|
||||
disabled: https://github.com/servo/servo/issues/13710
|
|
@ -1,2 +0,0 @@
|
|||
[renderbuffer-initialization.html]
|
||||
disabled: https://github.com/servo/servo/issues/13710
|
|
@ -1,2 +0,0 @@
|
|||
[stencil-renderbuffer-initialization.html]
|
||||
disabled: https://github.com/servo/servo/issues/13710
|
Loading…
Add table
Add a link
Reference in a new issue