MCPcopy Create free account
hub / github.com/google/gapid / color

Method color

gapis/api/gles/read_framebuffer.go:69–81  ·  view source on GitHub ↗
(
	id api.CmdID,
	thread uint64,
	width, height uint32,
	fb FramebufferId,
	bufferIdx uint32,
	res replay.Result)

Source from the content-addressed store, hash-verified

67}
68
69func (t *readFramebuffer) color(
70 id api.CmdID,
71 thread uint64,
72 width, height uint32,
73 fb FramebufferId,
74 bufferIdx uint32,
75 res replay.Result) {
76
77 t.Add(id, func(ctx context.Context, out transform.Writer) {
78 attachment := GLenum_GL_COLOR_ATTACHMENT0 + GLenum(bufferIdx)
79 postFBData(ctx, id, thread, width, height, fb, attachment, t.targetVersion, out, res)
80 })
81}
82
83func postFBData(ctx context.Context,
84 id api.CmdID,

Callers 2

ReplayMethod · 0.95
loadIconMethod · 0.80

Calls 2

postFBDataFunction · 0.85
AddMethod · 0.65

Tested by

no test coverage detected