Home
last modified time | relevance | path

Searched refs:screen (Results 101 - 125 of 1028) sorted by relevance

12345678910>>...42

/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_gmem.c161 printf("total: 0x%06x (of 0x%06x)\n", total, gmem->screen->gmemsize_bytes); in dump_gmem_state()
174 struct fd_screen *screen = gmem->screen; in layout_gmem() local
182 bin_w = div_align(key->width, nbins_x, screen->info->tile_align_w); in layout_gmem()
183 bin_h = div_align(key->height, nbins_y, screen->info->tile_align_h); in layout_gmem()
185 if (bin_w > screen->info->tile_max_w) in layout_gmem()
188 if (bin_h > screen->info->tile_max_h) in layout_gmem()
217 return total <= screen->gmemsize_bytes; in layout_gmem()
223 struct fd_screen *screen = gmem->screen; in calc_nbins() local
277 gmem_stateobj_init(struct fd_screen *screen, struct gmem_key *key) gmem_stateobj_init() argument
474 struct fd_screen *screen = batch->ctx->screen; gmem_key_init() local
546 struct fd_screen *screen = batch->ctx->screen; lookup_gmem_state() local
791 struct fd_screen *screen = batch->ctx->screen; fd_gmem_estimate_bins_per_pipe() local
[all...]
H A Dfreedreno_batch.c51 if ((fd_device_version(ctx->screen->dev) >= FD_VERSION_UNLIMITED_CMDS) && in alloc_ring()
74 if (ctx->screen->gen < 6) { in batch_init()
86 if (ctx->screen->gen < 6) in batch_init()
107 if (is_a2xx(ctx->screen)) { in batch_init()
112 if (is_a3xx(ctx->screen)) in batch_init()
206 if (is_a2xx(batch->ctx->screen)) { in batch_fini()
211 if (is_a3xx(batch->ctx->screen)) in batch_fini()
227 struct fd_batch_cache *cache = &batch->ctx->screen->batch_cache;
241 struct fd_batch_cache *cache = &batch->ctx->screen->batch_cache; in batch_reset_dependencies()
254 fd_screen_assert_locked(batch->ctx->screen); in batch_reset_resources()
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_measure.c49 iris_init_screen_measure(struct iris_screen *screen) in iris_init_screen_measure() argument
51 struct intel_measure_device *measure_device = &screen->measure; in iris_init_screen_measure()
66 struct intel_measure_ringbuffer *rb = rzalloc_size(screen, rb_bytes); in iris_init_screen_measure()
71 config_from_screen(struct iris_screen *screen) in config_from_screen() argument
73 return screen->measure.config; in config_from_screen()
79 return ((struct iris_screen *) ice->ctx.screen)->measure.config; in config_from_context()
83 iris_destroy_screen_measure(struct iris_screen *screen) in iris_destroy_screen_measure() argument
85 if (!config_from_screen(screen)) in iris_destroy_screen_measure()
88 struct intel_measure_device *measure_device = &screen->measure; in iris_destroy_screen_measure()
92 fclose(screen in iris_destroy_screen_measure()
103 struct iris_screen *screen = batch->screen; iris_init_batch_measure() local
149 const struct iris_screen *screen = (void *) ice->ctx.screen; measure_start_snapshot() local
342 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; iris_destroy_ctx_measure() local
350 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; iris_measure_batch_end() local
394 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; iris_measure_frame_end() local
[all...]
H A Diris_context.c48 struct iris_screen *screen = (struct iris_screen *)ctx->screen; in iris_set_debug_callback() local
50 util_queue_finish(&screen->shader_compiler_queue); in iris_set_debug_callback()
71 batch->screen->vtbl.init_render_context(batch); in iris_lost_context_state()
73 batch->screen->vtbl.init_compute_context(batch); in iris_lost_context_state()
89 batch->screen->vtbl.lost_genx_state(ice, batch); in iris_lost_context_state()
198 res->screen->resource_destroy(res->screen, res); in clear_dirty_dmabuf_set()
222 struct iris_screen *screen = (struct iris_screen *)ctx->screen; in iris_destroy_context() local
290 struct iris_screen *screen = (struct iris_screen*)pscreen; iris_create_context() local
[all...]
H A Diris_monitor.c45 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_monitor_info() local
46 struct intel_perf_config *perf_cfg = screen->perf_cfg; in iris_get_monitor_info()
107 iris_monitor_init_metrics(struct iris_screen *screen) in iris_monitor_init_metrics() argument
109 struct intel_perf_config *perf_cfg = intel_perf_new(screen); in iris_monitor_init_metrics()
113 screen->perf_cfg = perf_cfg; in iris_monitor_init_metrics()
117 intel_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, in iris_monitor_init_metrics()
129 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_monitor_group_info() local
130 if (!screen->perf_cfg) { in iris_get_monitor_group_info()
131 if (!iris_monitor_init_metrics(screen)) in iris_get_monitor_group_info()
159 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; iris_init_monitor_ctx() local
183 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; iris_create_monitor_object() local
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_query.c156 struct crocus_screen *screen = batch->screen; in mark_available() local
163 screen->vtbl.store_data_imm64(batch, bo, offset, true); in mark_available()
194 struct crocus_screen *screen = batch->screen; in write_value() local
224 screen->vtbl.store_register_mem64(batch, in write_value()
233 screen->vtbl.store_register_mem64(batch, in write_value()
263 screen->vtbl.store_register_mem64(batch, reg, bo, offset, false); in write_value()
277 struct crocus_screen *screen = batch->screen; in write_overflow_values() local
511 struct crocus_screen *screen = (void *) ctx->screen; crocus_destroy_query() local
642 struct crocus_screen *screen = (void *) ice->ctx.screen; crocus_check_query_no_flush() local
662 struct crocus_screen *screen = (void *) ctx->screen; crocus_get_query_result() local
714 struct crocus_screen *screen = batch->screen; crocus_get_query_result_resource() local
844 struct crocus_screen *screen = batch->screen; set_predicate_for_result() local
967 struct crocus_screen *screen = batch->screen; crocus_emit_compute_predicate() local
980 crocus_init_screen_query(struct crocus_screen *screen) crocus_init_screen_query() argument
[all...]
H A Dcrocus_batch.c192 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_init_batch() local
193 struct intel_device_info *devinfo = &screen->devinfo; in crocus_init_batch()
196 batch->screen = screen; in crocus_init_batch()
209 batch->hw_ctx_id = crocus_create_hw_context(screen->bufmgr); in crocus_init_batch()
212 crocus_hw_context_set_priority(screen->bufmgr, batch->hw_ctx_id, priority); in crocus_init_batch()
257 intel_batch_decode_ctx_init(&batch->decoder, &screen->compiler->isa, in crocus_init_batch()
258 &screen->devinfo, stderr, in crocus_init_batch()
460 struct crocus_screen *screen in recreate_growing_buffer() local
477 struct crocus_screen *screen = batch->screen; create_batch() local
519 struct crocus_screen *screen = batch->screen; crocus_batch_reset() local
544 struct crocus_screen *screen = batch->screen; crocus_batch_free() local
628 struct crocus_screen *screen = batch->screen; crocus_grow_buffer() local
775 struct crocus_screen *screen = batch->screen; replace_hw_ctx() local
794 struct crocus_screen *screen = batch->screen; crocus_batch_check_for_reset() local
939 struct crocus_screen *screen = batch->screen; _crocus_batch_flush() local
[all...]
H A Dcrocus_monitor.c48 const struct crocus_screen *screen = (struct crocus_screen *)pscreen; in crocus_get_monitor_info() local
49 assert(screen->monitor_cfg); in crocus_get_monitor_info()
50 if (!screen->monitor_cfg) in crocus_get_monitor_info()
53 const struct crocus_monitor_config *monitor_cfg = screen->monitor_cfg; in crocus_get_monitor_info()
143 struct crocus_screen *screen = batch->screen; in crocus_monitor_emit_mi_report_perf_count() local
144 screen->vtbl.emit_mi_report_perf_count(batch, bo, offset_in_bytes, report_id); in crocus_monitor_emit_mi_report_perf_count()
176 crocus_monitor_init_metrics(struct crocus_screen *screen) in crocus_monitor_init_metrics() argument
179 rzalloc(screen, struct crocus_monitor_config); in crocus_monitor_init_metrics()
202 intel_perf_init_metrics(perf_cfg, &screen in crocus_monitor_init_metrics()
273 struct crocus_screen *screen = (struct crocus_screen *)pscreen; crocus_get_monitor_group_info() local
304 struct crocus_screen *screen = (struct crocus_screen *) ice->ctx.screen; crocus_init_monitor_ctx() local
329 struct crocus_screen *screen = (struct crocus_screen *) ice->ctx.screen; crocus_create_monitor_object() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dsyncobj.c108 struct pipe_screen *screen = ctx->pipe->screen; in delete_sync_object() local
110 screen->fence_reference(screen, &obj->fence, NULL); in delete_sync_object()
122 struct pipe_screen *screen = pipe->screen; in __client_wait_sync() local
136 screen->fence_reference(screen, &fence, obj->fence); in __client_wait_sync()
151 if (screen->fence_finish(screen, pip in __client_wait_sync()
407 struct pipe_screen *screen = pipe->screen; wait_sync() local
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_copyimage.c57 get_canonical_format(struct pipe_screen *screen, in get_canonical_format() argument
66 return get_canonical_format(screen, PIPE_FORMAT_R8G8B8A8_UINT); in get_canonical_format()
76 return get_canonical_format(screen, PIPE_FORMAT_R8G8B8A8_UINT); in get_canonical_format()
83 return (screen->get_canonical_format ? \ in get_canonical_format()
84 screen->get_canonical_format(screen, format) : \ in get_canonical_format()
90 return (screen->get_canonical_format ? \ in get_canonical_format()
91 screen->get_canonical_format(screen, format) : \ in get_canonical_format()
98 return (screen in get_canonical_format()
220 canonical_format_from_bits(struct pipe_screen *screen, unsigned bits, unsigned channel_size) canonical_format_from_bits() argument
374 create_texture(struct pipe_screen *screen, enum pipe_format format, unsigned nr_samples, unsigned nr_storage_samples, unsigned width, unsigned height, unsigned depth) create_texture() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_query_hw_sm.c164 struct nv50_screen *screen = nv50->screen; in nv50_hw_sm_begin_query() local
174 if (screen->pm.num_hw_sm_active + cfg->num_counters > 4) { in nv50_hw_sm_begin_query()
183 for (i = 0; i < screen->MPsInTP; ++i) { in nv50_hw_sm_begin_query()
190 screen->pm.num_hw_sm_active++; in nv50_hw_sm_begin_query()
194 if (!screen->pm.mp_counter[c]) { in nv50_hw_sm_begin_query()
196 screen->pm.mp_counter[c] = hsq; in nv50_hw_sm_begin_query()
217 struct nv50_screen *screen = nv50->screen; in nv50_hw_sm_end_query() local
226 const uint grid[3] = { screen in nv50_hw_sm_end_query()
406 nv50_hw_sm_get_driver_query_info(struct nv50_screen *screen, unsigned id, struct pipe_driver_query_info *info) nv50_hw_sm_get_driver_query_info() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_screen.h68 bool (*init)(struct d3d12_screen *screen);
69 void (*deinit)(struct d3d12_screen *screen);
70 void (*get_memory_info)(struct d3d12_screen *screen, struct d3d12_memory_info *output);
139 d3d12_dxgi_screen(struct d3d12_screen *screen) in d3d12_dxgi_screen() argument
141 return (struct d3d12_dxgi_screen *)screen; in d3d12_dxgi_screen()
153 d3d12_dxcore_screen(struct d3d12_screen *screen) in d3d12_dxcore_screen() argument
155 return (struct d3d12_dxcore_screen *)screen; in d3d12_dxcore_screen()
159 d3d12_init_screen_base(struct d3d12_screen *screen, struct sw_winsys *winsys, LUID *adapter_luid);
162 d3d12_init_screen(struct d3d12_screen *screen, IUnknown *adapter);
165 d3d12_deinit_screen(struct d3d12_screen *screen);
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_tracker.c93 if (xa->screen->is_format_supported(xa->screen, PIPE_FORMAT_R8_UNORM, in xa_get_pipe_format()
150 if (xa->screen->is_format_supported(xa->screen, PIPE_FORMAT_R8_UNORM, in xa_get_pipe_format()
175 xa->screen = pipe_loader_create_screen(xa->dev); in xa_tracker_create()
177 if (!xa->screen) in xa_tracker_create()
208 if (xa->screen->is_format_supported(xa->screen, fdesc.format, in xa_tracker_create()
222 xa->screen->destroy(xa->screen); in xa_tracker_create()
557 struct pipe_screen *screen = srf->xa->screen; xa_surface_handle() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_tex.c447 if (nvc0_context(pipe)->screen->tic.maxwell) in nvc0_create_texture_view()
469 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nvc0_update_tic()
470 NV_VRAM_DOMAIN(&nvc0->screen->base), 32, in nvc0_update_tic()
501 tic->id = nvc0_screen_tic_alloc(nvc0->screen, tic); in nvc0_validate_tic()
503 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nvc0_validate_tic()
504 NV_VRAM_DOMAIN(&nvc0->screen->base), 32, in nvc0_validate_tic()
514 NOUVEAU_DRV_STAT(&nvc0->screen->base, tex_cache_flush_count, 1); in nvc0_validate_tic()
516 nvc0->screen->tic.lock[tic->id / 32] |= 1 << (tic->id % 32); in nvc0_validate_tic()
567 tic->id = nvc0_screen_tic_alloc(nvc0->screen, tic); in nve4_validate_tic()
569 nvc0->base.push_data(&nvc0->base, nvc0->screen in nve4_validate_tic()
762 struct nvc0_screen *screen = nvc0->screen; nve4_set_tex_handles() local
959 struct nvc0_screen *screen = nvc0->screen; nve4_set_surface_info() local
1135 struct nvc0_screen *screen = nvc0->screen; nvc0_validate_suf() local
1255 struct nvc0_screen *screen = nvc0->screen; gm107_validate_surfaces() local
1298 struct nvc0_screen *screen = nvc0->screen; nve4_update_surface_bindings() local
1352 struct nvc0_screen *screen = nvc0->screen; nve4_create_image_handle() local
1382 struct nvc0_screen *screen = nvc0->screen; nve4_delete_image_handle() local
1394 struct nvc0_screen *screen = nvc0->screen; nve4_make_image_handle_resident() local
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_context.c59 struct pipe_screen *screen = pctx->screen; in vc4_pipe_flush() local
68 struct vc4_fence *f = vc4_fence_create(vc4->screen, in vc4_pipe_flush()
71 screen->fence_reference(screen, fence, NULL); in vc4_pipe_flush()
143 if (vc4->screen->has_syncobj) { in vc4_context_destroy()
156 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_context_create() local
169 vc4->screen = screen; in vc4_context_create()
171 pctx->screen in vc4_context_create()
[all...]
H A Dvc4_fence.c82 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_fence_finish() local
88 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); in vc4_fence_finish()
92 vc4_fence_create(struct vc4_screen *screen, uint64_t seqno, int fd) in vc4_fence_create() argument
114 *fence = vc4_fence_create(vc4->screen, vc4->last_emit_seqno, in vc4_fence_create_fd()
130 vc4_fence_get_fd(struct pipe_screen *screen, struct pipe_fence_handle *pfence) in vc4_fence_get_fd() argument
147 if (vc4->screen->has_syncobj) { in vc4_fence_context_init()
156 vc4_fence_screen_init(struct vc4_screen *screen) in vc4_fence_screen_init() argument
158 screen->base.fence_reference = vc4_fence_reference; in vc4_fence_screen_init()
159 screen->base.fence_finish = vc4_fence_finish; in vc4_fence_screen_init()
160 screen in vc4_fence_screen_init()
[all...]
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
H A DNVCtrlLib.h57 * Returns True is the specified screen is controlled by the NVIDIA
61 Bool XNVCTRLIsNvScreen(Display *dpy, int screen);
91 * target_id set to 'screen'.
94 * BadValue - The screen or attribute doesn't exist.
95 * BadMatch - The NVIDIA driver is not present on that screen.
99 int screen,
135 int screen,
168 * NV_CTRL_TARGET_TYPE_X_SCREEN and target_id set to 'screen'.
171 * BadValue - The screen doesn't exist.
172 * BadMatch - The NVIDIA driver is not present on that screen
591 int screen; global() member
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_context.c85 lima_context_create_drm_ctx(struct lima_screen *screen) in lima_context_create_drm_ctx() argument
89 int ret = drmIoctl(screen->fd, DRM_IOCTL_LIMA_CTX_CREATE, &req); in lima_context_create_drm_ctx()
97 lima_context_free_drm_ctx(struct lima_screen *screen, int id) in lima_context_free_drm_ctx() argument
103 drmIoctl(screen->fd, DRM_IOCTL_LIMA_CTX_FREE, &req); in lima_context_free_drm_ctx()
139 struct lima_screen *screen = lima_screen(pctx->screen); in lima_context_destroy() local
173 lima_context_free_drm_ctx(screen, ctx->id); in lima_context_destroy()
205 struct lima_screen *screen = lima_screen(pscreen); in lima_context_create() local
212 ctx->id = lima_context_create_drm_ctx(screen); in lima_context_create()
220 ctx->base.screen in lima_context_create()
[all...]
H A Dlima_bo.h34 struct lima_screen *screen; member
51 bool lima_bo_table_init(struct lima_screen *screen);
52 void lima_bo_table_fini(struct lima_screen *screen);
53 bool lima_bo_cache_init(struct lima_screen *screen);
54 void lima_bo_cache_fini(struct lima_screen *screen);
56 struct lima_bo *lima_bo_create(struct lima_screen *screen, uint32_t size,
69 struct lima_bo *lima_bo_import(struct lima_screen *screen,
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_pipeline.c49 zink_create_gfx_pipeline(struct zink_screen *screen, in zink_create_gfx_pipeline() argument
57 if (!screen->info.have_EXT_vertex_input_dynamic_state || !state->element_state->num_attribs || !state->uses_dynamic_stride) { in zink_create_gfx_pipeline()
64 if (!screen->info.have_EXT_extended_dynamic_state || !state->uses_dynamic_stride) { in zink_create_gfx_pipeline()
74 if (!screen->info.have_EXT_vertex_input_dynamic_state && state->element_state->b.divisors_present) { in zink_create_gfx_pipeline()
85 if (!screen->info.have_EXT_extended_dynamic_state2) { in zink_create_gfx_pipeline()
92 if (screen->info.have_EXT_primitive_topology_list_restart) { in zink_create_gfx_pipeline()
138 if (state->blend_state->alpha_to_one && !screen->info.feats.features.alphaToOne) { in zink_create_gfx_pipeline()
163 viewport_state.viewportCount = screen->info.have_EXT_extended_dynamic_state ? 0 : state->dyn_state1.num_viewports; in zink_create_gfx_pipeline()
165 viewport_state.scissorCount = screen->info.have_EXT_extended_dynamic_state ? 0 : state->dyn_state1.num_viewports; in zink_create_gfx_pipeline()
167 if (!screen in zink_create_gfx_pipeline()
390 zink_create_compute_pipeline(struct zink_screen *screen, struct zink_compute_program *comp, struct zink_compute_pipeline_state *state) zink_create_compute_pipeline() argument
[all...]
/third_party/mesa3d/src/glx/apple/
H A Dappledri.c182 XAppleDRIQueryDirectRenderingCapable(dpy, screen, isCapable) in XAppleDRIQueryDirectRenderingCapable()
184 int screen;
198 req->screen = screen;
213 XAppleDRIAuthConnection(dpy, screen, magic) in XAppleDRIAuthConnection()
215 int screen;
229 req->screen = screen;
245 XAppleDRICreateSurface(dpy, screen, drawable, client_id, key, uid) in XAppleDRICreateSurface()
247 int screen;
308 XAppleDRICreateSharedBuffer(Display * dpy, int screen, Drawable drawable, Bool doubleSwap, char *path, size_t pathlen, int *width, int *height) XAppleDRICreateSharedBuffer() argument
357 XAppleDRISwapBuffers(Display * dpy, int screen, Drawable drawable) XAppleDRISwapBuffers() argument
377 XAppleDRICreatePixmap(Display * dpy, int screen, Drawable drawable, int *width, int *height, int *pitch, int *bpp, size_t * size, char *bufname, size_t bufnamesize) XAppleDRICreatePixmap() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_perfcounter.c156 if (!sctx->screen->info.never_send_perfcounter_stop) { in si_pc_emit_stop()
163 S_036020_PERFMON_STATE(sctx->screen->info.never_stop_sq_perf_counters ? in si_pc_emit_stop()
273 si_query_buffer_destroy(sctx->screen, &query->buffer); in si_pc_query_destroy()
349 se_end = sctx->screen->info.max_se; in si_pc_query_suspend()
448 static struct si_query_group *get_group_state(struct si_screen *screen, struct si_query_pc *query, in get_group_state() argument
451 struct si_perfcounters *pc = screen->perfcounters; in get_group_state()
474 sub_gids = sub_gids * screen->info.max_se; in get_group_state()
517 struct si_screen *screen = (struct si_screen *)ctx->screen; in si_create_batch_query() local
518 struct si_perfcounters *pc = screen in si_create_batch_query()
629 si_get_perfcounter_info(struct si_screen *screen, unsigned index, struct pipe_driver_query_info *info) si_get_perfcounter_info() argument
669 si_get_perfcounter_group_info(struct si_screen *screen, unsigned index, struct pipe_driver_query_group_info *info) si_get_perfcounter_group_info() argument
695 si_destroy_perfcounters(struct si_screen *screen) si_destroy_perfcounters() argument
707 si_init_perfcounters(struct si_screen *screen) si_init_perfcounters() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_resource.c32 r300_resource_create(struct pipe_screen *screen, in r300_resource_create() argument
36 return r300_buffer_create(screen, templ); in r300_resource_create()
38 return r300_texture_create(screen, templ); in r300_resource_create()
57 r300screen->screen.resource_create = r300_resource_create; in r300_init_screen_resource_functions()
58 r300screen->screen.resource_from_handle = r300_texture_from_handle; in r300_init_screen_resource_functions()
59 r300screen->screen.resource_get_handle = r300_resource_get_handle; in r300_init_screen_resource_functions()
60 r300screen->screen.resource_destroy = r300_resource_destroy; in r300_init_screen_resource_functions()
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_util.c35 * screen initialization, context creation, context binding, DRM setup, etc.
218 * Destroy the per-screen private information.
401 validate_context_version(__DRIscreen *screen, in validate_context_version() argument
412 max_version = screen->max_gl_compat_version; in validate_context_version()
415 max_version = screen->max_gl_core_version; in validate_context_version()
418 max_version = screen->max_gl_es1_version; in validate_context_version()
421 max_version = screen->max_gl_es2_version; in validate_context_version()
445 driCreateContextAttribs(__DRIscreen *screen, int api, in driCreateContextAttribs() argument
467 if (!(screen->api_mask & (1 << api))) { in driCreateContextAttribs()
553 screen in driCreateContextAttribs()
645 driCreateNewContextForAPI(__DRIscreen *screen, int api, const __DRIconfig *config, __DRIcontext *shared, void *data) driCreateNewContextForAPI() argument
656 driCreateNewContext(__DRIscreen *screen, const __DRIconfig *config, __DRIcontext *shared, void *data) driCreateNewContext() argument
816 driCreateNewDrawable(__DRIscreen *screen, const __DRIconfig *config, void *data) driCreateNewDrawable() argument
867 dri2AllocateBuffer(__DRIscreen *screen, unsigned int attachment, unsigned int format, int width, int height) dri2AllocateBuffer() argument
876 dri2ReleaseBuffer(__DRIscreen *screen, __DRIbuffer *buffer) dri2ReleaseBuffer() argument
883 dri2ConfigQueryb(__DRIscreen *screen, const char *var, unsigned char *val) dri2ConfigQueryb() argument
894 dri2ConfigQueryi(__DRIscreen *screen, const char *var, int *val) dri2ConfigQueryi() argument
906 dri2ConfigQueryf(__DRIscreen *screen, const char *var, float *val) dri2ConfigQueryf() argument
917 dri2ConfigQuerys(__DRIscreen *screen, const char *var, char **val) dri2ConfigQuerys() argument
928 driGetAPIMask(__DRIscreen *screen) driGetAPIMask() argument
[all...]
/third_party/libdrm/tests/tegra/
H A Dgr2d-fill.c50 struct drm_screen *screen; in main() local
65 err = drm_screen_open(&screen, fd); in main()
67 fprintf(stderr, "failed to open screen: %s\n", strerror(-err)); in main()
85 pitch = screen->width * screen->bpp / 8; in main()
86 size = pitch * screen->height; in main()
111 err = drm_framebuffer_new(&fb, screen, handle, screen->width, in main()
112 screen->height, pitch, format, bo); in main()
119 err = drm_screen_set_framebuffer(screen, f in main()
[all...]

Completed in 17 milliseconds

12345678910>>...42