MCPcopy Create free account
hub / github.com/golang/mobile / BindFramebuffer

Method BindFramebuffer

gl/gldebug.go:1297–1309  ·  view source on GitHub ↗
(target Enum, fb Framebuffer)

Source from the content-addressed store, hash-verified

1295}
1296
1297func (ctx *context) BindFramebuffer(target Enum, fb Framebuffer) {
1298 defer func() {
1299 errstr := ctx.errDrain()
1300 log.Printf("gl.BindFramebuffer(%v, %v) %v", target, fb, errstr)
1301 }()
1302 ctx.enqueueDebug(call{
1303 args: fnargs{
1304 fn: glfnBindFramebuffer,
1305 a0: target.c(),
1306 a1: fb.c(),
1307 },
1308 blocking: true})
1309}
1310
1311func (ctx *context) BindRenderbuffer(target Enum, rb Renderbuffer) {
1312 defer func() {

Callers

nothing calls this directly

Calls 4

errDrainMethod · 0.95
enqueueDebugMethod · 0.95
PrintfMethod · 0.80
cMethod · 0.45

Tested by

no test coverage detected