ReactOS 0.4.17-dev-923-g4c9a150
wined3d_context_gl Struct Reference

#include <wined3d_gl.h>

Collaboration diagram for wined3d_context_gl:

Public Attributes

struct wined3d_context c
 
const struct wined3d_gl_info * gl_info
 
DWORD tid
 
uint32_t dc_is_private: 1
 
uint32_t dc_has_format: 1
 
uint32_t fog_enabled: 1
 
uint32_t rebind_fbo: 1
 
uint32_t needs_set: 1
 
uint32_t internal_format_set: 1
 
uint32_t valid: 1
 
uint32_t padding: 25
 
uint32_t default_attrib_value_set
 
GLenum tracking_parm
 
GLenum untracked_materials [2]
 
SIZE blit_size
 
unsigned int active_texture
 
GLenum * texture_type
 
unsigned int level
 
HGLRC restore_ctx
 
HDC restore_dc
 
int restore_pf
 
HWND restore_pf_win
 
HGLRC gl_ctx
 
HDC dc
 
int pixel_format
 
HWND window
 
GLint aux_buffers
 
unsigned int fbo_entry_count
 
struct list fbo_list
 
struct list fbo_destroy_list
 
struct fbo_entry * current_fbo
 
GLuint fbo_read_binding
 
GLuint fbo_draw_binding
 
struct wined3d_rendertarget_info blit_targets [WINED3D_MAX_RENDER_TARGETS]
 
uint32_t draw_buffers_mask
 
struct list occlusion_queries
 
struct list fences
 
struct list timestamp_queries
 
struct list so_statistics_queries
 
struct list pipeline_statistics_queries
 
GLuint * free_occlusion_queries
 
SIZE_T free_occlusion_query_size
 
unsigned int free_occlusion_query_count
 
union wined3d_gl_fence_object * free_fences
 
SIZE_T free_fence_size
 
unsigned int free_fence_count
 
GLuint * free_timestamp_queries
 
SIZE_T free_timestamp_query_size
 
unsigned int free_timestamp_query_count
 
union wined3d_gl_so_statistics_query * free_so_statistics_queries
 
SIZE_T free_so_statistics_query_size
 
unsigned int free_so_statistics_query_count
 
union wined3d_gl_pipeline_statistics_query * free_pipeline_statistics_queries
 
SIZE_T free_pipeline_statistics_query_size
 
unsigned int free_pipeline_statistics_query_count
 
GLuint blit_vbo
 
unsigned int tex_unit_map [WINED3D_MAX_COMBINED_SAMPLERS]
 
unsigned int rev_tex_unit_map [MAX_GL_FRAGMENT_SAMPLERS+WINED3D_MAX_VERTEX_SAMPLERS]
 
GLint gl_fog_source
 
GLfloat fog_coord_value
 
GLfloat colour [4]
 
GLfloat fog_start
 
GLfloat fog_end
 
GLfloat fog_colour [4]
 
GLuint dummy_arbfp_prog
 
struct {
   struct wined3d_command_fence_gl *   fences
 
   SIZE_T   fences_size
 
   SIZE_T   fence_count
 
} submitted
 

Detailed Description

Definition at line 599 of file wined3d_gl.h.

Member Data Documentation

◆ active_texture

◆ aux_buffers

GLint wined3d_context_gl::aux_buffers

Definition at line 635 of file wined3d_gl.h.

Referenced by context_choose_pixel_format(), and wined3d_context_gl_init().

◆ blit_size

SIZE wined3d_context_gl::blit_size

Definition at line 620 of file wined3d_gl.h.

Referenced by wined3d_context_gl_apply_blit_state().

◆ blit_targets

◆ blit_vbo

GLuint wined3d_context_gl::blit_vbo

Definition at line 674 of file wined3d_gl.h.

Referenced by wined3d_context_gl_draw_shaded_quad().

◆ c

struct wined3d_context wined3d_context_gl::c

Definition at line 601 of file wined3d_gl.h.

