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

Unified Diff: content/browser/compositor/gpu_process_transport_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 | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index b2d511e37a35816adb72ac5a07beb3e70984330d..63f8aa616fa29292f78fdc50fe0545ad28165841 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -47,6 +47,7 @@
#include "gpu/command_buffer/client/shared_memory_limits.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "gpu/ipc/client/gpu_channel_host.h"
+#include "gpu/ipc/host/gpu_memory_buffer_support.h"
#include "services/service_manager/runner/common/client_util.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "ui/compositor/compositor.h"
@@ -662,7 +663,7 @@ bool GpuProcessTransportFactory::DoesCreateTestContexts() { return false; }
uint32_t GpuProcessTransportFactory::GetImageTextureTarget(
gfx::BufferFormat format,
gfx::BufferUsage usage) {
- return BrowserGpuMemoryBufferManager::GetImageTextureTarget(format, usage);
+ return gpu::GetImageTextureTarget(format, usage);
}
gpu::GpuMemoryBufferManager*
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698