Title: [89827] trunk/Source/WebCore
- Revision
- 89827
- Author
- [email protected]
- Date
- 2011-06-27 09:57:10 -0700 (Mon, 27 Jun 2011)
Log Message
2011-06-27 Hyowon Kim <[email protected]>
Reviewed by Martin Robinson.
[EFL] Add some PLATFORM(EFL) ifdefs to GraphicsContext3D.h
https://bugs.webkit.org/show_bug.cgi?id=62959
Add PLATFORM(EFL) ifdefs to use GraphicsContextInternal.
* platform/graphics/GraphicsContext3D.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (89826 => 89827)
--- trunk/Source/WebCore/ChangeLog 2011-06-27 16:55:38 UTC (rev 89826)
+++ trunk/Source/WebCore/ChangeLog 2011-06-27 16:57:10 UTC (rev 89827)
@@ -1,3 +1,14 @@
+2011-06-27 Hyowon Kim <[email protected]>
+
+ Reviewed by Martin Robinson.
+
+ [EFL] Add some PLATFORM(EFL) ifdefs to GraphicsContext3D.h
+ https://bugs.webkit.org/show_bug.cgi?id=62959
+
+ Add PLATFORM(EFL) ifdefs to use GraphicsContextInternal.
+
+ * platform/graphics/GraphicsContext3D.h:
+
2011-06-27 Alexandru Chiculita <[email protected]>
Reviewed by Ojan Vafai.
Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h (89826 => 89827)
--- trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h 2011-06-27 16:55:38 UTC (rev 89826)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h 2011-06-27 16:57:10 UTC (rev 89827)
@@ -101,7 +101,7 @@
};
// FIXME: ideally this would be used on all platforms.
-#if PLATFORM(CHROMIUM) || PLATFORM(QT) || PLATFORM(GTK)
+#if PLATFORM(CHROMIUM) || PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL)
class GraphicsContext3DInternal;
#endif
@@ -476,6 +476,11 @@
#elif PLATFORM(GTK)
PlatformGraphicsContext3D platformGraphicsContext3D();
Platform3DObject platformTexture() const { return m_texture; }
+#elif PLATFORM(EFL)
+ PlatformGraphicsContext3D platformGraphicsContext3D() const;
+#if USE(ACCELERATED_COMPOSITING)
+ PlatformLayer* platformLayer() const;
+#endif
#else
PlatformGraphicsContext3D platformGraphicsContext3D() const { return NullPlatformGraphicsContext3D; }
Platform3DObject platformTexture() const { return NullPlatform3DObject; }
@@ -932,7 +937,7 @@
#endif
// FIXME: ideally this would be used on all platforms.
-#if PLATFORM(CHROMIUM) || PLATFORM(QT) || PLATFORM(GTK)
+#if PLATFORM(CHROMIUM) || PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL)
friend class GraphicsContext3DInternal;
OwnPtr<GraphicsContext3DInternal> m_internal;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes