Home
last modified time | relevance | path

Searched refs:samplers (Results 1 – 25 of 3629) sorted by relevance

12345678910>>...146

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_sampler_objects/
H A Dsampler-objects.c52 GLuint samplers[4], i; in test_objects() local
54 glGenSamplers(4, samplers); in test_objects()
59 if (samplers[i] == 0) in test_objects()
61 if (i > 1 && samplers[i] == samplers[i-1]) in test_objects()
63 if (!glIsSampler(samplers[i])) in test_objects()
68 glBindSampler(i, samplers[i]); in test_objects()
73 glDeleteSamplers(4, samplers); in test_objects()
78 if (glIsSampler(samplers[i])) in test_objects()
147 GLuint samplers[NUM_SAMPLERS], i; in test_samplers() local
149 glGenSamplers(NUM_SAMPLERS, samplers); in test_samplers()
[all …]
H A Dsampler-incomplete.c60 GLuint samplers[2]; in setup() local
92 glGenSamplers(2, samplers); in setup()
97 glBindSampler(0, samplers[0]); in setup()
98 glSamplerParameteri(samplers[0], GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setup()
99 glSamplerParameteri(samplers[0], GL_TEXTURE_MAG_FILTER, GL_NEAREST); in setup()
105 glBindSampler(1, samplers[1]); in setup()
106 glSamplerParameteri(samplers[1], GL_TEXTURE_MIN_FILTER, in setup()
108 glSamplerParameteri(samplers[1], GL_TEXTURE_MAG_FILTER, GL_NEAREST); in setup()
/dports/math/py-optuna/optuna-2.10.0/optuna/samplers/
H A D__init__.py1 from optuna.samplers._base import BaseSampler
2 from optuna.samplers._cmaes import CmaEsSampler
3 from optuna.samplers._grid import GridSampler
4 from optuna.samplers._nsga2 import NSGAIISampler
5 from optuna.samplers._partial_fixed import PartialFixedSampler
6 from optuna.samplers._random import RandomSampler
7 from optuna.samplers._search_space import intersection_search_space
8 from optuna.samplers._search_space import IntersectionSearchSpace
9 from optuna.samplers._tpe.multi_objective_sampler import MOTPESampler
10 from optuna.samplers._tpe.sampler import TPESampler
/dports/graphics/delaboratory/delaboratory-0.8/core/
H A Dsampler_manager.cc31 samplers.push_back(s); in deSamplerManager()
45 if ((index < 0) || ((unsigned int)index >= samplers.size())) in getSampler()
50 return &(samplers[index]); in getSampler()
59 deSampler& s = samplers[i]; in select()
65 deSampler& s = samplers[i]; in select()
83 deSampler& s = samplers[i]; in select()
105 deSampler& s = samplers[selected]; in onClick()
124 deSampler& s = samplers[selected]; in onMove()
149 deSampler& s = samplers[i]; in onRelease()
171 for (i = samplers.begin(); i != samplers.end(); i++) in clear()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/gfx-backend-metal/src/
H A Dsoft.rs213 self.samplers.clear(); in clear()
277 samplers, in own_render()
281 samplers: { in own_render()
283 self.samplers.extend_from_slice(samplers); in own_render()
379 samplers: { in own_compute()
381 self.samplers.extend_from_slice(samplers); in own_compute()
428 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_render()
429 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_render()
463 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_compute()
464 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_compute()
[all …]
H A Dnative.rs121 pub samplers: T, field
129 samplers: fun(&self.samplers), in map()
139 self.samplers.end = self.samplers.end.max(point.samplers); in expand()
148 samplers: 0, in new()
161 self.samplers += count; in add_many()
522 samplers: vec![Default::default(); counters.samplers as usize], in new_emulated()
529 samplers: RangeAllocator::new(0..counters.samplers), in new_emulated()
605 match allocators.samplers.allocate_range(total.samplers as _) { in allocate_one()
749 [resources.samplers.start as usize..resources.samplers.end as usize] in free()
753 if resources.samplers.start != resources.samplers.end { in free()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/gfx-backend-metal/src/
H A Dsoft.rs213 self.samplers.clear(); in clear()
277 samplers, in own_render()
281 samplers: { in own_render()
283 self.samplers.extend_from_slice(samplers); in own_render()
379 samplers: { in own_compute()
381 self.samplers.extend_from_slice(samplers); in own_compute()
428 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_render()
429 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_render()
463 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_compute()
464 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_compute()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-backend-metal/src/
H A Dsoft.rs208 self.samplers.clear(); in clear()
272 samplers, in own_render()
276 samplers: { in own_render()
278 self.samplers.extend_from_slice(samplers); in own_render()
367 samplers: { in own_compute()
369 self.samplers.extend_from_slice(samplers); in own_compute()
416 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_render()
417 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_render()
448 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_compute()
449 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_compute()
[all …]
H A Dnative.rs114 pub samplers: T, field
122 samplers: fun(&self.samplers), in map()
132 self.samplers.end = self.samplers.end.max(point.samplers); in expand()
141 samplers: 0, in new()
166 self.samplers += count; in add_many()
473 samplers: vec![None; counters.samplers as usize], in new_emulated()
480 samplers: RangeAllocator::new(0 .. counters.samplers), in new_emulated()
559 match allocators.samplers.allocate_range(total.samplers as _) { in allocate_set()
686 for sampler in &mut data.samplers[resources.samplers.start as usize in free_sets()
691 if resources.samplers.start != resources.samplers.end { in free_sets()
[all …]
/dports/graphics/rx/rx-0.4.0/cargo-crates/gfx-backend-metal-0.4.0/src/
H A Dsoft.rs209 self.samplers.clear(); in clear()
273 samplers, in own_render()
277 samplers: { in own_render()
279 self.samplers.extend_from_slice(samplers); in own_render()
368 samplers: { in own_compute()
370 self.samplers.extend_from_slice(samplers); in own_compute()
417 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_render()
418 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_render()
449 samplers.start += self.samplers.len() as CacheResourceIndex; in rebase_compute()
450 samplers.end += self.samplers.len() as CacheResourceIndex; in rebase_compute()
[all …]
H A Dnative.rs116 pub samplers: T, field
124 samplers: fun(&self.samplers), in map()
134 self.samplers.end = self.samplers.end.max(point.samplers); in expand()
143 samplers: 0, in new()
168 self.samplers += count; in add_many()
475 samplers: vec![None; counters.samplers as usize], in new_emulated()
482 samplers: RangeAllocator::new(0 .. counters.samplers), in new_emulated()
561 match allocators.samplers.allocate_range(total.samplers as _) { in allocate_set()
688 for sampler in &mut data.samplers[resources.samplers.start as usize in free_sets()
693 if resources.samplers.start != resources.samplers.end { in free_sets()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/d3d12/
H A DSamplerHeapCacheD3D12.cpp29 SamplerHeapCacheEntry::SamplerHeapCacheEntry(std::vector<Sampler*> samplers) in SamplerHeapCacheEntry() argument
30 : mSamplers(std::move(samplers)) { in SamplerHeapCacheEntry()
35 std::vector<Sampler*> samplers, in SamplerHeapCacheEntry() argument
38 mSamplers(std::move(samplers)), in SamplerHeapCacheEntry()
100 std::vector<Sampler*> samplers; in GetOrCreate() local
101 samplers.reserve(bgl->GetSamplerDescriptorCount()); in GetOrCreate()
114 SamplerHeapCacheEntry blueprint(std::move(samplers)); in GetOrCreate()
122 samplers = std::move(blueprint.AcquireSamplers()); in GetOrCreate()
130 for (uint32_t i = 0; i < samplers.size(); ++i) { in GetOrCreate()
131 const auto& samplerDesc = samplers[i]->GetSamplerDescriptor(); in GetOrCreate()
[all …]
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDrivers/terrainshader/
H A DTerrainShaderExtension.cpp67 const std::vector<TerrainShaderOptions::Sampler>& samplers = _options.samplers(); in onInstall() local
68 for(int i=0; i<samplers.size(); ++i) in onInstall()
70 if ( !samplers[i]._name.empty() ) in onInstall()
72 if ( samplers[i]._uris.size() == 1 ) // Texture2D in onInstall()
78 osg::Image* image = samplers[i]._uris[0].getImage(_dbOptions.get()); in onInstall()
91 … stateSet->addUniform(new osg::Uniform(samplers[i]._name.c_str(), unit)); in onInstall()
100 else if ( samplers[i]._uris.size() > 1 ) // Texture2DArray in onInstall()
107 tex->setTextureSize(512, 512, samplers[i]._uris.size()); in onInstall()
108 tex->setTextureDepth( samplers[i]._uris.size() ); in onInstall()
110 for( int j=0; j<samplers[i]._uris.size(); ++j ) in onInstall()
[all …]
/dports/math/py-optuna/optuna-2.10.0/optuna/multi_objective/samplers/
H A D__init__.py1 from optuna.multi_objective.samplers._adapter import _MultiObjectiveSamplerAdapter # NOQA
2 from optuna.multi_objective.samplers._base import BaseMultiObjectiveSampler # NOQA
3 from optuna.multi_objective.samplers._motpe import MOTPEMultiObjectiveSampler # NOQA
4 from optuna.multi_objective.samplers._nsga2 import NSGAIIMultiObjectiveSampler # NOQA
5 from optuna.multi_objective.samplers._random import RandomMultiObjectiveSampler # NOQA
/dports/math/stan/stan-2.28.2/src/stan/services/sample/
H A Dhmc_nuts_diag_e_adapt.hpp236 std::vector<sample_t> samplers; in hmc_nuts_diag_e_adapt() local
237 samplers.reserve(num_chains); in hmc_nuts_diag_e_adapt()
243 samplers.emplace_back(model, rngs[i]); in hmc_nuts_diag_e_adapt()
248 samplers[i].set_metric(inv_metric); in hmc_nuts_diag_e_adapt()
249 samplers[i].set_nominal_stepsize(stepsize); in hmc_nuts_diag_e_adapt()
250 samplers[i].set_stepsize_jitter(stepsize_jitter); in hmc_nuts_diag_e_adapt()
251 samplers[i].set_max_depth(max_depth); in hmc_nuts_diag_e_adapt()
254 samplers[i].get_stepsize_adaptation().set_delta(delta); in hmc_nuts_diag_e_adapt()
255 samplers[i].get_stepsize_adaptation().set_gamma(gamma); in hmc_nuts_diag_e_adapt()
256 samplers[i].get_stepsize_adaptation().set_kappa(kappa); in hmc_nuts_diag_e_adapt()
[all …]
H A Dhmc_nuts_dense_e_adapt.hpp235 std::vector<sample_t> samplers; in hmc_nuts_dense_e_adapt() local
236 samplers.reserve(num_chains); in hmc_nuts_dense_e_adapt()
246 samplers.emplace_back(model, rngs[i]); in hmc_nuts_dense_e_adapt()
247 samplers[i].set_metric(inv_metric); in hmc_nuts_dense_e_adapt()
248 samplers[i].set_nominal_stepsize(stepsize); in hmc_nuts_dense_e_adapt()
249 samplers[i].set_stepsize_jitter(stepsize_jitter); in hmc_nuts_dense_e_adapt()
250 samplers[i].set_max_depth(max_depth); in hmc_nuts_dense_e_adapt()
253 samplers[i].get_stepsize_adaptation().set_delta(delta); in hmc_nuts_dense_e_adapt()
254 samplers[i].get_stepsize_adaptation().set_gamma(gamma); in hmc_nuts_dense_e_adapt()
255 samplers[i].get_stepsize_adaptation().set_kappa(kappa); in hmc_nuts_dense_e_adapt()
[all …]
/dports/graphics/magnum-plugins/magnum-plugins-2019.10/src/MagnumPlugins/TinyGltfImporter/Test/
H A Danimation-wrong.gltf17 "samplers": [
36 "samplers": [
55 "samplers": [
74 "samplers": [
93 "samplers": [
112 "samplers": [
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/mesa/main/
H A Dsamplerobj.h99 _mesa_GenSamplers_no_error(GLsizei count, GLuint *samplers);
102 _mesa_GenSamplers(GLsizei count, GLuint *samplers);
105 _mesa_CreateSamplers_no_error(GLsizei count, GLuint *samplers);
108 _mesa_CreateSamplers(GLsizei count, GLuint *samplers);
111 _mesa_DeleteSamplers_no_error(GLsizei count, const GLuint *samplers);
114 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers);
126 _mesa_BindSamplers_no_error(GLuint first, GLsizei count, const GLuint *samplers);
129 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers);
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/mesa_shader_integer_functions/compiler/builtin-functions/
H A Dfs-gatherOffsets.frag39 /* float samplers, no component select */
44 /* float samplers, component select */
49 /* int samplers, no component select */
54 /* int samplers, component select */
59 /* uint samplers, no component select */
64 /* uint samplers, component select */
69 /* shadow samplers, no component select (none available) */
H A Dvs-gatherOffsets.vert39 /* float samplers, no component select */
44 /* float samplers, component select */
49 /* int samplers, no component select */
54 /* int samplers, component select */
59 /* uint samplers, no component select */
64 /* uint samplers, component select */
69 /* shadow samplers, no component select (none available) */
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_gpu_shader5/compiler/builtin-functions/
H A Dfs-gatherOffsets.frag39 /* float samplers, no component select */
44 /* float samplers, component select */
49 /* int samplers, no component select */
54 /* int samplers, component select */
59 /* uint samplers, no component select */
64 /* uint samplers, component select */
69 /* shadow samplers, no component select (none available) */
H A Dvs-gatherOffsets.vert39 /* float samplers, no component select */
44 /* float samplers, component select */
49 /* int samplers, no component select */
54 /* int samplers, component select */
59 /* uint samplers, no component select */
64 /* uint samplers, component select */
69 /* shadow samplers, no component select (none available) */
/dports/graphics/opencv/opencv-4.5.3/modules/video/src/tracking/detail/
H A Dtracker_sampler.cpp27 for (size_t i = 0; i < samplers.size(); i++) in sampling()
29 CV_DbgAssert(samplers[i]); in sampling()
31 samplers[i]->sampling(image, boundingBox, current_samples); in sampling()
49 samplers.push_back(sampler); in addTrackerSamplerAlgorithm()
55 return samplers; in getSamplers()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender/src/
H A Dquery.rs69 samplers: QuerySet<GpuSampler<T>>, field
79 samplers: QuerySet::new(), in new()
97 self.samplers.set = self.gl.gen_queries(count); in enable_samplers()
101 if !self.samplers.set.is_empty() { in disable_samplers()
102 self.gl.delete_queries(&self.samplers.set); in disable_samplers()
104 self.samplers.set = Vec::new(); in disable_samplers()
110 self.samplers.reset(); in begin_frame()
130 if self.samplers.pending != 0 { in finish_sampler()
132 self.samplers.pending = 0; in finish_sampler()
153 if let Some(query) = self.samplers.add(GpuSampler { tag, count: 0 }) { in start_sampler()
[all …]
/dports/misc/usd/USD-21.11/pxr/imaging/hgiGL/
H A DresourceBindings.cpp45 std::vector<uint32_t> samplers(textures.size(), 0); in BindResources() local
63 samplers.resize(unit+1, 0); in BindResources()
85 if (!texDesc.samplers.empty()) { in BindResources()
87 HgiSamplerHandle const& smpHandle = texDesc.samplers.front(); in BindResources()
89 samplers[texDesc.bindingIndex] = glSmp->GetSamplerId(); in BindResources()
101 glBindSamplers(0, samplers.size(), samplers.data()); in BindResources()

12345678910>>...146