mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
task -> thread
This commit is contained in:
parent
f00532bab0
commit
1f02c4ebbb
119 changed files with 1209 additions and 1207 deletions
|
@ -100,9 +100,9 @@ impl WebGLShader {
|
|||
&BuiltInResources::default()).unwrap();
|
||||
match validator.compile_and_translate(&[source.as_bytes()]) {
|
||||
Ok(translated_source) => {
|
||||
// NOTE: At this point we should be pretty sure that the compilation in the paint task
|
||||
// NOTE: At this point we should be pretty sure that the compilation in the paint thread
|
||||
// will succeed.
|
||||
// It could be interesting to retrieve the info log from the paint task though
|
||||
// It could be interesting to retrieve the info log from the paint thread though
|
||||
let msg = CanvasWebGLMsg::CompileShader(self.id, translated_source);
|
||||
self.renderer.send(CanvasMsg::WebGL(msg)).unwrap();
|
||||
self.compilation_status.set(ShaderCompilationStatus::Succeeded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue