Home
last modified time | relevance | path

Searched refs:static_state (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c61 const struct draw_sampler_static_state *static_state; member
81 const struct draw_image_static_state *static_state; member
348 &sampler->dynamic_state.static_state[i].texture_state, in draw_llvm_sampler_soa_emit_fetch_texel()
349 &sampler->dynamic_state.static_state[i].sampler_state, in draw_llvm_sampler_soa_emit_fetch_texel()
354 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in draw_llvm_sampler_soa_emit_fetch_texel()
355 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in draw_llvm_sampler_soa_emit_fetch_texel()
375 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in draw_llvm_sampler_soa_emit_size_query()
381 draw_llvm_sampler_soa_create(const struct draw_sampler_static_state *static_state, in draw_llvm_sampler_soa_create() argument
408 sampler->dynamic_state.static_state = static_state; in draw_llvm_sampler_soa_create()
433 &image->dynamic_state.static_state[i].image_state, in draw_llvm_image_soa_emit_op()
[all …]
Ddraw_llvm.h893 draw_llvm_sampler_soa_create(const struct draw_sampler_static_state *static_state,
897 draw_llvm_image_soa_create(const struct draw_image_static_state *static_state,
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c67 const struct lp_sampler_static_state *static_state; member
86 const struct lp_image_static_state *static_state; member
389 &sampler->dynamic_state.static_state[i].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel()
390 &sampler->dynamic_state.static_state[i].sampler_state, in lp_llvm_sampler_soa_emit_fetch_texel()
395 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel()
396 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in lp_llvm_sampler_soa_emit_fetch_texel()
415 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in lp_llvm_sampler_soa_emit_size_query()
422 lp_llvm_sampler_soa_create(const struct lp_sampler_static_state *static_state, in lp_llvm_sampler_soa_create() argument
454 sampler->dynamic_state.static_state = static_state; in lp_llvm_sampler_soa_create()
486 &image->dynamic_state.static_state[i].image_state, in lp_llvm_image_soa_emit_op()
[all …]
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.cc1090 DataSourceStaticState* static_state) { in RegisterDataSource() argument
1092 if (static_state->index != kMaxDataSources) in RegisterDataSource()
1103 static_assert(sizeof(static_state->instances[0]) >= sizeof(DataSourceState), in RegisterDataSource()
1105 for (size_t i = 0; i < static_state->instances.size(); i++) in RegisterDataSource()
1106 new (&static_state->instances[i]) DataSourceState{}; in RegisterDataSource()
1108 static_state->index = new_index; in RegisterDataSource()
1112 hash.Update(reinterpret_cast<intptr_t>(static_state)); in RegisterDataSource()
1114 static_state->id = hash.digest() ? hash.digest() : 1; in RegisterDataSource()
1116 task_runner_->PostTask([this, descriptor, factory, static_state, params] { in RegisterDataSource()
1125 rds.static_state = static_state; in RegisterDataSource()
[all …]
Dinterceptor_trace_writer.cc30 DataSourceStaticState* static_state, in InterceptorTraceWriter() argument
34 static_state_(static_state), in InterceptorTraceWriter()
51 args.static_state = static_state_; in Flush()
Dtracing_muxer_impl.h117 DataSourceStaticState* static_state = nullptr; member
486 : static_state(a), in FindDataSourceRes()
492 DataSourceStaticState* static_state = nullptr; member
Dinterceptor_trace_writer_unittest.cc80 Field(&TracePacketCallbackArgs::static_state, &dss_), in TEST_F()
/external/perfetto/include/perfetto/tracing/
Dinterceptor.h227 internal::DataSourceStaticState* static_state; member
280 ThreadLocalStateArgs(internal::DataSourceStaticState* static_state, in ThreadLocalStateArgs() argument
282 : static_state_(static_state), in ThreadLocalStateArgs()
316 tls_args_(args.static_state, args.instance_index), in InterceptorContext()
335 auto tls_factory = [](internal::DataSourceStaticState* static_state, in Register()
343 ThreadLocalStateArgs args(static_state, data_source_instance_index); in Register()
Ddata_source.h179 internal::DataSourceStaticState* static_state, in GetDataSourceTLS()
181 auto* ds_tls = &root_tls->data_sources_tls[static_state->index]; in GetDataSourceTLS()
307 Helper::type().static_state()->TryGet(instance_index_); in GetDataSourceLocked()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp76 const struct swr_sampler_static_state *static_state; member
314 &sampler->dynamic_state.static_state[texture_index].texture_state, in swr_sampler_soa_emit_fetch_texel()
315 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in swr_sampler_soa_emit_fetch_texel()
336 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in swr_sampler_soa_emit_size_query()
343 swr_sampler_soa_create(const struct swr_sampler_static_state *static_state, in swr_sampler_soa_create() argument
371 sampler->dynamic_state.static_state = static_state; in swr_sampler_soa_create()
/external/perfetto/include/perfetto/tracing/internal/
Ddata_source_type.h200 static_state()->incremental_state_generation.load( in GetIncrementalState()
210 DataSourceStaticState* static_state() { return &state_; } in static_state() function
220 static_state()->incremental_state_generation.load( in CreateIncrementalState()
299 ds_tls->static_state = &state_; in GetOrCreateDataSourceTLS()
Dinterceptor_trace_writer.h34 DataSourceStaticState* static_state,
Ddata_source_internal.h196 DataSourceStaticState* static_state = nullptr; member
/external/perfetto/src/shared_lib/
Ddata_source.cc69 return cpp_type.static_state()->index != in IsRegistered()
146 perfetto::internal::DataSourceStaticState* static_state, in GetDataSourceTLS()
148 auto* ds_tls = &root_tls->data_sources_tls[static_state->index]; in GetDataSourceTLS()
317 auto* internal_state = ds_impl->cpp_type.static_state()->TryGet(idx); in PerfettoDsImplGetInstanceLocked()
338 auto* internal_state = ds_impl->cpp_type.static_state()->TryGet(idx); in PerfettoDsImplReleaseInstanceLocked()
365 &g_tls_cache[ds_impl->cpp_type.static_state()->index]; in PerfettoDsImplTraceIterateBegin()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c90 const struct lp_static_sampler_state *static_state = bld->static_sampler_state; in lp_build_sample_texel_soa() local
99 if (lp_sampler_wrap_mode_uses_border_color(static_state->wrap_s, in lp_build_sample_texel_soa()
100 static_state->min_img_filter, in lp_build_sample_texel_soa()
101 static_state->mag_img_filter)) { in lp_build_sample_texel_soa()
109 lp_sampler_wrap_mode_uses_border_color(static_state->wrap_t, in lp_build_sample_texel_soa()
110 static_state->min_img_filter, in lp_build_sample_texel_soa()
111 static_state->mag_img_filter)) { in lp_build_sample_texel_soa()
125 lp_sampler_wrap_mode_uses_border_color(static_state->wrap_r, in lp_build_sample_texel_soa()
126 static_state->min_img_filter, in lp_build_sample_texel_soa()
127 static_state->mag_img_filter)) { in lp_build_sample_texel_soa()
[all …]
Dlp_bld_sample.h698 const struct lp_static_texture_state *static_state,
/external/perfetto/src/tracing/test/
Dapi_test_support.cc204 data_source.static_state->incremental_state_generation.fetch_add( in ClearIncrementalState()
Dapi_integrationtest.cc315 perfetto::internal::DataSourceStaticState* static_state; member
327 perfetto::internal::DataSourceStaticState* static_state) override { in RegisterDataSource() argument
328 data_sources.emplace_back(DataSource{dsd, static_state}); in RegisterDataSource()
334 const perfetto::internal::DataSourceStaticState* static_state) override { in UpdateDataSourceDescriptor() argument
336 if (rds.static_state == static_state) { in UpdateDataSourceDescriptor()
1534 EXPECT_NE(muxer.data_sources[0].static_state, in TEST_P()
1535 muxer.data_sources[1].static_state); in TEST_P()
1536 EXPECT_NE(muxer.data_sources[0].static_state, in TEST_P()
1537 muxer.data_sources[2].static_state); in TEST_P()