Home
last modified time | relevance | path

Searched full:setup (Results 1 – 25 of 8786) sorted by relevance

12345678910>>...352

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c64 static boolean try_update_scene_state( struct lp_setup_context *setup );
68 lp_setup_get_empty_scene(struct lp_setup_context *setup) in lp_setup_get_empty_scene() argument
70 assert(setup->scene == NULL); in lp_setup_get_empty_scene()
72 setup->scene_idx++; in lp_setup_get_empty_scene()
73 setup->scene_idx %= ARRAY_SIZE(setup->scenes); in lp_setup_get_empty_scene()
75 setup->scene = setup->scenes[setup->scene_idx]; in lp_setup_get_empty_scene()
77 if (setup->scene->fence) { in lp_setup_get_empty_scene()
80 __FUNCTION__, setup->scene->fence->id); in lp_setup_get_empty_scene()
82 lp_fence_wait(setup->scene->fence); in lp_setup_get_empty_scene()
85 lp_scene_begin_binning(setup->scene, &setup->fb, setup->rasterizer_discard); in lp_setup_get_empty_scene()
[all …]
Dlp_setup_vbuf.c29 * Interface between 'draw' module's output and the llvmpipe rasterizer/setup
32 * call the point/line/tri setup functions.
63 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_get_vertex_info() local
68 lp_setup_update_state(setup, FALSE); in lp_setup_get_vertex_info()
70 return setup->vertex_info; in lp_setup_get_vertex_info()
78 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_allocate_vertices() local
81 if (setup->vertex_buffer_size < size) { in lp_setup_allocate_vertices()
82 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices()
83 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices()
84 setup->vertex_buffer_size = size; in lp_setup_allocate_vertices()
[all …]
Dlp_setup_point.c64 constant_coef(struct lp_setup_context *setup, in constant_coef() argument
77 point_persp_coeff(struct lp_setup_context *setup, in point_persp_coeff() argument
100 * Setup automatic texcoord coefficients (for sprite rendering).
101 * \param slot the vertex attribute slot to setup
108 texcoord_coef(struct lp_setup_context *setup, in texcoord_coef() argument
122 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
123 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
138 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
139 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
169 * Special coefficient setup for gl_FragCoord.
[all …]
Dlp_setup.h50 void lp_setup_reset( struct lp_setup_context *setup );
57 lp_setup_clear(struct lp_setup_context *setup,
66 lp_setup_flush( struct lp_setup_context *setup,
72 lp_setup_bind_framebuffer( struct lp_setup_context *setup,
76 lp_setup_set_triangle_state( struct lp_setup_context *setup,
84 lp_setup_set_line_state( struct lp_setup_context *setup,
88 lp_setup_set_point_state( struct lp_setup_context *setup,
95 lp_setup_set_setup_variant( struct lp_setup_context *setup,
99 lp_setup_set_fs_variant( struct lp_setup_context *setup,
103 lp_setup_set_fs_constants(struct lp_setup_context *setup,
[all …]
Dlp_setup_line.c63 static void constant_coef( struct lp_setup_context *setup, in constant_coef() argument
79 static void linear_coef( struct lp_setup_context *setup, in linear_coef() argument
96 (dadx * (info->v1[0][0] - setup->pixel_offset) + in linear_coef()
97 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef()
109 static void perspective_coef( struct lp_setup_context *setup, in perspective_coef() argument
128 (dadx * (info->v1[0][0] - setup->pixel_offset) + in perspective_coef()
129 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef()
133 setup_fragcoord_coef( struct lp_setup_context *setup, in setup_fragcoord_coef() argument
154 linear_coef(setup, info, slot, 0, 2); in setup_fragcoord_coef()
159 linear_coef(setup, info, slot, 0, 3); in setup_fragcoord_coef()
[all …]
Dlp_setup_tri.c116 lp_setup_print_vertex(struct lp_setup_context *setup, in lp_setup_print_vertex() argument
120 const struct lp_setup_variant_key *key = &setup->setup.variant->key; in lp_setup_print_vertex()
151 lp_setup_print_triangle(struct lp_setup_context *setup, in lp_setup_print_triangle() argument
174 lp_setup_print_vertex(setup, "v0", v0); in lp_setup_print_triangle()
175 lp_setup_print_vertex(setup, "v1", v1); in lp_setup_print_triangle()
176 lp_setup_print_vertex(setup, "v2", v2); in lp_setup_print_triangle()
215 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument
219 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile()
229 * not setup->layer_slot to determine this since even if there's currently in lp_setup_whole_tile()
246 setup->fs.stored, in lp_setup_whole_tile()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c54 float dx; /**< X(v1) - X(v0), used only during setup */
55 float dy; /**< Y(v1) - Y(v0), used only during setup */
71 * Triangle setup info.
125 * Clip setup->quad against the scissor/surface bounds.
128 quad_clip(struct setup_context *setup, struct quad_header *quad) in quad_clip() argument
131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
160 clip_emit_quad(struct setup_context *setup, struct quad_header *quad) in clip_emit_quad() argument
162 quad_clip(setup, quad); in clip_emit_quad()
165 struct softpipe_context *sp = setup->softpipe; in clip_emit_quad()
168 setup->numFragsEmitted += util_bitcount(quad->inout.mask); in clip_emit_quad()
[all …]
Dsp_prim_vbuf.c29 * Interface between 'draw' module's output and the softpipe rasterizer/setup
32 * call the point/line/tri setup functions.
61 struct setup_context *setup; member
139 struct setup_context *setup_ctx = cvbr->setup; in sp_vbuf_set_primitive()
166 struct setup_context *setup = cvbr->setup; in sp_vbuf_draw_elements() local
173 sp_setup_point( setup, in sp_vbuf_draw_elements()
180 sp_setup_line( setup, in sp_vbuf_draw_elements()
188 sp_setup_line( setup, in sp_vbuf_draw_elements()
196 sp_setup_line( setup, in sp_vbuf_draw_elements()
201 sp_setup_line( setup, in sp_vbuf_draw_elements()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_render_cl.c49 static inline void rcl_u8(struct vc4_rcl_setup *setup, u8 val) in rcl_u8() argument
51 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
52 setup->next_offset += 1; in rcl_u8()
55 static inline void rcl_u16(struct vc4_rcl_setup *setup, u16 val) in rcl_u16() argument
57 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
58 setup->next_offset += 2; in rcl_u16()
61 static inline void rcl_u32(struct vc4_rcl_setup *setup, u32 val) in rcl_u32() argument
63 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
64 setup->next_offset += 4; in rcl_u32()
73 static void vc4_store_before_load(struct vc4_rcl_setup *setup) in vc4_store_before_load() argument
[all …]
/external/deqp/data/gles2/shaders/
Dkeywords.test17 ${SETUP}
34 ${SETUP}
51 ${SETUP}
68 ${SETUP}
85 ${SETUP}
102 ${SETUP}
119 ${SETUP}
136 ${SETUP}
153 ${SETUP}
170 ${SETUP}
[all …]
/external/deqp/data/gles3/shaders/
Dkeywords.test18 ${SETUP}
36 ${SETUP}
54 ${SETUP}
72 ${SETUP}
90 ${SETUP}
108 ${SETUP}
126 ${SETUP}
144 ${SETUP}
162 ${SETUP}
180 ${SETUP}
[all …]
Dinvalid_texture_functions.test17 ${SETUP}
36 ${SETUP}
55 ${SETUP}
74 ${SETUP}
93 ${SETUP}
112 ${SETUP}
131 ${SETUP}
150 ${SETUP}
169 ${SETUP}
188 ${SETUP}
[all …]
/external/python/cpython3/Doc/distutils/
Dexamples.rst25 ``py_modules`` option in the setup script.
27 In the simplest case, you'll have two files to worry about: a setup script and
31 setup.py
35 directory.) A minimal setup script to describe this situation would be::
37 from distutils.core import setup
38 setup(name='foo',
51 setup might look like this::
54 setup.py
58 and the setup script might be ::
60 from distutils.core import setup
[all …]
/external/python/cpython2/Doc/distutils/
Dexamples.rst25 ``py_modules`` option in the setup script.
27 In the simplest case, you'll have two files to worry about: a setup script and
31 setup.py
35 directory.) A minimal setup script to describe this situation would be::
37 from distutils.core import setup
38 setup(name='foo',
51 setup might look like this::
54 setup.py
58 and the setup script might be ::
60 from distutils.core import setup
[all …]
/external/guava/guava-gwt/test/com/google/common/collect/
DArrayTableTest_gwt.java23 testCase.setUp(); in testAt()
29 testCase.setUp(); in testCellReflectsChanges()
35 testCase.setUp(); in testCellSetToString_ordered()
41 testCase.setUp(); in testClear()
47 testCase.setUp(); in testColumn()
53 testCase.setUp(); in testColumnKeyList()
59 testCase.setUp(); in testColumnKeySetToString_ordered()
65 testCase.setUp(); in testColumnMissing()
71 testCase.setUp(); in testColumnNull()
77 testCase.setUp(); in testColumnPutIllegal()
[all …]
DImmutableTableTest_gwt.java23 testCase.setUp(); in testBuilder()
29 testCase.setUp(); in testBuilder_noDuplicates()
35 testCase.setUp(); in testBuilder_noNulls()
41 testCase.setUp(); in testBuilder_orderColumnsBy_dense()
47 testCase.setUp(); in testBuilder_orderColumnsBy_sparse()
53 testCase.setUp(); in testBuilder_orderRowsAndColumnsBy_dense()
59 testCase.setUp(); in testBuilder_orderRowsAndColumnsBy_putAll()
65 testCase.setUp(); in testBuilder_orderRowsAndColumnsBy_sparse()
71 testCase.setUp(); in testBuilder_orderRowsBy_dense()
77 testCase.setUp(); in testBuilder_orderRowsBy_sparse()
[all …]
DHashBasedTableTest_gwt.java23 testCase.setUp(); in testClear()
29 testCase.setUp(); in testColumn()
35 testCase.setUp(); in testColumnNull()
41 testCase.setUp(); in testColumnSetPartialOverlap()
47 testCase.setUp(); in testContains()
53 testCase.setUp(); in testContainsColumn()
59 testCase.setUp(); in testContainsRow()
65 testCase.setUp(); in testContainsValue()
71 testCase.setUp(); in testCreateCopy()
77 testCase.setUp(); in testCreateWithInvalidSizes()
[all …]
DTransposedTableTest_gwt.java23 testCase.setUp(); in testClear()
29 testCase.setUp(); in testColumn()
35 testCase.setUp(); in testColumnNull()
41 testCase.setUp(); in testColumnSetPartialOverlap()
47 testCase.setUp(); in testContains()
53 testCase.setUp(); in testContainsColumn()
59 testCase.setUp(); in testContainsRow()
65 testCase.setUp(); in testContainsValue()
71 testCase.setUp(); in testEquals()
77 testCase.setUp(); in testGet()
[all …]
DNewCustomTableTest_gwt.java23 testCase.setUp(); in testClear()
29 testCase.setUp(); in testColumn()
35 testCase.setUp(); in testColumnNull()
41 testCase.setUp(); in testColumnSetPartialOverlap()
47 testCase.setUp(); in testContains()
53 testCase.setUp(); in testContainsColumn()
59 testCase.setUp(); in testContainsRow()
65 testCase.setUp(); in testContainsValue()
71 testCase.setUp(); in testEquals()
77 testCase.setUp(); in testGet()
[all …]
DTablesTransformValuesTest_gwt.java23 testCase.setUp(); in testClear()
29 testCase.setUp(); in testColumn()
35 testCase.setUp(); in testColumnNull()
41 testCase.setUp(); in testColumnSetPartialOverlap()
47 testCase.setUp(); in testContains()
53 testCase.setUp(); in testContainsColumn()
59 testCase.setUp(); in testContainsRow()
65 testCase.setUp(); in testContainsValue()
71 testCase.setUp(); in testEquals()
77 testCase.setUp(); in testGet()
[all …]
/external/u-boot/drivers/i2c/
Dstm32f7_i2c.c138 * @sudat_min: Min data setup time (ns)
157 * struct stm32_i2c_setup - private I2C timing setup parameters
179 * @scldel: Data setup time
196 struct stm32_i2c_setup *setup; member
486 static int stm32_i2c_compute_solutions(struct stm32_i2c_setup *setup, in stm32_i2c_compute_solutions() argument
492 setup->clock_src); in stm32_i2c_compute_solutions()
498 af_delay_min = setup->analog_filter ? in stm32_i2c_compute_solutions()
500 af_delay_max = setup->analog_filter ? in stm32_i2c_compute_solutions()
503 sdadel_min = setup->fall_time - i2c_specs[setup->speed].hddat_min - in stm32_i2c_compute_solutions()
504 af_delay_min - (setup->dnf + 3) * i2cclk; in stm32_i2c_compute_solutions()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_functiontestcase.py15 # "When a setUp() method is defined, the test runner will run that method
18 # setUp() was used to create a fresh sequence for each test."
20 # Make sure the proper call order is maintained, even if setUp() raises
26 def setUp(): function
27 events.append('setUp')
28 raise RuntimeError('raised by setUp')
36 expected = ['startTest', 'setUp', 'addError', 'stopTest']
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
40 # "When a setUp() method is defined, the test runner will run that method
43 # setUp() was used to create a fresh sequence for each test."
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_functiontestcase.py15 # "When a setUp() method is defined, the test runner will run that method
18 # setUp() was used to create a fresh sequence for each test."
20 # Make sure the proper call order is maintained, even if setUp() raises
26 def setUp(): function
27 events.append('setUp')
28 raise RuntimeError('raised by setUp')
36 expected = ['startTest', 'setUp', 'addError', 'stopTest']
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
40 # "When a setUp() method is defined, the test runner will run that method
43 # setUp() was used to create a fresh sequence for each test."
[all …]
/external/python/cpython2/Lib/
Dtimeit.py17 -s/--setup S: statement to be executed once initially (default 'pass')
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
82 %(setup)s
94 def _template_func(setup, func): argument
97 setup()
109 statement used for setup, and a timer function. Both statements
121 def __init__(self, stmt="pass", setup="pass", timer=default_timer): argument
127 if isinstance(setup, basestring):
128 compile(setup, dummy_src_name, "exec")
129 compile(setup + '\n' + stmt, dummy_src_name, "exec")
[all …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_core.py14 # setup script that uses __file__
19 from distutils.core import setup
20 setup()
28 from distutils.core import setup
29 setup()
33 from distutils.core import setup
34 setup()
39 from distutils.core import setup
45 setup(cmdclass={'install': install})
50 def setUp(self): member in CoreTestCase
[all …]

12345678910>>...352