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

Implement WebGL2RenderingContext.invalidateFramebuffer and invalidateSubFramebuffer #20529

Closed
nox opened this issue Apr 4, 2018 · 2 comments
Closed

Comments

@nox nox added the A-content/webgl label Apr 4, 2018
@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Mar 20, 2020

This might be tricky on Mac, because the underlying glInvalidateSubFramebuffer doesn't exist:

 ▶ TIMEOUT [expected ERROR] /_webgl/conformance2/renderbuffers/invalidate-framebuffer.html
  │ 
  │ _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
  │ gl function was not loaded (thread WebGL thread, at /Users/worker/tasks/task_1584659365/repo/target/release/build/sparkle-bea7367a6ac56ef9/out/gl_bindings.rs:1411)
  │ stack backtrace:
  │    0: <servo::backtrace::Print as core::fmt::Debug>::fmt
  │    1: core::fmt::write
  │    2: std::io::Write::write_fmt
  │    3: servo::backtrace::print
  │    4: servo::main::{{closure}}
  │    5: std::panicking::rust_panic_with_hook
  │    6: std::panicking::begin_panic
  │    7: sparkle::gl::ffi_gl::missing_fn_panic
  │    8: sparkle::gl::Gl::invalidate_sub_framebuffer
  │    9: canvas::webgl_thread::WebGLImpl::apply
  │   10: canvas::webgl_thread::WebGLThread::handle_msg
  │   11: canvas::webgl_thread::WebGLThread::process
  │   12: std::sys_common::backtrace::__rust_begin_short_backtrace
  │   13: core::ops::function::FnOnce::call_once{{vtable.shim}}
  │   14: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  │   15: std::sys::unix::thread::Thread::new::thread_start
  │   16: _pthread_body
  │   17: _pthread_start
  └ [2020-03-20T00:13:34Z ERROR servo] gl function was not loaded
@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Mar 20, 2020

@mmatyas mmatyas mentioned this issue Apr 22, 2020
4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.