| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| drawpix.c | 60 IROUND(ctx->Current.RasterPos[0]), 61 IROUND(ctx->Current.RasterPos[1])); 69 /* We're not using the current vertex program, and the driver may install 136 if (!ctx->Current.RasterPosValid) { 143 GLint x = IROUND(ctx->Current.RasterPos[0]); 144 GLint y = IROUND(ctx->Current.RasterPos[1]); 167 /* Feedback the current raster pos info */ 171 ctx->Current.RasterPos, 172 ctx->Current.RasterColor, 173 ctx->Current.RasterTexCoords[0] ) [all...] |
| rastpos.c | 402 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 413 ctx->Current.RasterPosValid = GL_FALSE; 419 ctx->Current.RasterPosValid = GL_FALSE; 425 ctx->Current.RasterPosValid = GL_FALSE; 432 ctx->Current.RasterPosValid = GL_FALSE; 443 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; 444 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; 445 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; 446 ctx->Current.RasterPos[3] = clip[3]; 450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3] [all...] |
| atifragshader.c | 219 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; 233 /* unbind current */ 261 ctx->ATIFragmentShader.Current = newProg; 263 assert(ctx->ATIFragmentShader.Current); 285 if (ctx->ATIFragmentShader.Current && 286 ctx->ATIFragmentShader.Current->Id == id) { 321 free(ctx->ATIFragmentShader.Current->Instructions[i]); 322 free(ctx->ATIFragmentShader.Current->SetupInst[i]); 325 _mesa_reference_program(ctx, &ctx->ATIFragmentShader.Current->Program, NULL); 330 ctx->ATIFragmentShader.Current->Instructions[i] [all...] |
| state.h | 68 ctx->ATIFragmentShader.Current->Instructions[0]; 104 ctx->VertexProgram.Current->arb.Instructions; 132 ctx->FragmentProgram.Current->arb.Instructions;
|
| arbprogram.c | 63 * Bind a program (make it current) 75 curProg = ctx->VertexProgram.Current; 79 curProg = ctx->FragmentProgram.Current; 131 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg); 134 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, newProg); 140 assert(ctx->VertexProgram.Current); 141 assert(ctx->FragmentProgram.Current); 173 if (ctx->VertexProgram.Current && 174 ctx->VertexProgram.Current->Id == ids[i]) { 180 if (ctx->FragmentProgram.Current & [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| drawpix.c | 62 lroundf(ctx->Current.RasterPos[0]), 63 lroundf(ctx->Current.RasterPos[1])); 71 /* We're not using the current vertex program, and the driver may install 143 if (!ctx->Current.RasterPosValid) { 150 GLint x = lroundf(ctx->Current.RasterPos[0]); 151 GLint y = lroundf(ctx->Current.RasterPos[1]); 174 /* Feedback the current raster pos info */ 178 ctx->Current.RasterPos, 179 ctx->Current.RasterColor, 180 ctx->Current.RasterTexCoords[0] ) [all...] |
| rastpos.c | 408 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 419 ctx->Current.RasterPosValid = GL_FALSE; 425 ctx->Current.RasterPosValid = GL_FALSE; 431 ctx->Current.RasterPosValid = GL_FALSE; 438 ctx->Current.RasterPosValid = GL_FALSE; 449 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; 450 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; 451 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; 452 ctx->Current.RasterPos[3] = clip[3]; 456 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3] [all...] |
| atifragshader.c | 221 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; 235 /* unbind current */ 265 ctx->ATIFragmentShader.Current = newProg; 267 assert(ctx->ATIFragmentShader.Current); 289 if (ctx->ATIFragmentShader.Current && 290 ctx->ATIFragmentShader.Current->Id == id) { 325 free(ctx->ATIFragmentShader.Current->Instructions[i]); 326 free(ctx->ATIFragmentShader.Current->SetupInst[i]); 329 _mesa_reference_program(ctx, &ctx->ATIFragmentShader.Current->Program, NULL); 334 ctx->ATIFragmentShader.Current->Instructions[i] [all...] |
| state.h | 62 ctx->ATIFragmentShader.Current->Instructions[0]; 98 ctx->VertexProgram.Current->arb.Instructions; 126 ctx->FragmentProgram.Current->arb.Instructions;
|
| arbprogram.c | 100 * Bind a program (make it current) 112 curProg = ctx->VertexProgram.Current; 116 curProg = ctx->FragmentProgram.Current; 145 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg); 148 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, newProg); 155 assert(ctx->VertexProgram.Current); 156 assert(ctx->FragmentProgram.Current); 188 if (ctx->VertexProgram.Current && 189 ctx->VertexProgram.Current->Id == ids[i]) { 195 if (ctx->FragmentProgram.Current & [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/ |
| glcpp.h | 86 # define YYLLOC_DEFAULT(Current, Rhs, N) \ 90 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ 91 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ 92 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ 93 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \ 97 (Current).first_line = (Current).last_line = \ 99 (Current).first_column = (Current).last_column = \ 102 (Current).source = 0; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/ |
| glcpp.h | 86 # define YYLLOC_DEFAULT(Current, Rhs, N) \ 90 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ 91 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ 92 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ 93 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \ 97 (Current).first_line = (Current).last_line = \ 99 (Current).first_column = (Current).last_column = \ 102 (Current).source = 0; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| program.c | 93 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, 95 assert(ctx->VertexProgram.Current); 99 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, 101 assert(ctx->FragmentProgram.Current); 107 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; 108 assert(ctx->ATIFragmentShader.Current); 109 ctx->ATIFragmentShader.Current->RefCount++; 119 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); 121 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); 125 if (ctx->ATIFragmentShader.Current) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_cb_rasterpos.c | 31 * of the 'draw' pipeline to capture the results and update the current 115 * else copy the current attrib. 128 src = ctx->Current.Attrib[defaultAttrib]; 151 ctx->Current.RasterPosValid = GL_TRUE; 155 ctx->Current.RasterPos[0] = pos[0]; 157 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ 159 ctx->Current.RasterPos[1] = pos[1]; 160 ctx->Current.RasterPos[2] = pos[2]; 161 ctx->Current.RasterPos[3] = pos[3]; 165 ctx->Current.RasterColor [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_cb_rasterpos.c | 31 * of the 'draw' pipeline to capture the results and update the current 115 * else copy the current attrib. 128 src = ctx->Current.Attrib[defaultAttrib]; 148 ctx->Current.RasterPosValid = GL_TRUE; 152 ctx->Current.RasterPos[0] = pos[0]; 154 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ 156 ctx->Current.RasterPos[1] = pos[1]; 157 ctx->Current.RasterPos[2] = pos[2]; 158 ctx->Current.RasterPos[3] = pos[3]; 162 ctx->Current.RasterColor [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| program.c | 94 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, 96 assert(ctx->VertexProgram.Current); 100 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, 102 assert(ctx->FragmentProgram.Current); 108 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; 109 assert(ctx->ATIFragmentShader.Current); 110 ctx->ATIFragmentShader.Current->RefCount++; 120 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); 122 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); 126 if (ctx->ATIFragmentShader.Current) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| glsl_parser_extras.h | 98 * Determine whether the current GLSL version is sufficiently high to 485 * Printable list of GLSL versions supported by the current context 600 * During AST to IR conversion, pointer to current IR function 630 /** Loop or switch statement containing the current instructions. */ 976 # define YYLLOC_DEFAULT(Current, Rhs, N) \ 980 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ 981 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ 982 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ 983 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \ 984 (Current).path = YYRHSLOC(Rhs, N).path; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| glsl_parser_extras.h | 96 * Determine whether the current GLSL version is sufficiently high to 477 * Printable list of GLSL versions supported by the current context 592 * During AST to IR conversion, pointer to current IR function 618 /** Loop or switch statement containing the current instructions. */ 941 # define YYLLOC_DEFAULT(Current, Rhs, N) \ 945 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ 946 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ 947 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ 948 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \ 952 (Current).first_line = (Current).last_line = [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| radeon_maos_vbtmp.h | 74 tc2 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX2]; 91 tc1 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX1]; 108 tc0 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX0]; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 129 col = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR0]; 139 spec = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR1]; 149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG];
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_maos_vbtmp.h | 74 tc2 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX2]; 91 tc1 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX1]; 108 tc0 = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_TEX0]; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 129 col = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR0]; 139 spec = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR1]; 149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| radeon_pair_schedule.c | 134 struct schedule_instruction * Current; 135 /** Array of the previous writers of Current's destination register 844 * current index, then it is OK to read from more than one component. 1155 if (*v && (*v)->Writer == s->Current) { 1161 * register. In this case, the current instruction (s->Current) 1168 /* We need to make sure we are adding s->Current to the 1172 add_tex_reader(s, s->PrevWriter[chan], s->Current); 1177 DBG("%i: read %i[%i] chan %i\n", s->Current->Instruction->IP, file, index, chan); 1180 reader->Reader = s->Current; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| radeon_pair_schedule.c | 134 struct schedule_instruction * Current; 135 /** Array of the previous writers of Current's destination register 844 * current index, then it is OK to read from more than one component. 1155 if (*v && (*v)->Writer == s->Current) { 1161 * register. In this case, the current instruction (s->Current) 1168 /* We need to make sure we are adding s->Current to the 1172 add_tex_reader(s, s->PrevWriter[chan], s->Current); 1177 DBG("%i: read %i[%i] chan %i\n", s->Current->Instruction->IP, file, index, chan); 1180 reader->Reader = s->Current; [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| iconmgr.c | 53 static WList *Current = NULL; 413 if(!Current) { 417 cur_row = Current->row; 418 cur_col = Current->col; 419 ip = Current->iconmgr; 427 if((tmp = Current->next) == NULL) { 434 if((tmp = Current->prev) == NULL) { 544 if(!Current) { 545 Current = Active; 547 if(!Current) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/vbo/ |
| vbo_context.c | 69 * Set up the vbo->currval arrays to point at the context's current 77 /* Set up a constant (Stride == 0) array for each current 84 struct gl_array_attributes *attrib = &vbo->current[attr]; 86 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), 87 ctx->Current.Attrib[attr]); 100 struct gl_array_attributes *attrib = &vbo->current[attr]; 102 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]); 113 /* Set up a constant (StrideB == 0) array for each current 118 struct gl_array_attributes *attrib = &vbo->current[attr]; 219 return &vbo->current[_vbo_attribute_alias_map[vmp][attr]] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/ |
| vbo_context.c | 68 * Set up the vbo->currval arrays to point at the context's current 77 /* Set up a constant (Stride == 0) array for each current 82 struct gl_array_attributes *attrib = &vbo->current[attr]; 84 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), 85 ctx->Current.Attrib[attr]); 98 struct gl_array_attributes *attrib = &vbo->current[attr]; 100 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]); 111 /* Set up a constant (StrideB == 0) array for each current 116 struct gl_array_attributes *attrib = &vbo->current[attr]; 223 return &vbo->current[_vbo_attribute_alias_map[vmp][attr]] [all...] |