Referenced by context_gl_apply_texture_draw_state(), context_gl_load_shader_resources(), context_gl_load_stream_output_buffers(), context_gl_load_unordered_access_resources(), create_buffer_texture(), dispatch_compute(), find_glsl_vertex_shader(), glsl_fragment_pipe_alpha_test_func(), set_glsl_compute_shader_program(), set_glsl_shader_program(), shader_generate_glsl_declarations(), shader_glsl_apply_compute_state(), shader_glsl_compile_compute_shader(), shader_glsl_ffp_vertex_material_uniform(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_fragment_shader(), shader_glsl_load_constants(), shader_glsl_load_constants_b(), shader_glsl_load_constants_f(), shader_glsl_load_constants_i(), shader_glsl_load_fog_uniform(), shader_glsl_load_program_resources(), shader_glsl_pointsize_uniform(), shader_glsl_update_compute_program(), shader_glsl_update_graphics_program(), shader_glsl_update_legacy_states(), shader_resource_view_gl_bind_and_dirtify(), wined3d_allocator_chunk_gl_map(), wined3d_allocator_chunk_gl_unmap(), wined3d_allocator_gl_destroy_chunk(), wined3d_bo_gl_map(), wined3d_bo_gl_unmap(), wined3d_buffer_gl_destroy_buffer_object(), wined3d_context_gl_acquire(), wined3d_context_gl_activate(), wined3d_context_gl_apply_blit_state(), wined3d_context_gl_apply_clear_state(), wined3d_context_gl_apply_compute_state(), wined3d_context_gl_bind_bo(), wined3d_context_gl_bind_dummy_textures(), wined3d_context_gl_bind_shader_resources(), wined3d_context_gl_bind_texture(), wined3d_context_gl_bind_unordered_access_views(), wined3d_context_gl_cleanup(), wined3d_context_gl_cleanup_resources(), wined3d_context_gl_create_wgl_ctx(), wined3d_context_gl_destroy(), wined3d_context_gl_destroy_allocator_block(), wined3d_context_gl_destroy_bo(), wined3d_context_gl_draw_primitive_arrays(), wined3d_context_gl_enable_clip_distances(), wined3d_context_gl_end_transform_feedback(), wined3d_context_gl_get_rt_size(), wined3d_context_gl_init(), wined3d_context_gl_load_numbered_arrays(), wined3d_context_gl_map_fixed_function_samplers(), wined3d_context_gl_map_psamplers(), wined3d_context_gl_map_vsamplers(), wined3d_context_gl_pause_transform_feedback(), wined3d_context_gl_poll_fences(), wined3d_context_gl_reacquire(), wined3d_context_gl_reference_bo(), wined3d_context_gl_release(), wined3d_context_gl_set_current(), wined3d_context_gl_set_fbo_key_for_render_target(), wined3d_context_gl_set_gl_context(), wined3d_context_gl_setup_target(), wined3d_context_gl_submit_command_fence(), wined3d_context_gl_unit_free_for_vs(), wined3d_context_gl_unload_numbered_array(), wined3d_context_gl_unload_numbered_arrays(), wined3d_context_gl_update_stream_sources(), wined3d_context_gl_update_tex_unit_map(), wined3d_context_gl_update_window(), wined3d_context_gl_wait_command_fence(), wined3d_device_gl_allocate_memory(), wined3d_device_gl_create_dummy_textures(), wined3d_device_gl_delete_opengl_contexts_cs(), 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_query_buffer_queue_result(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_shader_resource_view_gl_update(), wined3d_so_statistics_query_ops_issue(), wined3d_so_statistics_query_ops_poll(), wined3d_swapchain_gl_create_context(), wined3d_texture_gl_apply_sampler_desc(), wined3d_texture_gl_bind(), wined3d_texture_gl_bind_and_dirtify(), wined3d_texture_gl_clear(), wined3d_texture_gl_load_sysmem(), wined3d_texture_gl_load_texture(), wined3d_timestamp_query_ops_issue(), wined3d_timestamp_query_ops_poll(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_gl_cs_init(), and wined3d_unordered_access_view_gl_update().

◆ colour

GLfloat wined3d_context_gl::colour[4]

Definition at line 682 of file wined3d_gl.h.

Referenced by wine_glColor4f(), and wine_glVertex4f().

◆ current_fbo

◆ dc

◆ dc_has_format

◆ dc_is_private

◆ default_attrib_value_set

uint32_t wined3d_context_gl::default_attrib_value_set

Definition at line 616 of file wined3d_gl.h.

Referenced by wined3d_context_gl_load_numbered_arrays().

◆ draw_buffers_mask

◆ dummy_arbfp_prog

GLuint wined3d_context_gl::dummy_arbfp_prog

Definition at line 684 of file wined3d_gl.h.

Referenced by wined3d_context_gl_init().

◆ fbo_destroy_list

◆ fbo_draw_binding

GLuint wined3d_context_gl::fbo_draw_binding

◆ fbo_entry_count

unsigned int wined3d_context_gl::fbo_entry_count

◆ fbo_list

◆ fbo_read_binding

GLuint wined3d_context_gl::fbo_read_binding

◆ fence_count

SIZE_T wined3d_context_gl::fence_count

Definition at line 690 of file wined3d_gl.h.

◆ fences [1/2]

struct list wined3d_context_gl::fences

◆ fences [2/2]

struct wined3d_command_fence_gl* wined3d_context_gl::fences

Definition at line 688 of file wined3d_gl.h.

◆ fences_size

SIZE_T wined3d_context_gl::fences_size

Definition at line 689 of file wined3d_gl.h.

◆ fog_colour

GLfloat wined3d_context_gl::fog_colour[4]

Definition at line 682 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ fog_coord_value

GLfloat wined3d_context_gl::fog_coord_value

Definition at line 681 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ fog_enabled

uint32_t wined3d_context_gl::fog_enabled

Definition at line 609 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ fog_end

GLfloat wined3d_context_gl::fog_end

Definition at line 682 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ fog_start

GLfloat wined3d_context_gl::fog_start

Definition at line 682 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ free_fence_count

unsigned int wined3d_context_gl::free_fence_count

◆ free_fence_size

SIZE_T wined3d_context_gl::free_fence_size

Definition at line 659 of file wined3d_gl.h.

Referenced by wined3d_context_gl_free_fence().

◆ free_fences

union wined3d_gl_fence_object* wined3d_context_gl::free_fences

◆ free_occlusion_queries

GLuint* wined3d_context_gl::free_occlusion_queries

◆ free_occlusion_query_count

unsigned int wined3d_context_gl::free_occlusion_query_count

◆ free_occlusion_query_size

SIZE_T wined3d_context_gl::free_occlusion_query_size

Definition at line 655 of file wined3d_gl.h.

Referenced by wined3d_context_gl_free_occlusion_query().

◆ free_pipeline_statistics_queries

◆ free_pipeline_statistics_query_count

unsigned int wined3d_context_gl::free_pipeline_statistics_query_count

◆ free_pipeline_statistics_query_size

SIZE_T wined3d_context_gl::free_pipeline_statistics_query_size

Definition at line 671 of file wined3d_gl.h.

Referenced by wined3d_context_gl_free_pipeline_statistics_query().

◆ free_so_statistics_queries

union wined3d_gl_so_statistics_query* wined3d_context_gl::free_so_statistics_queries

◆ free_so_statistics_query_count

unsigned int wined3d_context_gl::free_so_statistics_query_count

◆ free_so_statistics_query_size

SIZE_T wined3d_context_gl::free_so_statistics_query_size

Definition at line 667 of file wined3d_gl.h.

Referenced by wined3d_context_gl_free_so_statistics_query().

◆ free_timestamp_queries

GLuint* wined3d_context_gl::free_timestamp_queries

◆ free_timestamp_query_count

unsigned int wined3d_context_gl::free_timestamp_query_count

◆ free_timestamp_query_size

SIZE_T wined3d_context_gl::free_timestamp_query_size

Definition at line 663 of file wined3d_gl.h.

Referenced by wined3d_context_gl_free_timestamp_query().

◆ gl_ctx

◆ gl_fog_source

GLint wined3d_context_gl::gl_fog_source

Definition at line 680 of file wined3d_gl.h.

Referenced by wine_glVertex4f().

◆ gl_info

const struct wined3d_gl_info* wined3d_context_gl::gl_info

Definition at line 603 of file wined3d_gl.h.

Referenced by adapter_gl_flush_context(), blend(), blend_db2(), blend_dbb(), context_apply_draw_state(), context_state_fb(), create_buffer_texture(), create_texture_view(), depth(), depth_stencil(), depth_stencil_2s(), depthbias(), dispatch_compute(), draw_primitive(), fbo_blitter_blit(), ffp_blitter_clear_rendertargets(), find_draw_buffers_mask(), flush_bo_ranges(), glsl_blitter_blit(), glsl_blitter_destroy(), glsl_blitter_get_program(), glsl_blitter_upload_palette(), glsl_fragment_pipe_alpha_test(), glsl_fragment_pipe_alpha_test_func(), glsl_fragment_pipe_vdecl(), glsl_fragment_pipe_vs(), glsl_free_blitter_program(), glsl_vertex_pipe_clip_plane(), indexbuffer(), install_gl_compat_wrapper(), print_glsl_info_log(), rasterizer(), rasterizer_cc(), raw_blitter_blit(), renderstate_stencil_twosided(), scissorrect(), set_glsl_shader_program(), shader_generate_glsl_declarations(), shader_glsl_add_version_declaration(), shader_glsl_append_imm_vec(), shader_glsl_clip_plane_uniform(), shader_glsl_compile(), shader_glsl_compile_compute_shader(), shader_glsl_destroy(), shader_glsl_disable(), shader_glsl_ffp_vertex_light_uniform(), shader_glsl_ffp_vertex_material_uniform(), shader_glsl_ffp_vertex_normalmatrix_uniform(), shader_glsl_ffp_vertex_texmatrix_uniform(), shader_glsl_full_ffp_varyings(), shader_glsl_generate_compute_shader(), shader_glsl_generate_domain_shader(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_fragment_shader(), shader_glsl_generate_geometry_shader(), shader_glsl_generate_hull_shader(), shader_glsl_generate_vertex_shader(), shader_glsl_generate_vkd3d_shader(), shader_glsl_get_version(), shader_glsl_init_context_state(), shader_glsl_init_transform_feedback(), shader_glsl_load_constants(), shader_glsl_load_constants_b(), shader_glsl_load_constants_f(), shader_glsl_load_constants_i(), shader_glsl_load_fog_uniform(), shader_glsl_load_program_resources(), shader_glsl_load_samplers(), shader_glsl_pointsize_uniform(), shader_glsl_update_compute_program(), shader_glsl_update_graphics_program(), shader_glsl_update_legacy_states(), shader_glsl_validate_link(), state_blend_factor(), state_cb(), state_ditherenable(), state_linepattern(), state_msaa(), state_sample_mask(), state_shademode(), state_so(), state_srgbwrite(), state_stencil(), swapchain_gl_present(), swapchain_gl_set_swap_interval(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), texture2d_read_from_framebuffer(), viewport_miscpart(), viewport_miscpart_cc(), wined3d_allocator_chunk_gl_map(), wined3d_allocator_chunk_gl_unmap(), wined3d_allocator_gl_destroy_chunk(), wined3d_bo_gl_map(), wined3d_bo_gl_unmap(), wined3d_buffer_gl_create_buffer_object(), wined3d_context_gl_alloc_fence(), wined3d_context_gl_alloc_occlusion_query(), wined3d_context_gl_alloc_pipeline_statistics_query(), wined3d_context_gl_alloc_so_statistics_query(), wined3d_context_gl_alloc_timestamp_query(), wined3d_context_gl_allocate_vram_chunk_buffer(), wined3d_context_gl_apply_blit_state(), wined3d_context_gl_apply_clear_state(), wined3d_context_gl_apply_compute_state(), wined3d_context_gl_apply_draw_buffers(), wined3d_context_gl_apply_fbo_entry(), wined3d_context_gl_attach_depth_stencil_fbo(), wined3d_context_gl_attach_gl_texture_fbo(), wined3d_context_gl_attach_surface_fbo(), wined3d_context_gl_bind_bo(), wined3d_context_gl_bind_dummy_textures(), wined3d_context_gl_bind_fbo(), wined3d_context_gl_bind_shader_resources(), wined3d_context_gl_bind_texture(), wined3d_context_gl_bind_unordered_access_views(), wined3d_context_gl_check_fbo_status(), wined3d_context_gl_cleanup(), wined3d_context_gl_copy_bo_address(), wined3d_context_gl_create_fbo_entry(), wined3d_context_gl_destroy(), wined3d_context_gl_destroy_bo(), wined3d_context_gl_destroy_fbo(), wined3d_context_gl_draw_indirect(), wined3d_context_gl_draw_primitive_arrays(), wined3d_context_gl_draw_shaded_quad(), wined3d_context_gl_enable_clip_distances(), wined3d_context_gl_end_transform_feedback(), wined3d_context_gl_enter(), wined3d_context_gl_enum_fbo_entries(), wined3d_context_gl_find_fbo_entry(), wined3d_context_gl_generate_fbo_key(), wined3d_context_gl_get_tex_unit_mapping(), wined3d_context_gl_init(), wined3d_context_gl_load_numbered_arrays(), wined3d_context_gl_map_vsamplers(), wined3d_context_gl_pause_transform_feedback(), wined3d_context_gl_release(), wined3d_context_gl_restore_pixel_format(), wined3d_context_gl_reuse_fbo_entry(), wined3d_context_gl_set_current(), wined3d_context_gl_set_draw_buffer(), wined3d_context_gl_set_pixel_format(), wined3d_context_gl_texture_update(), wined3d_context_gl_unload_numbered_array(), wined3d_context_gl_update_tex_unit_map(), wined3d_device_gl_create_dummy_textures(), wined3d_device_gl_create_primary_opengl_context_cs(), wined3d_device_gl_destroy_dummy_textures(), 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_pipeline_statistics_query_end(), wined3d_query_buffer_queue_result(), wined3d_query_create_buffer_object(), wined3d_query_gl_destroy_buffer_object(), wined3d_sampler_gl_bind(), wined3d_sampler_gl_cs_init(), wined3d_sampler_gl_destroy_object(), wined3d_shader_resource_view_gl_bind(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_so_statistics_query_end(), wined3d_so_statistics_query_ops_issue(), wined3d_so_statistics_query_ops_poll(), wined3d_texture_gl_apply_sampler_desc(), wined3d_texture_gl_bind(), wined3d_texture_gl_clear(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_load_texture(), wined3d_texture_gl_prepare_location(), wined3d_texture_gl_prepare_texture(), wined3d_texture_gl_set_compatible_renderbuffer(), wined3d_texture_gl_unload_location(), wined3d_texture_gl_upload_data(), wined3d_timestamp_query_ops_issue(), wined3d_timestamp_query_ops_poll(), wined3d_unordered_access_view_gl_clear(), and wined3d_view_gl_destroy_object().

◆ internal_format_set

uint32_t wined3d_context_gl::internal_format_set

◆ level

unsigned int wined3d_context_gl::level

◆ needs_set

◆ occlusion_queries

struct list wined3d_context_gl::occlusion_queries

◆ padding

uint32_t wined3d_context_gl::padding

Definition at line 614 of file wined3d_gl.h.

◆ pipeline_statistics_queries

struct list wined3d_context_gl::pipeline_statistics_queries

◆ pixel_format

◆ rebind_fbo

uint32_t wined3d_context_gl::rebind_fbo

◆ restore_ctx

HGLRC wined3d_context_gl::restore_ctx

Definition at line 627 of file wined3d_gl.h.

Referenced by wined3d_context_gl_enter(), and wined3d_context_gl_release().

◆ restore_dc

HDC wined3d_context_gl::restore_dc

Definition at line 628 of file wined3d_gl.h.

Referenced by wined3d_context_gl_enter(), and wined3d_context_gl_release().

◆ restore_pf

int wined3d_context_gl::restore_pf

◆ restore_pf_win

HWND wined3d_context_gl::restore_pf_win

◆ rev_tex_unit_map

◆ so_statistics_queries

struct list wined3d_context_gl::so_statistics_queries

◆ 

◆ tex_unit_map

◆ texture_type

GLenum* wined3d_context_gl::texture_type

◆ tid

◆ timestamp_queries

struct list wined3d_context_gl::timestamp_queries

◆ tracking_parm

GLenum wined3d_context_gl::tracking_parm

Definition at line 618 of file wined3d_gl.h.

◆ untracked_materials

GLenum wined3d_context_gl::untracked_materials[2]

Definition at line 619 of file wined3d_gl.h.

◆ valid

◆ window


The documentation for this struct was generated from the following file: