|
Surfaces should acknowledge frame submissions
Previously, there was no way for clients of the surfaces service to
appropriately rate-limit their frame submissions. We tried using the "return
resources" signal to rate-limit, but that's really a measure of how quickly
you're submitting new resources rather than how quickly the system is putting
up frames.
Currently, only the Sky compositor listens to this signal. Using this signal,
we're able to run sky/examples/spinning-square.sky in sync with the surfaces
service (that is, submitting exactly one frames every 17ms).
R=jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/3374c8e724eb43c7ec1813999144dcc5f435c219
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+88 lines, -68 lines) |
Patch |
 |
M |
examples/bitmap_uploader/bitmap_uploader.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
examples/ganesh_app/texture_uploader.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
examples/surfaces_app/child_gl_impl.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
examples/surfaces_app/child_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
examples/surfaces_app/embedder.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/aura/surface_binding.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/cc/output_surface_mojo.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/native_viewport/viewport_surface.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/public/interfaces/surfaces/surfaces.mojom
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
mojo/services/surfaces/surfaces_impl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/surfaces/surfaces_impl.cc
|
View
|
|
4 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/services/surfaces/surfaces_service_application.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/services/view_manager/display_manager.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/compositor/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/compositor/layer_host.h
|
View
|
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/layer_host.cc
|
View
|
|
5 chunks |
+38 lines, -36 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/surface_holder.h
|
View
|
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/compositor/surface_holder.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|