Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3263)

Unified Diff: cc/layers/append_quads_data.h

Issue 2803913004: cc: Introduce embedded_surfaces in metadata for surface Ids in draw quads (Closed)
Patch Set: Addressed Dana's comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/layers/append_quads_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/append_quads_data.h
diff --git a/cc/layers/append_quads_data.h b/cc/layers/append_quads_data.h
index cf17b5b28c5d8ec6f860e51a9ddd724bb4e4cf25..45afa469072cb4ed83434d10f29267400d3f62d0 100644
--- a/cc/layers/append_quads_data.h
+++ b/cc/layers/append_quads_data.h
@@ -6,11 +6,19 @@
#define CC_LAYERS_APPEND_QUADS_DATA_H_
#include <stdint.h>
+#include <vector>
+
+#include "cc/cc_export.h"
+#include "cc/surfaces/surface_id.h"
namespace cc {
// Set by the layer appending quads.
-struct AppendQuadsData {
+class CC_EXPORT AppendQuadsData {
+ public:
+ AppendQuadsData();
+ ~AppendQuadsData();
+
int64_t num_incomplete_tiles = 0;
int64_t num_missing_tiles = 0;
int64_t visible_layer_area = 0;
@@ -22,6 +30,8 @@ struct AppendQuadsData {
int64_t checkerboarded_no_recording_content_area = 0;
// This is the area within interest rect.
int64_t checkerboarded_needs_raster_content_area = 0;
+ // This is the set of surface IDs embedded in SurfaceDrawQuads.
+ std::vector<SurfaceId> embedded_surfaces;
};
} // namespace cc
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/layers/append_quads_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698