Changeset 140601 in webkit
- Timestamp:
- Jan 23, 2013 2:54:39 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/CMakeLists.txt
r140294 r140601 225 225 226 226 Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp 227 Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp228 227 Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp 229 228 Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp -
trunk/Source/WebKit2/ChangeLog
r140600 r140601 1 2013-01-23 Huang Dongsung <luxtella@company100.net> 2 3 Coordinated Graphics: remove CoordinatedLayerInfo::encode/decode. 4 https://bugs.webkit.org/show_bug.cgi?id=107644 5 6 Reviewed by Anders Carlsson. 7 8 We want to remove the dependency on CoreIPC from CoordinatedLayerInfo because we 9 will extract Coordinated Graphics from WK2. 10 11 * CMakeLists.txt: 12 * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp: 13 (CoreIPC::::encode): 14 (CoreIPC): 15 (CoreIPC::::decode): 16 * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h: 17 (WebKit): 18 * Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp: Removed. 19 * Shared/CoordinatedGraphics/CoordinatedLayerInfo.h: 20 * Target.pri: 21 1 22 2013-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 23 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
r138790 r140601 30 30 31 31 #if USE(COORDINATED_GRAPHICS) 32 #include "CoordinatedLayerInfo.h" 32 33 #include "WebCoreArgumentCoders.h" 33 34 #include <WebCore/Animation.h> … … 72 73 73 74 using namespace WebCore; 74 #if ENABLE(CSS_SHADERS)75 75 using namespace WebKit; 76 #endif77 76 78 77 namespace CoreIPC { … … 814 813 #endif 815 814 815 void ArgumentCoder<CoordinatedLayerInfo>::encode(ArgumentEncoder& encoder, const CoordinatedLayerInfo& coordinatedLayerInfo) 816 { 817 SimpleArgumentCoder<CoordinatedLayerInfo>::encode(encoder, coordinatedLayerInfo); 818 } 819 820 bool ArgumentCoder<CoordinatedLayerInfo>::decode(ArgumentDecoder* decoder, CoordinatedLayerInfo& coordinatedLayerInfo) 821 { 822 return SimpleArgumentCoder<CoordinatedLayerInfo>::decode(decoder, coordinatedLayerInfo); 823 } 824 816 825 } // namespace CoreIPC 817 826 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h
r135056 r140601 51 51 struct GraphicsSurfaceToken; 52 52 #endif 53 } 54 55 namespace WebKit { 56 struct CoordinatedLayerInfo; 53 57 } 54 58 … … 106 110 #endif 107 111 112 template<> struct ArgumentCoder<WebKit::CoordinatedLayerInfo> { 113 static void encode(ArgumentEncoder&, const WebKit::CoordinatedLayerInfo&); 114 static bool decode(ArgumentDecoder*, WebKit::CoordinatedLayerInfo&); 115 }; 116 108 117 } // namespace CoreIPC 109 118 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedLayerInfo.h
r137798 r140601 23 23 #if USE(COORDINATED_GRAPHICS) 24 24 25 #include "ArgumentDecoder.h" 26 #include "ArgumentEncoder.h" 25 #include "Color.h" 27 26 #include "FloatRect.h" 28 27 #include "FloatSize.h" 29 #include "GraphicsLayer.h" 28 #include "IntRect.h" 29 #include "TransformationMatrix.h" 30 30 31 31 namespace WebKit { … … 72 72 unsigned flags; 73 73 }; 74 75 void encode(CoreIPC::ArgumentEncoder&) const;76 static bool decode(CoreIPC::ArgumentDecoder*, CoordinatedLayerInfo&);77 74 }; 78 75 -
trunk/Source/WebKit2/Target.pri
r140294 r140601 513 513 Shared/WebWheelEvent.cpp \ 514 514 Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp \ 515 Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp \516 515 Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp \ 517 516 Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp \
Note: See TracChangeset
for help on using the changeset viewer.