ReactOS 0.4.15-dev-7961-gdcf9eb0
wined3d_context Struct Reference

#include <wined3d_private.h>

Collaboration diagram for wined3d_context:

Public Attributes

const struct wined3d_gl_infogl_info
 
const struct wined3d_d3d_infod3d_info
 
const struct StateEntrystate_table
 
DWORD dirtyArray [STATE_HIGHEST+1]
 
DWORD numDirtyEntries
 
DWORD isStateDirty [STATE_HIGHEST/(sizeof(DWORD) *CHAR_BIT)+1]
 
unsigned int dirty_compute_states [STATE_COMPUTE_COUNT/(sizeof(unsigned int) *CHAR_BIT)+1]
 
struct wined3d_devicedevice
 
struct wined3d_swapchainswapchain
 
struct {
   struct wined3d_texture *   texture
 
   unsigned int   sub_resource_idx
 
current_rt
 
DWORD tid
 
DWORD render_offscreen: 1
 
DWORD last_was_rhw: 1
 
DWORD last_swizzle_map: 16
 
DWORD last_was_pshader: 1
 
DWORD last_was_vshader: 1
 
DWORD last_was_normal: 1
 
DWORD namedArraysLoaded: 1
 
DWORD numberedArraysLoaded: 1
 
DWORD last_was_blit: 1
 
DWORD last_was_ckey: 1
 
DWORD fog_coord: 1
 
DWORD fog_enabled: 1
 
DWORD num_untracked_materials: 2
 
DWORD current: 1
 
DWORD destroyed: 1
 
DWORD valid: 1
 
DWORD texShaderBumpMap: 8
 
DWORD lastWasPow2Texture: 8
 
DWORD fixed_function_usage_map: 8
 
DWORD lowest_disabled_stage: 4
 
DWORD use_immediate_mode_draw: 1
 
DWORD rebind_fbo: 1
 
DWORD needs_set: 1
 
DWORD hdc_is_private: 1
 
DWORD hdc_has_format: 1
 
DWORD update_shader_resource_bindings: 1
 
DWORD update_compute_shader_resource_bindings: 1
 
DWORD update_unordered_access_view_bindings: 1
 
DWORD update_compute_unordered_access_view_bindings: 1
 
DWORD uses_uavs: 1
 
DWORD destroy_delayed: 1
 
DWORD transform_feedback_active: 1
 
DWORD transform_feedback_paused: 1
 
DWORD shader_update_mask: 6
 
DWORD clip_distance_mask: 8
 
DWORD last_was_dual_blend: 1
 
DWORD padding: 8
 
DWORD constant_update_mask
 
DWORD numbered_array_mask
 
GLenum tracking_parm
 
GLenum untracked_materials [2]
 
UINT blit_w
 
UINT blit_h
 
enum fogsource fog_source
 
DWORD active_texture
 
DWORDtexture_type
 
UINT instance_count
 
UINT level
 
HGLRC restore_ctx
 
HDC restore_dc
 
int restore_pf
 
HWND restore_pf_win
 
HGLRC glCtx
 
HWND win_handle
 
HDC hdc
 
int pixel_format
 
GLint aux_buffers
 
voidshader_backend_data
 
voidfragment_pipe_data
 
UINT fbo_entry_count
 
struct list fbo_list
 
struct list fbo_destroy_list
 
struct fbo_entrycurrent_fbo
 
GLuint fbo_read_binding
 
GLuint fbo_draw_binding
 
struct wined3d_rendertarget_info blit_targets [MAX_RENDER_TARGET_VIEWS]
 
DWORD draw_buffers_mask
 
GLuintfree_occlusion_queries
 
SIZE_T free_occlusion_query_size
 
unsigned int free_occlusion_query_count
 
struct list occlusion_queries
 
union wined3d_gl_fence_objectfree_fences
 
SIZE_T free_fence_size
 
unsigned int free_fence_count
 
struct list fences
 
GLuintfree_timestamp_queries
 
SIZE_T free_timestamp_query_size
 
unsigned int free_timestamp_query_count
 
struct list timestamp_queries
 
union wined3d_gl_so_statistics_queryfree_so_statistics_queries
 
SIZE_T free_so_statistics_query_size
 
unsigned int free_so_statistics_query_count
 
struct list so_statistics_queries
 
union wined3d_gl_pipeline_statistics_queryfree_pipeline_statistics_queries
 
SIZE_T free_pipeline_statistics_query_size
 
unsigned int free_pipeline_statistics_query_count
 
struct list pipeline_statistics_queries
 
struct wined3d_stream_info stream_info
 
struct wined3d_fencebuffer_fences [MAX_ATTRIBS]
 
unsigned int buffer_fence_count
 
DWORD tex_unit_map [MAX_COMBINED_SAMPLERS]
 
DWORD rev_tex_unit_map [MAX_GL_FRAGMENT_SAMPLERS+MAX_VERTEX_SAMPLERS]
 
GLint gl_fog_source
 
GLfloat fog_coord_value
 
GLfloat color [4]
 
GLfloat fogstart
 
GLfloat fogend
 
GLfloat fogcolor [4]
 
GLuint dummy_arbfp_prog
 

Detailed Description

Definition at line 1862 of file wined3d_private.h.

Member Data Documentation

◆ active_texture

DWORD wined3d_context::active_texture

Definition at line 1931 of file wined3d_private.h.

◆ aux_buffers

GLint wined3d_context::aux_buffers

Definition at line 1946 of file wined3d_private.h.

◆ blit_h

UINT wined3d_context::blit_h

Definition at line 1929 of file wined3d_private.h.

◆ blit_targets

Definition at line 1958 of file wined3d_private.h.

◆ blit_w

UINT wined3d_context::blit_w

Definition at line 1929 of file wined3d_private.h.

◆ buffer_fence_count

unsigned int wined3d_context::buffer_fence_count

Definition at line 1991 of file wined3d_private.h.

◆ buffer_fences

struct wined3d_fence* wined3d_context::buffer_fences[MAX_ATTRIBS]

Definition at line 1990 of file wined3d_private.h.

◆ clip_distance_mask

DWORD wined3d_context::clip_distance_mask

Definition at line 1922 of file wined3d_private.h.

◆ color

GLfloat wined3d_context::color[4]

Definition at line 1999 of file wined3d_private.h.

◆ constant_update_mask

DWORD wined3d_context::constant_update_mask

Definition at line 1925 of file wined3d_private.h.

◆ current

DWORD wined3d_context::current

Definition at line 1901 of file wined3d_private.h.

Referenced by context_set_current().

◆ current_fbo

struct fbo_entry* wined3d_context::current_fbo

Definition at line 1955 of file wined3d_private.h.

◆ 

struct { ... } wined3d_context::current_rt

Referenced by context_acquire().

◆ d3d_info

const struct wined3d_d3d_info* wined3d_context::d3d_info

Definition at line 1865 of file wined3d_private.h.

Referenced by context_create().

◆ destroy_delayed

DWORD wined3d_context::destroy_delayed

Definition at line 1918 of file wined3d_private.h.

◆ destroyed

DWORD wined3d_context::destroyed

Definition at line 1902 of file wined3d_private.h.

Referenced by context_acquire(), and context_set_current().

◆ device

struct wined3d_device* wined3d_context::device

Definition at line 1878 of file wined3d_private.h.

Referenced by context_acquire(), context_create(), and wined3d_sampler_init().

◆ dirty_compute_states

unsigned int wined3d_context::dirty_compute_states[STATE_COMPUTE_COUNT/(sizeof(unsigned int) *CHAR_BIT)+1]

Definition at line 1876 of file wined3d_private.h.

◆ dirtyArray

DWORD wined3d_context::dirtyArray[STATE_HIGHEST+1]

Definition at line 1873 of file wined3d_private.h.

◆ draw_buffers_mask

DWORD wined3d_context::draw_buffers_mask

Definition at line 1959 of file wined3d_private.h.

◆ dummy_arbfp_prog

GLuint wined3d_context::dummy_arbfp_prog

Definition at line 2000 of file wined3d_private.h.

◆ fbo_destroy_list

struct list wined3d_context::fbo_destroy_list

Definition at line 1954 of file wined3d_private.h.

◆ fbo_draw_binding

GLuint wined3d_context::fbo_draw_binding

Definition at line 1957 of file wined3d_private.h.

◆ fbo_entry_count

UINT wined3d_context::fbo_entry_count

Definition at line 1952 of file wined3d_private.h.

◆ fbo_list

struct list wined3d_context::fbo_list

Definition at line 1953 of file wined3d_private.h.

◆ fbo_read_binding

GLuint wined3d_context::fbo_read_binding

Definition at line 1956 of file wined3d_private.h.

◆ fences

struct list wined3d_context::fences

Definition at line 1970 of file wined3d_private.h.

◆ fixed_function_usage_map

DWORD wined3d_context::fixed_function_usage_map

Definition at line 1906 of file wined3d_private.h.

◆ fog_coord

DWORD wined3d_context::fog_coord

Definition at line 1898 of file wined3d_private.h.

◆ fog_coord_value

GLfloat wined3d_context::fog_coord_value

Definition at line 1998 of file wined3d_private.h.

◆ fog_enabled

DWORD wined3d_context::fog_enabled

Definition at line 1899 of file wined3d_private.h.

◆ fog_source

enum fogsource wined3d_context::fog_source

Definition at line 1930 of file wined3d_private.h.

◆ fogcolor

GLfloat wined3d_context::fogcolor[4]

Definition at line 1999 of file wined3d_private.h.

◆ fogend

GLfloat wined3d_context::fogend

Definition at line 1999 of file wined3d_private.h.

◆ fogstart

GLfloat wined3d_context::fogstart

Definition at line 1999 of file wined3d_private.h.

◆ fragment_pipe_data

void* wined3d_context::fragment_pipe_data

Definition at line 1949 of file wined3d_private.h.

◆ free_fence_count

unsigned int wined3d_context::free_fence_count

Definition at line 1969 of file wined3d_private.h.

◆ free_fence_size

SIZE_T wined3d_context::free_fence_size

Definition at line 1968 of file wined3d_private.h.

◆ free_fences

union wined3d_gl_fence_object* wined3d_context::free_fences

Definition at line 1967 of file wined3d_private.h.

◆ free_occlusion_queries

GLuint* wined3d_context::free_occlusion_queries

Definition at line 1962 of file wined3d_private.h.

◆ free_occlusion_query_count

unsigned int wined3d_context::free_occlusion_query_count

Definition at line 1964 of file wined3d_private.h.

◆ free_occlusion_query_size

SIZE_T wined3d_context::free_occlusion_query_size

Definition at line 1963 of file wined3d_private.h.

◆ free_pipeline_statistics_queries

union wined3d_gl_pipeline_statistics_query* wined3d_context::free_pipeline_statistics_queries

Definition at line 1982 of file wined3d_private.h.

◆ free_pipeline_statistics_query_count

unsigned int wined3d_context::free_pipeline_statistics_query_count

Definition at line 1984 of file wined3d_private.h.

◆ free_pipeline_statistics_query_size

SIZE_T wined3d_context::free_pipeline_statistics_query_size

Definition at line 1983 of file wined3d_private.h.

◆ free_so_statistics_queries

union wined3d_gl_so_statistics_query* wined3d_context::free_so_statistics_queries

Definition at line 1977 of file wined3d_private.h.

◆ free_so_statistics_query_count

unsigned int wined3d_context::free_so_statistics_query_count

Definition at line 1979 of file wined3d_private.h.

◆ free_so_statistics_query_size

SIZE_T wined3d_context::free_so_statistics_query_size

Definition at line 1978 of file wined3d_private.h.

◆ free_timestamp_queries

GLuint* wined3d_context::free_timestamp_queries

Definition at line 1972 of file wined3d_private.h.

◆ free_timestamp_query_count

unsigned int wined3d_context::free_timestamp_query_count

Definition at line 1974 of file wined3d_private.h.

◆ free_timestamp_query_size

SIZE_T wined3d_context::free_timestamp_query_size

Definition at line 1973 of file wined3d_private.h.

◆ gl_fog_source

GLint wined3d_context::gl_fog_source

Definition at line 1997 of file wined3d_private.h.

◆ gl_info

◆ glCtx

HGLRC wined3d_context::glCtx

Definition at line 1942 of file wined3d_private.h.

Referenced by context_enter().

◆ hdc

HDC wined3d_context::hdc

Definition at line 1944 of file wined3d_private.h.

◆ hdc_has_format

DWORD wined3d_context::hdc_has_format

Definition at line 1912 of file wined3d_private.h.

◆ hdc_is_private

DWORD wined3d_context::hdc_is_private

Definition at line 1911 of file wined3d_private.h.

◆ instance_count

UINT wined3d_context::instance_count

Definition at line 1934 of file wined3d_private.h.

◆ isStateDirty

DWORD wined3d_context::isStateDirty[STATE_HIGHEST/(sizeof(DWORD) *CHAR_BIT)+1]

Definition at line 1875 of file wined3d_private.h.

◆ last_swizzle_map

DWORD wined3d_context::last_swizzle_map

Definition at line 1890 of file wined3d_private.h.

◆ last_was_blit

DWORD wined3d_context::last_was_blit

Definition at line 1896 of file wined3d_private.h.

◆ last_was_ckey

DWORD wined3d_context::last_was_ckey

Definition at line 1897 of file wined3d_private.h.

◆ last_was_dual_blend

DWORD wined3d_context::last_was_dual_blend

Definition at line 1923 of file wined3d_private.h.

◆ last_was_normal

DWORD wined3d_context::last_was_normal

Definition at line 1893 of file wined3d_private.h.

◆ last_was_pshader

DWORD wined3d_context::last_was_pshader

Definition at line 1891 of file wined3d_private.h.

◆ last_was_rhw

DWORD wined3d_context::last_was_rhw

Definition at line 1889 of file wined3d_private.h.

◆ last_was_vshader

DWORD wined3d_context::last_was_vshader

Definition at line 1892 of file wined3d_private.h.

◆ lastWasPow2Texture

DWORD wined3d_context::lastWasPow2Texture

Definition at line 1905 of file wined3d_private.h.

◆ level

UINT wined3d_context::level

Definition at line 1937 of file wined3d_private.h.

◆ lowest_disabled_stage

DWORD wined3d_context::lowest_disabled_stage

Definition at line 1907 of file wined3d_private.h.

◆ namedArraysLoaded

DWORD wined3d_context::namedArraysLoaded

Definition at line 1894 of file wined3d_private.h.

◆ needs_set

DWORD wined3d_context::needs_set

Definition at line 1910 of file wined3d_private.h.

◆ num_untracked_materials

DWORD wined3d_context::num_untracked_materials

Definition at line 1900 of file wined3d_private.h.

◆ numbered_array_mask

DWORD wined3d_context::numbered_array_mask

Definition at line 1926 of file wined3d_private.h.

◆ numberedArraysLoaded

DWORD wined3d_context::numberedArraysLoaded

Definition at line 1895 of file wined3d_private.h.

◆ numDirtyEntries

DWORD wined3d_context::numDirtyEntries

Definition at line 1874 of file wined3d_private.h.

◆ occlusion_queries

struct list wined3d_context::occlusion_queries

Definition at line 1965 of file wined3d_private.h.

◆ padding

DWORD wined3d_context::padding

Definition at line 1924 of file wined3d_private.h.

◆ pipeline_statistics_queries

struct list wined3d_context::pipeline_statistics_queries

Definition at line 1985 of file wined3d_private.h.

◆ pixel_format

int wined3d_context::pixel_format

Definition at line 1945 of file wined3d_private.h.

◆ rebind_fbo

DWORD wined3d_context::rebind_fbo

Definition at line 1909 of file wined3d_private.h.

◆ render_offscreen

DWORD wined3d_context::render_offscreen

Definition at line 1888 of file wined3d_private.h.

Referenced by device_clear_render_targets().

◆ restore_ctx

HGLRC wined3d_context::restore_ctx

Definition at line 1938 of file wined3d_private.h.

◆ restore_dc

HDC wined3d_context::restore_dc

Definition at line 1939 of file wined3d_private.h.

◆ restore_pf

int wined3d_context::restore_pf

Definition at line 1940 of file wined3d_private.h.

◆ restore_pf_win

HWND wined3d_context::restore_pf_win

Definition at line 1941 of file wined3d_private.h.

◆ rev_tex_unit_map

DWORD wined3d_context::rev_tex_unit_map[MAX_GL_FRAGMENT_SAMPLERS+MAX_VERTEX_SAMPLERS]

Definition at line 1994 of file wined3d_private.h.

◆ shader_backend_data

void* wined3d_context::shader_backend_data

Definition at line 1948 of file wined3d_private.h.

◆ shader_update_mask

DWORD wined3d_context::shader_update_mask

Definition at line 1921 of file wined3d_private.h.

◆ so_statistics_queries

struct list wined3d_context::so_statistics_queries

Definition at line 1980 of file wined3d_private.h.

◆ state_table

const struct StateEntry* wined3d_context::state_table

Definition at line 1866 of file wined3d_private.h.

◆ stream_info

struct wined3d_stream_info wined3d_context::stream_info

Definition at line 1987 of file wined3d_private.h.

◆ sub_resource_idx

unsigned int wined3d_context::sub_resource_idx

Definition at line 1883 of file wined3d_private.h.

Referenced by context_acquire(), and is_full_clear().

◆ swapchain

◆ tex_unit_map

DWORD wined3d_context::tex_unit_map[MAX_COMBINED_SAMPLERS]

Definition at line 1993 of file wined3d_private.h.

◆ texShaderBumpMap

DWORD wined3d_context::texShaderBumpMap

Definition at line 1904 of file wined3d_private.h.

◆ texture

struct wined3d_texture* wined3d_context::texture

Definition at line 1882 of file wined3d_private.h.

◆ texture_type

DWORD* wined3d_context::texture_type

Definition at line 1932 of file wined3d_private.h.

◆ tid

DWORD wined3d_context::tid

Definition at line 1885 of file wined3d_private.h.

◆ timestamp_queries

struct list wined3d_context::timestamp_queries

Definition at line 1975 of file wined3d_private.h.

◆ tracking_parm

GLenum wined3d_context::tracking_parm

Definition at line 1927 of file wined3d_private.h.

◆ transform_feedback_active

DWORD wined3d_context::transform_feedback_active

Definition at line 1919 of file wined3d_private.h.

◆ transform_feedback_paused

DWORD wined3d_context::transform_feedback_paused

Definition at line 1920 of file wined3d_private.h.

◆ untracked_materials

GLenum wined3d_context::untracked_materials[2]

Definition at line 1928 of file wined3d_private.h.

◆ update_compute_shader_resource_bindings

DWORD wined3d_context::update_compute_shader_resource_bindings

Definition at line 1914 of file wined3d_private.h.

◆ update_compute_unordered_access_view_bindings

DWORD wined3d_context::update_compute_unordered_access_view_bindings

Definition at line 1916 of file wined3d_private.h.

◆ update_shader_resource_bindings

DWORD wined3d_context::update_shader_resource_bindings

Definition at line 1913 of file wined3d_private.h.

◆ update_unordered_access_view_bindings

DWORD wined3d_context::update_unordered_access_view_bindings

Definition at line 1915 of file wined3d_private.h.

◆ use_immediate_mode_draw

DWORD wined3d_context::use_immediate_mode_draw

Definition at line 1908 of file wined3d_private.h.

◆ uses_uavs

DWORD wined3d_context::uses_uavs

Definition at line 1917 of file wined3d_private.h.

◆ valid

DWORD wined3d_context::valid

Definition at line 1903 of file wined3d_private.h.

◆ win_handle

HWND wined3d_context::win_handle

Definition at line 1943 of file wined3d_private.h.


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