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

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

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: nit taken care Created 3 years, 5 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
« no previous file with comments | « ui/aura/mus/mus_context_factory.cc ('k') | ui/compositor/compositor_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_
6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "cc/output/buffer_to_texture_target_map.h"
10 #include "ui/compositor/compositor_export.h" 11 #include "ui/compositor/compositor_export.h"
11 #include "ui/gfx/buffer_types.h"
12 12
13 namespace cc { 13 namespace cc {
14 class RendererSettings; 14 class RendererSettings;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 18
19 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(uint32_t ( 19 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(
20 *get_texture_target)(gfx::BufferFormat format, gfx::BufferUsage usage)); 20 const cc::BufferToTextureTargetMap& image_targets);
21 21
22 } // namespace ui 22 } // namespace ui
23 23
24 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ 24 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/mus_context_factory.cc ('k') | ui/compositor/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698