GraphicsContext3DPrivate.cpp [plain text]
#include "config.h"
#include "GraphicsContext3DPrivate.h"
#if ENABLE(WEBGL)
#include "HostWindow.h"
#include "NotImplemented.h"
namespace WebCore {
PassOwnPtr<GraphicsContext3DPrivate> GraphicsContext3DPrivate::create(GraphicsContext3D* context, HostWindow* window)
{
return adoptPtr(new GraphicsContext3DPrivate(context, window));
}
GraphicsContext3DPrivate::GraphicsContext3DPrivate(GraphicsContext3D* context, HostWindow* window)
: m_context(context)
, m_window(window)
{
}
GraphicsContext3DPrivate::~GraphicsContext3DPrivate()
{
}
bool GraphicsContext3DPrivate::makeContextCurrent()
{
return false;
}
PlatformGraphicsContext3D GraphicsContext3DPrivate::platformContext()
{
return 0;
}
#if USE(ACCELERATED_COMPOSITING) && USE(CLUTTER)
void GraphicsContext3DPrivate::paintToGraphicsLayerActor(ClutterActor*, const FloatRect& target, const TransformationMatrix& matrix, float opacity)
{
}
#endif // USE(ACCELERATED_COMPOSITING)
}
#endif // ENABLE_WEBGL