mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
b0ffca2f70
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost. 2) create a base class RenderTextureHostOGL for all texture handle base texture. 3) create RenderBufferTextureHost for buffer texture at render thread. 4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread. --HG-- rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
23 lines
635 B
C++
23 lines
635 B
C++
/* -*- 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 "RenderTextureHostOGL.h"
|
|
|
|
namespace mozilla {
|
|
namespace wr {
|
|
|
|
RenderTextureHostOGL::RenderTextureHostOGL()
|
|
{
|
|
MOZ_COUNT_CTOR_INHERITED(RenderTextureHostOGL, RenderTextureHost);
|
|
}
|
|
|
|
RenderTextureHostOGL::~RenderTextureHostOGL()
|
|
{
|
|
MOZ_COUNT_DTOR_INHERITED(RenderTextureHostOGL, RenderTextureHost);
|
|
}
|
|
|
|
} // namespace wr
|
|
} // namespace mozilla
|