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

Unified Diff: ui/compositor/compositor_util.h

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: texture_targets as reference 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..c75d4908baa350b17639b4068f2ce68775885665 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"
boliu 2017/06/20 22:44:33 ditto about forward declaration, after fixing comm
#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(
+ const cc::BufferToTextureTargetMap image_targets);
boliu 2017/06/20 22:44:33 const &
sujith 2017/06/22 07:30:36 Done.
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698