summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gpu_memory_buffer.cc
blob: 3e36cd1bc06e6fbf1496c1cbb91f8171acd94655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/gpu_memory_buffer.h"

namespace gfx {

GpuMemoryBufferHandle::GpuMemoryBufferHandle()
    : type(EMPTY_BUFFER),
      handle(base::SharedMemory::NULLHandle())
#if defined(OS_MACOSX)
      ,
      io_surface_id(0u)
#endif
#if defined(OS_ANDROID)
      ,
      buffer_id(0)
#endif
#if defined(USE_X11)
      ,
      pixmap(0)
#endif
{
}

GpuMemoryBuffer::GpuMemoryBuffer() {}

GpuMemoryBuffer::~GpuMemoryBuffer() {}

}  // namespace gfx