/external/mesa3d/src/gallium/auxiliary/draw/ |
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_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_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...] |
/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/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_fs.c | 52 struct quad_stage stage; /**< base class */ member in struct:quad_shade_stage 169 qss->stage.softpipe = softpipe; 170 qss->stage.begin = shade_begin; 171 qss->stage.run = shade_quads; 172 qss->stage.destroy = shade_destroy; 174 return &qss->stage;
|
sp_quad_stipple.c | 3 * quad polygon stipple stage 73 struct quad_stage *stage = CALLOC_STRUCT(quad_stage); local 75 stage->softpipe = softpipe; 76 stage->begin = stipple_begin; 77 stage->run = stipple_quad; 78 stage->destroy = stipple_destroy; 80 return stage;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
GroupTest.java | 35 import com.badlogic.gdx.scenes.scene2d.Stage;
40 Stage stage;
field in class:GroupTest 53 stage = new Stage();
54 Gdx.input.setInputProcessor(stage);
60 stage.addActor(group2);
81 stage.draw();
100 stage.getViewport().update(width, height, true);
128 // Use Stage#toScreenCoordinates, which we know is correct. [all...] |
InterpolationTest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:InterpolationTest 55 startPosition.set(stage.getWidth() - stage.getWidth() / 5f, stage.getHeight() - stage.getHeight() / 5f);
56 targetPosition.set(startPosition.x, stage.getHeight() / 5f);
84 stage = new Stage(new ScreenViewport()); [all...] |
CpuSpriteBatchTest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage; 60 private Stage stage; field in class:CpuSpriteBatchTest 70 stage = new Stage(new ExtendViewport(500, 500), batch); 72 Gdx.input.setInputProcessor(stage); 81 stage.addActor(group); 112 float x = MathUtils.random(margin, stage.getWidth() - margin); 113 float y = MathUtils.random(margin, stage.getHeight() - margin); 124 stage.act(Gdx.graphics.getDeltaTime()) [all...] |
LabelTest.java | 28 import com.badlogic.gdx.scenes.scene2d.Stage;
38 Stage stage;
field in class:LabelTest 52 stage = new Stage(new ScreenViewport());
53 Gdx.input.setInputProcessor(stage);
56 stage.addActor(table);
84 stage.dispose();
93 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));
94 stage.draw(); [all...] |
MusicTest.java | 27 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:MusicTest 57 stage = new Stage();
67 stage.addActor(slider);
69 Gdx.input.setInputProcessor(stage);
94 stage.act();
95 stage.draw();
|
ScrollPaneTest.java | 24 import com.badlogic.gdx.scenes.scene2d.Stage;
37 private Stage stage;
field in class:ScrollPaneTest 41 stage = new Stage();
43 Gdx.input.setInputProcessor(stage);
48 stage.addActor(container);
124 stage.act(Gdx.graphics.getDeltaTime());
125 stage.draw();
129 stage.getViewport().update(width, height, true); [all...] |
SimpleStageCullingTest.java | 29 import com.badlogic.gdx.scenes.scene2d.Stage;
38 /** This is a simple demonstration of how to perform VERY basic culling on hierarchies of stage actors that do not scale or rotate.
45 /** We need to extend a base actor class so we can add the culling in the render method. We also add a method to get the stage
75 // we start by setting the stage coordinates to this
105 Stage stage;
field in class:SimpleStageCullingTest 112 // create a stage and a camera controller so we can pan the view.
113 stage = new Stage();;
114 camController = new OrthoCamController((OrthographicCamera)stage.getCamera()); // we know it's an ortho cam at this point! [all...] |
StagePerformanceTest.java | 28 import com.badlogic.gdx.scenes.scene2d.Stage;
41 Stage stage;
field in class:StagePerformanceTest 51 stage = new Stage(new ScalingViewport(Scaling.fit, 24, 12));
67 stage.addActor(img);
81 stage.act(Gdx.graphics.getDeltaTime());
82 stage.getBatch().disableBlending();
83 Group root = stage.getRoot();
88 stage.draw(); [all...] |
TableTest.java | 26 import com.badlogic.gdx.scenes.scene2d.Stage;
38 Stage stage;
field in class:TableTest 44 stage = new Stage();
45 Gdx.input.setInputProcessor(stage);
61 stage.addActor(root);
109 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));
110 stage.draw();
115 stage.getViewport().update(width, height, true); [all...] |
YDownTest.java | 33 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:YDownTest 73 // a stage which uses our y-down camera and a simple actor (see MyActor below),
75 // set our y-down camera on the stage, the rest is just for demo purposes.
76 stage = new Stage();
77 stage.getViewport().setCamera(camera);
80 stage.addActor(image);
82 // finally we write up the stage as the input process and call it a day. [all...] |
UITest.java | 25 import com.badlogic.gdx.scenes.scene2d.Stage; 61 Stage stage; field in class:UITest 75 // stage = new Stage(Gdx.graphics.getWidth(), Gdx.graphics.getHeight(), false, new PolygonSpriteBatch()); 76 stage = new Stage(new ScreenViewport()); 77 Gdx.input.setInputProcessor(stage); 166 // stage.addActor(new Button("Behind Window", skin)); 167 stage.addActor(window) [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/opencv3/modules/rsobjdetect/src/ |
innerloop.cpp | 36 const HaarStage stage = cascadeStages[stageIdx]; local 37 sc->invoke_addStage(stage.first, stage.ntrees, stage.threshold); 38 int ntrees = stage.ntrees;
|
/external/skia/src/gpu/vk/ |
GrVkUniformHandler.cpp | 144 const char* stage = (visibility == kVertex_GrShaderFlag) ? "vertex" : "fragment"; local 146 kUniformBufferDescSet, uniformBinding, stage);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Window.java | 28 import com.badlogic.gdx.scenes.scene2d.Stage; 130 Stage stage = getStage(); 131 boolean clampPosition = keepWithinStage && getParent() == stage.getRoot(); 155 if (clampPosition && windowX + width + amountX > stage.getWidth()) amountX = stage.getWidth() - windowX - width; 161 if (clampPosition && windowY + height + amountY > stage.getHeight()) 162 amountY = stage.getHeight() - windowY - height; 206 Stage stage = getStage() 231 Stage stage = getStage(); local [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/net/ |
NetAPITest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:NetAPITest 68 stage.dispose();
79 stage = new Stage();
80 Gdx.input.setInputProcessor(stage);
89 stage.addActor(statusLabel);
149 stage.addActor(btnCancel);
154 stage.addActor(btnDownloadImage); [all...] |
/device/linaro/hikey/l-loader/ |
gen_loader.py | 34 stage = 0 variable in class:generator 109 if (self.stage == 1): 114 elif (self.stage == 2): 128 print "wrong stage ", stage, "is specified" 131 if (self.idx == 0) and (self.stage == 1): 152 if (self.idx == 0) and (self.stage == 1): 162 if self.stage == 1: 164 elif self.stage == 2: 177 if self.stage == 1 [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
TrapezoidIntegrator.java | 62 * Compute the n-th stage integral of trapezoid rule. This function 73 * @param n the stage of 1/2 refinement, n = 0 is no refinement 74 * @return the value of n-th stage integral 77 double stage(final UnivariateRealFunction f, method in class:TrapezoidIntegrator 85 final long np = 1L << (n-1); // number of new points in this stage 114 double oldt = stage(f, min, max, 0); 116 final double t = stage(f, min, max, i);
|