blob: 14d556080feb7cecfd1d042ddb46894e64e7fbfc [file] [log] [blame]
// Copyright 2015 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 "base/file_descriptor_posix.h"
namespace gfx {
struct NativePixmapHandle {
// A file descriptor for the underlying memory object (usually dmabuf).
base::FileDescriptor fd;
// The stride to used when accessing the buffer via a memory mapping.
int32_t stride = 0;
} // namespace gfx