/haiku/src/tests/kits/opengl/glsl/ |
H A D | shaderutil.c | 118 GLuint program = glCreateProgram(); in LinkShaders() local 124 glAttachShader(program, fragShader); in LinkShaders() 126 glAttachShader(program, vertShader); in LinkShaders() 129 glLinkProgram(program); in LinkShaders() 137 glGetProgramiv(program, GL_LINK_STATUS, &stat); in LinkShaders() 141 glGetProgramInfoLog(program, 1000, &len, log); in LinkShaders() 147 return program; in LinkShaders() 152 ValidateShaderProgram(GLuint program) in ValidateShaderProgram() argument 155 glValidateProgramARB(program); in ValidateShaderProgram() 156 glGetProgramiv(program, GL_VALIDATE_STATUS, &stat); in ValidateShaderProgram() [all …]
|
H A D | shaderutil.h | 40 ValidateShaderProgram(GLuint program); 49 SetUniformValues(GLuint program, struct uniform_info uniforms[]); 52 GetUniforms(GLuint program, struct uniform_info uniforms[]); 58 GetAttribs(GLuint program, struct attrib_info attribs[]);
|
H A D | brick.c | 24 static GLuint program; variable 86 glDeleteProgram(program); in CleanUp() 148 program = LinkShaders(vertShader, fragShader); in Init() 150 glUseProgram(program); in Init() 152 SetUniformValues(program, Uniforms); in Init() 161 assert(glIsProgram(program)); in Init()
|
/haiku/src/bin/ |
H A D | shutdown.cpp | 66 usage(const char *program) in usage() argument 74 "\t-d delay shutdown by <time> seconds.\n", program); in usage() 86 const char *program = strrchr(argv[0], '/'); in main() local 87 if (program == NULL) in main() 88 program = argv[0]; in main() 90 program++; in main() 93 if (strcmp(program, "reboot") == 0) in main() 95 if (strcmp(program, "shutdown") != 0) in main() 102 usage(program); in main() 153 usage(program); in main() [all …]
|
H A D | listres.cpp | 82 const char *program = strrchr(argv[0], '/'); in main() local 83 if (program == NULL) in main() 84 program = argv[0]; in main() 86 program++; in main() 89 printf("usage: %s <filename> [<filename> ...]\n", program); in main() 101 program, argv[i], strerror(status)); in main() 109 program, argv[i], strerror(status)); in main()
|
H A D | catattr.cpp | 290 usage(const char* program, int returnCode) in usage() argument 297 " --data,-d\tShow the attribute data only\n", program); in usage() 306 char *program = strrchr(argv[0], '/'); in main() local 307 if (program == NULL) in main() 308 program = argv[0]; in main() 310 program++; in main() 337 return usage(program, EXIT_SUCCESS); in main() 340 return usage(program, EXIT_FAILURE); in main() 345 return usage(program, EXIT_FAILURE); in main() 356 program, fileName, attrName, strerror(status)); in main()
|
/haiku/src/tests/system/runtime_loader/test_suite/ |
H A D | load_resolve_basic1 | 23 cat > program.c << EOI 40 compile_program -o program program.c ./liba.so 43 test_run_ok ./program 1
|
H A D | load_resolve_weak1 | 25 cat > program.c << EOI 42 compile_program -o program program.c ./liba.so 45 test_run_ok ./program 8
|
H A D | load_init_order1 | 21 cat > program.c << EOI 39 compile_program -o program program.c ./liba.so -pie 42 test_run_ok ./program 11
|
H A D | load_resolve_weak2 | 33 cat > program.c << EOI 44 compile_program -o program program.c ./liba.so ./libb.so 47 test_run_ok ./program 2
|
H A D | load_resolve_order4 | 34 cat > program.c << EOI 48 compile_program -o program program.c ./libb.so 51 test_run_ok ./program 1
|
H A D | dlopen_resolve_basic1 | 25 cat > program.c << EOI 56 compile_program_dl -o program program.c 59 test_run_ok ./program 1
|
H A D | load_resolve_order2 | 43 cat > program.c << EOI 53 compile_program -o program program.c ./libb.so ./liba.so 56 test_run_ok ./program 1
|
H A D | load_resolve_order1 | 43 cat > program.c << EOI 53 compile_program -o program program.c ./liba.so ./libb.so 56 test_run_ok ./program 1
|
H A D | load_resolve_order3 | 44 cat > program.c << EOI 54 compile_program -o program program.c ./liba.so ./libb.so 57 test_run_ok ./program 1
|
H A D | dlopen_resolve_basic2 | 35 cat > program.c << EOI 63 compile_program_dl -o program program.c ./libb.so 66 test_run_ok ./program 1
|
H A D | dlopen_resolve_order1 | 36 cat > program.c << EOI 73 compile_program_dl -o program program.c 76 test_run_ok ./program 1
|
H A D | dlopen_resolve_basic3 | 46 cat > program.c << EOI 73 compile_program_dl -o program program.c 76 test_run_ok ./program 1
|
H A D | load_lookup_next1 | 57 cat > program.c << EOI 76 compile_program_dl -o program program.c ./liba.so 79 test_run_ok ./program 15
|
H A D | dlopen_resolve_order3 | 46 cat > program.c << EOI 80 compile_program_dl -o program program.c 83 test_run_ok ./program 2
|
H A D | dlopen_resolve_order7 | 46 cat > program.c << EOI 80 compile_program_dl -o program program.c 83 test_run_ok ./program 1
|
H A D | dlopen_lookup_order3 | 55 cat > program.c << EOI 82 compile_program_dl -o program program.c 85 test_run_ok ./program 2
|
H A D | dlopen_resolve_order2 | 56 cat > program.c << EOI 83 compile_program_dl -o program program.c 86 test_run_ok ./program 2
|
H A D | dlopen_lookup_order1 | 45 cat > program.c << EOI 86 compile_program_dl -o program program.c 89 test_run_ok ./program 1
|
H A D | dlopen_resolve_order4 | 56 cat > program.c << EOI 90 compile_program_dl -o program program.c 93 test_run_ok ./program 2
|