2010-04-27 06:09:44 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 15:12:37 +04:00
|
|
|
* 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/. */
|
2010-04-27 06:09:44 +04:00
|
|
|
|
|
|
|
#include "GLContextProvider.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace gl {
|
|
|
|
|
|
|
|
already_AddRefed<GLContext>
|
2010-07-19 09:01:14 +04:00
|
|
|
GLContextProviderNull::CreateForWindow(nsIWidget*)
|
2010-04-27 06:09:44 +04:00
|
|
|
{
|
|
|
|
return nsnull;
|
|
|
|
}
|
|
|
|
|
2010-06-23 13:24:31 +04:00
|
|
|
already_AddRefed<GLContext>
|
2010-07-19 09:01:14 +04:00
|
|
|
GLContextProviderNull::CreateOffscreen(const gfxIntSize&,
|
2012-03-22 03:13:59 +04:00
|
|
|
const ContextFormat&,
|
|
|
|
const ContextFlags)
|
2010-06-23 13:24:31 +04:00
|
|
|
{
|
2010-07-19 09:01:14 +04:00
|
|
|
return nsnull;
|
2010-06-23 13:24:31 +04:00
|
|
|
}
|
|
|
|
|
2010-04-27 06:09:44 +04:00
|
|
|
already_AddRefed<GLContext>
|
2010-07-19 09:01:14 +04:00
|
|
|
GLContextProviderNull::CreateForNativePixmapSurface(gfxASurface *)
|
|
|
|
{
|
|
|
|
return nsnull;
|
|
|
|
}
|
|
|
|
|
|
|
|
GLContext *
|
|
|
|
GLContextProviderNull::GetGlobalContext()
|
2010-04-27 06:09:44 +04:00
|
|
|
{
|
|
|
|
return nsnull;
|
|
|
|
}
|
|
|
|
|
2010-07-20 08:05:42 +04:00
|
|
|
void
|
|
|
|
GLContextProviderNull::Shutdown()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-04-27 06:09:44 +04:00
|
|
|
} /* namespace gl */
|
|
|
|
} /* namespace mozilla */
|