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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h

Issue 557353002: Remove the assumption about client_id from gpu memory buffer allocation on the browser side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
index 53937cadcf81ba8bd42eb59668b6c54cc671d9a7..283f44fd3fbbfc1ceee33532d161aca99c5891df 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
@@ -19,6 +19,7 @@ class GpuMemoryBufferImplOzoneNativeBuffer : public GpuMemoryBufferImpl {
static void Create(const gfx::Size& size,
unsigned internalformat,
unsigned usage,
+ int client_id,
const CreationCallback& callback);
// Allocates an Ozone native buffer backed GPU memory buffer with |size| and
@@ -27,7 +28,7 @@ class GpuMemoryBufferImplOzoneNativeBuffer : public GpuMemoryBufferImpl {
const gfx::Size& size,
unsigned internalformat,
unsigned usage,
- int child_id,
+ int child_client_id,
const AllocationCallback& callback);
static bool IsFormatSupported(unsigned internalformat);

Powered by Google App Engine
This is Rietveld 408576698