зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 73c6b1fcd058 (bug 1024473)
This commit is contained in:
Родитель
a168c702ff
Коммит
e982a42374
|
@ -149,14 +149,14 @@ ClientCanvasLayer::RenderLayer()
|
|||
PROFILER_LABEL("ClientCanvasLayer", "RenderLayer",
|
||||
js::ProfileEntry::Category::GRAPHICS);
|
||||
|
||||
if (GetMaskLayer()) {
|
||||
ToClientLayer(GetMaskLayer())->RenderLayer();
|
||||
}
|
||||
|
||||
if (!IsDirty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (GetMaskLayer()) {
|
||||
ToClientLayer(GetMaskLayer())->RenderLayer();
|
||||
}
|
||||
|
||||
if (!mCanvasClient) {
|
||||
TextureFlags flags = TextureFlags::IMMEDIATE_UPLOAD;
|
||||
if (mNeedsYFlip) {
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<title>Mask layer on canvas layer needs to update even if canvas wasn't dirtied</title>
|
||||
</style>
|
||||
<canvas id="canvas" height="100" width="200" style="border-radius: 40px;"></canvas>
|
||||
<script>
|
||||
var canvas = document.getElementById("canvas");
|
||||
var cx = canvas.getContext("2d");
|
||||
cx.fillStyle="lime";
|
||||
cx.fillRect(0, 0, 200, 100);
|
||||
</script>
|
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<title>Mask layer on canvas layer needs to update even if canvas wasn't dirtied</title>
|
||||
</style>
|
||||
<canvas id="canvas" height="100" width="200" style="border-radius: 20px;"></canvas>
|
||||
<script>
|
||||
var canvas = document.getElementById("canvas");
|
||||
var cx = canvas.getContext("2d");
|
||||
cx.fillStyle="lime";
|
||||
cx.fillRect(0, 0, 200, 100);
|
||||
|
||||
window.addEventListener("MozReftestInvalidate")
|
||||
setTimeout(function() {
|
||||
canvas.style.borderRadius = "40px";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 1000);
|
||||
</script>
|
|
@ -1811,5 +1811,4 @@ skip-if(Android) == 966510-2.html 966510-2-ref.html # same as above
|
|||
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
|
||||
pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
|
||||
pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html
|
||||
== 1024473-1.html 1024473-1-ref.html
|
||||
pref(browser.display.use_document_fonts,0) == 1022481-1.html 1022481-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче