Changeset 140601 in webkit


Ignore:
Timestamp:
Jan 23, 2013 2:54:39 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Coordinated Graphics: remove CoordinatedLayerInfo::encode/decode.
https://bugs.webkit.org/show_bug.cgi?id=107644

Patch by Huang Dongsung <luxtella@company100.net> on 2013-01-23
Reviewed by Anders Carlsson.

We want to remove the dependency on CoreIPC from CoordinatedLayerInfo because we
will extract Coordinated Graphics from WK2.

  • CMakeLists.txt:
  • Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:

(CoreIPC::::encode):
(CoreIPC):
(CoreIPC::::decode):

  • Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:

(WebKit):

  • Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp: Removed.
  • Shared/CoordinatedGraphics/CoordinatedLayerInfo.h:
  • Target.pri:
Location:
trunk/Source/WebKit2
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/CMakeLists.txt

    r140294 r140601  
    225225
    226226    Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
    227     Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp
    228227    Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp
    229228    Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp
  • trunk/Source/WebKit2/ChangeLog

    r140600 r140601  
     12013-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
    1222013-01-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    223
  • trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp

    r138790 r140601  
    3030
    3131#if USE(COORDINATED_GRAPHICS)
     32#include "CoordinatedLayerInfo.h"
    3233#include "WebCoreArgumentCoders.h"
    3334#include <WebCore/Animation.h>
     
    7273
    7374using namespace WebCore;
    74 #if ENABLE(CSS_SHADERS)
    7575using namespace WebKit;
    76 #endif
    7776
    7877namespace CoreIPC {
     
    814813#endif
    815814
     815void ArgumentCoder<CoordinatedLayerInfo>::encode(ArgumentEncoder& encoder, const CoordinatedLayerInfo& coordinatedLayerInfo)
     816{
     817    SimpleArgumentCoder<CoordinatedLayerInfo>::encode(encoder, coordinatedLayerInfo);
     818}
     819
     820bool ArgumentCoder<CoordinatedLayerInfo>::decode(ArgumentDecoder* decoder, CoordinatedLayerInfo& coordinatedLayerInfo)
     821{
     822    return SimpleArgumentCoder<CoordinatedLayerInfo>::decode(decoder, coordinatedLayerInfo);
     823}
     824
    816825} // namespace CoreIPC
    817826
  • trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h

    r135056 r140601  
    5151struct GraphicsSurfaceToken;
    5252#endif
     53}
     54
     55namespace WebKit {
     56struct CoordinatedLayerInfo;
    5357}
    5458
     
    106110#endif
    107111
     112template<> struct ArgumentCoder<WebKit::CoordinatedLayerInfo> {
     113    static void encode(ArgumentEncoder&, const WebKit::CoordinatedLayerInfo&);
     114    static bool decode(ArgumentDecoder*, WebKit::CoordinatedLayerInfo&);
     115};
     116
    108117} // namespace CoreIPC
    109118
  • trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedLayerInfo.h

    r137798 r140601  
    2323#if USE(COORDINATED_GRAPHICS)
    2424
    25 #include "ArgumentDecoder.h"
    26 #include "ArgumentEncoder.h"
     25#include "Color.h"
    2726#include "FloatRect.h"
    2827#include "FloatSize.h"
    29 #include "GraphicsLayer.h"
     28#include "IntRect.h"
     29#include "TransformationMatrix.h"
    3030
    3131namespace WebKit {
     
    7272        unsigned flags;
    7373    };
    74 
    75     void encode(CoreIPC::ArgumentEncoder&) const;
    76     static bool decode(CoreIPC::ArgumentDecoder*, CoordinatedLayerInfo&);
    7774};
    7875
  • trunk/Source/WebKit2/Target.pri

    r140294 r140601  
    513513    Shared/WebWheelEvent.cpp \
    514514    Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp \
    515     Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp \
    516515    Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp \
    517516    Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp \
Note: See TracChangeset for help on using the changeset viewer.