Changeset 77012 in webkit
- Timestamp:
- Jan 28, 2011 4:06:49 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r77007 r77012 1 2011-01-28 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Add CoreAnimationRenderer class 6 https://bugs.webkit.org/show_bug.cgi?id=53343 7 8 * Shared/mac/CoreAnimationRenderer.h: Added. 9 * Shared/mac/CoreAnimationRenderer.mm: Added. 10 11 (WebKit::CoreAnimationRenderer::CoreAnimationRenderer): 12 Initialize the underlying CARenderer object and hook up a notification observer. 13 14 (WebKit::CoreAnimationRenderer::~CoreAnimationRenderer): 15 Assert that the client is null. It has been set to null by the call to invalidate(). 16 17 (WebKit::CoreAnimationRenderer::setBounds): 18 Update the bounds on the CARenderer and the root layer. 19 20 (WebKit::CoreAnimationRenderer::render): 21 Ask the renderer to render and return the next frame time. 22 23 (WebKit::CoreAnimationRenderer::invalidate): 24 Remove the change observer and reset the client. 25 26 (WebKit::CoreAnimationRenderer::rendererDidChange): 27 Call the client member function. 28 29 * WebKit2.xcodeproj/project.pbxproj: 30 Add new files. 31 1 32 2011-01-28 Anders Carlsson <andersca@apple.com> 2 33 -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r76974 r77012 177 177 1A9636BC12F348490078A062 /* ShareableSurface.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A9636BA12F348490078A062 /* ShareableSurface.cpp */; }; 178 178 1A9636BD12F348490078A062 /* ShareableSurface.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A9636BB12F348490078A062 /* ShareableSurface.h */; }; 179 1A9639F712F38ECD0078A062 /* CoreAnimationRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A9639F512F38ECD0078A062 /* CoreAnimationRenderer.h */; }; 180 1A9639F812F38ECD0078A062 /* CoreAnimationRenderer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A9639F612F38ECD0078A062 /* CoreAnimationRenderer.mm */; }; 179 181 1AA1CC5D100FA1A10078DEBC /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AA1CC5C100FA1A10078DEBC /* QuartzCore.framework */; }; 180 182 1AA1CD07100FA1BA0078DEBC /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AA1CD06100FA1BA0078DEBC /* Carbon.framework */; }; … … 923 925 1A9636BA12F348490078A062 /* ShareableSurface.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ShareableSurface.cpp; sourceTree = "<group>"; }; 924 926 1A9636BB12F348490078A062 /* ShareableSurface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShareableSurface.h; sourceTree = "<group>"; }; 927 1A9639F512F38ECD0078A062 /* CoreAnimationRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CoreAnimationRenderer.h; sourceTree = "<group>"; }; 928 1A9639F612F38ECD0078A062 /* CoreAnimationRenderer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CoreAnimationRenderer.mm; sourceTree = "<group>"; }; 925 929 1AA1C79A100E7FC50078DEBC /* WebCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 926 930 1AA1C7DE100E846E0078DEBC /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = JavaScriptCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; … … 2360 2364 children = ( 2361 2365 1A6F9FB611E1408500DB1371 /* CommandLineMac.cpp */, 2366 1A9639F512F38ECD0078A062 /* CoreAnimationRenderer.h */, 2367 1A9639F612F38ECD0078A062 /* CoreAnimationRenderer.mm */, 2362 2368 C02BFF1D1251502E009CCBEA /* NativeWebKeyboardEventMac.mm */, 2363 2369 C574A57F12E66681002DFE98 /* PasteboardTypes.h */, … … 3109 3115 BFA6179F12F0B99D0033E0CA /* WKViewPrivate.h in Headers */, 3110 3116 1A9636BD12F348490078A062 /* ShareableSurface.h in Headers */, 3117 1A9639F712F38ECD0078A062 /* CoreAnimationRenderer.h in Headers */, 3111 3118 ); 3112 3119 runOnlyForDeploymentPostprocessing = 0; … … 3577 3584 6501BD1A12F1243400E9F248 /* WKBundleInspector.cpp in Sources */, 3578 3585 1A9636BC12F348490078A062 /* ShareableSurface.cpp in Sources */, 3586 1A9639F812F38ECD0078A062 /* CoreAnimationRenderer.mm in Sources */, 3579 3587 ); 3580 3588 runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset
for help on using the changeset viewer.