Documentation ¶
Index ¶
- type RenderingAgent
- func (agent *RenderingAgent) Name() string
- func (agent *RenderingAgent) ProcessCommand(id int64, targetId string, funcName string, data *json.RawMessage)
- func (agent *RenderingAgent) SetSetShowDebugBordersHandler(handler func(SetShowDebugBordersCommand))
- func (agent *RenderingAgent) SetSetShowFPSCounterHandler(handler func(SetShowFPSCounterCommand))
- func (agent *RenderingAgent) SetSetShowPaintRectsHandler(handler func(SetShowPaintRectsCommand))
- func (agent *RenderingAgent) SetSetShowScrollBottleneckRectsHandler(handler func(SetShowScrollBottleneckRectsCommand))
- func (agent *RenderingAgent) SetSetShowViewportSizeOnResizeHandler(handler func(SetShowViewportSizeOnResizeCommand))
- type SetShowDebugBordersCommand
- type SetShowDebugBordersCommandFn
- type SetShowDebugBordersReturn
- type SetShowFPSCounterCommand
- type SetShowFPSCounterCommandFn
- type SetShowFPSCounterReturn
- type SetShowPaintRectsCommand
- type SetShowPaintRectsCommandFn
- type SetShowPaintRectsReturn
- type SetShowScrollBottleneckRectsCommand
- type SetShowScrollBottleneckRectsCommandFn
- type SetShowScrollBottleneckRectsReturn
- type SetShowViewportSizeOnResizeCommand
- type SetShowViewportSizeOnResizeCommandFn
- type SetShowViewportSizeOnResizeReturn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderingAgent ¶
type RenderingAgent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(conn *shared.Connection) *RenderingAgent
func (*RenderingAgent) Name ¶
func (agent *RenderingAgent) Name() string
func (*RenderingAgent) ProcessCommand ¶
func (agent *RenderingAgent) ProcessCommand(id int64, targetId string, funcName string, data *json.RawMessage)
func (*RenderingAgent) SetSetShowDebugBordersHandler ¶
func (agent *RenderingAgent) SetSetShowDebugBordersHandler(handler func(SetShowDebugBordersCommand))
func (*RenderingAgent) SetSetShowFPSCounterHandler ¶
func (agent *RenderingAgent) SetSetShowFPSCounterHandler(handler func(SetShowFPSCounterCommand))
func (*RenderingAgent) SetSetShowPaintRectsHandler ¶
func (agent *RenderingAgent) SetSetShowPaintRectsHandler(handler func(SetShowPaintRectsCommand))
Commands Sent From Frontend
func (*RenderingAgent) SetSetShowScrollBottleneckRectsHandler ¶
func (agent *RenderingAgent) SetSetShowScrollBottleneckRectsHandler(handler func(SetShowScrollBottleneckRectsCommand))
func (*RenderingAgent) SetSetShowViewportSizeOnResizeHandler ¶
func (agent *RenderingAgent) SetSetShowViewportSizeOnResizeHandler(handler func(SetShowViewportSizeOnResizeCommand))
type SetShowDebugBordersCommand ¶
type SetShowDebugBordersCommand struct { DestinationTargetID string Show bool `json:"show"` // True for showing debug borders // contains filtered or unexported fields }
func (*SetShowDebugBordersCommand) Initalize ¶
func (c *SetShowDebugBordersCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*SetShowDebugBordersCommand) Respond ¶
func (c *SetShowDebugBordersCommand) Respond()
func (*SetShowDebugBordersCommand) RespondWithError ¶
func (c *SetShowDebugBordersCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type SetShowDebugBordersCommandFn ¶
type SetShowDebugBordersCommandFn struct {
// contains filtered or unexported fields
}
func (*SetShowDebugBordersCommandFn) Load ¶
func (a *SetShowDebugBordersCommandFn) Load() func(SetShowDebugBordersCommand)
func (*SetShowDebugBordersCommandFn) Store ¶
func (a *SetShowDebugBordersCommandFn) Store(fn func(SetShowDebugBordersCommand))
type SetShowDebugBordersReturn ¶
type SetShowDebugBordersReturn struct { }
type SetShowFPSCounterCommand ¶
type SetShowFPSCounterCommand struct { DestinationTargetID string Show bool `json:"show"` // True for showing the FPS counter // contains filtered or unexported fields }
func (*SetShowFPSCounterCommand) Initalize ¶
func (c *SetShowFPSCounterCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*SetShowFPSCounterCommand) Respond ¶
func (c *SetShowFPSCounterCommand) Respond()
func (*SetShowFPSCounterCommand) RespondWithError ¶
func (c *SetShowFPSCounterCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type SetShowFPSCounterCommandFn ¶
type SetShowFPSCounterCommandFn struct {
// contains filtered or unexported fields
}
func (*SetShowFPSCounterCommandFn) Load ¶
func (a *SetShowFPSCounterCommandFn) Load() func(SetShowFPSCounterCommand)
func (*SetShowFPSCounterCommandFn) Store ¶
func (a *SetShowFPSCounterCommandFn) Store(fn func(SetShowFPSCounterCommand))
type SetShowFPSCounterReturn ¶
type SetShowFPSCounterReturn struct { }
type SetShowPaintRectsCommand ¶
type SetShowPaintRectsCommand struct { DestinationTargetID string Result bool `json:"result"` // True for showing paint rectangles // contains filtered or unexported fields }
func (*SetShowPaintRectsCommand) Initalize ¶
func (c *SetShowPaintRectsCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*SetShowPaintRectsCommand) Respond ¶
func (c *SetShowPaintRectsCommand) Respond()
func (*SetShowPaintRectsCommand) RespondWithError ¶
func (c *SetShowPaintRectsCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type SetShowPaintRectsCommandFn ¶
type SetShowPaintRectsCommandFn struct {
// contains filtered or unexported fields
}
func (*SetShowPaintRectsCommandFn) Load ¶
func (a *SetShowPaintRectsCommandFn) Load() func(SetShowPaintRectsCommand)
func (*SetShowPaintRectsCommandFn) Store ¶
func (a *SetShowPaintRectsCommandFn) Store(fn func(SetShowPaintRectsCommand))
type SetShowPaintRectsReturn ¶
type SetShowPaintRectsReturn struct { }
type SetShowScrollBottleneckRectsCommand ¶
type SetShowScrollBottleneckRectsCommand struct { DestinationTargetID string Show bool `json:"show"` // True for showing scroll bottleneck rects // contains filtered or unexported fields }
func (*SetShowScrollBottleneckRectsCommand) Initalize ¶
func (c *SetShowScrollBottleneckRectsCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*SetShowScrollBottleneckRectsCommand) Respond ¶
func (c *SetShowScrollBottleneckRectsCommand) Respond()
func (*SetShowScrollBottleneckRectsCommand) RespondWithError ¶
func (c *SetShowScrollBottleneckRectsCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type SetShowScrollBottleneckRectsCommandFn ¶
type SetShowScrollBottleneckRectsCommandFn struct {
// contains filtered or unexported fields
}
func (*SetShowScrollBottleneckRectsCommandFn) Load ¶
func (a *SetShowScrollBottleneckRectsCommandFn) Load() func(SetShowScrollBottleneckRectsCommand)
func (*SetShowScrollBottleneckRectsCommandFn) Store ¶
func (a *SetShowScrollBottleneckRectsCommandFn) Store(fn func(SetShowScrollBottleneckRectsCommand))
type SetShowScrollBottleneckRectsReturn ¶
type SetShowScrollBottleneckRectsReturn struct { }
type SetShowViewportSizeOnResizeCommand ¶
type SetShowViewportSizeOnResizeCommand struct { DestinationTargetID string Show bool `json:"show"` // Whether to paint size or not. // contains filtered or unexported fields }
func (*SetShowViewportSizeOnResizeCommand) Initalize ¶
func (c *SetShowViewportSizeOnResizeCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*SetShowViewportSizeOnResizeCommand) Respond ¶
func (c *SetShowViewportSizeOnResizeCommand) Respond()
func (*SetShowViewportSizeOnResizeCommand) RespondWithError ¶
func (c *SetShowViewportSizeOnResizeCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type SetShowViewportSizeOnResizeCommandFn ¶
type SetShowViewportSizeOnResizeCommandFn struct {
// contains filtered or unexported fields
}
func (*SetShowViewportSizeOnResizeCommandFn) Load ¶
func (a *SetShowViewportSizeOnResizeCommandFn) Load() func(SetShowViewportSizeOnResizeCommand)
func (*SetShowViewportSizeOnResizeCommandFn) Store ¶
func (a *SetShowViewportSizeOnResizeCommandFn) Store(fn func(SetShowViewportSizeOnResizeCommand))
type SetShowViewportSizeOnResizeReturn ¶
type SetShowViewportSizeOnResizeReturn struct { }
Click to show internal directories.
Click to hide internal directories.