Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WebGL2 (0.09 sec)

  1. src/syscall/js/js.go

    // numbers of args.
    func makeArgSlices(size int) (argVals []Value, argRefs []ref) {
    	// value chosen for being power of two, and enough to handle all web APIs
    	// in particular, note that WebGL2's texImage2D takes up to 10 arguments
    	const maxStackArgs = 16
    	if size <= maxStackArgs {
    		// as long as makeArgs is inlined, these will be stack-allocated
    		argVals = make([]Value, size, maxStackArgs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top