Skip to content

Commit

Permalink
Bug 1509302 - Update webrender to commit 29dab25c587b38ecbf4713cda44e…
Browse files Browse the repository at this point in the history
…87b78846c7f6 (WR PR #3336). r=kats

servo/webrender#3336

Differential Revision: https://phabricator.services.mozilla.com/D12696

UltraBlame original commit: 76fb27eae36a4c9b9c01b2a71de2b535cf3d3643
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent 2c9a322 commit 4ce5dc0
Show file tree
Hide file tree
Showing 6 changed files with 337 additions and 85 deletions.
55 changes: 43 additions & 12 deletions gfx/webrender/src/batch.rs
Expand Up @@ -150,6 +150,7 @@ prim_store
EdgeAaSegmentMask
ImageSource
PrimitiveInstanceKind
PrimitiveStore
}
;
use
Expand Down Expand Up @@ -5743,8 +5744,7 @@ Image
{
alpha_type
request
ref
opacity_binding
opacity_binding_index
ref
visible_tiles
.
Expand All @@ -5760,6 +5760,18 @@ is_empty
=
>
{
let
opacity_binding
=
ctx
.
prim_store
.
get_opacity_binding
(
opacity_binding_index
)
;
for
tile
in
Expand Down Expand Up @@ -5796,8 +5808,6 @@ alpha_type
get_shader_opacity
(
opacity_binding
.
current
)
)
{
Expand Down Expand Up @@ -5983,6 +5993,9 @@ resource_cache
gpu_cache
deferred_resolves
prim_instance
ctx
.
prim_store
)
{
let
Expand Down Expand Up @@ -7201,6 +7214,10 @@ prim_instance
:
&
PrimitiveInstance
prim_store
:
&
PrimitiveStore
)
-
>
Expand All @@ -7223,8 +7240,7 @@ alpha_type
request
ref
source
ref
opacity_binding
opacity_binding_index
.
.
}
Expand Down Expand Up @@ -7360,6 +7376,16 @@ cache_item
texture_id
)
;
let
opacity_binding
=
prim_store
.
get_opacity_binding
(
opacity_binding_index
)
;
Some
(
BrushBatchParameters
Expand Down Expand Up @@ -7407,8 +7433,6 @@ i32
get_shader_opacity
(
opacity_binding
.
current
)
]
cache_item
Expand Down Expand Up @@ -7709,14 +7733,23 @@ BrushKind
:
Solid
{
ref
opacity_binding
opacity_binding_index
.
.
}
=
>
{
let
opacity_binding
=
prim_store
.
get_opacity_binding
(
opacity_binding_index
)
;
Some
(
BrushBatchParameters
Expand All @@ -7738,8 +7771,6 @@ no_texture
get_shader_opacity
(
opacity_binding
.
current
)
0
0
Expand Down
26 changes: 4 additions & 22 deletions gfx/webrender/src/border.rs
Expand Up @@ -109,12 +109,6 @@ RenderTaskCacheKeyKind
}
;
use
smallvec
:
:
SmallVec
;
use
util
:
:
Expand Down Expand Up @@ -3102,13 +3096,9 @@ border_segments
:
&
mut
SmallVec
Vec
<
[
BorderSegmentInfo
;
8
]
>
brush_segments
:
Expand Down Expand Up @@ -4814,13 +4804,9 @@ border_segments
:
&
mut
SmallVec
Vec
<
[
BorderSegmentInfo
;
8
]
>
do_aa
:
Expand Down Expand Up @@ -5052,13 +5038,9 @@ border_segments
:
&
mut
SmallVec
Vec
<
[
BorderSegmentInfo
;
8
]
>
do_aa
:
Expand Down Expand Up @@ -5733,7 +5715,7 @@ let
mut
border_segments
=
SmallVec
Vec
:
:
new
Expand Down
10 changes: 4 additions & 6 deletions gfx/webrender/src/display_list_flattener.rs
Expand Up @@ -242,10 +242,10 @@ prim_store
:
:
{
OpacityBinding
ScrollNodeAndClipChain
PictureIndex
register_prim_chase_id
OpacityBindingIndex
}
;
use
Expand Down Expand Up @@ -10267,14 +10267,12 @@ Vec
new
(
)
opacity_binding
opacity_binding_index
:
OpacityBinding
OpacityBindingIndex
:
:
new
(
)
INVALID
}
None
)
Expand Down

0 comments on commit 4ce5dc0

Please sign in to comment.