Home
last modified time | relevance | path

Searched refs:screen (Results 276 - 300 of 1075) sorted by relevance

1...<<11121314151617181920>>...43

/third_party/mesa3d/src/glx/
H A Dglxcmds.c69 * \param scrn_num If non-NULL, the drawables screen is stored there
137 * Get the GLX per-screen data structure associated with a GLX context.
139 * \param dpy Display for which the GLX per-screen information is to be
141 * \param scrn Screen on \c dpy for which the GLX per-screen information is
143 * \returns A pointer to the GLX per-screen data if \c dpy and \c scrn
144 * specify a valid GLX screen, or NULL otherwise.
146 * \todo Should this function validate that \c scrn is within the screen
178 /* Check screen number to see if its valid */ in GetGLXPrivScreenConfig()
183 /* Check to see if the GL is supported on this screen */ in GetGLXPrivScreenConfig()
186 /* No support for GL on this screen regardles in GetGLXPrivScreenConfig()
696 int screen = vis->screen; glXCreateGLXPixmap() local
1251 glXChooseVisual(Display * dpy, int screen, int *attribList) glXChooseVisual() argument
1317 glXQueryExtensionsString(Display * dpy, int screen) glXQueryExtensionsString() argument
1360 glXQueryServerString(Display * dpy, int screen, int name) glXQueryServerString() argument
1423 uint32_t screen = 0; glXImportContextEXT() local
1596 glXChooseFBConfig(Display * dpy, int screen, const int *attribList, int *nitems) glXChooseFBConfig() argument
1662 glXGetFBConfigs(Display * dpy, int screen, int *nelements) glXGetFBConfigs() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
H A Dvbva_base.c108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host()
120 if (screen >= 0) { in vbva_inform_host()
122 p->screen_id = screen; in vbva_inform_host()
138 struct vbva_buffer *vbva, s32 screen) in vbva_enable()
147 ret = vbva_inform_host(vbva_ctx, ctx, screen, true); in vbva_enable()
149 vbva_disable(vbva_ctx, ctx, screen); in vbva_enable()
155 s32 screen) in vbva_disable()
161 vbva_inform_host(vbva_ctx, ctx, screen, false); in vbva_disable()
107 vbva_inform_host(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen, bool enable) vbva_inform_host() argument
137 vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, struct vbva_buffer *vbva, s32 screen) vbva_enable() argument
154 vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen) vbva_disable() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/
H A Dvbva_base.c108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host()
120 if (screen >= 0) { in vbva_inform_host()
122 p->screen_id = screen; in vbva_inform_host()
138 struct vbva_buffer *vbva, s32 screen) in vbva_enable()
147 ret = vbva_inform_host(vbva_ctx, ctx, screen, true); in vbva_enable()
149 vbva_disable(vbva_ctx, ctx, screen); in vbva_enable()
155 s32 screen) in vbva_disable()
161 vbva_inform_host(vbva_ctx, ctx, screen, false); in vbva_disable()
107 vbva_inform_host(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen, bool enable) vbva_inform_host() argument
137 vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, struct vbva_buffer *vbva, s32 screen) vbva_enable() argument
154 vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, s32 screen) vbva_disable() argument
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_job.c75 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_get_fb_info() local
83 int limit = screen->plb_max_blk; in lima_get_fb_info()
111 s->fd = lima_screen(ctx->base.screen)->fd; in lima_job_create()
491 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_generate_pp_stream() local
492 int num_pp = screen->num_pp; in lima_generate_pp_stream()
632 struct lima_screen *screen = lima_screen(ctx->base.screen); in lima_update_damage_pp_stream() local
650 screen in lima_update_damage_pp_stream()
682 struct lima_screen *screen = lima_screen(ctx->base.screen); lima_update_pp_stream() local
714 struct lima_screen *screen = lima_screen(ctx->base.screen); lima_update_job_bo() local
802 struct lima_screen *screen = lima_screen(ctx->base.screen); lima_pack_pp_frame_reg() local
894 struct lima_screen *screen = lima_screen(ctx->base.screen); lima_do_job() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_debug.c152 struct si_screen *sscreen = chunk->ctx->screen; in si_log_chunk_shader_print()
309 if (!sctx->screen->info.is_amdgpu) { in si_dump_debug_registers()
476 if (&sctx->b == sctx->screen->aux_context) { in si_log_hw_flush()
484 dd_write_header(f, &sctx->screen->b, 0); in si_log_hw_flush()
548 const unsigned page_size = sctx->screen->info.gart_page_size; in si_dump_bo_list()
593 si_print_texture_info(sctx->screen, tex, log); in si_dump_framebuffer()
600 si_print_texture_info(sctx->screen, tex, log); in si_dump_framebuffer()
696 static void si_dump_descriptor_list(struct si_screen *screen, struct si_descriptors *desc, in si_dump_descriptor_list() argument
728 chunk->gfx_level = screen->info.gfx_level; in si_dump_descriptor_list()
786 si_dump_descriptor_list(sctx->screen, in si_dump_descriptors()
838 si_add_split_disasm(struct si_screen *screen, struct ac_rtld_binary *rtld_binary, struct si_shader_binary *binary, uint64_t *addr, unsigned *num, struct si_shader_inst *instructions, gl_shader_stage stage, unsigned wave_size) si_add_split_disasm() argument
892 struct si_screen *screen = shader->selector->screen; si_print_annotated_shader() local
1068 struct pipe_screen *screen = sctx->b.screen; si_check_vm_faults() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c775 struct nvc0_screen *screen = nvc0->screen; in nvc0_program_alloc_code() local
781 if (screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_program_alloc_code()
791 if (screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_program_alloc_code()
795 ret = nouveau_heap_alloc(screen->text_heap, size, prog, &prog->mem); in nvc0_program_alloc_code()
801 if (screen->base.class_3d >= NVE4_3D_CLASS && in nvc0_program_alloc_code()
802 screen->base.class_3d < TU102_3D_CLASS) { in nvc0_program_alloc_code()
814 if (screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_program_alloc_code()
827 struct nvc0_screen *screen = nvc0->screen; in nvc0_program_upload_code() local
875 struct nvc0_screen *screen = nvc0->screen; nvc0_program_upload() local
964 struct nvc0_screen *screen = nvc0->screen; nvc0_program_library_upload() local
[all...]
H A Dnvc0_video.c95 struct nouveau_screen *screen = &nvc0->screen->base; in nvc0_create_decoder() local
99 bool kepler = screen->device->chipset >= 0xe0; in nvc0_create_decoder()
159 ret = nouveau_object_new(&screen->device->object, 0, in nvc0_create_decoder()
204 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
209 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
213 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, in nvc0_create_decoder()
249 if (screen->device->chipset < 0xd0) { in nvc0_create_decoder()
250 ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0, in nvc0_create_decoder()
255 ret = nouveau_vp3_load_firmware(dec, templ->profile, screen in nvc0_create_decoder()
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_query.c138 struct zink_screen *screen = zink_screen(ctx->base.screen); in zink_context_destroy_query_pools() local
140 VKSCR(DestroyQueryPool)(screen->dev, pool->query_pool, NULL); in zink_context_destroy_query_pools()
151 struct zink_screen *screen = zink_screen(ctx->base.screen); in find_or_allocate_qp() local
175 VkResult status = VKSCR(CreateQueryPool)(screen->dev, &pool_create, NULL, &new_pool->query_pool); in find_or_allocate_qp()
263 timestamp_to_nanoseconds(struct zink_screen *screen, uint64_t *timestamp) in timestamp_to_nanoseconds() argument
269 if (screen->timestamp_valid_bits < 64) in timestamp_to_nanoseconds()
270 *timestamp &= (1ull << screen->timestamp_valid_bits) - 1; in timestamp_to_nanoseconds()
276 *timestamp *= (double)screen in timestamp_to_nanoseconds()
280 convert_query_type(struct zink_screen *screen, enum pipe_query_type query_type, bool *precise) convert_query_type() argument
340 qbo_append(struct pipe_screen *screen, struct zink_query *query) qbo_append() argument
368 destroy_query(struct zink_screen *screen, struct zink_query *query) destroy_query() argument
446 struct zink_screen *screen = zink_screen(pctx->screen); zink_create_query() local
515 struct zink_screen *screen = zink_screen(pctx->screen); zink_destroy_query() local
530 zink_prune_query(struct zink_screen *screen, struct zink_batch_state *bs, struct zink_query *query) zink_prune_query() argument
620 struct zink_screen *screen = zink_screen(pctx->screen); get_query_result() local
1012 struct pipe_screen *screen = pctx->screen; zink_get_query_result() local
1235 struct zink_screen *screen = zink_screen(pctx->screen); zink_get_query_result_resource() local
1312 struct zink_screen *screen = zink_screen(pscreen); zink_get_timestamp() local
[all...]
H A Dzink_framebuffer.h59 zink_init_framebuffer(struct zink_screen *screen, struct zink_framebuffer *fb, struct zink_render_pass *rp);
62 zink_destroy_framebuffer(struct zink_screen *screen,
69 zink_framebuffer_reference(struct zink_screen *screen, in zink_framebuffer_reference() argument
78 zink_destroy_framebuffer(screen, old_dst); in zink_framebuffer_reference()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_buffer_upload.c77 struct pipe_screen *screen = upload->pipe->screen; in nine_upload_create_buffer_group() local
93 group->resource = screen->resource_create(screen, &resource); in nine_upload_create_buffer_group()
141 if (!pipe->screen->get_param(pipe->screen, in nine_upload_create()
208 struct pipe_screen *screen = upload->pipe->screen; in nine_upload_create_buffer() local
225 buf->resource = screen->resource_create(screen, in nine_upload_create_buffer()
[all...]
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dtri.c64 struct pipe_screen *screen; member
93 /* init a pipe screen */ in init_prog()
94 p->screen = pipe_loader_create_screen(p->dev); in init_prog()
95 assert(p->screen); in init_prog()
98 p->pipe = p->screen->context_create(p->screen, NULL, 0); in init_prog()
124 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, in init_prog()
142 p->target = p->screen->resource_create(p->screen, &tmplt); in init_prog()
242 p->screen in close_prog()
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtri-instanced.c28 static struct pipe_screen *screen = NULL; variable
227 screen->flush_frontbuffer(screen, ctx, tex, 0, 0, window, NULL); in draw()
238 /* It's hard to say whether window or screen should be created in init()
241 * Also, no easy way of querying supported formats if the screen in init()
245 screen = graw_create_window_and_screen(0, 0, 300, 300, in init()
248 if (window && screen) in init()
251 if (!screen || !window) { in init()
256 ctx = screen->context_create(screen, NUL in init()
[all...]
H A Dvs-test.c43 static struct pipe_screen *screen = NULL; variable
95 constbuf = screen->resource_create(screen, in init_fs_constbuf()
234 screen->flush_frontbuffer(screen, ctx, rttex, 0, 0, window, NULL); in draw()
300 samptex = screen->resource_create(screen, in init_tex()
376 /* It's hard to say whether window or screen should be created in init()
379 * Also, no easy way of querying supported formats if the screen in init()
383 screen in init()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_context.c60 struct llvmpipe_screen *lp_screen = llvmpipe_screen(pipe->screen); in llvmpipe_destroy()
173 struct llvmpipe_screen *screen = cookie; in lp_draw_disk_cache_find_shader() local
174 lp_disk_cache_find_shader(screen, cache, ir_sha1_cache_key); in lp_draw_disk_cache_find_shader()
181 struct llvmpipe_screen *screen = cookie; in lp_draw_disk_cache_insert_shader() local
182 lp_disk_cache_insert_shader(screen, cache, ir_sha1_cache_key); in lp_draw_disk_cache_insert_shader()
192 llvmpipe_create_context(struct pipe_screen *screen, void *priv, in llvmpipe_create_context() argument
196 struct llvmpipe_screen *lp_screen = llvmpipe_screen(screen); in llvmpipe_create_context()
213 llvmpipe->pipe.screen = screen; in llvmpipe_create_context()
270 draw_set_constant_buffer_stride(llvmpipe->draw, lp_get_constant_buffer_stride(screen)); in llvmpipe_create_context()
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program_cache.c111 iris_create_shader_variant(const struct iris_screen *screen, in iris_create_shader_variant() argument
135 screen->vtbl.derived_program_state_size(cache_id)); in iris_create_shader_variant()
150 iris_upload_shader(struct iris_screen *screen, in iris_upload_shader() argument
160 const struct intel_device_info *devinfo = &screen->devinfo; in iris_upload_shader()
182 brw_write_shader_relocs(&screen->compiler->isa, shader->map, in iris_upload_shader()
187 screen->vtbl.store_derived_program_state(devinfo, cache_id, shader); in iris_upload_shader()
232 struct iris_screen *screen = batch->screen; in iris_blorp_upload_shader() local
241 iris_create_shader_variant(screen, ice->shaders.cache, IRIS_CACHE_BLORP, in iris_blorp_upload_shader()
246 iris_upload_shader(screen, NUL in iris_blorp_upload_shader()
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program_cache.c142 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_cache_new_bo() local
144 new_bo = crocus_bo_alloc(screen->bufmgr, "program cache", new_size); in crocus_cache_new_bo()
158 if (screen->devinfo.ver <= 5) { in crocus_cache_new_bo()
287 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_init_program_cache() local
292 crocus_bo_alloc(screen->bufmgr, "program_cache", 16384); in crocus_init_program_cache()
336 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_print_program_cache() local
337 const struct brw_isa_info *isa = &screen in crocus_print_program_cache()
[all...]
H A Dcrocus_resolve.c116 if (batch->screen->devinfo.ver == 7 && in resolve_sampler_views()
121 crocus_get_depth_stencil_resources(&batch->screen->devinfo, isv->base.texture, &zres, &sres); in resolve_sampler_views()
169 struct crocus_screen *screen = (struct crocus_screen *)batch->screen; in crocus_update_align_res() local
185 if (!screen->vtbl.blit_blt(batch, &info)) { in crocus_update_align_res()
223 struct crocus_screen *screen = (void *) ice->ctx.screen; in crocus_predraw_resolve_framebuffer() local
224 struct intel_device_info *devinfo = &screen->devinfo; in crocus_predraw_resolve_framebuffer()
320 struct crocus_screen *screen = (void *) ice->ctx.screen; in crocus_postdraw_update_resolve_tracking() local
531 struct crocus_screen *screen = batch->screen; crocus_resolve_color() local
574 struct crocus_screen *screen = batch->screen; crocus_mcs_partial_resolve() local
610 struct crocus_screen *screen = batch->screen; crocus_hiz_exec() local
991 struct crocus_screen *screen = (void *) ice->ctx.screen; crocus_resource_render_aux_usage() local
1043 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; crocus_update_stencil_shadow() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.c122 struct svga_screen *ss = svga_screen(pipe->screen); in svga_buffer_transfer_map()
339 struct svga_screen *ss = svga_screen(pipe->screen); in svga_buffer_transfer_flush_region()
360 struct svga_screen *ss = svga_screen(pipe->screen); in svga_buffer_transfer_unmap()
418 svga_resource_destroy(struct pipe_screen *screen, in svga_resource_destroy() argument
422 struct svga_screen *ss = svga_screen(screen); in svga_resource_destroy()
450 struct svga_screen *ss = svga_screen(screen); in svga_resource_destroy()
483 svga_buffer_create(struct pipe_screen *screen, in svga_buffer_create() argument
486 struct svga_screen *ss = svga_screen(screen); in svga_buffer_create()
498 sbuf->b.screen = screen; in svga_buffer_create()
579 svga_user_buffer_create(struct pipe_screen *screen, void *ptr, unsigned bytes, unsigned bind) svga_user_buffer_create() argument
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_readpixels.c104 struct pipe_screen *screen = st->screen; in try_pbo_readpixels() local
123 if (!screen->is_format_supported(screen, dst_format, PIPE_BUFFER, 0, 0, in try_pbo_readpixels()
282 struct pipe_screen *screen = st->screen; in blit_to_staging() local
289 if (!screen->get_param(screen, PIPE_CAP_NPOT_TEXTURES) && in blit_to_staging()
308 dst = screen->resource_create(screen, in blit_to_staging()
422 struct pipe_screen *screen = st->screen; st_ReadPixels() local
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
H A Dbrowser.c19 GdkScreen *screen; in perf_gtk__resize_window() local
24 screen = gtk_widget_get_screen(window); in perf_gtk__resize_window()
26 monitor = gdk_screen_get_monitor_at_window(screen, window->window); in perf_gtk__resize_window()
28 gdk_screen_get_monitor_geometry(screen, monitor, &rect); in perf_gtk__resize_window()
/kernel/linux/linux-6.6/tools/perf/ui/gtk/
H A Dbrowser.c19 GdkScreen *screen; in perf_gtk__resize_window() local
24 screen = gtk_widget_get_screen(window); in perf_gtk__resize_window()
26 monitor = gdk_screen_get_monitor_at_window(screen, window->window); in perf_gtk__resize_window()
28 gdk_screen_get_monitor_geometry(screen, monitor, &rect); in perf_gtk__resize_window()
/third_party/mesa3d/src/gallium/winsys/freedreno/drm/
H A Dfreedreno_drm_winsys.c49 struct fd_screen *screen = fd_screen(pscreen); in fd_drm_screen_destroy() local
53 destroy = --screen->refcnt == 0; in fd_drm_screen_destroy()
55 int fd = fd_device_fd(screen->dev); in fd_drm_screen_destroy()
66 pscreen->destroy = screen->winsys_priv; in fd_drm_screen_destroy()
100 * override the pipe drivers screen->destroy(): in fd_drm_screen_create()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_screen.h108 vc4_screen(struct pipe_screen *screen) in vc4_screen() argument
110 return (struct vc4_screen *)screen; in vc4_screen()
123 vc4_fence_screen_init(struct vc4_screen *screen);
126 vc4_fence_create(struct vc4_screen *screen, uint64_t seqno, int fd);
/third_party/mesa3d/src/gallium/winsys/lima/drm/
H A Dlima_drm_winsys.c44 struct lima_screen *screen = lima_screen(pscreen); in lima_drm_screen_destroy() local
46 int fd = screen->fd; in lima_drm_screen_destroy()
49 destroy = --screen->refcnt == 0; in lima_drm_screen_destroy()
61 pscreen->destroy = screen->winsys_priv; in lima_drm_screen_destroy()
91 * override the pipe drivers screen->destroy(): in lima_drm_screen_create()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_screen.h69 #define VIV_FEATURE(screen, word, feature) \
70 ((screen->features[viv_ ## word] & (word ## _ ## feature)) != 0)
120 etna_screen_get_tile_size(struct etna_screen *screen, uint8_t ts_mode) in etna_screen_get_tile_size() argument
122 if (!VIV_FEATURE(screen, chipMinorFeatures6, CACHE128B256BPERLINE)) in etna_screen_get_tile_size()

Completed in 16 milliseconds

1...<<11121314151617181920>>...43