Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenprog_print.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5.3 00004 * 00005 * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a 00008 * copy of this software and associated documentation files (the "Software"), 00009 * to deal in the Software without restriction, including without limitation 00010 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00011 * and/or sell copies of the Software, and to permit persons to whom the 00012 * Software is furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included 00015 * in all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00018 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00020 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00021 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00022 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 00026 #ifndef PROG_PRINT_H 00027 #define PROG_PRINT_H 00028 00029 00033 typedef enum { 00034 PROG_PRINT_ARB, 00035 PROG_PRINT_NV, 00036 PROG_PRINT_DEBUG 00037 } gl_prog_print_mode; 00038 00039 00040 extern const char * 00041 _mesa_condcode_string(GLuint condcode); 00042 00043 extern const char * 00044 _mesa_swizzle_string(GLuint swizzle, GLuint negateBase, GLboolean extended); 00045 00046 const char * 00047 _mesa_writemask_string(GLuint writeMask); 00048 00049 extern void 00050 _mesa_print_alu_instruction(const struct prog_instruction *inst, 00051 const char *opcode_string, GLuint numRegs); 00052 00053 extern void 00054 _mesa_print_instruction(const struct prog_instruction *inst); 00055 00056 extern GLint 00057 _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent, 00058 gl_prog_print_mode mode, 00059 const struct gl_program *prog); 00060 00061 extern void 00062 _mesa_print_program(const struct gl_program *prog); 00063 00064 extern void 00065 _mesa_print_program_opt(const struct gl_program *prog, gl_prog_print_mode mode, 00066 GLboolean lineNumbers); 00067 00068 extern void 00069 _mesa_print_program_parameters(GLcontext *ctx, const struct gl_program *prog); 00070 00071 extern void 00072 _mesa_print_parameter_list(const struct gl_program_parameter_list *list); 00073 00074 00075 #endif /* PROG_PRINT_H */ Generated on Sat May 26 2012 04:19:22 for ReactOS by
1.7.6.1
|