Searched refs:Current (Results 1 - 25 of 130) sorted by relevance

123456

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Ddrawpix.c60 IROUND(ctx->Current.RasterPos[0]),
61 IROUND(ctx->Current.RasterPos[1]));
136 if (!ctx->Current.RasterPosValid) {
143 GLint x = IROUND(ctx->Current.RasterPos[0]);
144 GLint y = IROUND(ctx->Current.RasterPos[1]);
171 ctx->Current.RasterPos,
172 ctx->Current.RasterColor,
173 ctx->Current.RasterTexCoords[0] );
204 IROUND(ctx->Current.RasterPos[0]),
205 IROUND(ctx->Current
[all...]
H A Drastpos.c402 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
[all...]
H A Datifragshader.c219 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.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] =
333 ctx->ATIFragmentShader.Current
[all...]
H A Dstate.h68 ctx->ATIFragmentShader.Current->Instructions[0];
104 ctx->VertexProgram.Current->arb.Instructions;
132 ctx->FragmentProgram.Current->arb.Instructions;
H A Darbprogram.c75 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 &&
181 ctx->FragmentProgram.Current
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Ddrawpix.c62 lroundf(ctx->Current.RasterPos[0]),
63 lroundf(ctx->Current.RasterPos[1]));
143 if (!ctx->Current.RasterPosValid) {
150 GLint x = lroundf(ctx->Current.RasterPos[0]);
151 GLint y = lroundf(ctx->Current.RasterPos[1]);
178 ctx->Current.RasterPos,
179 ctx->Current.RasterColor,
180 ctx->Current.RasterTexCoords[0] );
211 lroundf(ctx->Current.RasterPos[0]),
212 lroundf(ctx->Current
[all...]
H A Drastpos.c408 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
[all...]
H A Datifragshader.c221 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.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] =
337 ctx->ATIFragmentShader.Current
[all...]
H A Dstate.h62 ctx->ATIFragmentShader.Current->Instructions[0];
98 ctx->VertexProgram.Current->arb.Instructions;
126 ctx->FragmentProgram.Current->arb.Instructions;
H A Darbprogram.c112 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 &&
196 ctx->FragmentProgram.Current
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/
H A Dglcpp.h86 # 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)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/
H A Dglcpp.h86 # 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)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram.c93 _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.old/dist/src/mesa/state_tracker/
H A Dst_cb_rasterpos.c128 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,
166 ctx->Current.RasterSecondaryColor,
171 ctx->Current
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_rasterpos.c128 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,
169 ctx->Current.RasterSecondaryColor,
174 ctx->Current
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram.c94 _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/
H A Dglsl_parser_extras.h976 # 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; \
988 (Current).first_line = (Current).last_line = \
990 (Current).first_column = (Current)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dglsl_parser_extras.h941 # 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 = \
954 (Current).first_column = (Current).last_column = \
957 (Current)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_maos_vbtmp.h74 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/mesa/drivers/dri/radeon/
H A Dradeon_maos_vbtmp.h74 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/gallium/drivers/r300/compiler/
H A Dradeon_pair_schedule.c134 struct schedule_instruction * Current; member in struct:schedule_state
135 /** Array of the previous writers of Current's destination register
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;
1194 add_tex_reader(s, (*v)->Writer, s->Current);
1195 s->Current
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_pair_schedule.c134 struct schedule_instruction * Current; member in struct:schedule_state
135 /** Array of the previous writers of Current's destination register
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;
1194 add_tex_reader(s, (*v)->Writer, s->Current);
1195 s->Current
[all...]
/xsrc/external/mit/ctwm/dist/
H A Diconmgr.c53 static WList *Current = NULL; variable in typeref:typename:WList *
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.old/dist/src/mesa/vbo/
H A Dvbo_context.c84 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]),
85 ctx->Current.Attrib[attr]);
100 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]);
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_context.c86 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]),
87 ctx->Current.Attrib[attr]);
102 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]);

Completed in 23 milliseconds

123456