forked from mirrors/gecko-dev
Where appropriate, `#include "Layers.h"` is replaced with more specific inclusions. Differential Revision: https://phabricator.services.mozilla.com/D162934
26 lines
573 B
C++
26 lines
573 B
C++
/* vim:set ts=2 sw=2 sts=2 et: */
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/
|
|
*/
|
|
|
|
#ifndef GFX_TEST_LAYERS_H
|
|
#define GFX_TEST_LAYERS_H
|
|
|
|
#include "nsTArray.h"
|
|
#include "mozilla/layers/ISurfaceAllocator.h"
|
|
|
|
namespace mozilla {
|
|
namespace layers {
|
|
|
|
class TestSurfaceAllocator final : public ISurfaceAllocator {
|
|
public:
|
|
TestSurfaceAllocator() = default;
|
|
virtual ~TestSurfaceAllocator() = default;
|
|
|
|
bool IsSameProcess() const override { return true; }
|
|
};
|
|
|
|
} // namespace layers
|
|
} // namespace mozilla
|
|
|
|
#endif
|