Changeset 129387 in webkit
- Timestamp:
- Sep 24, 2012 10:45:12 AM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 2 deleted
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r129319 r129387 1 2012-09-24 Joone Hur <joone.hur@intel.com> 2 3 [GTK] Implement GraphicsLayer using Clutter 4 https://bugs.webkit.org/show_bug.cgi?id=73767 5 6 Reviewed by Martin Robinson. 7 8 Add ClutterActor and GraphicsLayerActor to GTypedefs.h. 9 10 * wtf/gobject/GTypedefs.h: 11 1 12 2012-09-23 Byungwoo Lee <bw80.lee@gmail.com> 2 13 -
trunk/Source/WTF/wtf/gobject/GTypedefs.h
r122547 r129387 72 72 #endif 73 73 74 #if USE(CLUTTER) 75 typedef struct _ClutterActor ClutterActor; 76 typedef struct _GraphicsLayerActor GraphicsLayerActor; 77 #endif 78 74 79 #if PLATFORM(GTK) 75 80 typedef struct _GtkAction GtkAction; -
trunk/Source/WebCore/ChangeLog
r129385 r129387 1 2012-09-24 Joone Hur <joone.hur@intel.com>, Gustavo Noronha Silva <gustavo.noronha@collabora.com> 2 3 [GTK] Implement GraphicsLayer using Clutter 4 https://bugs.webkit.org/show_bug.cgi?id=73767 5 6 Reviewed by Martin Robinson. 7 8 This patch is needed for enabling Accelerated Compositing(Clutter backend) 9 with the patches submitted in bug 92045 and 91940. 10 11 No new tests. This will be covered by pixel tests for Qt/GTK+ accelerated 12 compositing and 3D transforms. 13 14 * GNUmakefile.list.am: 15 * platform/clutter/GRefPtrClutter.cpp: Removed. 16 * platform/clutter/GRefPtrClutter.h: Removed. 17 * platform/graphics/clutter/PlatformClutterLayerClient.h: Added. 18 (WebCore): 19 (PlatformClutterLayerClient): 20 (WebCore::PlatformClutterLayerClient::~PlatformClutterLayerClient): 21 * platform/graphics/clutter/TransformationMatrixClutter.cpp: Added to convert CoglMatrix to 22 TransformationMatrix. 23 (WebCore): 24 (WebCore::TransformationMatrix::operator CoglMatrix): 25 * platform/graphics/transforms/TransformationMatrix.h: 26 (TransformationMatrix): 27 1 28 2012-09-24 David Grogan <dgrogan@chromium.org> 2 29 -
trunk/Source/WebCore/GNUmakefile.list.am
r128992 r129387 6239 6239 if USE_CLUTTER 6240 6240 webcore_sources += \ 6241 Source/WebCore/platform/clutter/GRefPtrClutter.cpp \6242 Source/WebCore/platform/clutter/GRefPtrClutter.h \6243 6241 Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp \ 6244 Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.h 6242 Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.h \ 6243 Source/WebCore/platform/graphics/clutter/TransformationMatrixClutter.cpp 6245 6244 endif # END USE_CLUTTER 6246 6245 -
trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.h
r102448 r129387 30 30 #if USE(ACCELERATED_COMPOSITING) 31 31 32 #include "GRefPtrClutter.h"33 32 #include "GraphicsLayer.h" 34 33 35 34 #include <clutter/clutter.h> 35 #include <wtf/gobject/GRefPtr.h> 36 36 37 37 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/clutter/PlatformClutterLayerClient.h
r129386 r129387 22 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 25 */ 26 26 27 #ifndef GraphicsLayerClutter_h28 #define GraphicsLayerClutter_h27 #ifndef PlatformClutterLayerClient_h 28 #define PlatformClutterLayerClient_h 29 29 30 30 #if USE(ACCELERATED_COMPOSITING) 31 31 32 #include "G RefPtrClutter.h"32 #include "GraphicsContext.h" 33 33 #include "GraphicsLayer.h" 34 35 #include <clutter/clutter.h>36 34 37 35 namespace WebCore { 38 36 39 class GraphicsLayerClutter : public GraphicsLayer{37 class PlatformClutterLayerClient { 40 38 public: 41 GraphicsLayerClutter(GraphicsLayerClient*);42 virtual ~GraphicsLayerClutter();39 virtual void platformClutterLayerPaintContents(GraphicsContext&, const IntRect& inClip) = 0; 40 virtual void platformClutterLayerAnimationStarted(double startTime) = 0; 43 41 44 virtual ClutterActor* platformLayer() const; 45 virtual void setNeedsDisplay(); 46 virtual void setNeedsDisplayInRect(const FloatRect&); 47 48 private: 49 GRefPtr<ClutterActor> m_layer; 42 protected: 43 virtual ~PlatformClutterLayerClient() { } 50 44 }; 51 45 52 } // namespace WebCore46 } 53 47 54 48 #endif // USE(ACCELERATED_COMPOSITING) 55 49 56 #endif // GraphicsLayerClutter_h 50 #endif // PlatformClutterLayerClient_h 51 -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
r126816 r129387 34 34 #if USE(CA) 35 35 typedef struct CATransform3D CATransform3D; 36 #endif 37 #if USE(CLUTTER) 38 typedef struct _CoglMatrix CoglMatrix; 36 39 #endif 37 40 #if USE(CG) … … 325 328 operator CATransform3D() const; 326 329 #endif 330 #if USE(CLUTTER) 331 operator CoglMatrix() const; 332 #endif 327 333 #if USE(CG) 328 334 TransformationMatrix(const CGAffineTransform&); -
trunk/Source/WebKit/gtk/ChangeLog
r129000 r129387 1 2012-09-24 Joone Hur <joone.hur@intel.com> 2 3 [GTK] Implement GraphicsLayer using Clutter 4 https://bugs.webkit.org/show_bug.cgi?id=73767 5 6 Reviewed by Martin Robinson. 7 8 This patch is needed for enabling Accelerated Compositing(Clutter backend) 9 with the patches submitted in bug 92045 and 91940. 10 11 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: 12 (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Added to fix bulid break. 13 (WebKit): 14 1 15 2012-09-19 Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> 2 16 -
trunk/Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp
r128372 r129387 113 113 } 114 114 115 void AcceleratedCompositingContext::scrollNonCompositedContents(const IntRect& scrollRect, const IntSize& scrollOffset) 116 { 117 notImplemented(); 118 } 119 115 120 static gboolean flushAndRenderLayersCallback(AcceleratedCompositingContext* context) 116 121 { -
trunk/Source/WebKit2/ChangeLog
r129380 r129387 1 2012-09-24 Joone Hur <joone.hur@intel.com>, Gustavo Noronha Silva <gustavo.noronha@collabora.com> 2 3 [GTK] Implement GraphicsLayer using Clutter 4 https://bugs.webkit.org/show_bug.cgi?id=73767 5 6 Reviewed by Martin Robinson. 7 8 Fixed link errors by adding Clutter library and header to WebKit2 build. 9 10 * GNUmakefile.am: 11 1 12 2012-09-24 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/Source/WebKit2/GNUmakefile.am
r126421 r129387 102 102 $(webcoregtk_cppflags) \ 103 103 $(javascriptcore_cppflags) \ 104 $(CLUTTER_CFLAGS) \ 104 105 $(COVERAGE_CFLAGS) \ 105 106 $(GEOCLUE_CFLAGS) \ … … 163 164 libWebCoreGtk.la \ 164 165 $(CAIRO_LIBS) \ 166 $(CLUTTER_LIBS) \ 165 167 $(COVERAGE_LDFLAGS) \ 166 168 $(FARSTREAM_LIBS) \
Note: See TracChangeset
for help on using the changeset viewer.