summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/clutter
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/clutter')
-rw-r--r--Source/WebCore/platform/graphics/clutter/GraphicsContext3DClutter.cpp5
-rw-r--r--Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp9
2 files changed, 9 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/clutter/GraphicsContext3DClutter.cpp b/Source/WebCore/platform/graphics/clutter/GraphicsContext3DClutter.cpp
index abfbd47e6..7df1ee92d 100644
--- a/Source/WebCore/platform/graphics/clutter/GraphicsContext3DClutter.cpp
+++ b/Source/WebCore/platform/graphics/clutter/GraphicsContext3DClutter.cpp
@@ -56,11 +56,6 @@ GraphicsContext3D::~GraphicsContext3D()
notImplemented();
}
-void GraphicsContext3D::releaseShaderCompiler()
-{
- notImplemented();
-}
-
bool GraphicsContext3D::getImageData(Image* image, unsigned int format, unsigned int type, bool premultiplyAlpha, bool ignoreGammaAndColorProfile, Vector<uint8_t>& outputVector)
{
notImplemented();
diff --git a/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp b/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp
index eda14d037..104b7982b 100644
--- a/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp
+++ b/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp
@@ -28,11 +28,20 @@
#if USE(ACCELERATED_COMPOSITING)
#include "GraphicsLayerClutter.h"
+#include "GraphicsLayerFactory.h"
#include "NotImplemented.h"
namespace WebCore {
+PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerFactory* factory, GraphicsLayerClient* client)
+{
+ if (!factory)
+ return adoptPtr(new GraphicsLayerClutter(client));
+
+ return factory->createGraphicsLayer(client);
+}
+
PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerClient* client)
{
return adoptPtr(new GraphicsLayerClutter(client));