Home
last modified time | relevance | path

Searched refs:get_param (Results 1 – 25 of 94) sorted by relevance

1234

/external/libdrm/etnaviv/
Detnaviv_gpu.c34 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param() function
65 gpu->specs.model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new()
66 gpu->specs.revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new()
67 gpu->specs.features[0] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_0); in etna_gpu_new()
68 gpu->specs.features[1] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_1); in etna_gpu_new()
69 gpu->specs.features[2] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_2); in etna_gpu_new()
70 gpu->specs.features[3] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_3); in etna_gpu_new()
71 gpu->specs.features[4] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_4); in etna_gpu_new()
72 gpu->specs.features[5] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_5); in etna_gpu_new()
73 gpu->specs.features[6] = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_6); in etna_gpu_new()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c83 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), in st_init_limits()
87 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS), in st_init_limits()
91 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS), in st_init_limits()
98 = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in st_init_limits()
109 screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS); in st_init_limits()
112 _clamp(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits()
116 _clamp(screen->get_param(screen, in st_init_limits()
144 screen->get_param(screen, in st_init_limits()
183 if (!screen->get_param(screen, PIPE_CAP_COMPUTE)) in st_init_limits()
314 screen->get_param(screen, PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY); in st_init_limits()
[all …]
Dst_context.c354 if (!screen->get_param(screen, PIPE_CAP_USER_INDEX_BUFFERS)) { in st_create_context_priv()
360 if (!screen->get_param(screen, PIPE_CAP_USER_CONSTANT_BUFFERS)) in st_create_context_priv()
373 if (pipe->screen->get_param(pipe->screen, PIPE_CAP_NPOT_TEXTURES)) in st_create_context_priv()
418 screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT); in st_create_context_priv()
419 st->has_shader_model3 = screen->get_param(screen, PIPE_CAP_SM3); in st_create_context_priv()
426 st->prefer_blit_based_texture_transfer = screen->get_param(screen, in st_create_context_priv()
429 screen->get_param(screen, PIPE_CAP_SAMPLE_SHADING) && in st_create_context_priv()
430 !screen->get_param(screen, PIPE_CAP_FORCE_PERSAMPLE_INTERP); in st_create_context_priv()
431 st->has_shareable_shaders = screen->get_param(screen, in st_create_context_priv()
434 screen->get_param(screen, PIPE_CAP_TGSI_TEXCOORD); in st_create_context_priv()
[all …]
Dst_pbo.c446 if (screen->get_param(screen, PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL)) { in create_fs()
603 screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OBJECTS) && in st_init_pbo_helpers()
604 screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT) >= 1 && in st_init_pbo_helpers()
611 screen->get_param(screen, PIPE_CAP_SAMPLER_VIEW_TARGET) && in st_init_pbo_helpers()
612 screen->get_param(screen, PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT) && in st_init_pbo_helpers()
617 screen->get_param(screen, PIPE_CAP_BUFFER_SAMPLER_VIEW_RGBA_ONLY); in st_init_pbo_helpers()
619 if (screen->get_param(screen, PIPE_CAP_TGSI_INSTANCEID)) { in st_init_pbo_helpers()
620 if (screen->get_param(screen, PIPE_CAP_TGSI_VS_LAYER_VIEWPORT)) { in st_init_pbo_helpers()
622 } else if (screen->get_param(screen, PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES) >= 3) { in st_init_pbo_helpers()
Dst_mesa_to_tgsi.c713 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) { in emit_wpos()
716 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) { in emit_wpos()
727 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) in emit_wpos()
731 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) in emit_wpos()
740 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
746 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
757 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
760 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
Dst_glsl_to_nir.cpp256 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT); in st_glsl_to_nir()
258 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT); in st_glsl_to_nir()
260 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER); in st_glsl_to_nir()
262 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER); in st_glsl_to_nir()
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_query_renderer.c19 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
24 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
29 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
35 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
41 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
47 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
Ddri_screen.c189 p_screen->get_param(p_screen, PIPE_CAP_MIXED_COLOR_DEPTH_BITS); in dri_fill_in_modes()
435 screen->base.get_param = dri_get_param; in dri_init_screen_helper()
441 if(pscreen->get_param(pscreen, PIPE_CAP_NPOT_TEXTURES)) in dri_init_screen_helper()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.cpp46 if (!pipe || !pipe->get_param(pipe, PIPE_CAP_COMPUTE)) { in device()
103 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE); in max_image_buffer_size()
108 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in max_image_levels_2d()
113 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_3D_LEVELS); in max_image_levels_3d()
118 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in max_image_array_number()
237 return (enum pipe_endian)pipe->get_param(pipe, PIPE_CAP_ENDIANNESS); in endianness()
/external/libdrm/freedreno/msm/
Dmsm_pipe.c108 .get_param = msm_pipe_get_param,
113 static uint64_t get_param(struct fd_pipe *pipe, uint32_t param) in get_param() function
148 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new()
149 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
150 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new()
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py90 eq(msg.get_param('charset'), 'iso-8859-1')
266 self.assertEqual(msg.get_param('baz'), '')
300 self.assertEqual(msg.get_param('boundary'), 'CPIMSSMTPC06p5f3tG')
306 eq(msg.get_param('bar', header='x-header'), 'two')
307 eq(msg.get_param('quuz', header='x-header'), None)
308 eq(msg.get_param('quuz'), None)
311 eq(msg.get_param('foo', header='x-header'), '')
312 eq(msg.get_param('bar', header='x-header'), 'one')
313 eq(msg.get_param('baz', header='x-header'), 'two')
321 self.assertEqual(msg.get_payload(1).get_param('name'), 'wibble.JPG')
[all …]
Dtest_email.py95 eq(msg.get_param('charset'), 'iso-8859-1')
307 self.assertEqual(msg.get_param('baz'), '')
341 self.assertEqual(msg.get_param('boundary'), 'CPIMSSMTPC06p5f3tG')
347 eq(msg.get_param('bar', header='x-header'), 'two')
348 eq(msg.get_param('quuz', header='x-header'), None)
349 eq(msg.get_param('quuz'), None)
352 eq(msg.get_param('foo', header='x-header'), '')
353 eq(msg.get_param('bar', header='x-header'), 'one')
354 eq(msg.get_param('baz', header='x-header'), 'two')
362 self.assertEqual(msg.get_payload(1).get_param('name'), 'wibble.JPG')
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dadapter9.c50 if (!hal->get_param(hal, PIPE_CAP_CLIP_HALFZ)) { in NineAdapter9_ctor()
55 !This->ctx->ref->get_param(This->ctx->ref, PIPE_CAP_CLIP_HALFZ)) { in NineAdapter9_ctor()
68 if (!hal->get_param(hal, PIPE_CAP_SM3) || in NineAdapter9_ctor()
315 return screen->get_param(screen, PIPE_CAP_MULTISAMPLE_Z_RESOLVE) ? in NineAdapter9_CheckDeviceFormat()
537 (screen->get_param(screen, PIPE_CAP_##pcap) ? (d3dcap) : 0) in NineAdapter9_GetDeviceCaps()
540 (screen->get_param(screen, PIPE_CAP_##pcap) ? 0 : (d3dcap)) in NineAdapter9_GetDeviceCaps()
609 if (!screen->get_param(screen, PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION)) in NineAdapter9_GetDeviceCaps()
728 1 << (screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS) - 1); in NineAdapter9_GetDeviceCaps()
731 1 << (screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS) - 1); in NineAdapter9_GetDeviceCaps()
791 (DWORD)screen->get_param(screen, PIPE_CAP_BLEND_EQUATION_SEPARATE); in NineAdapter9_GetDeviceCaps()
[all …]
Dquery9.c41 return screen->get_param(screen, PIPE_CAP_OCCLUSION_QUERY) ? in d3dquerytype_to_pipe_query()
44 return screen->get_param(screen, PIPE_CAP_QUERY_TIMESTAMP) ? in d3dquerytype_to_pipe_query()
48 return screen->get_param(screen, PIPE_CAP_QUERY_TIMESTAMP) ? in d3dquerytype_to_pipe_query()
51 return screen->get_param(screen, in d3dquerytype_to_pipe_query()
/external/python/cpython2/Lib/email/
Dmessage.py535 def get_param(self, param, failobj=None, header='content-type', member in Message
596 if not self.get_param(param, header=header):
682 filename = self.get_param('filename', missing, 'content-disposition')
684 filename = self.get_param('name', missing, 'content-type')
696 boundary = self.get_param('boundary', missing)
755 charset = self.get_param('charset', missing)
/external/mesa3d/src/gallium/winsys/intel/drm/
Dintel_drm_winsys.c71 get_param(struct intel_winsys *winsys, int param, int *value) in get_param() function
139 get_param(winsys, I915_PARAM_HAS_RELAXED_DELTA, &val); in probe_winsys()
153 get_param(winsys, I915_PARAM_HAS_LLC, &val); in probe_winsys()
160 get_param(winsys, I915_PARAM_HAS_ALIASING_PPGTT, &val); in probe_winsys()
166 get_param(winsys, I915_PARAM_HAS_GEN7_SOL_RESET, &val); in probe_winsys()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_device.c102 stw_dev->smapi->get_param = stw_get_param; in stw_init()
106 screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in stw_init()
/external/mesa3d/src/gallium/auxiliary/util/
Du_caps.c48 if (!screen->get_param(screen, list[i++])) { in util_check_caps_out()
54 tmpi = screen->get_param(screen, list[i++]); in util_check_caps_out()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h42 struct param *get_param(const char *name) in get_param() function
Dns_create.c91 struct param *p = get_param(token); in main()
/external/boringssl/src/crypto/dh/
Ddh_test.cc406 DH *(*get_param)(const ENGINE *engine); member
437 bssl::UniquePtr<DH> dhA(td->get_param(nullptr)); in RunRFC5114Tests()
438 bssl::UniquePtr<DH> dhB(td->get_param(nullptr)); in RunRFC5114Tests()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dquery.c89 max_2d_texture_level = pscreen->get_param(pscreen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in vlVdpVideoSurfaceQueryCapabilities()
241 uint32_t max_2d_texture_level = pscreen->get_param( in vlVdpOutputSurfaceQueryCapabilities()
441 uint32_t max_2d_texture_level = pscreen->get_param( in vlVdpBitmapSurfaceQueryCapabilities()
/external/libdrm/freedreno/
Dfreedreno_pipe.c74 return pipe->funcs->get_param(pipe, param, value); in fd_pipe_get_param()
/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c244 if (context->screen->get_param(buffer->screen, PIPE_CAP_NPOT_TEXTURES)) in hgl_create_st_framebuffer()
285 manager->get_param = hgl_st_manager_get_param; in hgl_create_st_manager()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_screen.c87 return screen->get_param(screen, in rbug_screen_get_param()
274 rb_screen->base.get_param = rbug_screen_get_param; in rbug_screen_create()

1234