/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
H A D | 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);
|
H A D | LegendreGaussIntegrator.java | 173 double oldt = stage(f, min, max, 1); 179 final double t = stage(f, min, max, n); 205 * Compute the n-th stage integral. 210 * @return the value of n-th stage integral 214 private double stage(final UnivariateRealFunction f, method in class:LegendreGaussIntegrator 218 // set up the step for the current stage
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_util.c | 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) argument 42 stage->next->point(stage->next, header); 46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) argument 48 stage->next->line(stage->next, header); 52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) argument 54 stage->next->tri(stage->next, header); 69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigne argument 114 struct draw_stage *stage = draw->pipeline.first; local [all...] |
H A D | 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, argument 79 struct twoside_stage *twoside = twoside_stage(stage); 93 stage->next->tri( stage->next, &tmp ); 96 stage->next->tri( stage 102 twoside_first_tri( struct draw_stage *stage, struct prim_header *header ) argument 142 twoside_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
H A D | draw_pipe.h | 59 struct draw_stage *next; /**< next stage in pipeline */ 95 extern void draw_free_temp_verts( struct draw_stage *stage ); 96 extern boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr ); 100 void draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header); 101 void draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header); 102 void draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header); 108 * \param stage drawing stage info 110 * \param idx index into stage's tmp[] array to put the copy (dest) 114 dup_vert( struct draw_stage *stage, argument [all...] |
H A D | 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, argument 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 90 cull_first_tri( struct draw_stage *stage, struct prim_header *header ) argument 103 cull_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
H A D | 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, argument 65 stage->next->point( stage->next, &tmp ); 68 static void line( struct draw_stage *stage, argument 75 stage->next->line( stage 79 points( struct draw_stage *stage, struct prim_header *header ) argument 92 lines( struct draw_stage *stage, struct prim_header *header ) argument 133 unfilled_tri( struct draw_stage *stage, struct prim_header *header ) argument 159 unfilled_first_tri( struct draw_stage *stage, struct prim_header *header ) argument 174 unfilled_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
H A D | 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, argument 292 struct draw_stage *pipeline = validate_pipeline( stage ); 296 static void validate_line( struct draw_stage *stage, argument 303 validate_point( struct draw_stage *stage, struct prim_header *header ) argument 316 validate_flush( struct draw_stage *stage, unsigned flags ) argument 337 struct draw_stage *stage = CALLOC_STRUCT(draw_stage); local [all...] |
H A D | draw_pipe_flatshade.c | 42 struct draw_stage stage; member in struct:flat_stage 60 flat_stage(struct draw_stage *stage) argument 62 return (struct flat_stage *) stage; 67 static INLINE void copy_colors( struct draw_stage *stage, argument 71 const struct flat_stage *flat = flat_stage(stage); 87 static INLINE void copy_colors2( struct draw_stage *stage, argument 92 const struct flat_stage *flat = flat_stage(stage); 112 static void flatshade_tri_0( struct draw_stage *stage, argument 121 tmp.v[1] = dup_vert(stage, header->v[1], 0); 122 tmp.v[2] = dup_vert(stage, heade 130 flatshade_tri_2( struct draw_stage *stage, struct prim_header *header ) argument 154 flatshade_line_0( struct draw_stage *stage, struct prim_header *header ) argument 167 flatshade_line_1( struct draw_stage *stage, struct prim_header *header ) argument 214 flatshade_first_tri( struct draw_stage *stage, struct prim_header *header ) argument 221 flatshade_first_line( struct draw_stage *stage, struct prim_header *header ) argument 229 flatshade_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
H A D | 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, argument 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, argument 118 tmp.v[0] = dup_vert(stage, heade 126 offset_first_tri( struct draw_stage *stage, struct prim_header *header ) argument 142 offset_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
H A D | 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, argument 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, heade 152 wideline_first_line( struct draw_stage *stage, struct prim_header *header ) argument 172 wideline_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_draw.c | 28 struct draw_stage stage; member in struct:nv50_render_stage 33 nv50_render_stage(struct draw_stage *stage) argument 35 return (struct nv50_render_stage *)stage; 39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim) argument 45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim) argument 51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim) argument 57 nv50_render_flush(struct draw_stage *stage, unsigned flags) argument 62 nv50_render_reset_stipple_counter(struct draw_stage *stage) argument 68 nv50_render_destroy(struct draw_stage *stage) argument 70 FREE(stage); [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_draw.c | 28 struct draw_stage stage; member in struct:nvc0_render_stage 33 nvc0_render_stage(struct draw_stage *stage) argument 35 return (struct nvc0_render_stage *)stage; 39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim) argument 45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim) argument 51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim) argument 57 nvc0_render_flush(struct draw_stage *stage, unsigned flags) argument 62 nvc0_render_reset_stipple_counter(struct draw_stage *stage) argument 68 nvc0_render_destroy(struct draw_stage *stage) argument 70 FREE(stage); [all...] |
H A D | nvc0_shader_state.c | 32 struct nvc0_program *prog, int stage) 40 nvc0->state.tls_required |= 1 << stage; 42 if (nvc0->state.tls_required == (1 << stage)) 44 nvc0->state.tls_required &= ~(1 << stage); 53 BEGIN_NVC0(push, NVC0_3D(CB_BIND(stage)), 1); 56 nvc0->state.c14_bound |= 1 << stage; 58 if (nvc0->state.c14_bound & (1 << stage)) { 59 BEGIN_NVC0(push, NVC0_3D(CB_BIND(stage)), 1); 62 nvc0->state.c14_bound &= ~(1 << stage); 31 nvc0_program_update_context_state(struct nvc0_context *nvc0, struct nvc0_program *prog, int stage) argument
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_normals.c | 46 #define NORMAL_STAGE_DATA(stage) ((struct normal_stage_data *)stage->privatePtr) 50 run_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage) argument 52 struct normal_stage_data *store = NORMAL_STAGE_DATA(stage); 92 validate_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage) argument 94 struct normal_stage_data *store = NORMAL_STAGE_DATA(stage); 146 * Allocate stage's private data (storage for transformed normals). 149 alloc_normal_data(struct gl_context *ctx, struct tnl_pipeline_stage *stage) argument 154 stage->privatePtr = malloc(sizeof(*store)); 155 store = NORMAL_STAGE_DATA(stage); 168 free_normal_data(struct tnl_pipeline_stage *stage) argument [all...] |
H A D | 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) argument 53 struct point_stage_data *store = POINT_STAGE_DATA(stage); 80 alloc_point_data(struct gl_context *ctx, struct tnl_pipeline_stage *stage) argument 84 stage->privatePtr = malloc(sizeof(*store)); 85 store = POINT_STAGE_DATA(stage); 95 free_point_data(struct tnl_pipeline_stage *stage) argument 97 struct point_stage_data *store = POINT_STAGE_DATA(stage); 101 stage [all...] |
/external/skia/src/gpu/ |
H A D | GrPendingFragmentStage.h | 21 GrPendingFragmentStage(const GrFragmentStage& stage) : fProc(stage.processor()) {} argument
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | 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;
|
H A D | 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/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_idct.h | 70 struct pipe_sampler_view *stage[2][2]; member in union:vl_idct_buffer::__anon12046
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | 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, argument 133 struct i915_context *i915 = setup_stage(stage)->i915; 173 setup_tri( struct draw_stage *stage, struct prim_header *prim ) argument 175 emit_prim( stage, prim, PRIM3D_TRILIST, 3 ); 180 setup_line(struct draw_stage *stage, struct prim_header *prim) argument 182 emit_prim( stage, prim, PRIM3D_LINELIST, 2 ); 187 setup_point(struct draw_stage *stage, struc argument 193 setup_flush( struct draw_stage *stage, unsigned flags ) argument [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
H A D | ScanHandler.java | 106 public void stage(char[] buff, int offset, int length) throws SAXException; method in interface:ScanHandler
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fProgramPipelineStateQueryTests.cpp | 149 PipelineProgramCase (Context& context, QueryType verifier, const char* name, const char* desc, glw::GLenum stage); 157 PipelineProgramCase::PipelineProgramCase (Context& context, QueryType verifier, const char* name, const char* desc, glw::GLenum stage) argument 160 , m_targetStage (stage)
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | EngineRunnable.java | 14 * In the first stage, this class attempts to decode a resource 16 * this class then requests to be posted again. During the second stage this class then attempts to use the 33 private Stage stage; field in class:EngineRunnable 40 this.stage = Stage.CACHE; 81 return stage == Stage.CACHE; 90 stage = Stage.SOURCE;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_shader.cpp | 84 unsigned int stage; local 86 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { 88 (struct brw_shader *)shProg->_LinkedShaders[stage]; 99 ctx->Driver.NewProgram(ctx, targets[stage], shader->base.Name); 107 if (stage == 0) { 143 bool output = stage == MESA_SHADER_FRAGMENT; 144 bool temp = stage == MESA_SHADER_FRAGMENT; 145 bool uniform = stage [all...] |