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

Unified Diff: ui/aura/mus/mus_context_factory.cc

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/aura/mus/mus_context_factory.cc
diff --git a/ui/aura/mus/mus_context_factory.cc b/ui/aura/mus/mus_context_factory.cc
index fd6cd926e637a4ca7a73f3e62442be340e8f24b8..c9cd05dfc39bcce95ad0521ccd0778dfd55c717a 100644
--- a/ui/aura/mus/mus_context_factory.cc
+++ b/ui/aura/mus/mus_context_factory.cc
@@ -21,10 +21,7 @@ namespace aura {
MusContextFactory::MusContextFactory(ui::Gpu* gpu)
: gpu_(gpu),
renderer_settings_(ui::CreateRendererSettings(
- [](gfx::BufferFormat format, gfx::BufferUsage usage) -> uint32_t {
- // TODO(sad): http://crbug.com/675431
- return GL_TEXTURE_2D;
- })),
+ content::GetBufferToTextureTargetMap()),
boliu 2017/06/12 16:31:39 ui can't depend on content. does this even compile
sujith 2017/06/14 10:30:18 i was building for android, so it doesn't throw an
weak_ptr_factory_(this) {}
MusContextFactory::~MusContextFactory() {}

Powered by Google App Engine
This is Rietveld 408576698