michael@0: /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "GLContextProvider.h" michael@0: michael@0: namespace mozilla { michael@0: namespace gl { michael@0: michael@0: already_AddRefed michael@0: GLContextProviderNull::CreateForWindow(nsIWidget*) michael@0: { michael@0: return nullptr; michael@0: } michael@0: michael@0: already_AddRefed michael@0: GLContextProviderNull::CreateWrappingExisting(void*, void*) michael@0: { michael@0: return nullptr; michael@0: } michael@0: michael@0: already_AddRefed michael@0: GLContextProviderNull::CreateOffscreen(const gfxIntSize&, michael@0: const SurfaceCaps&, michael@0: ContextFlags) michael@0: { michael@0: return nullptr; michael@0: } michael@0: michael@0: GLContext* michael@0: GLContextProviderNull::GetGlobalContext(ContextFlags) michael@0: { michael@0: return nullptr; michael@0: } michael@0: michael@0: void michael@0: GLContextProviderNull::Shutdown() michael@0: { michael@0: } michael@0: michael@0: } /* namespace gl */ michael@0: } /* namespace mozilla */