3 [TexMap] Refactor code related to debug border and repaint count. [1/2]
4 https://bugs.webkit.org/show_bug.cgi?id=105787
5
6 Reviewed by NOBODY (OOPS!).
7
8 Introduce TextureMapperPaintParameters to reduce the number of parameters of
9 TextureMapperPlatformLayer::paintToTextureMapper().
10 Now we can easily add new arguments into TextureMapperPlatformLayer::paintToTextureMapper()
11 when needed.
12
13 No new tests. Refactoring only.
14
15 * platform/graphics/cairo/GraphicsContext3DPrivate.cpp:
16 (WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
17 * platform/graphics/cairo/GraphicsContext3DPrivate.h:
18 (GraphicsContext3DPrivate):
19 * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
20 (GraphicsContext3DPrivate::paintToTextureMapper):
21 * platform/graphics/efl/GraphicsContext3DPrivate.h:
22 (GraphicsContext3DPrivate):
23 * platform/graphics/qt/GraphicsContext3DQt.cpp:
24 (GraphicsContext3DPrivate):
25 (WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
26 * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
27 (WebCore::MediaPlayerPrivateQt::paintToTextureMapper):
28 * platform/graphics/qt/MediaPlayerPrivateQt.h:
29 (MediaPlayerPrivateQt):
30 * platform/graphics/texmap/TextureMapperBackingStore.cpp:
31 (WebCore::TextureMapperSurfaceBackingStore::paintToTextureMapper):
32 (WebCore::TextureMapperTiledBackingStore::paintToTextureMapper):
33 * platform/graphics/texmap/TextureMapperBackingStore.h:
34 (TextureMapperBackingStore):
35 (TextureMapperSurfaceBackingStore):
36 (TextureMapperTiledBackingStore):
37 * platform/graphics/texmap/TextureMapperLayer.cpp:
38 (WebCore::TextureMapperLayer::paintSelf):
39 * platform/graphics/texmap/TextureMapperPlatformLayer.h:
40 (TextureMapperPaintParameters):
41 (WebCore::TextureMapperPaintParameters::TextureMapperPaintParameters):
42 (TextureMapperPlatformLayer):
43
442012-12-27 Huang Dongsung <luxtella@company100.net>
45