blob: 5da026af50241a963bc7189019dbc2befce584e0 [file] [log] [blame]
// 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"
#include "ui/gfx/generic_shared_memory_id.h"
namespace gfx {
: type(EMPTY_BUFFER), id(0), offset(0), stride(0) {}
// TODO( Reset |type| and possibly the handles on the
// moved-from object.
GpuMemoryBufferHandle::GpuMemoryBufferHandle(GpuMemoryBufferHandle&& other) =
GpuMemoryBufferHandle& GpuMemoryBufferHandle::operator=(
GpuMemoryBufferHandle&& other) = default;
GpuMemoryBufferHandle::~GpuMemoryBufferHandle() = default;
void GpuMemoryBuffer::SetColorSpace(const gfx::ColorSpace& color_space) {}
} // namespace gfx