Source code
Revision control
Copy as Markdown
Other Tools
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
#ifndef MOZILLA_GFX_DRAWEVENTRECORDERTYPES_H_
#define MOZILLA_GFX_DRAWEVENTRECORDERTYPES_H_
#include "mozilla/RefPtr.h"
#include <deque>
namespace mozilla {
namespace gfx {
class SourceSurface;
// Pull these out of DrawEventRecorderPrivate to make them forward-decl-able.
struct DrawEventRecorderPrivate_ExternalSurfaceEntry {
RefPtr<SourceSurface> mSurface;
int64_t mEventCount = -1;
};
using DrawEventRecorderPrivate_ExternalSurfacesHolder =
std::deque<DrawEventRecorderPrivate_ExternalSurfaceEntry>;
} // namespace gfx
} // namespace mozilla
#endif /* MOZILLA_GFX_DRAWEVENTRECORDERTYPES_H_ */