Changeset 137319 in webkit
- Timestamp:
- Dec 11, 2012 8:20:11 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/GNUmakefile.list.am (modified) (1 diff)
-
Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp (added)
-
Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.h (added)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Scripts/webkitpy/style/checker.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r137318 r137319 1 2012-12-11 Joone Hur <joone.hur@intel.com>, Gustavo Noronha Silva <gustavo.noronha@collabora.com> 2 3 [GTK] Add GraphicsLayerActor 4 https://bugs.webkit.org/show_bug.cgi?id=91940 5 6 Reviewed by Gustavo Noronha Silva. 7 8 GraphicsLayerActor, which is a new ClutterActor, represents a node in the GPU-renderable layer tree 9 when accelerated compositing is enabled with Clutter as acceleration backend. 10 This patch allows to support basic features of CSS 3D Transforms. 11 12 No new tests. This will be covered by pixel tests for Qt and GTK+ accelerated 13 compositing and 3D transforms. 14 15 * GNUmakefile.list.am: 16 * platform/graphics/clutter/GraphicsLayerActor.cpp: Added. 17 (_GraphicsLayerActorPrivate): 18 (graphics_layer_actor_class_init): GObject configuration of a new Clutter Actor. 19 (graphics_layer_actor_init): Initialization of the private data of this actor. 20 (graphicsLayerActorSetProperty): GObject property setter. 21 (graphicsLayerActorGetProperty): GObject property getter. 22 (graphicsLayerActorDispose): Called to drop all references to other objects. 23 (graphicsLayerActorAllocate): Called to set the coordinates of an actor. 24 (graphicsLayerActorApplyTransform): Applying the transformation to an actor before painting it. 25 (graphicsLayerActorPaint): Called to paint the actor. 26 (graphicsLayerActorDraw): Called each time a ClutterCairoTexture has been invalidated. 27 (graphicsLayerActorAdded): Called each time an actor has been added to container. 28 (graphicsLayerActorRemoved): Called each time an actor is removed from container. 29 (graphicsLayerActorNew): Create a specific layer type of GraphicsLayerActor object. 30 (graphicsLayerActorNewWithClient): Create a specific layer type of GraphicsLayerActor object with 31 its PlatformClutterClientLayer. 32 (graphicsLayerActorSetClient): Added setter to set the PlatformClutterClientLayer. 33 (graphicsLayerActorGetClient): Added getter to get the PlatformClutterClientLayer. 34 (graphicsLayerActorRemoveAll): Remove all child actors. 35 (graphicsLayerUpdateTexture): Create a ClutterCairoTexture. 36 (graphicsLayerActorGetSurface): Added setter to set a cairo_surface_t. 37 (graphicsLayerActorSetSurface): Added getter to get the cairo_surface_t. 38 (graphicsLayerActorInvalidateRectangle): 39 (graphicsLayerActorSetTransform): Set a CoglMatrix to apply matrix transform. 40 (graphicsLayerActorSetAnchorPoint): 41 (graphicsLayerActorGetAnchorPoint): 42 (graphicsLayerActorSetScrollPosition): 43 (graphicsLayerActorGetnChildren): 44 (graphicsLayerActorReplaceSublayer): 45 (graphicsLayerActorInsertSublayer): 46 (graphicsLayerActorSetSublayers): 47 (graphicsLayerActorGetLayerType): 48 (graphicsLayerActorSetLayerType): 49 (graphicsLayerActorSetTranslateX): 50 (graphicsLayerActorGetTranslateX): 51 (graphicsLayerActorSetTranslateY): 52 (graphicsLayerActorGetTranslateY): 53 (graphicsLayerActorSetDrawsContent): Added setter to paint content inside a layer. 54 (graphicsLayerActorGetDrawsContent): Added getter to get the value of the drawsContent. 55 * platform/graphics/clutter/GraphicsLayerActor.h: Added. 56 (_GraphicsLayerActor): 57 (_GraphicsLayerActorClass): 58 * platform/graphics/clutter/GraphicsLayerClutter.h: 59 (WebCore): 60 1 61 2012-12-11 Mike West <mkwst@chromium.org> 2 62 -
trunk/Source/WebCore/GNUmakefile.list.am
r137318 r137319 6355 6355 if USE_CLUTTER 6356 6356 webcore_sources += \ 6357 Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp \ 6358 Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.h \ 6357 6359 Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp \ 6358 6360 Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.h \ -
trunk/Tools/ChangeLog
r137314 r137319 1 2012-12-11 Joone Hur <joone.hur@intel.com> 2 3 [GTK] Add GraphicsLayerActor 4 https://bugs.webkit.org/show_bug.cgi?id=91940 5 6 Reviewed by Gustavo Noronha Silva. 7 8 Add GraphicsLayerActor to the list of classes that contain GObjects 9 in the style checker script so that it does not complain about GObject 10 coding style. 11 12 * Scripts/webkitpy/style/checker.py: 13 1 14 2012-12-11 Oswald Buddenhagen <oswald.buddenhagen@digia.com> 2 15 -
trunk/Tools/Scripts/webkitpy/style/checker.py
r137270 r137319 223 223 ([# These files define GObjects, which implies some definitions of 224 224 # variables and functions containing underscores. 225 "Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp", 226 "Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.h", 225 227 "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer1.cpp", 226 228 "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp",
Note: See TracChangeset
for help on using the changeset viewer.