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

Side by Side Diff: ui/compositor/compositor_util.h

Issue 2879463002: Initialize RendererSettings in ContextFactory (Closed)
Patch Set: Address comments Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_
6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_
7
8 #include "base/callback.h"
9 #include "ui/compositor/compositor_export.h"
10 #include "ui/gfx/buffer_types.h"
11
12 namespace cc {
13 class RendererSettings;
14 }
15
16 namespace ui {
17
18 COMPOSITOR_EXPORT void InitializeRendererSettings(
danakj 2017/05/11 20:10:16 how about making this return RendererSettings inst
Alex Z. 2017/05/12 14:12:36 Done.
19 const base::Callback<uint32_t(gfx::BufferFormat, gfx::BufferUsage)>&
20 texture_target_callback,
21 cc::RendererSettings* renderer_settings);
22
23 } // namespace ui
24
25 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698