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

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

Issue 2585653003: gpu: Move buffer format to target texture map into gpu host. (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « gpu/ipc/host/gpu_memory_buffer_support.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6188eb06e2c3375d19c43d6cd19d7bc2bd7700e4..da0b1263ac75db1db3deed4f305791251d9ea0cd 100644
--- a/ui/aura/mus/mus_context_factory.cc
+++ b/ui/aura/mus/mus_context_factory.cc
@@ -12,10 +12,6 @@
#include "ui/gl/gl_bindings.h"
namespace aura {
-namespace {
-
-
-} // namespace
MusContextFactory::MusContextFactory(ui::Gpu* gpu) : gpu_(gpu) {}
@@ -51,7 +47,7 @@ bool MusContextFactory::DoesCreateTestContexts() {
uint32_t MusContextFactory::GetImageTextureTarget(gfx::BufferFormat format,
gfx::BufferUsage usage) {
- // No GpuMemoryBuffer support, so just return GL_TEXTURE_2D.
+ // TODO(sad): http://crbug.com/675431
return GL_TEXTURE_2D;
}
« no previous file with comments | « gpu/ipc/host/gpu_memory_buffer_support.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698