|
ReactOS 0.4.17-dev-966-gf06eace
|


Go to the source code of this file.
Macros | |
| #define | WINE_GLAPI __stdcall |
| #define | GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 /* not in the gl spec */ |
| #define | WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT 0x00000001 |
| #define | WINED3D_QUIRK_GLSL_CLIP_VARYING 0x00000004 |
| #define | WINED3D_QUIRK_ALLOWS_SPECULAR_ALPHA 0x00000008 |
| #define | WINED3D_QUIRK_NV_CLIP_BROKEN 0x00000010 |
| #define | WINED3D_QUIRK_FBO_TEX_UPDATE 0x00000020 |
| #define | WINED3D_QUIRK_BROKEN_RGBA16 0x00000040 |
| #define | WINED3D_QUIRK_INFO_LOG_SPAM 0x00000080 |
| #define | WINED3D_QUIRK_LIMITED_TEX_FILTERING 0x00000100 |
| #define | WINED3D_QUIRK_BROKEN_ARB_FOG 0x00000200 |
| #define | WINED3D_QUIRK_NO_INDEPENDENT_BIT_DEPTHS 0x00000400 |
| #define | GL_EXTCALL(f) (gl_info->gl_ops.ext.p_##f) |
| #define | checkGLcall(A) |
| #define | MAX_GL_FRAGMENT_SAMPLERS 32 |
| #define | WINED3D_FBO_ENTRY_FLAG_ATTACHED 0x1 |
| #define | WINED3D_FBO_ENTRY_FLAG_DEPTH 0x2 |
| #define | WINED3D_FBO_ENTRY_FLAG_STENCIL 0x4 |
Typedefs | |
| typedef void(WINE_GLAPI * | wined3d_generic_attrib_func) (GLuint idx, const void *data) |
Variables | |
| const struct min_lookup | minMipLookup [WINED3D_TEXF_LINEAR+1] |
| const GLenum | magLookup [WINED3D_TEXF_LINEAR+1] |
Definition at line 402 of file wined3d_gl.h.
Definition at line 38 of file wined3d_gl.h.
Definition at line 360 of file wined3d_gl.h.
| #define MAX_GL_FRAGMENT_SAMPLERS 32 |
Definition at line 573 of file wined3d_gl.h.
Definition at line 27 of file wined3d_gl.h.
| #define WINED3D_FBO_ENTRY_FLAG_ATTACHED 0x1 |
Definition at line 582 of file wined3d_gl.h.
| #define WINED3D_FBO_ENTRY_FLAG_DEPTH 0x2 |
Definition at line 583 of file wined3d_gl.h.
| #define WINED3D_FBO_ENTRY_FLAG_STENCIL 0x4 |
Definition at line 584 of file wined3d_gl.h.
| #define WINED3D_QUIRK_ALLOWS_SPECULAR_ALPHA 0x00000008 |
Definition at line 324 of file wined3d_gl.h.
| #define WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT 0x00000001 |
Definition at line 322 of file wined3d_gl.h.
| #define WINED3D_QUIRK_BROKEN_ARB_FOG 0x00000200 |
Definition at line 330 of file wined3d_gl.h.
| #define WINED3D_QUIRK_BROKEN_RGBA16 0x00000040 |
Definition at line 327 of file wined3d_gl.h.
| #define WINED3D_QUIRK_FBO_TEX_UPDATE 0x00000020 |
Definition at line 326 of file wined3d_gl.h.
| #define WINED3D_QUIRK_GLSL_CLIP_VARYING 0x00000004 |
Definition at line 323 of file wined3d_gl.h.
| #define WINED3D_QUIRK_INFO_LOG_SPAM 0x00000080 |
Definition at line 328 of file wined3d_gl.h.
| #define WINED3D_QUIRK_LIMITED_TEX_FILTERING 0x00000100 |
Definition at line 329 of file wined3d_gl.h.
| #define WINED3D_QUIRK_NO_INDEPENDENT_BIT_DEPTHS 0x00000400 |
Definition at line 331 of file wined3d_gl.h.
| #define WINED3D_QUIRK_NV_CLIP_BROKEN 0x00000010 |
Definition at line 325 of file wined3d_gl.h.
Definition at line 333 of file wined3d_gl.h.
| Enumerator | |
|---|---|
| WINED3D_FENCE_OK | |
| WINED3D_FENCE_WAITING | |
| WINED3D_FENCE_NOT_STARTED | |
| WINED3D_FENCE_WRONG_THREAD | |
| WINED3D_FENCE_ERROR | |
Definition at line 445 of file wined3d_gl.h.
Definition at line 41 of file wined3d_gl.h.
| HGLRC context_create_wgl_attribs | ( | const struct wined3d_gl_info * | gl_info, |
| HDC | hdc, | ||
| HGLRC | share_ctx | ||
| ) |
Definition at line 1881 of file context_gl.c.
Referenced by wined3d_caps_gl_ctx_create_attribs(), and wined3d_context_gl_create_wgl_ctx().
Definition at line 1556 of file context_gl.c.
Referenced by wined3d_context_gl_destroy(), and wined3d_dll_destroy().
| void context_gl_apply_texture_draw_state | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_texture * | texture, | ||
| unsigned int | sub_resource_idx, | ||
| unsigned int | location | ||
| ) |
Definition at line 3384 of file context_gl.c.
Referenced by glsl_blitter_blit(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), and wined3d_texture_gl_clear().
| void context_gl_resource_released | ( | struct wined3d_device * | device, |
| GLuint | name, | ||
| BOOL | rb_namespace | ||
| ) |
Definition at line 1137 of file context_gl.c.
Referenced by gltexture_delete(), wined3d_texture_gl_unload_location(), and wined3d_view_gl_destroy_object().
Definition at line 5394 of file utils.c.
Referenced by context_dump_fbo_attachment().
Definition at line 5423 of file utils.c.
Referenced by wined3d_context_gl_check_fbo_status().
Definition at line 5445 of file utils.c.
Referenced by match_allows_spec_alpha(), and wined3d_check_gl_call().
| void ffp_vertex_update_clip_plane_constants | ( | const struct wined3d_gl_info * | gl_info, |
| const struct wined3d_state * | state | ||
| ) |
Definition at line 1007 of file ffp_gl.c.
Referenced by shader_glsl_load_constants().
| void install_gl_compat_wrapper | ( | struct wined3d_gl_info * | gl_info, |
| enum wined3d_gl_extension | ext | ||
| ) |
Definition at line 423 of file gl_compat.c.
Referenced by wined3d_adapter_init_gl_caps().
Definition at line 485 of file glsl_shader.c.
Referenced by draw_test_quad(), glsl_blitter_generate_program(), shader_glsl_compile(), shader_glsl_generate_vkd3d_shader(), and shader_glsl_validate_link().
| void shader_glsl_validate_link | ( | const struct wined3d_gl_info * | gl_info, |
| GLuint | program | ||
| ) |
Definition at line 617 of file glsl_shader.c.
Referenced by draw_test_quad(), glsl_blitter_generate_program(), set_glsl_shader_program(), and shader_glsl_compile_compute_shader().
| void texture2d_get_blt_info | ( | const struct wined3d_texture_gl * | texture_gl, |
| unsigned int | sub_resource_idx, | ||
| const RECT * | rect, | ||
| struct wined3d_blt_info * | info | ||
| ) |
Definition at line 173 of file texture.c.
Referenced by wined3d_context_gl_draw_shaded_quad().
| void texture2d_read_from_framebuffer | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| struct wined3d_context * | context, | ||
| DWORD | src_location, | ||
| DWORD | dst_location | ||
| ) |
Definition at line 343 of file surface.c.
Referenced by wined3d_texture_gl_load_sysmem().
|
inlinestatic |
Definition at line 806 of file wined3d_gl.h.
|
inlinestatic |
Definition at line 811 of file wined3d_gl.h.
Referenced by adapter_gl_create_device(), adapter_gl_get_wined3d_caps(), glsl_fragment_pipe_get_caps(), glsl_fragment_pipe_get_emul_mask(), glsl_vertex_pipe_vp_get_caps(), glsl_vertex_pipe_vp_get_emul_mask(), and shader_glsl_get_caps().
| BOOL wined3d_adapter_gl_init_format_info | ( | struct wined3d_adapter * | adapter, |
| struct wined3d_caps_gl_ctx * | ctx | ||
| ) |
Definition at line 4177 of file utils.c.
Referenced by wined3d_adapter_gl_init().
|
inlinestatic |
Definition at line 825 of file wined3d_gl.h.
|
inlinestatic |
Definition at line 890 of file wined3d_gl.h.
Referenced by adapter_gl_alloc_bo(), wined3d_allocator_chunk_gl_map(), and wined3d_allocator_chunk_gl_unmap().
|
inlinestatic |
Definition at line 895 of file wined3d_gl.h.
Referenced by adapter_gl_alloc_bo(), wined3d_allocator_chunk_gl_map(), and wined3d_allocator_chunk_gl_unmap().
|
inlinestatic |
Definition at line 429 of file wined3d_gl.h.
|
inlinestatic |
Definition at line 434 of file wined3d_gl.h.
Referenced by wined3d_context_gl_load_numbered_arrays().
|
inlinestatic |
Definition at line 1049 of file wined3d_gl.h.
| GLenum wined3d_buffer_gl_binding_from_bind_flags | ( | const struct wined3d_gl_info * | gl_info, |
| uint32_t | bind_flags | ||
| ) |
Definition at line 136 of file buffer.c.
Referenced by adapter_gl_alloc_bo(), and wined3d_buffer_gl_create_buffer_object().
|
inlinestatic |
Definition at line 1054 of file wined3d_gl.h.
| HRESULT wined3d_buffer_gl_init | ( | struct wined3d_buffer_gl * | buffer_gl, |
| struct wined3d_device * | device, | ||
| const struct wined3d_buffer_desc * | desc, | ||
| const struct wined3d_sub_resource_data * | data, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1101 of file buffer.c.
Referenced by adapter_gl_create_buffer().
| bool wined3d_caps_gl_ctx_test_filling_convention | ( | struct wined3d_caps_gl_ctx * | ctx, |
| float | offset | ||
| ) |
Definition at line 3896 of file utils.c.
Referenced by wined3d_adapter_find_fill_offset().
| BOOL wined3d_caps_gl_ctx_test_viewport_subpixel_bits | ( | struct wined3d_caps_gl_ctx * | ctx | ) |
Definition at line 3849 of file utils.c.
Referenced by match_broken_viewport_subpixel_bits().
| void wined3d_check_gl_call | ( | const struct wined3d_gl_info * | gl_info, |
| const char * | file, | ||
| unsigned int | line, | ||
| const char * | name | ||
| ) |
Definition at line 1831 of file context_gl.c.
|
inlinestatic |
Definition at line 694 of file wined3d_gl.h.
| struct wined3d_context * wined3d_context_gl_acquire | ( | const struct wined3d_device * | device, |
| struct wined3d_texture * | texture, | ||
| unsigned int | sub_resource_idx | ||
| ) |
Definition at line 4319 of file context_gl.c.
Referenced by adapter_gl_acquire_context().
| void wined3d_context_gl_active_texture | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_gl_info * | gl_info, | ||
| unsigned int | unit | ||
| ) |
Definition at line 2489 of file context_gl.c.
Referenced by glsl_blitter_upload_palette(), wined3d_context_gl_apply_blit_state(), wined3d_context_gl_bind_shader_resources(), wined3d_context_gl_init(), wined3d_device_gl_create_dummy_textures(), and wined3d_shader_resource_view_gl_bind().
| void wined3d_context_gl_alloc_fence | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_fence * | fence | ||
| ) |
Definition at line 925 of file context_gl.c.
Referenced by wined3d_fence_issue().
| void wined3d_context_gl_alloc_occlusion_query | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_occlusion_query * | query | ||
| ) |
Definition at line 877 of file context_gl.c.
Referenced by wined3d_occlusion_query_ops_issue().
| void wined3d_context_gl_alloc_pipeline_statistics_query | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_pipeline_statistics_query * | query | ||
| ) |
Definition at line 1065 of file context_gl.c.
Referenced by wined3d_pipeline_query_ops_issue().
| void wined3d_context_gl_alloc_so_statistics_query | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_so_statistics_query * | query | ||
| ) |
Definition at line 1024 of file context_gl.c.
Referenced by wined3d_so_statistics_query_ops_issue().
| void wined3d_context_gl_alloc_timestamp_query | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_timestamp_query * | query | ||
| ) |
Definition at line 985 of file context_gl.c.
Referenced by wined3d_timestamp_query_ops_issue().
| GLuint wined3d_context_gl_allocate_vram_chunk_buffer | ( | struct wined3d_context_gl * | context_gl, |
| unsigned int | pool, | ||
| size_t | size | ||
| ) |
Definition at line 2707 of file context_gl.c.
Referenced by wined3d_allocator_gl_create_chunk(), wined3d_device_gl_allocate_memory(), and wined3d_device_gl_create_bo().
| void wined3d_context_gl_apply_blit_state | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_device * | device | ||
| ) |
Definition at line 3156 of file context_gl.c.
Referenced by glsl_blitter_blit().
| BOOL wined3d_context_gl_apply_clear_state | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_state * | state, | ||
| unsigned int | rt_count, | ||
| const struct wined3d_fb_state * | fb | ||
| ) |
Definition at line 3250 of file context_gl.c.
Referenced by ffp_blitter_clear_rendertargets().
| void wined3d_context_gl_apply_fbo_state_explicit | ( | struct wined3d_context_gl * | context_gl, |
| GLenum | target, | ||
| struct wined3d_resource * | rt, | ||
| unsigned int | rt_sub_resource_idx, | ||
| struct wined3d_resource * | ds, | ||
| unsigned int | ds_sub_resource_idx, | ||
| uint32_t | location | ||
| ) |
Definition at line 852 of file context_gl.c.
Referenced by context_gl_apply_texture_draw_state(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), and texture2d_read_from_framebuffer().
| void wined3d_context_gl_bind_bo | ( | struct wined3d_context_gl * | context_gl, |
| GLenum | binding, | ||
| GLuint | name | ||
| ) |
Definition at line 2497 of file context_gl.c.
Referenced by flush_bo_ranges(), wined3d_allocator_chunk_gl_map(), wined3d_allocator_chunk_gl_unmap(), wined3d_allocator_gl_destroy_chunk(), wined3d_bo_gl_map(), wined3d_bo_gl_unmap(), wined3d_context_gl_allocate_vram_chunk_buffer(), wined3d_context_gl_copy_bo_address(), wined3d_context_gl_destroy_bo(), wined3d_device_gl_create_bo(), and wined3d_unordered_access_view_gl_clear().
| void wined3d_context_gl_bind_dummy_textures | ( | const struct wined3d_context_gl * | context_gl | ) |
Definition at line 1790 of file context_gl.c.
Referenced by wined3d_context_gl_init(), and wined3d_device_gl_create_dummy_textures().
| void wined3d_context_gl_bind_texture | ( | struct wined3d_context_gl * | context_gl, |
| GLenum | target, | ||
| GLuint | name | ||
| ) |
Definition at line 2507 of file context_gl.c.
Referenced by create_buffer_texture(), create_texture_view(), shader_resource_view_gl_bind_and_dirtify(), wined3d_context_gl_bind_shader_resources(), wined3d_context_gl_draw_shaded_quad(), wined3d_shader_resource_view_gl_bind(), and wined3d_texture_gl_bind().
| void wined3d_context_gl_check_fbo_status | ( | const struct wined3d_context_gl * | context_gl, |
| GLenum | target | ||
| ) |
Definition at line 419 of file context_gl.c.
Referenced by context_apply_draw_state(), context_gl_apply_texture_draw_state(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), texture2d_read_from_framebuffer(), and wined3d_context_gl_apply_clear_state().
|
inlinestatic |
Definition at line 699 of file wined3d_gl.h.
Referenced by shader_glsl_load_samplers(), and shader_glsl_map_tex_unit().
| void wined3d_context_gl_copy_bo_address | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_bo_address * | dst, | ||
| const struct wined3d_bo_address * | src, | ||
| unsigned int | range_count, | ||
| const struct wined3d_range * | ranges, | ||
| uint32_t | map_flags | ||
| ) |
Definition at line 3016 of file context_gl.c.
Referenced by adapter_gl_copy_bo_address().
| void wined3d_context_gl_destroy | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 2308 of file context_gl.c.
Referenced by wined3d_context_gl_release(), wined3d_device_gl_create_primary_opengl_context_cs(), wined3d_device_gl_delete_opengl_contexts_cs(), and wined3d_swapchain_gl_create_context().
| void wined3d_context_gl_destroy_bo | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_bo_gl * | bo | ||
| ) |
Definition at line 3097 of file context_gl.c.
Referenced by adapter_gl_destroy_bo(), wined3d_bo_gl_map(), wined3d_buffer_gl_destroy_buffer_object(), wined3d_texture_remove_buffer_object(), and wined3d_view_gl_destroy_object().
| void wined3d_context_gl_draw_shaded_quad | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_texture_gl * | texture_gl, | ||
| unsigned int | sub_resource_idx, | ||
| const RECT * | src_rect, | ||
| const RECT * | dst_rect, | ||
| enum wined3d_texture_filter_type | filter | ||
| ) |
Definition at line 5125 of file context_gl.c.
Referenced by glsl_blitter_blit().
| void wined3d_context_gl_enable_clip_distances | ( | struct wined3d_context_gl * | context_gl, |
| uint32_t | mask | ||
| ) |
Definition at line 2408 of file context_gl.c.
Referenced by shader_glsl_update_graphics_program(), state_clipping(), and wined3d_context_gl_apply_blit_state().
| void wined3d_context_gl_end_transform_feedback | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 4228 of file context_gl.c.
Referenced by state_so(), wined3d_buffer_gl_destroy_buffer_object(), and wined3d_context_gl_pause_transform_feedback().
| void wined3d_context_gl_flush_bo_address | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_const_bo_address * | data, | ||
| size_t | size | ||
| ) |
Definition at line 3003 of file context_gl.c.
Referenced by adapter_gl_flush_bo_address().
| void wined3d_context_gl_free_fence | ( | struct wined3d_fence * | fence | ) |
Definition at line 966 of file context_gl.c.
Referenced by wined3d_fence_free(), and wined3d_fence_issue().
| void wined3d_context_gl_free_occlusion_query | ( | struct wined3d_occlusion_query * | query | ) |
Definition at line 906 of file context_gl.c.
Referenced by wined3d_occlusion_query_ops_destroy(), and wined3d_occlusion_query_ops_issue().
| void wined3d_context_gl_free_pipeline_statistics_query | ( | struct wined3d_pipeline_statistics_query * | query | ) |
Definition at line 1084 of file context_gl.c.
Referenced by wined3d_pipeline_query_ops_destroy(), and wined3d_pipeline_query_ops_issue().
| void wined3d_context_gl_free_so_statistics_query | ( | struct wined3d_so_statistics_query * | query | ) |
Definition at line 1046 of file context_gl.c.
Referenced by wined3d_so_statistics_query_ops_destroy(), and wined3d_so_statistics_query_ops_issue().
| void wined3d_context_gl_free_timestamp_query | ( | struct wined3d_timestamp_query * | query | ) |
Definition at line 1006 of file context_gl.c.
Referenced by wined3d_timestamp_query_ops_destroy(), and wined3d_timestamp_query_ops_issue().
| struct wined3d_context_gl * wined3d_context_gl_get_current | ( | void | ) |
Definition at line 1566 of file context_gl.c.
Referenced by generic_d3dcolor(), generic_float16_2(), generic_float16_4(), generic_short2n(), generic_ushort2n(), wine_glColor4f(), wine_glDisable(), wine_glEnable(), wine_glFogCoordfEXT(), wine_glFogf(), wine_glFogfv(), wine_glFogi(), wine_glFogiv(), wine_glMultiTexCoord1fARB(), wine_glMultiTexCoord1fvARB(), wine_glMultiTexCoord2fARB(), wine_glMultiTexCoord2fvARB(), wine_glMultiTexCoord2svARB(), wine_glMultiTexCoord3fARB(), wine_glMultiTexCoord3fvARB(), wine_glMultiTexCoord4fARB(), wine_glMultiTexCoord4fvARB(), wine_glMultiTexCoord4svARB(), wine_glVertex4f(), wined3d_context_gl_acquire(), wined3d_context_gl_activate(), wined3d_context_gl_cleanup(), wined3d_context_gl_enter(), wined3d_context_gl_release(), and wined3d_context_gl_set_current().
| GLenum wined3d_context_gl_get_offscreen_gl_buffer | ( | const struct wined3d_context_gl * | context_gl | ) |
Definition at line 3139 of file context_gl.c.
Referenced by texture2d_read_from_framebuffer(), and wined3d_context_gl_generate_rt_mask_no_fbo().
| const unsigned int * wined3d_context_gl_get_tex_unit_mapping | ( | const struct wined3d_context_gl * | context_gl, |
| const struct wined3d_shader_version * | shader_version, | ||
| unsigned int * | base, | ||
| unsigned int * | count | ||
| ) |
Definition at line 2350 of file context_gl.c.
Referenced by create_combined_resource_sampler_bindings(), shader_glsl_load_samplers(), shader_glsl_map_tex_unit(), and wined3d_context_gl_bind_shader_resources().
| HRESULT wined3d_context_gl_init | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_swapchain_gl * | swapchain_gl | ||
| ) |
Definition at line 2032 of file context_gl.c.
Referenced by wined3d_swapchain_gl_create_context().
| void * wined3d_context_gl_map_bo_address | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_bo_address * | data, | ||
| size_t | size, | ||
| uint32_t | flags | ||
| ) |
Definition at line 2932 of file context_gl.c.
Referenced by adapter_gl_map_bo_address(), wined3d_context_gl_copy_bo_address(), wined3d_texture_gl_load_texture(), and wined3d_texture_gl_upload_data().
| struct wined3d_context_gl * wined3d_context_gl_reacquire | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 4378 of file context_gl.c.
Referenced by wined3d_fence_issue(), wined3d_fence_test(), wined3d_fence_wait(), wined3d_occlusion_query_ops_issue(), wined3d_occlusion_query_ops_poll(), wined3d_pipeline_query_ops_issue(), wined3d_pipeline_query_ops_poll(), wined3d_so_statistics_query_ops_issue(), wined3d_so_statistics_query_ops_poll(), and wined3d_timestamp_query_ops_poll().
|
inlinestatic |
Definition at line 912 of file wined3d_gl.h.
Referenced by dispatch_compute(), texture2d_read_from_framebuffer(), wined3d_context_gl_copy_bo_address(), wined3d_context_gl_draw_indirect(), wined3d_context_gl_reference_buffer(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_upload_data(), and wined3d_unordered_access_view_gl_clear().
|
inlinestatic |
Definition at line 919 of file wined3d_gl.h.
Referenced by context_apply_draw_state(), context_gl_load_shader_resources(), context_gl_load_stream_output_buffers(), and context_gl_load_unordered_access_resources().
| void wined3d_context_gl_release | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 1631 of file context_gl.c.
Referenced by adapter_gl_release_context().
| BOOL wined3d_context_gl_set_current | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 1571 of file context_gl.c.
Referenced by context_restore_gl_context(), DllMain(), wined3d_context_gl_activate(), wined3d_context_gl_init(), and wined3d_context_gl_set_gl_context().
| void wined3d_context_gl_submit_command_fence | ( | struct wined3d_context_gl * | context_gl | ) |
Definition at line 2653 of file context_gl.c.
Referenced by swapchain_gl_present(), wined3d_bo_gl_map(), wined3d_context_gl_cleanup(), wined3d_context_gl_destroy_bo(), and wined3d_device_gl_delete_opengl_contexts_cs().
| void wined3d_context_gl_texture_update | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_texture_gl * | texture_gl | ||
| ) |
Definition at line 1143 of file context_gl.c.
Referenced by wined3d_texture_gl_upload_data().
| void wined3d_context_gl_unmap_bo_address | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_bo_address * | data, | ||
| unsigned int | range_count, | ||
| const struct wined3d_range * | ranges | ||
| ) |
Definition at line 2988 of file context_gl.c.
Referenced by adapter_gl_unmap_bo_address(), wined3d_context_gl_copy_bo_address(), wined3d_texture_gl_load_texture(), and wined3d_texture_gl_upload_data().
| void wined3d_context_gl_update_stream_sources | ( | struct wined3d_context_gl * | context_gl, |
| const struct wined3d_state * | state | ||
| ) |
Definition at line 5095 of file context_gl.c.
Referenced by streamsrc(), and vdecl_miscpart().
| void wined3d_context_gl_wait_command_fence | ( | struct wined3d_context_gl * | context_gl, |
| uint64_t | id | ||
| ) |
Definition at line 2629 of file context_gl.c.
Referenced by wined3d_bo_gl_map(), wined3d_context_gl_cleanup(), wined3d_context_gl_submit_command_fence(), and wined3d_device_gl_delete_opengl_contexts_cs().
|
inlinestatic |
Definition at line 870 of file wined3d_gl.h.
|
inlinestatic |
Definition at line 880 of file wined3d_gl.h.
Referenced by wined3d_allocator_chunk_gl_lock(), wined3d_device_gl_allocate_memory(), and wined3d_device_gl_free_memory().
|
inlinestatic |
Definition at line 885 of file wined3d_gl.h.
Referenced by wined3d_allocator_chunk_gl_unlock(), wined3d_device_gl_allocate_memory(), and wined3d_device_gl_free_memory().
| bool wined3d_device_gl_create_bo | ( | struct wined3d_device_gl * | device_gl, |
| struct wined3d_context_gl * | context_gl, | ||
| GLsizeiptr | size, | ||
| GLenum | binding, | ||
| GLenum | usage, | ||
| bool | coherent, | ||
| GLbitfield | flags, | ||
| struct wined3d_bo_gl * | bo | ||
| ) |
Definition at line 1335 of file device.c.
Referenced by adapter_gl_alloc_bo(), wined3d_bo_gl_map(), wined3d_buffer_gl_create_buffer_object(), wined3d_texture_gl_prepare_buffer_object(), and wined3d_unordered_access_view_gl_cs_init().
Definition at line 1476 of file device.c.
Referenced by adapter_gl_init_3d().
Definition at line 1431 of file device.c.
Referenced by adapter_gl_uninit_3d().
|
inlinestatic |
Definition at line 875 of file wined3d_gl.h.
Referenced by wined3d_allocator_chunk_gl_lock(), wined3d_allocator_chunk_gl_unlock(), and wined3d_allocator_gl_destroy_chunk().
| HDC wined3d_device_gl_get_backup_dc | ( | struct wined3d_device_gl * | device_gl | ) |
Definition at line 5313 of file device.c.
Referenced by wined3d_context_gl_create_wgl_ctx(), wined3d_context_gl_init(), and wined3d_context_gl_set_gl_context().
| GLbitfield wined3d_device_gl_get_memory_type_flags | ( | unsigned int | memory_type_idx | ) |
Definition at line 1274 of file device.c.
Referenced by wined3d_allocator_chunk_gl_map(), and wined3d_context_gl_allocate_vram_chunk_buffer().
| void wined3d_fbo_blitter_create | ( | struct wined3d_blitter ** | next, |
| const struct wined3d_gl_info * | gl_info | ||
| ) |
Definition at line 6105 of file texture.c.
Referenced by wined3d_device_gl_create_primary_opengl_context_cs().
| HRESULT wined3d_fence_create | ( | struct wined3d_device * | device, |
| struct wined3d_fence ** | fence | ||
| ) |
Definition at line 390 of file query.c.
Referenced by wined3d_context_gl_submit_command_fence().
| void wined3d_fence_destroy | ( | struct wined3d_fence * | fence | ) |
Definition at line 373 of file query.c.
Referenced by wined3d_context_gl_poll_fences().
| void wined3d_fence_issue | ( | struct wined3d_fence * | fence, |
| struct wined3d_device * | device | ||
| ) |
Definition at line 331 of file query.c.
Referenced by wined3d_context_gl_submit_command_fence(), and wined3d_event_query_ops_issue().
|
inlinestatic |
Definition at line 394 of file wined3d_gl.h.
Referenced by wined3d_adapter_gl_init_d3d_info(), and wined3d_fence_init().
| enum wined3d_fence_result wined3d_fence_test | ( | const struct wined3d_fence * | fence, |
| struct wined3d_device * | device, | ||
| uint32_t | flags | ||
| ) |
Definition at line 178 of file query.c.
Referenced by wined3d_context_gl_poll_fences(), and wined3d_event_query_ops_poll().
| enum wined3d_fence_result wined3d_fence_wait | ( | const struct wined3d_fence * | fence, |
| struct wined3d_device * | device | ||
| ) |
Definition at line 256 of file query.c.
Referenced by wined3d_context_gl_wait_command_fence().
| void wined3d_ffp_blitter_create | ( | struct wined3d_blitter ** | next, |
| const struct wined3d_gl_info * | gl_info | ||
| ) |
Definition at line 5995 of file texture.c.
Referenced by wined3d_device_gl_create_primary_opengl_context_cs().
|
inlinestatic |
Definition at line 1156 of file wined3d_gl.h.
| GLenum wined3d_gl_compare_func | ( | enum wined3d_cmp_func | f | ) |
Definition at line 138 of file ffp_gl.c.
Referenced by depth(), glsl_fragment_pipe_alpha_test_func(), state_stencil(), and wined3d_sampler_gl_cs_init().
|
inlinestatic |
Definition at line 1161 of file wined3d_gl.h.
Referenced by gl_formats_compatible(), texture2d_blt_fbo(), wined3d_texture_gl_prepare_texture(), and wined3d_texture_gl_upload_bo().
| void wined3d_gl_limits_get_texture_unit_range | ( | const struct wined3d_gl_limits * | gl_limits, |
| enum wined3d_shader_type | shader_type, | ||
| unsigned int * | base, | ||
| unsigned int * | count | ||
| ) |
Definition at line 6712 of file utils.c.
Referenced by wined3d_context_gl_get_tex_unit_mapping(), and wined3d_context_gl_init().
| void wined3d_gl_limits_get_uniform_block_range | ( | const struct wined3d_gl_limits * | gl_limits, |
| enum wined3d_shader_type | shader_type, | ||
| unsigned int * | base, | ||
| unsigned int * | count | ||
| ) |
Definition at line 6694 of file utils.c.
Referenced by create_resource_bindings(), shader_generate_glsl_declarations(), shader_glsl_init_uniform_block_bindings(), and state_cb().
|
inlinestatic |
Definition at line 377 of file wined3d_gl.h.
Referenced by apply_texture_blit_state(), wined3d_sampler_gl_cs_init(), and wined3d_texture_gl_apply_sampler_desc().
|
inlinestatic |
Definition at line 382 of file wined3d_gl.h.
Referenced by apply_texture_blit_state(), wined3d_sampler_gl_cs_init(), and wined3d_texture_gl_apply_sampler_desc().
| void wined3d_gl_texture_swizzle_from_color_fixup | ( | GLint | swizzle[4], |
| struct color_fixup_desc | fixup | ||
| ) |
Definition at line 1269 of file texture.c.
Referenced by create_texture_view(), and wined3d_texture_gl_bind().
| struct wined3d_blitter * wined3d_glsl_blitter_create | ( | struct wined3d_blitter ** | next, |
| const struct wined3d_device * | device | ||
| ) |
Definition at line 13210 of file glsl_shader.c.
Referenced by wined3d_device_gl_create_primary_opengl_context_cs().
| HRESULT wined3d_query_gl_create | ( | struct wined3d_device * | device, |
| enum wined3d_query_type | type, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops, | ||
| struct wined3d_query ** | query | ||
| ) |
Definition at line 1309 of file query.c.
Referenced by adapter_gl_create_query().
| void wined3d_query_gl_destroy_buffer_object | ( | struct wined3d_context_gl * | context_gl, |
| struct wined3d_query * | query | ||
| ) |
Definition at line 56 of file query.c.
Referenced by wined3d_query_buffer_queue_result(), and wined3d_query_gl_destroy_object().
| void wined3d_raw_blitter_create | ( | struct wined3d_blitter ** | next, |
| const struct wined3d_gl_info * | gl_info | ||
| ) |
Definition at line 6262 of file texture.c.
Referenced by wined3d_device_gl_create_primary_opengl_context_cs().
|
inlinestatic |
Definition at line 1069 of file wined3d_gl.h.
| HRESULT wined3d_rendertarget_view_gl_init | ( | struct wined3d_rendertarget_view_gl * | view_gl, |
| const struct wined3d_view_desc * | desc, | ||
| struct wined3d_resource * | resource, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 659 of file view.c.
Referenced by adapter_gl_create_rendertarget_view().
Definition at line 391 of file resource.c.
Referenced by wined3d_bo_gl_map().
| GLbitfield wined3d_resource_gl_map_flags | ( | const struct wined3d_bo_gl * | bo, |
| DWORD | d3d_flags | ||
| ) |
Definition at line 373 of file resource.c.
Referenced by wined3d_bo_gl_map().
| GLbitfield wined3d_resource_gl_storage_flags | ( | const struct wined3d_resource * | resource | ) |
Definition at line 355 of file resource.c.
Referenced by adapter_gl_alloc_bo(), and wined3d_buffer_gl_create_buffer_object().
|
inlinestatic |
Definition at line 1034 of file wined3d_gl.h.
| void wined3d_sampler_gl_bind | ( | struct wined3d_sampler_gl * | sampler_gl, |
| unsigned int | unit, | ||
| struct wined3d_texture_gl * | texture_gl, | ||
| const struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 320 of file sampler.c.
Referenced by wined3d_shader_resource_view_gl_bind().
| void wined3d_sampler_gl_init | ( | struct wined3d_sampler_gl * | sampler_gl, |
| struct wined3d_device * | device, | ||
| const struct wined3d_sampler_desc * | desc, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 130 of file sampler.c.
Referenced by adapter_gl_create_sampler().
|
inlinestatic |
Definition at line 1086 of file wined3d_gl.h.
| void wined3d_shader_resource_view_gl_bind | ( | struct wined3d_shader_resource_view_gl * | view_gl, |
| unsigned int | unit, | ||
| struct wined3d_sampler_gl * | sampler_gl, | ||
| struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 1274 of file view.c.
Referenced by wined3d_context_gl_bind_shader_resources().
| void wined3d_shader_resource_view_gl_generate_mipmap | ( | struct wined3d_shader_resource_view_gl * | srv_gl, |
| struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 1312 of file view.c.
Referenced by adapter_gl_generate_mipmap().
| HRESULT wined3d_shader_resource_view_gl_init | ( | struct wined3d_shader_resource_view_gl * | view_gl, |
| const struct wined3d_view_desc * | desc, | ||
| struct wined3d_resource * | resource, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1121 of file view.c.
Referenced by adapter_gl_create_shader_resource_view().
| void wined3d_shader_resource_view_gl_update | ( | struct wined3d_shader_resource_view_gl * | srv_gl, |
| struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 1023 of file view.c.
Referenced by context_gl_load_shader_resources().
|
inlinestatic |
Definition at line 1129 of file wined3d_gl.h.
| void wined3d_swapchain_gl_cleanup | ( | struct wined3d_swapchain_gl * | swapchain_gl | ) |
Definition at line 91 of file swapchain.c.
Referenced by adapter_gl_destroy_swapchain().
| struct wined3d_context_gl * wined3d_swapchain_gl_get_context | ( | struct wined3d_swapchain_gl * | swapchain_gl | ) |
Definition at line 1798 of file swapchain.c.
Referenced by wined3d_context_gl_acquire().
| HRESULT wined3d_swapchain_gl_init | ( | struct wined3d_swapchain_gl * | swapchain_gl, |
| struct wined3d_device * | device, | ||
| const struct wined3d_swapchain_desc * | desc, | ||
| struct wined3d_swapchain_state_parent * | state_parent, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1696 of file swapchain.c.
Referenced by adapter_gl_create_swapchain().
| GLenum wined3d_texture_get_gl_buffer | ( | const struct wined3d_texture * | texture | ) |
Definition at line 113 of file texture.c.
Referenced by context_generate_rt_mask_from_resource(), texture2d_blt_fbo(), and texture2d_read_from_framebuffer().
|
inlinestatic |
Definition at line 954 of file wined3d_gl.h.
| void wined3d_texture_gl_apply_sampler_desc | ( | struct wined3d_texture_gl * | texture_gl, |
| const struct wined3d_sampler_desc * | sampler_desc, | ||
| const struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 1418 of file texture.c.
Referenced by wined3d_sampler_gl_bind().
| void wined3d_texture_gl_bind | ( | struct wined3d_texture_gl * | texture_gl, |
| struct wined3d_context_gl * | context_gl, | ||
| BOOL | srgb | ||
| ) |
Definition at line 1288 of file texture.c.
Referenced by wined3d_shader_resource_view_gl_bind(), and wined3d_texture_gl_bind_and_dirtify().
| void wined3d_texture_gl_bind_and_dirtify | ( | struct wined3d_texture_gl * | texture_gl, |
| struct wined3d_context_gl * | context_gl, | ||
| BOOL | srgb | ||
| ) |
Definition at line 1405 of file texture.c.
Referenced by wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_texture_gl_download_data(), wined3d_texture_gl_prepare_texture(), and wined3d_texture_gl_upload_data().
|
inlinestatic |
Definition at line 959 of file wined3d_gl.h.
Referenced by texture_gl_apply_base_level(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_texture_gl_apply_sampler_desc(), and wined3d_texture_gl_bind().
|
inlinestatic |
Definition at line 964 of file wined3d_gl.h.
Referenced by texture2d_get_blt_info(), wined3d_context_gl_set_fbo_key_for_render_target(), wined3d_texture_gl_allocate_mutable_storage(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), and wined3d_texture_gl_upload_data().
|
inlinestatic |
Definition at line 982 of file wined3d_gl.h.
Referenced by create_texture_view(), raw_blitter_blit(), wined3d_context_gl_bind_unordered_access_views(), and wined3d_context_gl_set_fbo_key_for_render_target().
| HRESULT wined3d_texture_gl_init | ( | struct wined3d_texture_gl * | texture_gl, |
| struct wined3d_device * | device, | ||
| const struct wined3d_resource_desc * | desc, | ||
| unsigned int | layer_count, | ||
| unsigned int | level_count, | ||
| uint32_t | flags, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 4083 of file texture.c.
Referenced by adapter_gl_create_texture().
|
inlinestatic |
Definition at line 990 of file wined3d_gl.h.
Referenced by texture2d_blt_fbo(), and wined3d_texture_gl_load_sysmem().
| void wined3d_texture_gl_prepare_texture | ( | struct wined3d_texture_gl * | texture_gl, |
| struct wined3d_context_gl * | context_gl, | ||
| BOOL | srgb | ||
| ) |
Definition at line 2029 of file texture.c.
Referenced by create_texture_view(), and wined3d_texture_gl_prepare_location().
| void wined3d_texture_gl_set_compatible_renderbuffer | ( | struct wined3d_texture_gl * | texture_gl, |
| struct wined3d_context_gl * | context_gl, | ||
| unsigned int | level, | ||
| const struct wined3d_rendertarget_info * | rt | ||
| ) |
Definition at line 1788 of file texture.c.
Referenced by wined3d_context_gl_find_fbo_entry().
|
inlinestatic |
Definition at line 1110 of file wined3d_gl.h.
| void wined3d_unordered_access_view_gl_clear | ( | struct wined3d_unordered_access_view_gl * | view_gl, |
| const struct wined3d_uvec4 * | clear_value, | ||
| struct wined3d_context_gl * | context_gl, | ||
| bool | fp | ||
| ) |
Definition at line 1570 of file view.c.
Referenced by adapter_gl_clear_uav().
| HRESULT wined3d_unordered_access_view_gl_init | ( | struct wined3d_unordered_access_view_gl * | view_gl, |
| const struct wined3d_view_desc * | desc, | ||
| struct wined3d_resource * | resource, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1833 of file view.c.
Referenced by adapter_gl_create_unordered_access_view().
| void wined3d_unordered_access_view_gl_update | ( | struct wined3d_unordered_access_view_gl * | uav_gl, |
| struct wined3d_context_gl * | context_gl | ||
| ) |
Definition at line 1753 of file view.c.
Referenced by context_gl_load_unordered_access_resources().
|
extern |
Definition at line 71 of file directx.c.
Referenced by wined3d_gl_mag_filter().
|
extern |
Definition at line 63 of file directx.c.
Referenced by wined3d_gl_min_mip_filter().