Home
last modified time | relevance | path

Searched refs:gs_device_t (Results 1 – 25 of 35) sorted by relevance

12

/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs/graphics/
H A Ddevice-exports.h33 EXPORT void device_destroy(gs_device_t *device);
34 EXPORT void device_enter_context(gs_device_t *device);
35 EXPORT void device_leave_context(gs_device_t *device);
36 EXPORT void *device_get_device_obj(gs_device_t *device);
64 device_samplerstate_create(gs_device_t *device,
121 EXPORT void device_begin_frame(gs_device_t *device);
122 EXPORT void device_begin_scene(gs_device_t *device);
125 EXPORT void device_end_scene(gs_device_t *device);
126 EXPORT void device_load_swapchain(gs_device_t *device,
131 EXPORT void device_present(gs_device_t *device);
[all …]
H A Dgraphics-internal.h34 void (*device_destroy)(gs_device_t *device);
35 void (*device_enter_context)(gs_device_t *device);
36 void (*device_leave_context)(gs_device_t *device);
50 gs_device_t *device, uint32_t size,
121 void (*device_begin_frame)(gs_device_t *device);
125 void (*device_end_scene)(gs_device_t *device);
131 void (*device_present)(gs_device_t *device);
132 void (*device_flush)(gs_device_t *device);
155 void (*device_stencil_op)(gs_device_t *device,
288 gs_device_t *device, int monitor_idx,
[all …]
/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs-opengl/
H A Dgl-nix.h30 struct gl_platform *(*platform_create)(gs_device_t *device,
39 void (*device_enter_context)(gs_device_t *device);
41 void (*device_leave_context)(gs_device_t *device);
43 void *(*device_get_device_obj)(gs_device_t *device);
48 void (*clear_context)(gs_device_t *device);
50 void (*update)(gs_device_t *device);
52 void (*device_load_swapchain)(gs_device_t *device,
55 void (*device_present)(gs_device_t *device);
58 gs_device_t *device, unsigned int width, unsigned int height,
H A Dgl-subsystem.c286 void device_destroy(gs_device_t *device) in device_destroy()
349 uint32_t device_get_width(const gs_device_t *device) in device_get_width()
370 device_samplerstate_create(gs_device_t *device, in device_samplerstate_create()
383 gs_timer_t *device_timer_create(gs_device_t *device) in device_timer_create()
962 void device_begin_frame(gs_device_t *device) in device_begin_frame()
968 void device_begin_scene(gs_device_t *device) in device_begin_scene()
1114 void device_end_scene(gs_device_t *device) in device_end_scene()
1147 void device_flush(gs_device_t *device) in device_flush()
1414 void device_projection_push(gs_device_t *device) in device_projection_push()
1419 void device_projection_pop(gs_device_t *device) in device_projection_pop()
[all …]
H A Dgl-nix.c61 extern struct gl_platform *gl_platform_create(gs_device_t *device, in gl_platform_create()
86 extern void device_enter_context(gs_device_t *device) in device_enter_context()
91 extern void device_leave_context(gs_device_t *device) in device_leave_context()
96 extern void *device_get_device_obj(gs_device_t *device) in device_get_device_obj()
107 extern void gl_clear_context(gs_device_t *device) in gl_clear_context()
112 extern void gl_update(gs_device_t *device) in gl_update()
117 extern void device_load_swapchain(gs_device_t *device, gs_swapchain_t *swap) in device_load_swapchain()
122 extern void device_present(gs_device_t *device) in device_present()
128 gs_device_t *device, unsigned int width, unsigned int height, in device_texture_create_from_dmabuf()
H A Dgl-subsystem.h395 gs_device_t *device;
455 gs_device_t *device;
473 gs_device_t *device;
498 gs_device_t *device;
513 gs_device_t *device;
522 gs_device_t *device;
566 gs_device_t *device;
580 gs_device_t *device;
587 gs_device_t *device;
649 extern void gl_update(gs_device_t *device);
[all …]
H A Dgl-wayland-egl.c161 static struct gl_platform *gl_wayland_egl_platform_create(gs_device_t *device, in gl_wayland_egl_platform_create()
261 static void gl_wayland_egl_device_enter_context(gs_device_t *device) in gl_wayland_egl_device_enter_context()
270 static void gl_wayland_egl_device_leave_context(gs_device_t *device) in gl_wayland_egl_device_leave_context()
276 static void *gl_wayland_egl_device_get_device_obj(gs_device_t *device) in gl_wayland_egl_device_get_device_obj()
288 static void gl_wayland_egl_clear_context(gs_device_t *device) in gl_wayland_egl_clear_context()
294 static void gl_wayland_egl_update(gs_device_t *device) in gl_wayland_egl_update()
301 static void gl_wayland_egl_device_load_swapchain(gs_device_t *device, in gl_wayland_egl_device_load_swapchain()
318 static void gl_wayland_egl_device_present(gs_device_t *device) in gl_wayland_egl_device_present()
331 gs_device_t *device, unsigned int width, unsigned int height, in gl_wayland_egl_device_texture_create_from_dmabuf()
H A Dgl-windows.c403 static bool init_default_swap(struct gl_platform *plat, gs_device_t *device, in init_default_swap()
412 void gl_update(gs_device_t *device) in gl_update()
418 void gl_clear_context(gs_device_t *device) in gl_clear_context()
430 struct gl_platform *gl_platform_create(gs_device_t *device, uint32_t adapter) in gl_platform_create()
538 void device_enter_context(gs_device_t *device) in device_enter_context()
548 void device_leave_context(gs_device_t *device) in device_leave_context()
554 void *device_get_device_obj(gs_device_t *device) in device_get_device_obj()
559 void device_load_swapchain(gs_device_t *device, gs_swapchain_t *swap) in device_load_swapchain()
576 void device_present(gs_device_t *device) in device_present()
H A Dgl-x11-glx.c297 static struct gl_platform *gl_x11_glx_platform_create(gs_device_t *device, in gl_x11_glx_platform_create()
438 static void gl_x11_glx_device_enter_context(gs_device_t *device) in gl_x11_glx_device_enter_context()
456 static void gl_x11_glx_device_leave_context(gs_device_t *device) in gl_x11_glx_device_leave_context()
465 static void *gl_x11_glx_device_get_device_obj(gs_device_t *device) in gl_x11_glx_device_get_device_obj()
487 static void gl_x11_glx_clear_context(gs_device_t *device) in gl_x11_glx_clear_context()
496 static void gl_x11_glx_update(gs_device_t *device) in gl_x11_glx_update()
509 static void gl_x11_glx_device_load_swapchain(gs_device_t *device, in gl_x11_glx_device_load_swapchain()
540 static void gl_x11_glx_device_present(gs_device_t *device) in gl_x11_glx_device_present()
583 gs_device_t *device, unsigned int width, unsigned int height, in gl_x11_glx_device_texture_create_from_dmabuf()
H A Dgl-cocoa.m81 struct gl_platform *gl_platform_create(gs_device_t *device, uint32_t adapter)
214 void gl_update(gs_device_t *device)
249 void gl_clear_context(gs_device_t *device)
255 void device_enter_context(gs_device_t *device)
262 void device_leave_context(gs_device_t *device)
274 void *device_get_device_obj(gs_device_t *device)
279 void device_load_swapchain(gs_device_t *device, gs_swapchain_t *swap)
290 void device_present(gs_device_t *device)
322 gs_texture_t *device_texture_create_from_iosurface(gs_device_t *device,
384 gs_texture_t *device_texture_open_shared(gs_device_t *device, uint32_t handle)
H A Dgl-x11-egl.c394 static struct gl_platform *gl_x11_egl_platform_create(gs_device_t *device, in gl_x11_egl_platform_create()
535 static void gl_x11_egl_device_enter_context(gs_device_t *device) in gl_x11_egl_device_enter_context()
548 static void gl_x11_egl_device_leave_context(gs_device_t *device) in gl_x11_egl_device_leave_context()
559 static void *gl_x11_egl_device_get_device_obj(gs_device_t *device) in gl_x11_egl_device_get_device_obj()
581 static void gl_x11_egl_update(gs_device_t *device) in gl_x11_egl_update()
594 static void gl_x11_egl_clear_context(gs_device_t *device) in gl_x11_egl_clear_context()
604 static void gl_x11_egl_device_load_swapchain(gs_device_t *device, in gl_x11_egl_device_load_swapchain()
622 static void gl_x11_egl_device_present(gs_device_t *device) in gl_x11_egl_device_present()
639 gs_device_t *device, unsigned int width, unsigned int height, in gl_x11_egl_device_texture_create_from_dmabuf()
H A Dgl-stagesurf.c45 gs_stagesurf_t *device_stagesurface_create(gs_device_t *device, uint32_t width, in device_stagesurface_create()
114 void device_stage_texture(gs_device_t *device, gs_stagesurf_t *dst, in device_stage_texture()
162 void device_stage_texture(gs_device_t *device, gs_stagesurf_t *dst, in device_stage_texture()
H A Dgl-indexbuffer.c36 gs_indexbuffer_t *device_indexbuffer_create(gs_device_t *device, in device_indexbuffer_create()
116 void device_load_indexbuffer(gs_device_t *device, gs_indexbuffer_t *ib) in device_load_indexbuffer()
H A Dgl-zstencil.c56 gs_zstencil_t *device_zstencil_create(gs_device_t *device, uint32_t width, in device_zstencil_create()
H A Dgl-vertexbuffer.c79 gs_vertbuffer_t *device_vertexbuffer_create(gs_device_t *device, in device_vertexbuffer_create()
274 void device_load_vertexbuffer(gs_device_t *device, gs_vertbuffer_t *vb) in device_load_vertexbuffer()
/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs-d3d11/
H A Dd3d11-subsystem.cpp53 gs_obj::gs_obj(gs_device_t *device_, gs_type type) in gs_obj()
1130 void device_destroy(gs_device_t *device) in device_destroy()
1135 void device_enter_context(gs_device_t *device) in device_enter_context()
1141 void device_leave_context(gs_device_t *device) in device_leave_context()
1323 device_samplerstate_create(gs_device_t *device, in device_samplerstate_create()
1911 void device_begin_frame(gs_device_t *device) in device_begin_frame()
1919 void device_begin_scene(gs_device_t *device) in device_begin_scene()
1982 void device_end_scene(gs_device_t *device) in device_end_scene()
2036 void device_present(gs_device_t *device) in device_present()
2056 void device_flush(gs_device_t *device) in device_flush()
[all …]
H A Dd3d11-subsystem.hpp341 gs_device_t *device;
348 gs_obj(gs_device_t *device, gs_type type);
430 gs_timer(gs_device_t *device);
440 gs_timer_range(gs_device_t *device);
537 gs_texture_2d(gs_device_t *device, ID3D11Texture2D *nv12,
539 gs_texture_2d(gs_device_t *device, uint32_t handle);
587 gs_texture_3d(gs_device_t *device, uint32_t handle);
694 inline gs_shader(gs_device_t *device, gs_type obj_type, in gs_shader()
751 gs_vertex_shader(gs_device_t *device, const char *file,
766 gs_duplicator(gs_device_t *device, int monitor_idx);
[all …]
H A Dd3d11-duplicator.cpp21 static inline bool get_monitor(gs_device_t *device, int monitor_idx, in get_monitor()
56 gs_duplicator::gs_duplicator(gs_device_t *device_, int monitor_idx) in gs_duplicator()
73 EXPORT bool device_get_duplicator_monitor_info(gs_device_t *device, in device_get_duplicator_monitor_info()
125 EXPORT int device_duplicator_get_monitor_index(gs_device_t *device, in device_duplicator_get_monitor_index()
175 EXPORT gs_duplicator_t *device_duplicator_create(gs_device_t *device, in device_duplicator_create()
H A Dd3d11-shaderprocessor.hpp28 gs_device_t *device;
37 inline ShaderProcessor(gs_device_t *device) : device(device) {} in ShaderProcessor()
H A Dd3d11-stagesurf.cpp20 gs_stage_surface::gs_stage_surface(gs_device_t *device, uint32_t width, in gs_stage_surface()
45 gs_stage_surface::gs_stage_surface(gs_device_t *device, uint32_t width, in gs_stage_surface()
H A Dd3d11-texture2d.cpp260 gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t width, in gs_texture_2d()
287 gs_texture_2d::gs_texture_2d(gs_device_t *device, ID3D11Texture2D *nv12tex, in gs_texture_2d()
316 gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t handle) in gs_texture_2d()
346 gs_texture_2d::gs_texture_2d(gs_device_t *device, ID3D11Texture2D *obj) in gs_texture_2d()
H A Dd3d11-indexbuffer.cpp38 gs_index_buffer::gs_index_buffer(gs_device_t *device, enum gs_index_type type, in gs_index_buffer()
H A Dd3d11-texture3d.cpp185 gs_texture_3d::gs_texture_3d(gs_device_t *device, uint32_t width, in gs_texture_3d()
207 gs_texture_3d::gs_texture_3d(gs_device_t *device, uint32_t handle) in gs_texture_3d()
H A Dd3d11-zstencilbuffer.cpp48 gs_zstencil_buffer::gs_zstencil_buffer(gs_device_t *device, uint32_t width, in gs_zstencil_buffer()
H A Dd3d11-samplerstate.cpp68 gs_sampler_state::gs_sampler_state(gs_device_t *device, in gs_sampler_state()

12