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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_linux.cc

Issue 685983005: gpu: Associate all GpuMemoryBuffers with unique IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more ozone build fix Created 6 years, 1 month 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: content/common/gpu/gpu_memory_buffer_factory_linux.cc
diff --git a/content/common/gpu/gpu_memory_buffer_factory_linux.cc b/content/common/gpu/gpu_memory_buffer_factory_linux.cc
index 10580f974b2e5ef51002c29fdd59a4977037d596..6746551453350f5f664eb1bb1a441c148967aba7 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_linux.cc
+++ b/content/common/gpu/gpu_memory_buffer_factory_linux.cc
@@ -17,15 +17,18 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory,
public:
// Overridden from GpuMemoryBufferFactory:
gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer(
- const gfx::GpuMemoryBufferHandle& handle,
+ gfx::GpuMemoryBufferType type,
+ gfx::GpuMemoryBufferId id,
const gfx::Size& size,
gfx::GpuMemoryBuffer::Format format,
- gfx::GpuMemoryBuffer::Usage usage) override {
+ gfx::GpuMemoryBuffer::Usage usage,
+ int client_id) override {
NOTREACHED();
return gfx::GpuMemoryBufferHandle();
}
- void DestroyGpuMemoryBuffer(
- const gfx::GpuMemoryBufferHandle& handle) override {
+ void DestroyGpuMemoryBuffer(gfx::GpuMemoryBufferType type,
+ gfx::GpuMemoryBufferId id,
+ int client_id) override {
NOTREACHED();
}
gpu::ImageFactory* AsImageFactory() override { return this; }
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_io_surface.cc ('k') | content/common/gpu/gpu_memory_buffer_factory_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698