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

Unified Diff: components/mus/public/cpp/surfaces/surfaces_utils.h

Issue 2075853004: Implement SharedQuadStateList StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sky's comments Created 4 years, 6 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
Index: components/mus/public/cpp/surfaces/surfaces_utils.h
diff --git a/components/mus/public/cpp/surfaces/surfaces_utils.h b/components/mus/public/cpp/surfaces/surfaces_utils.h
index 24a259d756220b185a562e98a978cb7c8dd7a7ae..631648399708e85be9a3485ffb2f7536dbea5ebb 100644
--- a/components/mus/public/cpp/surfaces/surfaces_utils.h
+++ b/components/mus/public/cpp/surfaces/surfaces_utils.h
@@ -19,8 +19,9 @@ class Size;
namespace mojo {
-MOJO_SURFACES_EXPORT cc::SharedQuadState CreateDefaultSQS(
- const gfx::Size& size);
+// Initializes the SharedQuadState |out| to a visible quad rect of |size|.
+MOJO_SURFACES_EXPORT void ConfigureSharedQuadState(const gfx::Size& size,
+ cc::SharedQuadState* out);
// Constructs a pass with the given id, output_rect and damage_rect set to rect,
// transform_to_root_target set to identity and has_transparent_background set
« no previous file with comments | « components/mus/public/cpp/surfaces/surfaces_type_converters.cc ('k') | components/mus/public/cpp/surfaces/surfaces_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698