rendering

package
v0.0.0-...-076f285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*SetShowDebugBordersCommandFn) Store

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 (*SetShowFPSCounterCommandFn) Store

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 (*SetShowPaintRectsCommandFn) Store

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 (*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 (*SetShowScrollBottleneckRectsCommandFn) Store

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 (*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 (*SetShowViewportSizeOnResizeCommandFn) Store

type SetShowViewportSizeOnResizeReturn

type SetShowViewportSizeOnResizeReturn struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL