aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-06-29 22:37:30 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-07-01 20:37:17 +0530
commit575036bb88163807abbfb46773b7e124fd196fa4 (patch)
treeb1416cdce0bd6908827f242490c6ba8f4587a7be /components/constellation
parent19b36bd7952630d2e4a749565c570d3cca217658 (diff)
downloadservo-575036bb88163807abbfb46773b7e124fd196fa4.tar.gz
servo-575036bb88163807abbfb46773b7e124fd196fa4.zip
Implement GPUBuffer.getMappedRange()
Diffstat (limited to 'components/constellation')
-rw-r--r--components/constellation/constellation.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs
index d3b3513a98e..1fe8bb034f2 100644
--- a/components/constellation/constellation.rs
+++ b/components/constellation/constellation.rs
@@ -2769,13 +2769,6 @@ where
warn!("Exit Canvas Paint thread failed ({})", e);
}
- if let Some(webgl_threads) = self.webgl_threads.as_ref() {
- debug!("Exiting WebGL thread.");
- if let Err(e) = webgl_threads.exit() {
- warn!("Exit WebGL Thread failed ({})", e);
- }
- }
-
debug!("Exiting WebGPU threads.");
let receivers = self
.browsing_context_group_set
@@ -2800,6 +2793,13 @@ where
}
}
+ if let Some(webgl_threads) = self.webgl_threads.as_ref() {
+ debug!("Exiting WebGL thread.");
+ if let Err(e) = webgl_threads.exit() {
+ warn!("Exit WebGL Thread failed ({})", e);
+ }
+ }
+
debug!("Exiting GLPlayer thread.");
if let Some(glplayer_threads) = self.glplayer_threads.as_ref() {
if let Err(e) = glplayer_threads.exit() {