File: RemoteDisplayListRecorder.messages.in

package info (click to toggle)
webkit2gtk 2.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 429,764 kB
  • sloc: cpp: 3,697,587; javascript: 194,444; ansic: 169,997; python: 46,499; asm: 19,295; ruby: 18,528; perl: 16,602; xml: 4,650; yacc: 2,360; sh: 2,098; java: 1,993; lex: 1,327; pascal: 366; makefile: 298
file content (120 lines) | stat: -rw-r--r-- 7,337 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Copyright (C) 2021-2024 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1.  Redistributions of source code must retain the above copyright
#     notice, this list of conditions and the following disclaimer.
# 2.  Redistributions in binary form must reproduce the above copyright
#     notice, this list of conditions and the following disclaimer in the
#     documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#if ENABLE(GPU_PROCESS)

[
    ExceptionForEnabledBy,
    DispatchedFrom=WebContent,
    DispatchedTo=GPU
]
messages -> RemoteDisplayListRecorder Stream {
    Save() StreamBatched
    Restore() StreamBatched
    Translate(float x, float y) StreamBatched
    Rotate(float angle) StreamBatched
    Scale(WebCore::FloatSize scale) StreamBatched
    SetCTM(WebCore::AffineTransform ctm) StreamBatched
    ConcatenateCTM(WebCore::AffineTransform ctm) StreamBatched
    SetInlineFillColor(WebCore::DisplayList::SetInlineFillColor fillColorItem) StreamBatched
    SetInlineStroke(WebCore::DisplayList::SetInlineStroke strokeItem) StreamBatched
    SetState(WebCore::DisplayList::SetState item) StreamBatched
    SetLineCap(enum:uint8_t WebCore::LineCap lineCap) StreamBatched
    SetLineDash(WebCore::DisplayList::SetLineDash item) StreamBatched
    SetLineJoin(enum:uint8_t WebCore::LineJoin lineJoin) StreamBatched
    SetMiterLimit(float limit) StreamBatched
    ClearDropShadow()
    Clip(WebCore::FloatRect rect)
    ClipRoundedRect(WebCore::FloatRoundedRect rect)
    ClipOut(WebCore::FloatRect rect)
    ClipOutRoundedRect(WebCore::FloatRoundedRect rect)
    ClipToImageBuffer(WebCore::RenderingResourceIdentifier renderingResourceIdentifier, WebCore::FloatRect destinationRect)
    ClipOutToPath(WebCore::Path path)
    ClipPath(WebCore::Path path, enum:bool WebCore::WindRule windRule)
    ResetClip()
    DrawGlyphs(WebCore::DisplayList::DrawGlyphs item)
    DrawDecomposedGlyphs(WebCore::RenderingResourceIdentifier fontIdentifier, WebCore::RenderingResourceIdentifier decomposedGlyphsIdentifier)
    DrawFilteredImageBuffer(std::optional<WebCore::RenderingResourceIdentifier> sourceImageIdentifier, WebCore::FloatRect sourceImageRect, Ref<WebCore::Filter> filter)
    DrawImageBuffer(WebCore::RenderingResourceIdentifier imageBufferIdentifier, WebCore::FloatRect destinationRect, WebCore::FloatRect srcRect, struct WebCore::ImagePaintingOptions options)
    DrawNativeImage(WebCore::RenderingResourceIdentifier imageIdentifier, WebCore::FloatRect destRect, WebCore::FloatRect srcRect, struct WebCore::ImagePaintingOptions options)
    DrawSystemImage(Ref<WebCore::SystemImage> systemImage, WebCore::FloatRect destinationRect)
    DrawPattern(WebCore::RenderingResourceIdentifier imageIdentifier, WebCore::FloatRect destRect, WebCore::FloatRect tileRect, WebCore::AffineTransform transform, WebCore::FloatPoint phase, WebCore::FloatSize spacing, struct WebCore::ImagePaintingOptions options)
    BeginTransparencyLayer(float opacity)
    BeginTransparencyLayerWithCompositeMode(struct WebCore::CompositeMode compositeMode)
    EndTransparencyLayer()
    DrawRect(WebCore::FloatRect rect, float borderThickness)
    DrawLine(WebCore::FloatPoint point1, WebCore::FloatPoint point2)
    DrawLinesForText(WebCore::DisplayList::DrawLinesForText item)
    DrawDotsForDocumentMarker(WebCore::FloatRect rect, struct WebCore::DocumentMarkerLineStyle style)
    DrawEllipse(WebCore::FloatRect rect)
    DrawPath(WebCore::Path path)
    DrawFocusRingPath(WebCore::Path path, float outlineWidth, WebCore::Color color)
    DrawFocusRingRects(Vector<WebCore::FloatRect> rects, float outlineOffset, float outlineWidth, WebCore::Color color)
    FillRect(WebCore::FloatRect rect, WebCore::GraphicsContext::RequiresClipToRect requiresClipToRect)
    FillRectWithColor(WebCore::FloatRect rect, WebCore::Color color)
    FillRectWithGradient(WebCore::DisplayList::FillRectWithGradient item)
    FillRectWithGradientAndSpaceTransform(WebCore::DisplayList::FillRectWithGradientAndSpaceTransform item)
    FillCompositedRect(WebCore::FloatRect rect, WebCore::Color color, enum:uint8_t WebCore::CompositeOperator op, enum:uint8_t WebCore::BlendMode blendMode)
    FillRoundedRect(WebCore::FloatRoundedRect rect, WebCore::Color color, enum:uint8_t WebCore::BlendMode blendMode)
    FillRectWithRoundedHole(WebCore::FloatRect rect, WebCore::FloatRoundedRect roundedHoleRect, WebCore::Color color)
#if ENABLE(INLINE_PATH_DATA)
    FillLine(struct WebCore::PathDataLine line)
    FillArc(struct WebCore::PathArc arc)
    FillClosedArc(struct WebCore::PathClosedArc closedArc)
    FillQuadCurve(struct WebCore::PathDataQuadCurve curve)
    FillBezierCurve(struct WebCore::PathDataBezierCurve curve)
#endif
    FillPathSegment(WebCore::PathSegment segment) StreamBatched
    FillPath(WebCore::Path path)
    FillEllipse(WebCore::FloatRect rect)
    StrokeRect(WebCore::FloatRect rect, float lineWidth)
#if ENABLE(INLINE_PATH_DATA)
    StrokeLine(struct WebCore::PathDataLine line) StreamBatched
    StrokeLineWithColorAndThickness(struct WebCore::PathDataLine line, WebCore::DisplayList::SetInlineStroke strokeItem) StreamBatched
    StrokeArc(struct WebCore::PathArc arc) StreamBatched
    StrokeClosedArc(struct WebCore::PathClosedArc closedArc) StreamBatched
    StrokeQuadCurve(struct WebCore::PathDataQuadCurve curve) StreamBatched
    StrokeBezierCurve(struct WebCore::PathDataBezierCurve curve) StreamBatched
#endif
    StrokePathSegment(WebCore::PathSegment segment) StreamBatched
    StrokePath(WebCore::Path path) StreamBatched
    StrokeEllipse(WebCore::FloatRect rect) StreamBatched
    ClearRect(WebCore::FloatRect rect)
    DrawControlPart(Ref<WebCore::ControlPart> part, WebCore::FloatRoundedRect borderRect, float deviceScaleFactor, WebCore::ControlStyle style)
#if USE(CG)
    ApplyStrokePattern()
    ApplyFillPattern()
#endif
    ApplyDeviceScaleFactor(float scaleFactor)

    BeginPage(WebCore::IntSize pageSize)
    EndPage()
    SetURLForRect(URL link, WebCore::FloatRect destRect)

#if PLATFORM(COCOA) && ENABLE(VIDEO)
    DrawVideoFrame(struct WebKit::SharedVideoFrame frame, WebCore::FloatRect rect, struct WebCore::ImageOrientation orientation, bool shouldDiscardAlpha) NotStreamEncodable
    SetSharedVideoFrameSemaphore(IPC::Semaphore semaphore) NotStreamEncodable
    SetSharedVideoFrameMemory(WebCore::SharedMemory::Handle storageHandle) NotStreamEncodable
#endif
}

#endif // ENABLE(GPU_PROCESS)