Home
last modified time | relevance | path

Searched refs:stage (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c43 struct draw_stage stage; member
49 static inline struct cull_stage *cull_stage( struct draw_stage *stage ) in cull_stage() argument
51 return (struct cull_stage *)stage; in cull_stage()
66 static void cull_point( struct draw_stage *stage, in cull_point() argument
70 draw_current_shader_num_written_culldistances(stage->draw); in cull_point()
72 draw_current_shader_num_written_clipdistances(stage->draw); in cull_point()
80 draw_current_shader_ccdistance_output(stage->draw, cull_idx); in cull_point()
87 stage->next->point( stage->next, header ); in cull_point()
96 static void cull_line( struct draw_stage *stage, in cull_line() argument
100 draw_current_shader_num_written_culldistances(stage->draw); in cull_line()
[all …]
Ddraw_pipe_unfilled.c44 struct draw_stage stage; member
56 static inline struct unfilled_stage *unfilled_stage( struct draw_stage *stage ) in unfilled_stage() argument
58 return (struct unfilled_stage *)stage; in unfilled_stage()
62 inject_front_face_info(struct draw_stage *stage, in inject_front_face_info() argument
65 struct unfilled_stage *unfilled = unfilled_stage(stage); in inject_front_face_info()
68 (stage->draw->rasterizer->front_ccw && ccw) || in inject_front_face_info()
69 (!stage->draw->rasterizer->front_ccw && !ccw)); in inject_front_face_info()
89 static void point(struct draw_stage *stage, in point() argument
97 stage->next->point(stage->next, &tmp); in point()
100 static void line(struct draw_stage *stage, in line() argument
[all …]
Ddraw_pipe_flatshade.c43 struct draw_stage stage; member
51 flat_stage(struct draw_stage *stage) in flat_stage() argument
53 return (struct flat_stage *) stage; in flat_stage()
58 static inline void copy_flats( struct draw_stage *stage, in copy_flats() argument
62 const struct flat_stage *flat = flat_stage(stage); in copy_flats()
73 static inline void copy_flats2( struct draw_stage *stage, in copy_flats2() argument
78 const struct flat_stage *flat = flat_stage(stage); in copy_flats2()
93 static void flatshade_tri_0( struct draw_stage *stage, in flatshade_tri_0() argument
102 tmp.v[1] = dup_vert(stage, header->v[1], 0); in flatshade_tri_0()
103 tmp.v[2] = dup_vert(stage, header->v[2], 1); in flatshade_tri_0()
[all …]
Ddraw_pipe_stipple.c49 struct draw_stage stage; member
57 stipple_stage(struct draw_stage *stage) in stipple_stage() argument
59 return (struct stipple_stage *) stage; in stipple_stage()
90 emit_segment(struct draw_stage *stage, struct prim_header *header, in emit_segment() argument
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); in emit_segment()
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); in emit_segment()
98 screen_interp( stage->draw, v0new, t0, header->v[0], header->v[1] ); in emit_segment()
103 screen_interp( stage->draw, v1new, t1, header->v[0], header->v[1] ); in emit_segment()
107 stage->next->line( stage->next, &newprim ); in emit_segment()
120 stipple_line(struct draw_stage *stage, struct prim_header *header) in stipple_line() argument
[all …]
Ddraw_pipe_twoside.c39 struct draw_stage stage; member
46 static inline struct twoside_stage *twoside_stage( struct draw_stage *stage ) in twoside_stage() argument
48 return (struct twoside_stage *)stage; in twoside_stage()
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); in copy_bfc()
76 static void twoside_tri( struct draw_stage *stage, in twoside_tri() argument
79 struct twoside_stage *twoside = twoside_stage(stage); in twoside_tri()
93 stage->next->tri( stage->next, &tmp ); in twoside_tri()
96 stage->next->tri( stage->next, header ); in twoside_tri()
102 static void twoside_first_tri( struct draw_stage *stage, in twoside_first_tri() argument
105 struct twoside_stage *twoside = twoside_stage(stage); in twoside_first_tri()
[all …]
Ddraw_pipe_wide_line.c41 struct draw_stage stage; member
48 static inline struct wideline_stage *wideline_stage( struct draw_stage *stage ) in wideline_stage() argument
50 return (struct wideline_stage *)stage; in wideline_stage()
58 static void wideline_line( struct draw_stage *stage, in wideline_line() argument
62 const unsigned pos = draw_current_shader_position_output(stage->draw); in wideline_line()
63 const float half_width = 0.5f * stage->draw->rasterizer->line_width; in wideline_line()
67 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in wideline_line()
68 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in wideline_line()
69 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2); in wideline_line()
70 struct vertex_header *v3 = dup_vert(stage, header->v[1], 3); in wideline_line()
[all …]
Ddraw_pipe_offset.c43 struct draw_stage stage; member
52 static inline struct offset_stage *offset_stage( struct draw_stage *stage ) in offset_stage() argument
54 return (struct offset_stage *) stage; in offset_stage()
65 static void do_offset_tri( struct draw_stage *stage, in do_offset_tri() argument
68 const unsigned pos = draw_current_shader_position_output(stage->draw); in do_offset_tri()
69 struct offset_stage *offset = offset_stage(stage); in do_offset_tri()
97 if (stage->draw->floating_point_depth) { in do_offset_tri()
127 stage->next->tri( stage->next, header ); in do_offset_tri()
131 static void offset_tri( struct draw_stage *stage, in offset_tri() argument
139 tmp.v[0] = dup_vert(stage, header->v[0], 0); in offset_tri()
[all …]
Ddraw_pipe_util.c40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_point() argument
42 stage->next->point(stage->next, header); in draw_pipe_passthrough_point()
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_line() argument
48 stage->next->line(stage->next, header); in draw_pipe_passthrough_line()
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_tri() argument
54 stage->next->tri(stage->next, header); in draw_pipe_passthrough_tri()
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr ) in draw_alloc_temp_verts() argument
71 assert(!stage->tmp); in draw_alloc_temp_verts()
73 stage->tmp = NULL; in draw_alloc_temp_verts()
74 stage->nr_tmps = nr; in draw_alloc_temp_verts()
[all …]
Ddraw_pipe_wide_point.c67 struct draw_stage stage; /**< base class */ member
87 widepoint_stage( struct draw_stage *stage ) in widepoint_stage() argument
89 return (struct widepoint_stage *)stage; in widepoint_stage()
101 const struct draw_context *draw = wide->stage.draw; in set_texcoords()
124 static void widepoint_point( struct draw_stage *stage, in widepoint_point() argument
127 const struct widepoint_stage *wide = widepoint_stage(stage); in widepoint_point()
128 const unsigned pos = draw_current_shader_position_output(stage->draw); in widepoint_point()
129 const boolean sprite = (boolean) stage->draw->rasterizer->point_quad_rasterization; in widepoint_point()
136 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in widepoint_point()
137 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in widepoint_point()
[all …]
Ddraw_pipe_clip.c60 struct draw_stage stage; /**< base class */ member
81 static inline struct clip_stage *clip_stage(struct draw_stage *stage) in clip_stage() argument
83 return (struct clip_stage *)stage; in clip_stage()
122 static void copy_flat(struct draw_stage *stage, in copy_flat() argument
126 const struct clip_stage *clipper = clip_stage(stage); in copy_flat()
169 clip->stage.draw->viewports[viewport_index].scale; in interp()
171 clip->stage.draw->viewports[viewport_index].translate; in interp()
245 static void emit_poly(struct draw_stage *stage, in emit_poly() argument
251 const struct clip_stage *clipper = clip_stage(stage); in emit_poly()
258 if (stage->draw->rasterizer->flatshade_first) { in emit_poly()
[all …]
Ddraw_pipe_vbuf.c53 struct draw_stage stage; /**< This must be first (base class) */ member
90 vbuf_stage( struct draw_stage *stage ) in vbuf_stage() argument
92 assert(stage); in vbuf_stage()
93 return (struct vbuf_stage *)stage; in vbuf_stage()
155 vbuf_tri( struct draw_stage *stage, in vbuf_tri() argument
158 struct vbuf_stage *vbuf = vbuf_stage( stage ); in vbuf_tri()
170 vbuf_line( struct draw_stage *stage, in vbuf_line() argument
173 struct vbuf_stage *vbuf = vbuf_stage( stage ); in vbuf_line()
185 vbuf_point( struct draw_stage *stage, in vbuf_point() argument
188 struct vbuf_stage *vbuf = vbuf_stage( stage ); in vbuf_point()
[all …]
Ddraw_pipe_pstipple.c76 struct draw_stage stage; member
163 struct draw_context *draw = pstip->stage.draw; in bind_pstip_fragment_shader()
176 pstip_stage( struct draw_stage *stage ) in pstip_stage() argument
178 return (struct pstip_stage *) stage; in pstip_stage()
183 pstip_first_tri(struct draw_stage *stage, struct prim_header *header) in pstip_first_tri() argument
185 struct pstip_stage *pstip = pstip_stage(stage); in pstip_first_tri()
187 struct draw_context *draw = stage->draw; in pstip_first_tri()
191 assert(stage->draw->rasterizer->poly_stipple_enable); in pstip_first_tri()
195 stage->tri = draw_pipe_passthrough_tri; in pstip_first_tri()
196 stage->tri(stage, header); in pstip_first_tri()
[all …]
Ddraw_pipe_validate.c145 static struct draw_stage *validate_pipeline( struct draw_stage *stage ) in validate_pipeline() argument
147 struct draw_context *draw = stage->draw; in validate_pipeline()
157 stage->next = next; in validate_pipeline()
280 static void validate_tri( struct draw_stage *stage, in validate_tri() argument
283 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_tri()
287 static void validate_line( struct draw_stage *stage, in validate_line() argument
290 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_line()
294 static void validate_point( struct draw_stage *stage, in validate_point() argument
297 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_point()
301 static void validate_reset_stipple_counter( struct draw_stage *stage ) in validate_reset_stipple_counter() argument
[all …]
Ddraw_pipe_aapoint.c86 struct draw_stage stage; member
364 struct pipe_context *pipe = aapoint->stage.draw->pipe; in generate_aapoint_fs()
415 struct draw_context *draw = aapoint->stage.draw; in bind_aapoint_fragment_shader()
432 aapoint_stage( struct draw_stage *stage ) in aapoint_stage() argument
434 return (struct aapoint_stage *) stage; in aapoint_stage()
444 aapoint_point(struct draw_stage *stage, struct prim_header *header) in aapoint_point() argument
446 const struct aapoint_stage *aapoint = aapoint_stage(stage); in aapoint_point()
496 v[i] = dup_vert(stage, header->v[0], i); in aapoint_point()
533 stage->next->tri( stage->next, &tri ); in aapoint_point()
538 stage->next->tri( stage->next, &tri ); in aapoint_point()
[all …]
Ddraw_pipe_aaline.c88 struct draw_stage stage; member
327 struct pipe_context *pipe = aaline->stage.draw->pipe; in generate_aaline_fs()
382 struct pipe_context *pipe = aaline->stage.draw->pipe; in aaline_create_texture()
474 struct pipe_context *pipe = aaline->stage.draw->pipe; in aaline_create_sampler()
502 struct draw_context *draw = aaline->stage.draw; in bind_aaline_fragment_shader()
519 aaline_stage( struct draw_stage *stage ) in aaline_stage() argument
521 return (struct aaline_stage *) stage; in aaline_stage()
530 aaline_line(struct draw_stage *stage, struct prim_header *header) in aaline_line() argument
532 const struct aaline_stage *aaline = aaline_stage(stage); in aaline_line()
551 v[i] = dup_vert(stage, header->v[i/4], i); in aaline_line()
[all …]
/external/swiftshader/src/D3D8/
DDirect3DStateBlock8.cpp38 for(int stage = 0; stage < 8; stage++) in Direct3DStateBlock8() local
40 texture[stage] = 0; in Direct3DStateBlock8()
131 for(int stage = 0; stage < 8; stage++) in Apply() local
135 if(textureStageStateCaptured[stage][state]) in Apply()
137 …device->SetTextureStageState(stage, (D3DTEXTURESTAGESTATETYPE)state, textureStageState[stage][stat… in Apply()
150 for(int stage = 0; stage < 8; stage++) in Apply() local
152 if(textureCaptured[stage]) in Apply()
154 device->SetTexture(stage, texture[stage]); in Apply()
214 for(int stage = 0; stage < 8; stage++) in Capture() local
218 if(textureStageStateCaptured[stage][state]) in Capture()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeSchedule5.td11 // MBlaze instruction itineraries for the five stage pipeline.
19 // two source operands are read during the decode stage and the result is
20 // ready after the execute stage.
22 [ InstrStage<1,[IF]> // one cycle in fetch stage
23 , InstrStage<1,[ID]> // one cycle in decode stage
24 , InstrStage<1,[EX]> // one cycle in execute stage
25 , InstrStage<1,[MA]> // one cycle in memory access stage
26 , InstrStage<1,[WB]>], // one cycle in write back stage
34 // pipeline stages. The two source operands are read during the decode stage
35 // and the result is ready after the execute stage.
[all …]
DMBlazeSchedule3.td11 // MBlaze instruction itineraries for the three stage pipeline.
19 // two source operands are read during the decode stage and the result is
20 // ready after the execute stage.
22 [ InstrStage<1,[IF]> // one cycle in fetch stage
23 , InstrStage<1,[ID]> // one cycle in decode stage
24 , InstrStage<1,[EX]>], // one cycle in execute stage
32 // pipeline stages except the execute stage, which takes three cycles. The
33 // two source operands are read during the decode stage and the result is
34 // ready after the execute stage.
36 [ InstrStage<1,[IF]> // one cycle in fetch stage
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_feedback.c63 struct draw_stage stage; /**< Base class */ member
74 feedback_stage( struct draw_stage *stage ) in feedback_stage() argument
76 return (struct feedback_stage *)stage; in feedback_stage()
119 feedback_tri( struct draw_stage *stage, struct prim_header *prim ) in feedback_tri() argument
121 struct feedback_stage *fs = feedback_stage(stage); in feedback_tri()
122 struct draw_context *draw = stage->draw; in feedback_tri()
132 feedback_line( struct draw_stage *stage, struct prim_header *prim ) in feedback_line() argument
134 struct feedback_stage *fs = feedback_stage(stage); in feedback_line()
135 struct draw_context *draw = stage->draw; in feedback_line()
149 feedback_point( struct draw_stage *stage, struct prim_header *prim ) in feedback_point() argument
[all …]
/external/skqp/src/core/
DSkBlendMode.cpp86 auto stage = SkRasterPipeline::srcover; in SkBlendMode_AppendStages() local
88 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
90 case SkBlendMode::kDst: stage = SkRasterPipeline::move_dst_src; break; in SkBlendMode_AppendStages()
91 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages()
92 case SkBlendMode::kDstOver: stage = SkRasterPipeline::dstover; break; in SkBlendMode_AppendStages()
93 case SkBlendMode::kSrcIn: stage = SkRasterPipeline::srcin; break; in SkBlendMode_AppendStages()
94 case SkBlendMode::kDstIn: stage = SkRasterPipeline::dstin; break; in SkBlendMode_AppendStages()
95 case SkBlendMode::kSrcOut: stage = SkRasterPipeline::srcout; break; in SkBlendMode_AppendStages()
96 case SkBlendMode::kDstOut: stage = SkRasterPipeline::dstout; break; in SkBlendMode_AppendStages()
97 case SkBlendMode::kSrcATop: stage = SkRasterPipeline::srcatop; break; in SkBlendMode_AppendStages()
[all …]
/external/skia/src/core/
DSkBlendMode.cpp87 auto stage = SkRasterPipeline::srcover; in SkBlendMode_AppendStages() local
89 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
91 case SkBlendMode::kDst: stage = SkRasterPipeline::move_dst_src; break; in SkBlendMode_AppendStages()
92 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages()
93 case SkBlendMode::kDstOver: stage = SkRasterPipeline::dstover; break; in SkBlendMode_AppendStages()
94 case SkBlendMode::kSrcIn: stage = SkRasterPipeline::srcin; break; in SkBlendMode_AppendStages()
95 case SkBlendMode::kDstIn: stage = SkRasterPipeline::dstin; break; in SkBlendMode_AppendStages()
96 case SkBlendMode::kSrcOut: stage = SkRasterPipeline::srcout; break; in SkBlendMode_AppendStages()
97 case SkBlendMode::kDstOut: stage = SkRasterPipeline::dstout; break; in SkBlendMode_AppendStages()
98 case SkBlendMode::kSrcATop: stage = SkRasterPipeline::srcatop; break; in SkBlendMode_AppendStages()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c46 struct draw_stage stage; /**< This must be first (base class) */ member
56 static inline struct setup_stage *setup_stage( struct draw_stage *stage ) in setup_stage() argument
58 return (struct setup_stage *)stage; in setup_stage()
128 emit_prim( struct draw_stage *stage, in emit_prim() argument
133 struct i915_context *i915 = setup_stage(stage)->i915; in emit_prim()
173 setup_tri( struct draw_stage *stage, struct prim_header *prim ) in setup_tri() argument
175 emit_prim( stage, prim, PRIM3D_TRILIST, 3 ); in setup_tri()
180 setup_line(struct draw_stage *stage, struct prim_header *prim) in setup_line() argument
182 emit_prim( stage, prim, PRIM3D_LINELIST, 2 ); in setup_line()
187 setup_point(struct draw_stage *stage, struct prim_header *prim) in setup_point() argument
[all …]
/external/toolchain-utils/bestflags/
Dpipeline_worker.py21 def Helper(stage, done_dict, helper_queue, completed_queue, result_queue): argument
59 assert not task.Done(stage)
62 identifier = task.GetIdentifier(stage)
71 task.SetResult(stage, done_dict[identifier])
77 GetResultFromCompletedQueue(stage, completed_queue, done_dict, waiting_list,
82 GetResultFromCompletedQueue(stage, completed_queue, done_dict, waiting_list,
86 def GetResultFromCompletedQueue(stage, completed_queue, done_dict, waiting_list, argument
114 tasks = [t for t in waiting_list if t.GetIdentifier(stage) == identifier]
116 duplicate_task.SetResult(stage, result)
121 def Worker(stage, task, helper_queue, result_queue): argument
[all …]
Dmock_task.py22 def __init__(self, stage, identifier, cost=0): argument
40 self._stage = stage
51 def GetIdentifier(self, stage): argument
52 assert stage == self._stage
55 def SetResult(self, stage, cost): argument
56 assert stage == self._stage
60 def Work(self, stage): argument
61 assert stage == self._stage
64 def GetResult(self, stage): argument
65 assert stage == self._stage
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_search.c49 int16_t ii, j, stage; in WebRtcIlbcfix_CbSearch() local
186 for (stage=0; stage<CB_NSTAGES; stage++) { in WebRtcIlbcfix_CbSearch()
189 range = WebRtcIlbcfix_kSearchRange[block][stage]; in WebRtcIlbcfix_CbSearch()
214 range=WebRtcIlbcfix_kSearchRange[block][stage]+20; in WebRtcIlbcfix_CbSearch()
216 range=WebRtcIlbcfix_kSearchRange[block][stage]; in WebRtcIlbcfix_CbSearch()
223 cDot, range, stage, inverseEnergy, in WebRtcIlbcfix_CbSearch()
241 range = WebRtcIlbcfix_kSearchRange[block][stage]; in WebRtcIlbcfix_CbSearch()
276 cDot, eInd-sInd+1, stage, inverseEnergy+indexOffset, in WebRtcIlbcfix_CbSearch()
286 index[stage] = (int16_t)bestIndex; in WebRtcIlbcfix_CbSearch()
290 … (int16_t)WEBRTC_SPL_ABS_W16(gains[stage]), stage, &gain_index[stage]); in WebRtcIlbcfix_CbSearch()
[all …]

12345678910>>...26