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

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

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: Unified BufferToTextureTargetMap for all the Processes Created 3 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 unified diff | Download patch
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 #include "ui/gfx/buffer_types.h"
12 13
13 namespace cc { 14 namespace cc {
14 class RendererSettings; 15 class RendererSettings;
15 } 16 }
16 17
17 namespace ui { 18 namespace ui {
18 19
19 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(uint32_t ( 20 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(
20 *get_texture_target)(gfx::BufferFormat format, gfx::BufferUsage usage)); 21 cc::BufferToTextureTargetMap image_targets);
reveman 2017/06/09 14:28:46 "const cc::BufferToTextureTargetMap& image_targets
sujith 2017/06/14 10:30:18 Done.
21 22
22 } // namespace ui 23 } // namespace ui
23 24
24 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ 25 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698