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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ui/compositor/compositor_util.h
diff --git a/ui/compositor/compositor_util.h b/ui/compositor/compositor_util.h
index 9164dba93dcf60d8e868d03cbb857a455d76750a..eb5bbe4240de921a404038290884c1114902cdcd 100644
--- a/ui/compositor/compositor_util.h
+++ b/ui/compositor/compositor_util.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include "cc/output/buffer_to_texture_target_map.h"
#include "ui/compositor/compositor_export.h"
#include "ui/gfx/buffer_types.h"
@@ -16,8 +17,8 @@ class RendererSettings;
namespace ui {
-COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(uint32_t (
- *get_texture_target)(gfx::BufferFormat format, gfx::BufferUsage usage));
+COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(
+ cc::BufferToTextureTargetMap image_targets);
reveman 2017/06/09 14:28:46 "const cc::BufferToTextureTargetMap& image_targets
sujith 2017/06/14 10:30:18 Done.
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698