Home
last modified time | relevance | path

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

12345678910>>...273

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c55 float dx; /**< X(v1) - X(v0), used only during setup */
56 float dy; /**< Y(v1) - Y(v0), used only during setup */
72 * Triangle setup info.
126 * Clip setup->quad against the scissor/surface bounds.
129 quad_clip(struct setup_context *setup, struct quad_header *quad) in quad_clip() argument
132 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
161 clip_emit_quad(struct setup_context *setup, struct quad_header *quad) in clip_emit_quad() argument
163 quad_clip(setup, quad); in clip_emit_quad()
166 struct softpipe_context *sp = setup->softpipe; in clip_emit_quad()
169 setup->numFragsEmitted += util_bitcount(quad->inout.mask); in clip_emit_quad()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c66 static boolean try_update_scene_state( struct lp_setup_context *setup );
70 lp_setup_get_empty_scene(struct lp_setup_context *setup) in lp_setup_get_empty_scene() argument
72 assert(setup->scene == NULL); in lp_setup_get_empty_scene()
74 setup->scene_idx++; in lp_setup_get_empty_scene()
75 setup->scene_idx %= ARRAY_SIZE(setup->scenes); in lp_setup_get_empty_scene()
77 setup->scene = setup->scenes[setup->scene_idx]; in lp_setup_get_empty_scene()
79 if (setup->scene->fence) { in lp_setup_get_empty_scene()
82 __FUNCTION__, setup->scene->fence->id); in lp_setup_get_empty_scene()
84 lp_fence_wait(setup->scene->fence); in lp_setup_get_empty_scene()
87 lp_scene_begin_binning(setup->scene, &setup->fb); 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.
70 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_get_vertex_info() local
75 lp_setup_update_state(setup, FALSE); in lp_setup_get_vertex_info()
77 return setup->vertex_info; in lp_setup_get_vertex_info()
85 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_allocate_vertices() local
88 if (setup->vertex_buffer_size < size) { in lp_setup_allocate_vertices()
89 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices()
90 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices()
91 setup->vertex_buffer_size = size; in lp_setup_allocate_vertices()
[all …]
Dlp_setup_rect.c29 * Setup/binning code for screen-aligned quads.
94 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument
98 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile()
108 * not setup->layer_slot to determine this since even if there's currently in lp_setup_whole_tile()
126 setup->fs.stored, in lp_setup_whole_tile()
133 setup->fs.stored, in lp_setup_whole_tile()
141 setup->fs.stored, in lp_setup_whole_tile()
149 lp_setup_is_blit(const struct lp_setup_context *setup, in lp_setup_is_blit() argument
153 setup->fs.current.variant; in lp_setup_is_blit()
160 &setup->fs.current.jit_context.textures[0]; in lp_setup_is_blit()
[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,
85 lp_setup_set_line_state( struct lp_setup_context *setup,
90 lp_setup_set_point_state( struct lp_setup_context *setup,
99 lp_setup_set_setup_variant( struct lp_setup_context *setup,
103 lp_setup_set_fs_variant( struct lp_setup_context *setup,
107 lp_setup_set_fs_constants(struct lp_setup_context *setup,
[all …]
/third_party/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/python/Doc/distutils/
Dexamples.rst27 ``py_modules`` option in the setup script.
29 In the simplest case, you'll have two files to worry about: a setup script and
33 setup.py
37 directory.) A minimal setup script to describe this situation would be::
39 from distutils.core import setup
40 setup(name='foo',
53 setup might look like this::
56 setup.py
60 and the setup script might be ::
62 from distutils.core import setup
[all …]
/third_party/gn/src/gn/
Druntime_deps_unittest.cc17 void InitTargetWithType(TestWithScope& setup, in InitTargetWithType() argument
22 target->SetToolchain(setup.toolchain()); in InitTargetWithType()
48 TestWithScope setup; in TEST_F() local
56 Target stat(setup.settings(), Label(SourceDir("//"), "stat")); in TEST_F()
57 InitTargetWithType(setup, &stat, Target::STATIC_LIBRARY); in TEST_F()
61 Target shared(setup.settings(), Label(SourceDir("//"), "shared")); in TEST_F()
62 InitTargetWithType(setup, &shared, Target::SHARED_LIBRARY); in TEST_F()
66 Target loadable(setup.settings(), Label(SourceDir("//"), "loadable")); in TEST_F()
67 InitTargetWithType(setup, &loadable, Target::LOADABLE_MODULE); in TEST_F()
71 Target set(setup.settings(), Label(SourceDir("//"), "set")); in TEST_F()
[all …]
Dscope_unittest.cc37 TestWithScope setup; in TEST() local
39 setup.scope()->AddBuildDependencyFile(source_file); in TEST()
41 Scope new_scope(setup.scope()); in TEST()
47 TestWithScope setup; in TEST() local
59 setup.scope()->SetValue("v", old_value, &assignment); in TEST()
61 setup.scope()->SetValue(private_var_name, old_value, &assignment); in TEST()
65 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition)); in TEST()
66 setup.scope()->AddTemplate("templ", templ.get()); in TEST()
68 new Template(setup.scope(), &templ_definition)); in TEST()
69 setup.scope()->AddTemplate("_templ", private_templ.get()); in TEST()
[all …]
Dninja_build_writer_unittest.cc39 TestWithScope setup; in TEST_F() local
42 // Setup sets the default root dir to ".". in TEST_F()
54 setup.build_settings()->SetRootPath(root_realpath); in TEST_F()
55 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F()
61 setup.build_settings()->SetRootPath(root_realpath); in TEST_F()
62 setup.build_settings()->set_dotfile_name(gn_realpath); in TEST_F()
63 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F()
70 TestWithScope setup; in TEST_F() local
73 Target target_foo(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
78 target_foo.SetToolchain(setup.toolchain()); in TEST_F()
[all …]
Dfunctions_target_rust_unittest.cc16 TestWithScope setup; in TEST_F() local
20 setup.scope()->set_item_collector(&item_collector); in TEST_F()
21 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
30 exe_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
41 lib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
50 TestWithScope setup; in TEST_F() local
54 setup.scope()->set_item_collector(&item_collector); in TEST_F()
55 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
64 normal_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
78 normal_shlib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
[all …]
Dfunction_forward_variables_from_unittest.cc26 TestWithScope setup; in TEST_F() local
32 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
35 EXPECT_EQ("target, 1, 2\n", setup.print_output()); in TEST_F()
36 setup.print_output().clear(); in TEST_F()
40 TestWithScope setup; in TEST_F() local
49 clobber.parsed()->Execute(setup.scope(), &err); in TEST_F()
56 TestWithScope setup; in TEST_F() local
69 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
72 EXPECT_EQ("1 2 3\n", setup.print_output()); in TEST_F()
73 setup.print_output().clear(); in TEST_F()
[all …]
Dtarget_unittest.cc42 TestWithScope setup; in TEST_F() local
49 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F()
64 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F()
78 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F()
88 TestWithScope setup; in TEST_F() local
95 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F()
110 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F()
124 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F()
133 TestWithScope setup; in TEST_F() local
137 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F()
[all …]
Dfunction_foreach_unittest.cc9 TestWithScope setup; in TEST() local
21 input.parsed()->Execute(setup.scope(), &err); in TEST()
24 EXPECT_EQ("5 1\n6 2\n7 3\n8 6\n", setup.print_output()); in TEST()
28 TestWithScope setup; in TEST() local
36 input_good.parsed()->Execute(setup.scope(), &err); in TEST()
39 EXPECT_EQ("1\n2\n3\n", setup.print_output()); in TEST()
40 setup.print_output().clear(); in TEST()
51 input_bad.parsed()->Execute(setup.scope(), &err); in TEST()
57 TestWithScope setup; in TEST() local
66 input_good.parsed()->Execute(setup.scope(), &err); in TEST()
[all …]
Dninja_create_bundle_target_writer_unittest.cc27 std::unique_ptr<Target> NewAction(const TestWithScope& setup) { in NewAction() argument
29 auto action = std::make_unique<Target>(setup.settings(), in NewAction()
38 action->SetToolchain(setup.toolchain()); in NewAction()
47 TestWithScope setup; in TEST() local
49 std::unique_ptr<Target> action = NewAction(setup); in TEST()
52 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST()
58 bundle_data.SetToolchain(setup.toolchain()); in TEST()
63 setup.settings(), in TEST()
64 Label(SourceDir("//baz/"), "bar", setup.toolchain()->label().dir(), in TEST()
65 setup.toolchain()->label().name())); in TEST()
[all …]
Dninja_action_target_writer_unittest.cc19 TestWithScope setup; in TEST() local
21 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST()
27 target.SetToolchain(setup.toolchain()); in TEST()
43 TestWithScope setup; in TEST() local
45 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST()
54 target.SetToolchain(setup.toolchain()); in TEST()
57 setup.build_settings()->set_python_path( in TEST()
79 TestWithScope setup; in TEST() local
81 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST()
90 Pool pool(setup.settings(), in TEST()
[all …]
/third_party/python/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 …]
/third_party/python/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 …]
/third_party/benchmark/test/
Dbenchmark_setup_teardown_test.cc11 // Test that Setup() and Teardown() are called exactly once
20 // Setup/Teardown should never be called with any thread_idx != 0. in DoSetup1()
39 ->Setup(DoSetup1)
42 // Test that Setup() and Teardown() are called once for each group of threads.
66 ->Setup(DoSetup2)
73 // Testing interaction with Fixture::Setup/Teardown
75 int setup = 0; variable
83 void SetUp(const ::benchmark::State&) BENCHMARK_OVERRIDE { in SetUp() function in FIXTURE_BECHMARK_NAME
96 fixture_interaction::setup++; in DoSetupWithFixture()
104 ->Setup(DoSetupWithFixture)
[all …]
/third_party/boost/tools/build/src/tools/
Dmsvc.jam85 will be used. The command will be invoked after the setup script was
90 will be used. The command will be invoked after the setup script was
100 the setup script was executed and adjusted the PATH variable.
105 setup script was executed and adjusted the PATH variable.
110 setup script was executed and adjusted the PATH variable.
114 be used. The command will be invoked after the setup script was
117 `setup`::
118 The filename of the global environment setup script to run before
121 for the current target platform. Used setup script will be passed the
126 `setup-amd64`; `setup-i386`; `setup-ia64`::
[all …]
/third_party/weston/tests/
Dweston-test-fixture-compositor.c161 /** Initialize part of compositor setup
163 * \param setup The variable to initialize.
169 compositor_setup_defaults_(struct compositor_setup *setup, in compositor_setup_defaults_() argument
172 *setup = (struct compositor_setup) { in compositor_setup_defaults_()
265 * Returns RESULT_SKIP if the given setup contains features that were disabled
271 execute_compositor(const struct compositor_setup *setup, in execute_compositor() argument
281 fprintf(stderr, "Error: environment setup failed.\n"); in execute_compositor()
286 if (setup->backend == WESTON_BACKEND_DRM) { in execute_compositor()
293 if (setup->backend == WESTON_BACKEND_FBDEV) { in execute_compositor()
300 if (setup->backend == WESTON_BACKEND_RDP) { in execute_compositor()
[all …]

12345678910>>...273