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

Unified Diff: mojo/converters/surfaces/surfaces_type_converters.h

Issue 1325703002: Mandoline: Fix OOPIF high DPI sizing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hopefully fixed on Windows Created 5 years, 4 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: mojo/converters/surfaces/surfaces_type_converters.h
diff --git a/mojo/converters/surfaces/surfaces_type_converters.h b/mojo/converters/surfaces/surfaces_type_converters.h
index 0ce9ddbe9cce690e84d1845eed571287298ace51..1699d151ef93594618555bbeeb8b5c078fac6a45 100644
--- a/mojo/converters/surfaces/surfaces_type_converters.h
+++ b/mojo/converters/surfaces/surfaces_type_converters.h
@@ -19,6 +19,7 @@
namespace cc {
class CompositorFrame;
+class CompositorFrameMetadata;
class DrawQuad;
class RenderPass;
class RenderPassId;
@@ -72,6 +73,7 @@ TypeConverter<SharedQuadStatePtr, cc::SharedQuadState> {
scoped_ptr<cc::RenderPass> ConvertToRenderPass(
const mojo::PassPtr& input,
+ const mojo::CompositorFrameMetadataPtr& metadata,
CustomSurfaceConverter* custom_converter);
template <>
@@ -153,6 +155,19 @@ struct MOJO_SURFACES_EXPORT
const Array<ReturnedResourcePtr>& input);
};
+template <>
+struct MOJO_SURFACES_EXPORT
+ TypeConverter<CompositorFrameMetadataPtr, cc::CompositorFrameMetadata> {
+ static CompositorFrameMetadataPtr Convert(
+ const cc::CompositorFrameMetadata& input);
+};
+template <>
+struct MOJO_SURFACES_EXPORT
+ TypeConverter<cc::CompositorFrameMetadata, CompositorFrameMetadataPtr> {
+ static cc::CompositorFrameMetadata Convert(
+ const CompositorFrameMetadataPtr& input);
+};
+
scoped_ptr<cc::CompositorFrame> ConvertToCompositorFrame(
const mojo::CompositorFramePtr& input,
CustomSurfaceConverter* custom_converter);
« no previous file with comments | « mojo/converters/surfaces/custom_surface_converter.h ('k') | mojo/converters/surfaces/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698