/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_cull.c | 29 * \brief Drawing stage for polygon culling 42 struct draw_stage stage; member in struct:cull_stage 48 static INLINE struct cull_stage *cull_stage( struct draw_stage *stage ) 50 return (struct cull_stage *)stage; 54 static void cull_tri( struct draw_stage *stage, 57 const unsigned pos = draw_current_shader_position_output(stage->draw); 78 unsigned face = ((ccw == cull_stage(stage)->front_ccw) ? 82 if ((face & cull_stage(stage)->cull_face) == 0) { 83 /* triangle is not culled, pass to next stage */ 84 stage->next->tri( stage->next, header ) [all...] |
draw_pipe_unfilled.c | 29 * \brief Drawing stage for handling glPolygonMode(line/point). 43 struct draw_stage stage; member in struct:unfilled_stage 53 static INLINE struct unfilled_stage *unfilled_stage( struct draw_stage *stage ) 55 return (struct unfilled_stage *)stage; 60 static void point( struct draw_stage *stage, 65 stage->next->point( stage->next, &tmp ); 68 static void line( struct draw_stage *stage, 75 stage->next->line( stage->next, &tmp ) [all...] |
draw_pipe_util.c | 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) 42 stage->next->point(stage->next, header); 46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) 48 stage->next->line(stage->next, header); 52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) 54 stage->next->tri(stage->next, header); 69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr 114 struct draw_stage *stage = draw->pipeline.first; local [all...] |
draw_pipe_offset.c | 42 struct draw_stage stage; member in struct:offset_stage 51 static INLINE struct offset_stage *offset_stage( struct draw_stage *stage ) 53 return (struct offset_stage *) stage; 64 static void do_offset_tri( struct draw_stage *stage, 67 const unsigned pos = draw_current_shader_position_output(stage->draw); 68 struct offset_stage *offset = offset_stage(stage); 106 stage->next->tri( stage->next, header ); 110 static void offset_tri( struct draw_stage *stage, 118 tmp.v[0] = dup_vert(stage, header->v[0], 0) [all...] |
draw_pipe_flatshade.c | 42 struct draw_stage stage; member in struct:flat_stage 60 flat_stage(struct draw_stage *stage) 62 return (struct flat_stage *) stage; 67 static INLINE void copy_colors( struct draw_stage *stage, 71 const struct flat_stage *flat = flat_stage(stage); 87 static INLINE void copy_colors2( struct draw_stage *stage, 92 const struct flat_stage *flat = flat_stage(stage); 112 static void flatshade_tri_0( struct draw_stage *stage, 121 tmp.v[1] = dup_vert(stage, header->v[1], 0); 122 tmp.v[2] = dup_vert(stage, header->v[2], 1) [all...] |
draw_pipe_twoside.c | 39 struct draw_stage stage; member in struct:twoside_stage 46 static INLINE struct twoside_stage *twoside_stage( struct draw_stage *stage ) 48 return (struct twoside_stage *)stage; 59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); 76 static void twoside_tri( struct draw_stage *stage, 79 struct twoside_stage *twoside = twoside_stage(stage); 93 stage->next->tri( stage->next, &tmp ); 96 stage->next->tri( stage->next, header ) [all...] |
draw_pipe_stipple.c | 49 struct draw_stage stage; member in struct:stipple_stage 57 stipple_stage(struct draw_stage *stage) 59 return (struct stipple_stage *) stage; 90 emit_segment(struct draw_stage *stage, struct prim_header *header, 93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); 94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); 98 screen_interp( stage->draw, v0new, t0, header->v[0], header->v[1] ); 103 screen_interp( stage->draw, v1new, t1, header->v[0], header->v[1] ); 107 stage->next->line( stage->next, &newprim ) [all...] |
draw_pipe_wide_point.c | 66 struct draw_stage stage; /**< base class */ member in struct:widepoint_stage 83 widepoint_stage( struct draw_stage *stage ) 85 return (struct widepoint_stage *)stage; 97 const struct draw_context *draw = wide->stage.draw; 120 static void widepoint_point( struct draw_stage *stage, 123 const struct widepoint_stage *wide = widepoint_stage(stage); 124 const unsigned pos = draw_current_shader_position_output(stage->draw); 125 const boolean sprite = (boolean) stage->draw->rasterizer->point_quad_rasterization; 132 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); 133 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1) [all...] |
draw_pipe_wide_line.c | 41 struct draw_stage stage; member in struct:wideline_stage 48 static INLINE struct wideline_stage *wideline_stage( struct draw_stage *stage ) 50 return (struct wideline_stage *)stage; 58 static void wideline_line( struct draw_stage *stage, 61 /*const struct wideline_stage *wide = wideline_stage(stage);*/ 62 const unsigned pos = draw_current_shader_position_output(stage->draw); 63 const float half_width = 0.5f * stage->draw->rasterizer->line_width; 67 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); 68 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); 69 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2) [all...] |
draw_pipe_vbuf.c | 30 * Vertex buffer drawing stage. 50 * Vertex buffer emit stage. 53 struct draw_stage stage; /**< This must be first (base class) */ member in struct:vbuf_stage 89 vbuf_stage( struct draw_stage *stage ) 91 assert(stage); 92 return (struct vbuf_stage *)stage; 154 vbuf_tri( struct draw_stage *stage, 157 struct vbuf_stage *vbuf = vbuf_stage( stage ); 169 vbuf_line( struct draw_stage *stage, 172 struct vbuf_stage *vbuf = vbuf_stage( stage ); [all...] |
draw_pipe_clip.c | 29 * \brief Clipping stage 58 struct draw_stage stage; /**< base class */ member in struct:clip_stage 72 static INLINE struct clip_stage *clip_stage( struct draw_stage *stage ) 74 return (struct clip_stage *)stage; 98 static void copy_flat( struct draw_stage *stage, 102 const struct clip_stage *clipper = clip_stage(stage); 120 const unsigned nr_attrs = draw_current_shader_outputs(clip->stage.draw); 121 const unsigned pos_attr = draw_current_shader_position_output(clip->stage.draw); 122 const unsigned clip_attr = draw_current_shader_clipvertex_output(clip->stage.draw); 144 const float *scale = clip->stage.draw->viewport.scale [all...] |
draw_pipe_validate.c | 158 static struct draw_stage *validate_pipeline( struct draw_stage *stage ) 160 struct draw_context *draw = stage->draw; 167 /* Set the validate's next stage to the rasterize stage, so that it 170 stage->next = next; 256 /* Always run the cull stage as we calculate determinant there 268 /* Clip stage 289 static void validate_tri( struct draw_stage *stage, 292 struct draw_stage *pipeline = validate_pipeline( stage ); 296 static void validate_line( struct draw_stage *stage, 337 struct draw_stage *stage = CALLOC_STRUCT(draw_stage); local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_draw.c | 28 struct draw_stage stage; member in struct:nv50_render_stage 33 nv50_render_stage(struct draw_stage *stage) 35 return (struct nv50_render_stage *)stage; 39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim) 45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim) 51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim) 57 nv50_render_flush(struct draw_stage *stage, unsigned flags) 62 nv50_render_reset_stipple_counter(struct draw_stage *stage) 68 nv50_render_destroy(struct draw_stage *stage) 70 FREE(stage); [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_draw.c | 28 struct draw_stage stage; member in struct:nvc0_render_stage 33 nvc0_render_stage(struct draw_stage *stage) 35 return (struct nvc0_render_stage *)stage; 39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim) 45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim) 51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim) 57 nvc0_render_flush(struct draw_stage *stage, unsigned flags) 62 nvc0_render_reset_stipple_counter(struct draw_stage *stage) 68 nvc0_render_destroy(struct draw_stage *stage) 70 FREE(stage); [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
gain_dequant.h | 33 int16_t stage /* (i) The stage of the search */
|
gain_quant.h | 31 int16_t stage, /* (i) The stage of the search */
|
gain_dequant.c | 31 int16_t stage /* (i) The stage of the search */ 42 gain = WebRtcIlbcfix_kGain[stage];
|
/external/guice/core/src/com/google/inject/ |
Guice.java | 56 * calling {@link #createInjector(Stage, Module...)} with Stage.DEVELOPMENT. 67 * calling {@link #createInjector(Stage, Iterable)} with Stage.DEVELOPMENT. 73 return createInjector(Stage.DEVELOPMENT, modules); 78 * stage. 83 public static Injector createInjector(Stage stage, Module... modules) { 84 return createInjector(stage, Arrays.asList(modules)); 89 * stage [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_feedback.c | 65 struct draw_stage stage; /**< Base class */ member in struct:feedback_stage 76 feedback_stage( struct draw_stage *stage ) 78 return (struct feedback_stage *)stage; 119 feedback_tri( struct draw_stage *stage, struct prim_header *prim ) 121 struct feedback_stage *fs = feedback_stage(stage); 122 struct draw_context *draw = stage->draw; 132 feedback_line( struct draw_stage *stage, struct prim_header *prim ) 134 struct feedback_stage *fs = feedback_stage(stage); 135 struct draw_context *draw = stage->draw; 149 feedback_point( struct draw_stage *stage, struct prim_header *prim [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_emit.c | 46 struct draw_stage stage; /**< This must be first (base class) */ member in struct:setup_stage 56 static INLINE struct setup_stage *setup_stage( struct draw_stage *stage ) 58 return (struct setup_stage *)stage; 128 emit_prim( struct draw_stage *stage, 133 struct i915_context *i915 = setup_stage(stage)->i915; 173 setup_tri( struct draw_stage *stage, struct prim_header *prim ) 175 emit_prim( stage, prim, PRIM3D_TRILIST, 3 ); 180 setup_line(struct draw_stage *stage, struct prim_header *prim) 182 emit_prim( stage, prim, PRIM3D_LINELIST, 2 ); 187 setup_point(struct draw_stage *stage, struct prim_header *prim [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ImageScaleTest.java | 22 import com.badlogic.gdx.scenes.scene2d.Stage;
28 Stage stage;
field in class:ImageScaleTest 32 stage = new Stage();
33 Gdx.input.setInputProcessor(stage);
39 stage.addActor(image);
46 stage.addActor(image2);
53 stage.draw();
58 stage.dispose(); [all...] |
TouchpadTest.java | 21 import com.badlogic.gdx.scenes.scene2d.Stage;
27 Stage stage;
field in class:TouchpadTest 31 stage = new Stage();
32 Gdx.input.setInputProcessor(stage);
38 stage.addActor(touchpad);
44 stage.act(Gdx.graphics.getDeltaTime());
45 stage.draw();
49 stage.getViewport().update(width, height, true); [all...] |
TextAreaTest.java | 22 import com.badlogic.gdx.scenes.scene2d.Stage;
29 private Stage stage;
field in class:TextAreaTest 34 stage = new Stage();
35 Gdx.input.setInputProcessor(stage);
51 stage.addActor(textArea);
52 stage.addActor(textField);
59 stage.draw();
61 SpriteBatch spriteBatch = (SpriteBatch)stage.getBatch(); [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_points.c | 40 #define POINT_STAGE_DATA(stage) ((struct point_stage_data *)stage->privatePtr) 50 run_point_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage) 53 struct point_stage_data *store = POINT_STAGE_DATA(stage); 80 alloc_point_data(struct gl_context *ctx, struct tnl_pipeline_stage *stage) 84 stage->privatePtr = malloc(sizeof(*store)); 85 store = POINT_STAGE_DATA(stage); 95 free_point_data(struct tnl_pipeline_stage *stage) 97 struct point_stage_data *store = POINT_STAGE_DATA(stage); 101 stage->privatePtr = NULL [all...] |
t_vb_texmat.c | 52 #define TEXMAT_STAGE_DATA(stage) ((struct texmat_stage_data *)stage->privatePtr) 57 struct tnl_pipeline_stage *stage ) 59 struct texmat_stage_data *store = TEXMAT_STAGE_DATA(stage); 83 /* Called the first time stage->run() is invoked. 86 struct tnl_pipeline_stage *stage ) 92 stage->privatePtr = CALLOC(sizeof(*store)); 93 store = TEXMAT_STAGE_DATA(stage); 104 static void free_texmat_data( struct tnl_pipeline_stage *stage ) 106 struct texmat_stage_data *store = TEXMAT_STAGE_DATA(stage); [all...] |