2017-03-31 17:29:14 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
* 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
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "RenderTextureHost.h"
|
2017-06-07 18:44:05 +03:00
|
|
|
#include "RenderThread.h"
|
2017-03-31 17:29:14 +03:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace wr {
|
|
|
|
|
|
|
|
RenderTextureHost::RenderTextureHost()
|
|
|
|
{
|
|
|
|
MOZ_COUNT_CTOR(RenderTextureHost);
|
|
|
|
}
|
|
|
|
|
|
|
|
RenderTextureHost::~RenderTextureHost()
|
|
|
|
{
|
2017-06-07 18:44:05 +03:00
|
|
|
MOZ_ASSERT(RenderThread::IsInRenderThread());
|
2017-03-31 17:29:14 +03:00
|
|
|
MOZ_COUNT_DTOR(RenderTextureHost);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace wr
|
|
|
|
} // namespace mozilla
|