Chromium Code Reviews| Index: ui/gfx/gpu_memory_buffer.h |
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h |
| index 263a0ef41da40ddd140556c2ccc0d73d51a30afe..6d2738d7ebb9bc4c30bea0e28721aba38c737fb6 100644 |
| --- a/ui/gfx/gpu_memory_buffer.h |
| +++ b/ui/gfx/gpu_memory_buffer.h |
| @@ -9,6 +9,7 @@ |
| #include "base/trace_event/memory_dump_manager.h" |
| #include "build/build_config.h" |
| #include "ui/gfx/buffer_types.h" |
| +#include "ui/gfx/generic_shared_memory_tracing_id.h" |
| #include "ui/gfx/gfx_export.h" |
| extern "C" typedef struct _ClientBuffer* ClientBuffer; |
| @@ -24,7 +25,7 @@ enum GpuMemoryBufferType { |
| GPU_MEMORY_BUFFER_TYPE_LAST = OZONE_NATIVE_PIXMAP |
| }; |
| -using GpuMemoryBufferId = int32; |
| +using GpuMemoryBufferId = gfx::GenericSharedMemoryTracingId; |
|
reveman
2015/08/13 08:24:44
I'm not a fan of using something called a "tracing
danakj
2015/08/13 17:29:50
It is a tracing id though. For GpuMemoryBuffers we
reveman
2015/08/13 20:12:23
I don't know what it means to be a tracing id. Thi
danakj
2015/08/13 20:30:37
My understanding is that there are shared memory t
reveman
2015/08/13 20:52:23
GMBs, DiscardableMemory, IOSurfaces, SurfaceTextur
danakj
2015/08/13 21:20:26
OK if that's the case then I guess you're right an
|
| struct GFX_EXPORT GpuMemoryBufferHandle { |
| GpuMemoryBufferHandle(); |