ReactOS 0.4.16-dev-852-gcfcc8d8
|
#include <assert.h>
#include <stdarg.h>
#include <math.h>
#include <limits.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "winuser.h"
#include "winternl.h"
#include "ddk/d3dkmthk.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "objbase.h"
#include "wine/wined3d.h"
#include "wined3d_gl.h"
#include "wine/list.h"
#include "wine/rbtree.h"
#include "wine/wgl_driver.h"
#include <pshpack2.h>
#include <poppack.h>
Go to the source code of this file.
Typedefs | |
typedef void(WINE_GLAPI * | wined3d_ffp_attrib_func) (const void *data) |
typedef void(WINE_GLAPI * | wined3d_ffp_texcoord_func) (GLenum unit, const void *data) |
typedef void(WINE_GLAPI * | wined3d_generic_attrib_func) (GLuint idx, const void *data) |
typedef void(* | SHADER_HANDLER) (const struct wined3d_shader_instruction *) |
typedef void(* | APPLYSTATEFUNC) (struct wined3d_context *ctx, const struct wined3d_state *state, DWORD state_id) |
Variables | |
wined3d_ffp_attrib_func specular_func_3ubv | DECLSPEC_HIDDEN |
static const struct color_fixup_desc | COLOR_FIXUP_IDENTITY |
#define ARG_UNUSED 0xff |
Definition at line 2659 of file wined3d_private.h.
Definition at line 62 of file wined3d_private.h.
Definition at line 1463 of file wined3d_private.h.
#define COBJMACROS |
Definition at line 42 of file wined3d_private.h.
Definition at line 1445 of file wined3d_private.h.
Definition at line 1444 of file wined3d_private.h.
Definition at line 1443 of file wined3d_private.h.
Definition at line 1442 of file wined3d_private.h.
Definition at line 1567 of file wined3d_private.h.
#define GET_TEXCOORD_SIZE_FROM_FVF | ( | d3dvtVertexType, | |
tex_num | |||
) | (((((d3dvtVertexType) >> (16 + (2 * (tex_num)))) + 1) & 0x03) + 1) |
Definition at line 1569 of file wined3d_private.h.
#define GL_EXT_EMUL_ARB_MULTITEXTURE 0x00000001 |
Definition at line 2037 of file wined3d_private.h.
#define GL_EXT_EMUL_EXT_FOG_COORD 0x00000002 |
Definition at line 2038 of file wined3d_private.h.
Definition at line 1440 of file wined3d_private.h.
#define HIGHEST_TRANSFORMSTATE WINED3D_TS_WORLD_MATRIX(255) /* Highest value in wined3d_transform_state. */ |
Definition at line 1455 of file wined3d_private.h.
#define IS_DUAL_SOURCE_BLEND | ( | x | ) | ((x) >= WINED3D_BLEND_SRC1COLOR && (x) <= WINED3D_BLEND_INVSRC1ALPHA) |
#define LIGHTMAP_HASHFUNC | ( | x | ) | ((x) % LIGHTMAP_SIZE) |
Definition at line 2865 of file wined3d_private.h.
#define LIGHTMAP_SIZE 43 |
Definition at line 2864 of file wined3d_private.h.
Definition at line 65 of file wined3d_private.h.
#define MAX_ACTIVE_LIGHTS 8 |
Definition at line 270 of file wined3d_private.h.
#define MAX_ATTRIBS 16 |
Definition at line 662 of file wined3d_private.h.
#define MAX_CLIP_DISTANCES 8 |
Definition at line 271 of file wined3d_private.h.
#define MAX_COMBINED_SAMPLERS (MAX_FRAGMENT_SAMPLERS + MAX_VERTEX_SAMPLERS) |
Definition at line 269 of file wined3d_private.h.
#define MAX_CONSTANT_BUFFERS 15 |
Definition at line 272 of file wined3d_private.h.
#define MAX_FRAGMENT_SAMPLERS 16 |
Definition at line 267 of file wined3d_private.h.
#define MAX_GL_FRAGMENT_SAMPLERS 32 |
Definition at line 1860 of file wined3d_private.h.
#define MAX_IMMEDIATE_CONSTANT_BUFFER_SIZE 4096 |
Definition at line 677 of file wined3d_private.h.
#define MAX_LABELS 16 |
Definition at line 675 of file wined3d_private.h.
#define MAX_MULTISAMPLE_TYPES 8 |
Definition at line 280 of file wined3d_private.h.
#define MAX_REG_ADDR 1 |
Definition at line 663 of file wined3d_private.h.
#define MAX_REG_INPUT 32 |
Definition at line 665 of file wined3d_private.h.
#define MAX_REG_OUTPUT 32 |
Definition at line 666 of file wined3d_private.h.
#define MAX_REG_TEXCRD 8 |
Definition at line 664 of file wined3d_private.h.
#define MAX_RENDER_TARGET_VIEWS 8 |
Definition at line 275 of file wined3d_private.h.
#define MAX_RENDER_TARGETS 8 |
Definition at line 281 of file wined3d_private.h.
#define MAX_SAMPLER_OBJECTS 16 |
Definition at line 273 of file wined3d_private.h.
#define MAX_SHADER_RESOURCE_VIEWS 128 |
Definition at line 274 of file wined3d_private.h.
#define MAX_STREAMS 16 |
Definition at line 265 of file wined3d_private.h.
#define MAX_TEXTURES 8 |
Definition at line 266 of file wined3d_private.h.
#define MAX_TGSM_REGISTERS 8192 |
Definition at line 277 of file wined3d_private.h.
#define MAX_UNORDERED_ACCESS_VIEWS 8 |
Definition at line 276 of file wined3d_private.h.
#define MAX_VERTEX_BLENDS 4 |
Definition at line 278 of file wined3d_private.h.
#define MAX_VERTEX_INDEX_BLENDS 9 |
Definition at line 279 of file wined3d_private.h.
#define MAX_VERTEX_SAMPLERS 4 |
Definition at line 268 of file wined3d_private.h.
#define NONAMELESSSTRUCT |
Definition at line 41 of file wined3d_private.h.
#define NONAMELESSUNION |
Definition at line 40 of file wined3d_private.h.
#define ORM_BACKBUFFER 0 |
Definition at line 383 of file wined3d_private.h.
#define ORM_FBO 1 |
Definition at line 384 of file wined3d_private.h.
Definition at line 387 of file wined3d_private.h.
Definition at line 386 of file wined3d_private.h.
Definition at line 3987 of file wined3d_private.h.
#define RESOURCE_ALIGNMENT 16 |
Definition at line 3116 of file wined3d_private.h.
#define STATE_ACTIVELIGHT | ( | a | ) | (STATE_LIGHT_TYPE + 1 + (a)) |
Definition at line 1624 of file wined3d_private.h.
#define STATE_BASEVERTEXINDEX (STATE_POINTSPRITECOORDORIGIN + 1) |
Definition at line 1642 of file wined3d_private.h.
#define STATE_BLEND (STATE_STREAM_OUTPUT + 1) |
Definition at line 1657 of file wined3d_private.h.
#define STATE_CLIPPLANE | ( | a | ) | (STATE_SCISSORRECT + 1 + (a)) |
Definition at line 1630 of file wined3d_private.h.
#define STATE_COLOR_KEY (STATE_POINT_ENABLE + 1) |
Definition at line 1651 of file wined3d_private.h.
#define STATE_COMPUTE_CONSTANT_BUFFER (STATE_COMPUTE_SHADER + 1) |
Definition at line 1665 of file wined3d_private.h.
#define STATE_COMPUTE_COUNT (STATE_COMPUTE_HIGHEST - STATE_COMPUTE_OFFSET + 1) |
Definition at line 1678 of file wined3d_private.h.
#define STATE_COMPUTE_HIGHEST (STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1674 of file wined3d_private.h.
#define STATE_COMPUTE_OFFSET (STATE_BLEND + 1) |
Definition at line 1660 of file wined3d_private.h.
#define STATE_COMPUTE_SHADER (STATE_COMPUTE_OFFSET) |
Definition at line 1662 of file wined3d_private.h.
#define STATE_COMPUTE_SHADER_RESOURCE_BINDING (STATE_COMPUTE_CONSTANT_BUFFER + 1) |
Definition at line 1668 of file wined3d_private.h.
#define STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING (STATE_COMPUTE_SHADER_RESOURCE_BINDING + 1) |
Definition at line 1671 of file wined3d_private.h.
#define STATE_CONSTANT_BUFFER | ( | a | ) | ((a) != WINED3D_SHADER_TYPE_COMPUTE ? STATE_GRAPHICS_CONSTANT_BUFFER(a) : STATE_COMPUTE_CONSTANT_BUFFER) |
Definition at line 1681 of file wined3d_private.h.
#define STATE_FRAMEBUFFER (STATE_BASEVERTEXINDEX + 1) |
Definition at line 1645 of file wined3d_private.h.
#define STATE_FRONTFACE (STATE_MATERIAL + 1) |
Definition at line 1636 of file wined3d_private.h.
#define STATE_GRAPHICS_CONSTANT_BUFFER | ( | a | ) | (STATE_GRAPHICS_SHADER(WINED3D_SHADER_TYPE_GRAPHICS_COUNT) + (a)) |
Definition at line 1597 of file wined3d_private.h.
#define STATE_GRAPHICS_SHADER | ( | a | ) | (STATE_SAMPLER(MAX_COMBINED_SAMPLERS) + (a)) |
Definition at line 1593 of file wined3d_private.h.
#define STATE_GRAPHICS_SHADER_RESOURCE_BINDING (STATE_GRAPHICS_CONSTANT_BUFFER(WINED3D_SHADER_TYPE_GRAPHICS_COUNT)) |
Definition at line 1602 of file wined3d_private.h.
#define STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING (STATE_GRAPHICS_SHADER_RESOURCE_BINDING + 1) |
Definition at line 1605 of file wined3d_private.h.
#define STATE_HIGHEST (STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1675 of file wined3d_private.h.
#define STATE_INDEXBUFFER (STATE_STREAMSRC + 1) |
Definition at line 1613 of file wined3d_private.h.
#define STATE_IS_ACTIVELIGHT | ( | a | ) | ((a) >= STATE_ACTIVELIGHT(0) && (a) < STATE_ACTIVELIGHT(MAX_ACTIVE_LIGHTS)) |
Definition at line 1625 of file wined3d_private.h.
#define STATE_IS_BASEVERTEXINDEX | ( | a | ) | ((a) == STATE_BASEVERTEXINDEX) |
Definition at line 1643 of file wined3d_private.h.
#define STATE_IS_BLEND | ( | a | ) | ((a) == STATE_BLEND) |
Definition at line 1658 of file wined3d_private.h.
#define STATE_IS_CLIPPLANE | ( | a | ) | ((a) >= STATE_CLIPPLANE(0) && (a) <= STATE_CLIPPLANE(MAX_CLIP_DISTANCES - 1)) |
Definition at line 1631 of file wined3d_private.h.
#define STATE_IS_COLOR_KEY | ( | a | ) | ((a) == STATE_COLOR_KEY) |
Definition at line 1652 of file wined3d_private.h.
#define STATE_IS_COMPUTE | ( | a | ) | ((a) >= STATE_COMPUTE_OFFSET && (a) <= STATE_COMPUTE_HIGHEST) |
Definition at line 1677 of file wined3d_private.h.
#define STATE_IS_COMPUTE_CONSTANT_BUFFER | ( | a | ) | ((a) == STATE_COMPUTE_CONSTANT_BUFFER) |
Definition at line 1666 of file wined3d_private.h.
#define STATE_IS_COMPUTE_SHADER | ( | a | ) | ((a) == STATE_COMPUTE_SHADER) |
Definition at line 1663 of file wined3d_private.h.
#define STATE_IS_COMPUTE_SHADER_RESOURCE_BINDING | ( | a | ) | ((a) == STATE_COMPUTE_SHADER_RESOURCE_BINDING) |
Definition at line 1669 of file wined3d_private.h.
#define STATE_IS_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING | ( | a | ) | ((a) == STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1672 of file wined3d_private.h.
#define STATE_IS_FRAMEBUFFER | ( | a | ) | ((a) == STATE_FRAMEBUFFER) |
Definition at line 1646 of file wined3d_private.h.
#define STATE_IS_FRONTFACE | ( | a | ) | ((a) == STATE_FRONTFACE) |
Definition at line 1637 of file wined3d_private.h.
Definition at line 1598 of file wined3d_private.h.
#define STATE_IS_GRAPHICS_SHADER | ( | a | ) | ((a) >= STATE_GRAPHICS_SHADER(0) && (a) < STATE_GRAPHICS_SHADER(WINED3D_SHADER_TYPE_GRAPHICS_COUNT)) |
Definition at line 1594 of file wined3d_private.h.
#define STATE_IS_GRAPHICS_SHADER_RESOURCE_BINDING | ( | a | ) | ((a) == STATE_GRAPHICS_SHADER_RESOURCE_BINDING) |
Definition at line 1603 of file wined3d_private.h.
#define STATE_IS_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING | ( | a | ) | ((a) == STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1606 of file wined3d_private.h.
#define STATE_IS_INDEXBUFFER | ( | a | ) | ((a) == STATE_INDEXBUFFER) |
Definition at line 1614 of file wined3d_private.h.
#define STATE_IS_LIGHT_TYPE | ( | a | ) | ((a) == STATE_LIGHT_TYPE) |
Definition at line 1623 of file wined3d_private.h.
#define STATE_IS_MATERIAL | ( | a | ) | ((a) == STATE_MATERIAL) |
Definition at line 1634 of file wined3d_private.h.
#define STATE_IS_POINT_ENABLE | ( | a | ) | ((a) == STATE_POINT_ENABLE) |
Definition at line 1649 of file wined3d_private.h.
#define STATE_IS_POINTSPRITECOORDORIGIN | ( | a | ) | ((a) == STATE_POINTSPRITECOORDORIGIN) |
Definition at line 1640 of file wined3d_private.h.
#define STATE_IS_RENDER | ( | a | ) | ((a) >= STATE_RENDER(1) && (a) <= STATE_RENDER(WINEHIGHEST_RENDER_STATE)) |
Definition at line 1582 of file wined3d_private.h.
#define STATE_IS_SAMPLER | ( | num | ) | ((num) >= STATE_SAMPLER(0) && (num) <= STATE_SAMPLER(MAX_COMBINED_SAMPLERS - 1)) |
Definition at line 1591 of file wined3d_private.h.
#define STATE_IS_SCISSORRECT | ( | a | ) | ((a) == STATE_SCISSORRECT) |
Definition at line 1628 of file wined3d_private.h.
#define STATE_IS_STREAM_OUTPUT | ( | a | ) | ((a) == STATE_STREAM_OUTPUT) |
Definition at line 1655 of file wined3d_private.h.
#define STATE_IS_STREAMSRC | ( | a | ) | ((a) == STATE_STREAMSRC) |
Definition at line 1612 of file wined3d_private.h.
#define STATE_IS_TEXTURESTAGE | ( | a | ) | ((a) >= STATE_TEXTURESTAGE(0, 1) && (a) <= STATE_TEXTURESTAGE(MAX_TEXTURES - 1, WINED3D_HIGHEST_TEXTURE_STATE)) |
Definition at line 1586 of file wined3d_private.h.
#define STATE_IS_TRANSFORM | ( | a | ) | ((a) >= STATE_TRANSFORM(1) && (a) <= STATE_TRANSFORM(WINED3D_TS_WORLD_MATRIX(255))) |
Definition at line 1609 of file wined3d_private.h.
#define STATE_IS_VDECL | ( | a | ) | ((a) == STATE_VDECL) |
Definition at line 1617 of file wined3d_private.h.
#define STATE_IS_VIEWPORT | ( | a | ) | ((a) == STATE_VIEWPORT) |
Definition at line 1620 of file wined3d_private.h.
#define STATE_LIGHT_TYPE (STATE_VIEWPORT + 1) |
Definition at line 1622 of file wined3d_private.h.
#define STATE_MATERIAL (STATE_CLIPPLANE(MAX_CLIP_DISTANCES)) |
Definition at line 1633 of file wined3d_private.h.
#define STATE_POINT_ENABLE (STATE_FRAMEBUFFER + 1) |
Definition at line 1648 of file wined3d_private.h.
#define STATE_POINTSPRITECOORDORIGIN (STATE_FRONTFACE + 1) |
Definition at line 1639 of file wined3d_private.h.
Definition at line 1581 of file wined3d_private.h.
#define STATE_SAMPLER | ( | num | ) | (STATE_TEXTURESTAGE(MAX_TEXTURES - 1, WINED3D_HIGHEST_TEXTURE_STATE) + 1 + (num)) |
Definition at line 1590 of file wined3d_private.h.
#define STATE_SCISSORRECT (STATE_ACTIVELIGHT(MAX_ACTIVE_LIGHTS - 1) + 1) |
Definition at line 1627 of file wined3d_private.h.
#define STATE_SHADER | ( | a | ) | ((a) != WINED3D_SHADER_TYPE_COMPUTE ? STATE_GRAPHICS_SHADER(a) : STATE_COMPUTE_SHADER) |
Definition at line 1680 of file wined3d_private.h.
#define STATE_STREAM_OUTPUT (STATE_COLOR_KEY + 1) |
Definition at line 1654 of file wined3d_private.h.
#define STATE_STREAMSRC (STATE_TRANSFORM(WINED3D_TS_WORLD_MATRIX(255)) + 1) |
Definition at line 1611 of file wined3d_private.h.
#define STATE_TEXTURESTAGE | ( | stage, | |
num | |||
) | (STATE_RENDER(WINEHIGHEST_RENDER_STATE) + 1 + (stage) * (WINED3D_HIGHEST_TEXTURE_STATE + 1) + (num)) |
Definition at line 1584 of file wined3d_private.h.
#define STATE_TRANSFORM | ( | a | ) | (STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING + (a)) |
Definition at line 1608 of file wined3d_private.h.
Definition at line 1683 of file wined3d_private.h.
#define STATE_VDECL (STATE_INDEXBUFFER + 1) |
Definition at line 1616 of file wined3d_private.h.
#define STATE_VIEWPORT (STATE_VDECL + 1) |
Definition at line 1619 of file wined3d_private.h.
#define WIN32_NO_STATUS |
Definition at line 39 of file wined3d_private.h.
#define WINE_GLAPI |
Definition at line 31 of file wined3d_private.h.
#define WINED3D_CONST_NUM_UNUSED ~0U |
Definition at line 1318 of file wined3d_private.h.
#define WINED3D_CONSTANT_BUFFER_ALIGNMENT 16 |
Definition at line 3117 of file wined3d_private.h.
#define WINED3D_CS_QUERY_POLL_INTERVAL 10u |
Definition at line 3537 of file wined3d_private.h.
#define WINED3D_CS_QUEUE_SIZE 0x100000u |
Definition at line 3538 of file wined3d_private.h.
#define WINED3D_CS_SPIN_COUNT 10000000u |
Definition at line 3542 of file wined3d_private.h.
#define WINED3D_FBO_ENTRY_FLAG_ATTACHED 0x1 |
Definition at line 3343 of file wined3d_private.h.
#define WINED3D_FBO_ENTRY_FLAG_DEPTH 0x2 |
Definition at line 3344 of file wined3d_private.h.
#define WINED3D_FBO_ENTRY_FLAG_STENCIL 0x4 |
Definition at line 3345 of file wined3d_private.h.
#define WINED3D_FFP_LIGHT_TYPE_MASK 0x7u |
Definition at line 2727 of file wined3d_private.h.
Definition at line 2726 of file wined3d_private.h.
#define WINED3D_FFP_TCI_MASK 0xffu |
Definition at line 2724 of file wined3d_private.h.
#define WINED3D_FFP_TCI_SHIFT 16 |
Definition at line 2723 of file wined3d_private.h.
#define WINED3D_FRAGMENT_CAP_COLOR_KEY 0x00000004 |
Definition at line 2026 of file wined3d_private.h.
#define WINED3D_FRAGMENT_CAP_PROJ_CONTROL 0x00000001 |
Definition at line 2024 of file wined3d_private.h.
#define WINED3D_FRAGMENT_CAP_SRGB_WRITE 0x00000002 |
Definition at line 2025 of file wined3d_private.h.
#define WINED3D_LOCATION_BUFFER 0x00000008 |
Definition at line 3319 of file wined3d_private.h.
#define WINED3D_LOCATION_DISCARDED 0x00000001 |
Definition at line 3316 of file wined3d_private.h.
#define WINED3D_LOCATION_DRAWABLE 0x00000040 |
Definition at line 3322 of file wined3d_private.h.
#define WINED3D_LOCATION_RB_MULTISAMPLE 0x00000080 |
Definition at line 3323 of file wined3d_private.h.
#define WINED3D_LOCATION_RB_RESOLVED 0x00000100 |
Definition at line 3324 of file wined3d_private.h.
#define WINED3D_LOCATION_SYSMEM 0x00000002 |
Definition at line 3317 of file wined3d_private.h.
#define WINED3D_LOCATION_TEXTURE_RGB 0x00000010 |
Definition at line 3320 of file wined3d_private.h.
#define WINED3D_LOCATION_TEXTURE_SRGB 0x00000020 |
Definition at line 3321 of file wined3d_private.h.
#define WINED3D_LOCATION_USER_MEMORY 0x00000004 |
Definition at line 3318 of file wined3d_private.h.
#define WINED3D_MAX_CBS 15 |
Definition at line 667 of file wined3d_private.h.
#define WINED3D_MAX_CONSTS_B 16 |
Definition at line 668 of file wined3d_private.h.
#define WINED3D_MAX_CONSTS_I 16 |
Definition at line 669 of file wined3d_private.h.
#define WINED3D_MAX_PS_CONSTS_F 224 |
Definition at line 671 of file wined3d_private.h.
#define WINED3D_MAX_VS_CONSTS_F 256 |
Definition at line 670 of file wined3d_private.h.
#define WINED3D_OPENGL_WINDOW_CLASS_NAME "WineD3D_OpenGL" |
Definition at line 4546 of file wined3d_private.h.
#define WINED3D_PACKED_INTERPOLATION_BIT_COUNT 3 |
Definition at line 577 of file wined3d_private.h.
#define WINED3D_PACKED_INTERPOLATION_SIZE 3 |
Definition at line 576 of file wined3d_private.h.
Definition at line 1332 of file wined3d_private.h.
#define WINED3D_PSARGS_TEXTRANSFORM_MASK 0xfu |
Definition at line 1334 of file wined3d_private.h.
#define WINED3D_PSARGS_TEXTRANSFORM_SHIFT 4 |
Definition at line 1333 of file wined3d_private.h.
#define WINED3D_PSARGS_TEXTYPE_MASK 0x3u |
Definition at line 1336 of file wined3d_private.h.
#define WINED3D_PSARGS_TEXTYPE_SHIFT 2 |
Definition at line 1335 of file wined3d_private.h.
#define WINED3D_QUIRK_ALLOWS_SPECULAR_ALPHA 0x00000008 |
Definition at line 71 of file wined3d_private.h.
#define WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT 0x00000001 |
Definition at line 68 of file wined3d_private.h.
#define WINED3D_QUIRK_BROKEN_ARB_FOG 0x00000200 |
Definition at line 77 of file wined3d_private.h.
#define WINED3D_QUIRK_BROKEN_RGBA16 0x00000040 |
Definition at line 74 of file wined3d_private.h.
#define WINED3D_QUIRK_FBO_TEX_UPDATE 0x00000020 |
Definition at line 73 of file wined3d_private.h.
#define WINED3D_QUIRK_GLSL_CLIP_VARYING 0x00000004 |
Definition at line 70 of file wined3d_private.h.
#define WINED3D_QUIRK_INFO_LOG_SPAM 0x00000080 |
Definition at line 75 of file wined3d_private.h.
#define WINED3D_QUIRK_LIMITED_TEX_FILTERING 0x00000100 |
Definition at line 76 of file wined3d_private.h.
#define WINED3D_QUIRK_NV_CLIP_BROKEN 0x00000010 |
Definition at line 72 of file wined3d_private.h.
#define WINED3D_QUIRK_SET_TEXCOORD_W 0x00000002 |
Definition at line 69 of file wined3d_private.h.
#define WINED3D_SAMPLER_DEFAULT ~0x0u |
Definition at line 958 of file wined3d_private.h.
#define WINED3D_SHADER_CAP_DOUBLE_PRECISION 0x00000004 |
Definition at line 1281 of file wined3d_private.h.
#define WINED3D_SHADER_CAP_SRGB_WRITE 0x00000002 |
Definition at line 1280 of file wined3d_private.h.
#define WINED3D_SHADER_CAP_VS_CLIPPING 0x00000001 |
Definition at line 1279 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_COLOR_KEY 0x00200000 |
Definition at line 453 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_LIGHTS 0x00080000 |
Definition at line 451 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_MATERIAL 0x00040000 |
Definition at line 450 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_MODELVIEW 0x00004000 |
Definition at line 447 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_PROJ 0x00010000 |
Definition at line 448 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_PS 0x00100000 |
Definition at line 452 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_TEXMATRIX 0x00020000 |
Definition at line 449 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_FFP_VERTEXBLEND 0xff000000 |
Definition at line 454 of file wined3d_private.h.
Definition at line 455 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_POS_FIXUP 0x00000020 |
Definition at line 438 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_ALPHA_TEST 0x00000800 |
Definition at line 444 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_B 0x00000100 |
Definition at line 441 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_BUMP_ENV 0x00000200 |
Definition at line 442 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_F 0x00000040 |
Definition at line 439 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_FOG 0x00000400 |
Definition at line 443 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_I 0x00000080 |
Definition at line 440 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_NP2_FIXUP 0x00002000 |
Definition at line 446 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_PS_Y_CORR 0x00001000 |
Definition at line 445 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_VS_B 0x00000004 |
Definition at line 435 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_VS_CLIP_PLANES 0x00000008 |
Definition at line 436 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_VS_F 0x00000001 |
Definition at line 433 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_VS_I 0x00000002 |
Definition at line 434 of file wined3d_private.h.
#define WINED3D_SHADER_CONST_VS_POINTSIZE 0x00000010 |
Definition at line 437 of file wined3d_private.h.
Definition at line 988 of file wined3d_private.h.
#define WINED3D_SM1_PS 0xffffu |
Definition at line 647 of file wined3d_private.h.
#define WINED3D_SM1_VS 0xfffeu |
Definition at line 646 of file wined3d_private.h.
#define WINED3D_SM4_GS 0x0002u |
Definition at line 650 of file wined3d_private.h.
#define WINED3D_SM4_PS 0x0000u |
Definition at line 648 of file wined3d_private.h.
#define WINED3D_SM4_VS 0x0001u |
Definition at line 649 of file wined3d_private.h.
#define WINED3D_SM5_CS 0x0005u |
Definition at line 653 of file wined3d_private.h.
#define WINED3D_SM5_DS 0x0004u |
Definition at line 652 of file wined3d_private.h.
#define WINED3D_SM5_HS 0x0003u |
Definition at line 651 of file wined3d_private.h.
#define WINED3D_STATE_INIT_DEFAULT 0x00000002 |
Definition at line 2819 of file wined3d_private.h.
#define WINED3D_STATE_NO_REF 0x00000001 |
Definition at line 2818 of file wined3d_private.h.
#define WINED3D_TEXTURE_ASYNC_COLOR_KEY 0x00000001 |
Definition at line 3155 of file wined3d_private.h.
#define WINED3D_TEXTURE_COND_NP2 0x00000001 |
Definition at line 3138 of file wined3d_private.h.
#define WINED3D_TEXTURE_COND_NP2_EMULATED 0x00000002 |
Definition at line 3139 of file wined3d_private.h.
#define WINED3D_TEXTURE_CONVERTED 0x00000100 |
Definition at line 3146 of file wined3d_private.h.
#define WINED3D_TEXTURE_DC_IN_USE 0x00001000 |
Definition at line 3150 of file wined3d_private.h.
#define WINED3D_TEXTURE_DISCARD 0x00002000 |
Definition at line 3151 of file wined3d_private.h.
#define WINED3D_TEXTURE_GENERATE_MIPMAPS 0x00008000 |
Definition at line 3153 of file wined3d_private.h.
#define WINED3D_TEXTURE_GET_DC 0x00004000 |
Definition at line 3152 of file wined3d_private.h.
#define WINED3D_TEXTURE_GET_DC_LENIENT 0x00000800 |
Definition at line 3149 of file wined3d_private.h.
#define WINED3D_TEXTURE_IS_SRGB 0x00000008 |
Definition at line 3141 of file wined3d_private.h.
#define WINED3D_TEXTURE_NORMALIZED_COORDS 0x00000400 |
Definition at line 3148 of file wined3d_private.h.
#define WINED3D_TEXTURE_PIN_SYSMEM 0x00000200 |
Definition at line 3147 of file wined3d_private.h.
#define WINED3D_TEXTURE_POW2_MAT_IDENT 0x00000004 |
Definition at line 3140 of file wined3d_private.h.
#define WINED3D_TEXTURE_RGB_ALLOCATED 0x00000010 |
Definition at line 3142 of file wined3d_private.h.
#define WINED3D_TEXTURE_RGB_VALID 0x00000020 |
Definition at line 3143 of file wined3d_private.h.
#define WINED3D_TEXTURE_SRGB_ALLOCATED 0x00000040 |
Definition at line 3144 of file wined3d_private.h.
#define WINED3D_TEXTURE_SRGB_VALID 0x00000080 |
Definition at line 3145 of file wined3d_private.h.
#define WINED3D_UNMAPPED_STAGE ~0u |
Definition at line 2915 of file wined3d_private.h.
#define WINED3DCREATE_MULTITHREADED 0x00000004 |
Definition at line 2919 of file wined3d_private.h.
#define WINED3DFMT_FLAG_BLOCKS 0x00020000 |
Definition at line 4287 of file wined3d_private.h.
#define WINED3DFMT_FLAG_BLOCKS_NO_VERIFY 0x00100000 |
Definition at line 4290 of file wined3d_private.h.
#define WINED3DFMT_FLAG_BROKEN_PITCH 0x00010000 |
Definition at line 4286 of file wined3d_private.h.
#define WINED3DFMT_FLAG_BUMPMAP 0x00000400 |
Definition at line 4280 of file wined3d_private.h.
#define WINED3DFMT_FLAG_COMPRESSED 0x00008000 |
Definition at line 4285 of file wined3d_private.h.
#define WINED3DFMT_FLAG_DEPTH 0x00000004 |
Definition at line 4273 of file wined3d_private.h.
#define WINED3DFMT_FLAG_EXTENSION 0x00000020 |
Definition at line 4276 of file wined3d_private.h.
#define WINED3DFMT_FLAG_FBO_ATTACHABLE 0x00000040 |
Definition at line 4277 of file wined3d_private.h.
#define WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB 0x00000080 |
Definition at line 4278 of file wined3d_private.h.
#define WINED3DFMT_FLAG_FILTERING 0x00000002 |
Definition at line 4272 of file wined3d_private.h.
#define WINED3DFMT_FLAG_FLOAT 0x00000200 |
Definition at line 4279 of file wined3d_private.h.
#define WINED3DFMT_FLAG_GEN_MIPMAP 0x00400000 |
Definition at line 4292 of file wined3d_private.h.
#define WINED3DFMT_FLAG_HEIGHT_SCALE 0x00040000 |
Definition at line 4288 of file wined3d_private.h.
#define WINED3DFMT_FLAG_INTEGER 0x00200000 |
Definition at line 4291 of file wined3d_private.h.
#define WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING 0x00000001 |
Definition at line 4271 of file wined3d_private.h.
#define WINED3DFMT_FLAG_RENDERTARGET 0x00000010 |
Definition at line 4275 of file wined3d_private.h.
#define WINED3DFMT_FLAG_SHADOW 0x00004000 |
Definition at line 4284 of file wined3d_private.h.
#define WINED3DFMT_FLAG_SRGB_READ 0x00000800 |
Definition at line 4281 of file wined3d_private.h.
#define WINED3DFMT_FLAG_SRGB_WRITE 0x00001000 |
Definition at line 4282 of file wined3d_private.h.
#define WINED3DFMT_FLAG_STENCIL 0x00000008 |
Definition at line 4274 of file wined3d_private.h.
#define WINED3DFMT_FLAG_TEXTURE 0x00080000 |
Definition at line 4289 of file wined3d_private.h.
#define WINED3DFMT_FLAG_VTF 0x00002000 |
Definition at line 4283 of file wined3d_private.h.
Definition at line 656 of file wined3d_private.h.
#define WINED3DSI_INDEXED_DYNAMIC 0x4 |
Definition at line 624 of file wined3d_private.h.
#define WINED3DSI_RESINFO_RCP_FLOAT 0x1 |
Definition at line 625 of file wined3d_private.h.
#define WINED3DSI_RESINFO_UINT 0x2 |
Definition at line 626 of file wined3d_private.h.
#define WINED3DSI_SAMPLE_INFO_UINT 0x1 |
Definition at line 627 of file wined3d_private.h.
#define WINED3DSI_SAMPLER_COMPARISON_MODE 0x1 |
Definition at line 628 of file wined3d_private.h.
#define WINED3DSI_TEXLD_BIAS 0x2 |
Definition at line 623 of file wined3d_private.h.
#define WINED3DSI_TEXLD_PROJECT 0x1 |
Definition at line 622 of file wined3d_private.h.
Definition at line 530 of file wined3d_private.h.
Definition at line 550 of file wined3d_private.h.
Definition at line 551 of file wined3d_private.h.
Definition at line 552 of file wined3d_private.h.
Definition at line 553 of file wined3d_private.h.
#define WINED3DSP_WRITEMASK_ALL 0xfu /* all */ |
Definition at line 554 of file wined3d_private.h.
Definition at line 657 of file wined3d_private.h.
typedef void(* APPLYSTATEFUNC) (struct wined3d_context *ctx, const struct wined3d_state *state, DWORD state_id) |
Definition at line 2009 of file wined3d_private.h.
typedef void(* SHADER_HANDLER) (const struct wined3d_shader_instruction *) |
Definition at line 1277 of file wined3d_private.h.
typedef void(WINE_GLAPI * wined3d_ffp_attrib_func) (const void *data) |
Definition at line 172 of file wined3d_private.h.
Definition at line 173 of file wined3d_private.h.
Definition at line 174 of file wined3d_private.h.
Enumerator | |
---|---|
COMPLEX_FIXUP_NONE | |
COMPLEX_FIXUP_YUY2 | |
COMPLEX_FIXUP_UYVY | |
COMPLEX_FIXUP_YV12 | |
COMPLEX_FIXUP_P8 | |
COMPLEX_FIXUP_NV12 |
Definition at line 136 of file wined3d_private.h.
Enumerator | |
---|---|
resultreg | |
tempreg |
Definition at line 2650 of file wined3d_private.h.
Enumerator | |
---|---|
CHANNEL_SOURCE_ZERO | |
CHANNEL_SOURCE_ONE | |
CHANNEL_SOURCE_X | |
CHANNEL_SOURCE_Y | |
CHANNEL_SOURCE_Z | |
CHANNEL_SOURCE_W | |
CHANNEL_SOURCE_COMPLEX0 | |
CHANNEL_SOURCE_COMPLEX1 |
Definition at line 124 of file wined3d_private.h.
Enumerator | |
---|---|
VS_FOG_Z | |
VS_FOG_COORD |
Definition at line 1369 of file wined3d_private.h.
Enumerator | |
---|---|
FOGSOURCE_FFP | |
FOGSOURCE_VS | |
FOGSOURCE_COORD |
Definition at line 1686 of file wined3d_private.h.
Enumerator | |
---|---|
proj_none | |
proj_count3 | |
proj_count4 |
Definition at line 2643 of file wined3d_private.h.
Enumerator | |
---|---|
fixedfunction | |
vertexshader | |
pretransformed |
Definition at line 1312 of file wined3d_private.h.
Definition at line 2098 of file wined3d_private.h.
Enumerator | |
---|---|
CONV_NONE | |
CONV_D3DCOLOR | |
CONV_POSITIONT |
Definition at line 3696 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_CS_QUEUE_DEFAULT | |
WINED3D_CS_QUEUE_MAP | |
WINED3D_CS_QUEUE_COUNT |
Definition at line 3520 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_DATA_FLOAT | |
WINED3D_DATA_INT | |
WINED3D_DATA_RESOURCE | |
WINED3D_DATA_SAMPLER | |
WINED3D_DATA_UAV | |
WINED3D_DATA_UINT | |
WINED3D_DATA_UNORM | |
WINED3D_DATA_SNORM | |
WINED3D_DATA_OPAQUE |
Definition at line 511 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_FENCE_OK | |
WINED3D_FENCE_WAITING | |
WINED3D_FENCE_NOT_STARTED | |
WINED3D_FENCE_WRONG_THREAD | |
WINED3D_FENCE_ERROR |
Definition at line 1698 of file wined3d_private.h.
Definition at line 99 of file wined3d_private.h.
Definition at line 79 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_FFP_PS_FOG_OFF | |
WINED3D_FFP_PS_FOG_LINEAR | |
WINED3D_FFP_PS_FOG_EXP | |
WINED3D_FFP_PS_FOG_EXP2 |
Definition at line 1320 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_FFP_VS_FOG_OFF | |
WINED3D_FFP_VS_FOG_FOGCOORD | |
WINED3D_FFP_VS_FOG_DEPTH | |
WINED3D_FFP_VS_FOG_RANGE |
Definition at line 2715 of file wined3d_private.h.
Definition at line 1300 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_IMMCONST_SCALAR | |
WINED3D_IMMCONST_VEC4 |
Definition at line 524 of file wined3d_private.h.
Definition at line 2238 of file wined3d_private.h.
Enumerator | |
---|---|
HW_VENDOR_SOFTWARE | |
HW_VENDOR_AMD | |
HW_VENDOR_NVIDIA | |
HW_VENDOR_VMWARE | |
HW_VENDOR_INTEL |
Definition at line 2229 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_PIPELINE_GRAPHICS | |
WINED3D_PIPELINE_COMPUTE | |
WINED3D_PIPELINE_COUNT |
Definition at line 1572 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_PUSH_CONSTANTS_VS_F | |
WINED3D_PUSH_CONSTANTS_PS_F | |
WINED3D_PUSH_CONSTANTS_VS_I | |
WINED3D_PUSH_CONSTANTS_PS_I | |
WINED3D_PUSH_CONSTANTS_VS_B | |
WINED3D_PUSH_CONSTANTS_PS_B |
Definition at line 3527 of file wined3d_private.h.
Enumerator | |
---|---|
QUERY_CREATED | |
QUERY_SIGNALLED | |
QUERY_BUILDING |
Definition at line 1723 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_SHADER_CONDITIONAL_OP_NZ | |
WINED3D_SHADER_CONDITIONAL_OP_Z |
Definition at line 640 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3DSPDM_NONE | |
WINED3DSPDM_SATURATE | |
WINED3DSPDM_PARTIALPRECISION | |
WINED3DSPDM_MSAMPCENTROID |
Definition at line 556 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3DSGF_REFACTORING_ALLOWED | |
WINED3DSGF_FORCE_EARLY_DEPTH_STENCIL | |
WINED3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS |
Definition at line 579 of file wined3d_private.h.
Definition at line 1129 of file wined3d_private.h.
Definition at line 687 of file wined3d_private.h.
Definition at line 564 of file wined3d_private.h.
Definition at line 457 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_SHADER_REL_OP_GT | |
WINED3D_SHADER_REL_OP_EQ | |
WINED3D_SHADER_REL_OP_GE | |
WINED3D_SHADER_REL_OP_LT | |
WINED3D_SHADER_REL_OP_NE | |
WINED3D_SHADER_REL_OP_LE |
Definition at line 630 of file wined3d_private.h.
Definition at line 418 of file wined3d_private.h.
Definition at line 532 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3DSSF_THREAD_GROUP | |
WINED3DSSF_GROUP_SHARED_MEMORY |
Definition at line 586 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_SHADER_TEX_2D | |
WINED3D_SHADER_TEX_3D | |
WINED3D_SHADER_TEX_CUBE |
Definition at line 1340 of file wined3d_private.h.
Definition at line 930 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3DSUF_GLOBALLY_COHERENT | |
WINED3DSUF_ORDER_PRESERVING_COUNTER |
Definition at line 592 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_TESSELLATOR_DOMAIN_LINE | |
WINED3D_TESSELLATOR_DOMAIN_TRIANGLE | |
WINED3D_TESSELLATOR_DOMAIN_QUAD |
Definition at line 598 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_TESSELLATOR_OUTPUT_POINT | |
WINED3D_TESSELLATOR_OUTPUT_LINE | |
WINED3D_TESSELLATOR_OUTPUT_TRIANGLE_CW | |
WINED3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW |
Definition at line 605 of file wined3d_private.h.
Enumerator | |
---|---|
WINED3D_TESSELLATOR_PARTITIONING_INTEGER | |
WINED3D_TESSELLATOR_PARTITIONING_POW2 | |
WINED3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD | |
WINED3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN |
Definition at line 613 of file wined3d_private.h.
UINT64 adapter_adjust_memory | ( | struct wined3d_adapter * | adapter, |
INT64 | amount | ||
) |
Definition at line 441 of file directx.c.
Referenced by resource_cleanup(), and resource_init().
void add_ffp_frag_shader | ( | struct wine_rb_tree * | shaders, |
struct ffp_frag_desc * | desc | ||
) |
Definition at line 6083 of file utils.c.
Referenced by fragment_prog_arbfp(), set_tex_op_atifs(), and shader_glsl_find_ffp_fragment_shader().
void apply_pixelshader | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 3759 of file state.c.
|
inlinestatic |
Definition at line 3735 of file wined3d_private.h.
Referenced by buffer_resource_decref(), buffer_resource_incref(), buffer_resource_preload(), buffer_resource_sub_resource_map(), buffer_resource_sub_resource_map_info(), buffer_resource_sub_resource_unmap(), buffer_unload(), context_load_shader_resources(), context_load_unordered_access_resources(), device_resource_released(), validate_resource_view(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_update_sub_resource(), wined3d_rendertarget_view_get_sub_resource_parent(), wined3d_rendertarget_view_load_location(), wined3d_shader_resource_view_cs_init(), wined3d_unordered_access_view_clear_uint(), wined3d_unordered_access_view_cs_init(), and wined3d_view_invalidate_location().
|
inlinestatic |
Definition at line 4456 of file wined3d_private.h.
Referenced by find_ps_compile_args(), gen_ffp_frag_op(), wined3d_cs_exec_set_texture(), and wined3d_texture_bind().
void clipplane | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 3836 of file state.c.
Referenced by glsl_vertex_pipe_vdecl(), glsl_vertex_pipe_view(), transform_view(), and vertexdeclaration().
HRESULT compile_state_table | ( | struct StateEntry * | StateTable, |
APPLYSTATEFUNC ** | dev_multistate_funcs, | ||
const struct wined3d_gl_info * | gl_info, | ||
const struct wined3d_d3d_info * | d3d_info, | ||
const struct wined3d_vertex_pipe_ops * | vertex, | ||
const struct fragment_pipeline * | fragment, | ||
const struct StateEntryTemplate * | misc | ||
) |
Definition at line 6142 of file state.c.
Referenced by device_init().
struct wined3d_context * context_acquire | ( | const struct wined3d_device * | device, |
struct wined3d_texture * | texture, | ||
unsigned int | sub_resource_idx | ||
) |
Definition at line 4242 of file context.c.
Referenced by buffer_resource_preload(), buffer_unload(), context_reacquire(), context_restore(), create_texture_view(), device_clear_render_targets(), dispatch_compute(), draw_primitive(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), read_from_framebuffer(), shader_arb_destroy(), shader_glsl_destroy(), shader_glsl_precompile(), shader_resource_view_generate_mipmaps(), surface_blt_fbo(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_depth_blt_fbo(), surface_load_drawable(), surface_load_fb_texture(), surface_upload_from_surface(), swapchain_gl_frontbuffer_updated(), swapchain_gl_present(), texture2d_cleanup_sub_resources(), texture2d_create_dc(), texture2d_destroy_dc(), texture_resource_preload(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), wined3d_buffer_copy(), wined3d_buffer_destroy_object(), wined3d_buffer_map(), wined3d_buffer_unmap(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_clear_unordered_access_view(), wined3d_cs_exec_copy_uav_counter(), wined3d_cs_exec_flush(), wined3d_cs_exec_update_sub_resource(), wined3d_device_create_primary_opengl_context_cs(), wined3d_device_delete_opengl_contexts_cs(), wined3d_fence_issue(), wined3d_fence_test(), wined3d_fence_wait(), wined3d_occlusion_query_ops_issue(), wined3d_pipeline_query_ops_issue(), wined3d_rendertarget_view_destroy_object(), wined3d_sampler_cs_init(), wined3d_sampler_destroy_object(), wined3d_shader_resource_view_cs_init(), wined3d_shader_resource_view_destroy_object(), wined3d_so_statistics_query_ops_issue(), wined3d_surface_blt(), wined3d_swapchain_update_swap_interval_cs(), wined3d_texture_cleanup(), wined3d_texture_copy_sysmem_location(), wined3d_texture_unload(), wined3d_texture_unload_gl_texture(), wined3d_texture_update_map_binding(), wined3d_timestamp_query_ops_issue(), wined3d_unordered_access_view_cs_init(), wined3d_unordered_access_view_destroy_object(), and wined3d_unordered_access_view_set_counter().
void context_active_texture | ( | struct wined3d_context * | context, |
const struct wined3d_gl_info * | gl_info, | ||
unsigned int | unit | ||
) |
Definition at line 2717 of file context.c.
Referenced by context_create(), create_dummy_textures(), nvrc_colorop(), nvts_bumpenvmat(), sampler(), set_tex_op_atifs(), SetupForBlit(), state_texfactor(), tex_alphaop(), tex_colorop(), tex_coordindex(), transform_texture(), upload_palette(), and wined3d_shader_resource_view_bind().
void context_alloc_fence | ( | struct wined3d_context * | context, |
struct wined3d_fence * | fence | ||
) |
Definition at line 863 of file context.c.
Referenced by wined3d_fence_issue().
void context_alloc_occlusion_query | ( | struct wined3d_context * | context, |
struct wined3d_occlusion_query * | query | ||
) |
Definition at line 816 of file context.c.
Referenced by wined3d_occlusion_query_ops_issue().
void context_alloc_pipeline_statistics_query | ( | struct wined3d_context * | context, |
struct wined3d_pipeline_statistics_query * | query | ||
) |
void context_alloc_so_statistics_query | ( | struct wined3d_context * | context, |
struct wined3d_so_statistics_query * | query | ||
) |
Definition at line 961 of file context.c.
Referenced by wined3d_so_statistics_query_ops_issue().
void context_alloc_timestamp_query | ( | struct wined3d_context * | context, |
struct wined3d_timestamp_query * | query | ||
) |
Definition at line 923 of file context.c.
Referenced by wined3d_timestamp_query_ops_issue().
void context_apply_blit_state | ( | struct wined3d_context * | context, |
const struct wined3d_device * | device | ||
) |
Definition at line 2981 of file context.c.
Referenced by arbfp_blitter_blit(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), ffp_blitter_blit(), and read_from_framebuffer().
BOOL context_apply_clear_state | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
UINT | rt_count, | ||
const struct wined3d_fb_state * | fb | ||
) |
Definition at line 3047 of file context.c.
Referenced by device_clear_render_targets().
void context_apply_fbo_state_blit | ( | struct wined3d_context * | context, |
GLenum | target, | ||
struct wined3d_surface * | render_target, | ||
struct wined3d_surface * | depth_stencil, | ||
DWORD | location | ||
) |
Definition at line 802 of file context.c.
Referenced by arbfp_blitter_blit(), context_apply_blit_state(), ffp_blitter_blit(), read_from_framebuffer(), surface_blt_fbo(), and surface_depth_blt_fbo().
|
inlinestatic |
Definition at line 4422 of file wined3d_private.h.
Referenced by apply_pixelshader(), glsl_vertex_pipe_vs(), nvrc_resultarg(), state_alpha_test(), state_blend(), state_zenable(), and vertexdeclaration().
void context_bind_bo | ( | struct wined3d_context * | context, |
GLenum | binding, | ||
GLuint | name | ||
) |
Definition at line 2724 of file context.c.
Referenced by buffer_bind(), context_copy_bo_address(), context_map_bo_address(), context_unmap_bo_address(), and wined3d_unordered_access_view_clear_uint().
void context_bind_dummy_textures | ( | const struct wined3d_device * | device, |
const struct wined3d_context * | context | ||
) |
Definition at line 1764 of file context.c.
Referenced by context_create(), and create_dummy_textures().
void context_bind_texture | ( | struct wined3d_context * | context, |
GLenum | target, | ||
GLuint | name | ||
) |
Definition at line 2734 of file context.c.
Referenced by create_buffer_texture(), create_texture_view(), draw_textured_quad(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), sampler(), shader_resource_view_bind_and_dirtify(), wined3d_shader_resource_view_bind(), and wined3d_texture_bind().
void context_check_fbo_status | ( | const struct wined3d_context * | context, |
GLenum | target | ||
) |
Definition at line 381 of file context.c.
Referenced by arbfp_blitter_blit(), context_apply_blit_state(), context_apply_clear_state(), context_apply_draw_state(), ffp_blitter_blit(), read_from_framebuffer(), surface_blt_fbo(), and surface_depth_blt_fbo().
void context_copy_bo_address | ( | struct wined3d_context * | context, |
const struct wined3d_bo_address * | dst, | ||
GLenum | dst_binding, | ||
const struct wined3d_bo_address * | src, | ||
GLenum | src_binding, | ||
size_t | size | ||
) |
Definition at line 2846 of file context.c.
Referenced by wined3d_buffer_copy(), and wined3d_unordered_access_view_copy_counter().
struct wined3d_context * context_create | ( | struct wined3d_swapchain * | swapchain, |
struct wined3d_texture * | target, | ||
const struct wined3d_format * | ds_format | ||
) |
Definition at line 1891 of file context.c.
Referenced by swapchain_create_context(), and wined3d_swapchain_cs_init().
HGLRC context_create_wgl_attribs | ( | const struct wined3d_gl_info * | gl_info, |
HDC | hdc, | ||
HGLRC | share_ctx | ||
) |
Definition at line 1857 of file context.c.
Referenced by context_create(), and wined3d_caps_gl_ctx_create_attribs().
void context_destroy | ( | struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 2290 of file context.c.
Referenced by context_release(), swapchain_create_context(), swapchain_destroy_contexts(), and wined3d_device_delete_opengl_contexts_cs().
void context_enable_clip_distances | ( | struct wined3d_context * | context, |
unsigned int | mask | ||
) |
Definition at line 2414 of file context.c.
Referenced by SetupForBlit(), shader_glsl_select(), state_clipping(), and vertexdeclaration().
void context_end_transform_feedback | ( | struct wined3d_context * | context | ) |
Definition at line 4127 of file context.c.
Referenced by buffer_destroy_buffer_object(), context_pause_transform_feedback(), and state_so().
void context_free_fence | ( | struct wined3d_fence * | fence | ) |
Definition at line 904 of file context.c.
Referenced by wined3d_fence_free(), and wined3d_fence_issue().
void context_free_occlusion_query | ( | struct wined3d_occlusion_query * | query | ) |
Definition at line 844 of file context.c.
Referenced by wined3d_occlusion_query_ops_destroy(), and wined3d_occlusion_query_ops_issue().
void context_free_pipeline_statistics_query | ( | struct wined3d_pipeline_statistics_query * | query | ) |
Definition at line 1021 of file context.c.
Referenced by wined3d_pipeline_query_ops_destroy(), and wined3d_pipeline_query_ops_issue().
void context_free_so_statistics_query | ( | struct wined3d_so_statistics_query * | query | ) |
Definition at line 983 of file context.c.
Referenced by wined3d_so_statistics_query_ops_destroy(), and wined3d_so_statistics_query_ops_issue().
void context_free_timestamp_query | ( | struct wined3d_timestamp_query * | query | ) |
Definition at line 943 of file context.c.
Referenced by wined3d_timestamp_query_ops_destroy(), and wined3d_timestamp_query_ops_issue().
struct wined3d_context * context_get_current | ( | void | ) |
Definition at line 1507 of file context.c.
Referenced by context_acquire(), context_activate(), context_enter(), context_release(), context_set_current(), diffuse_d3dcolor(), generic_d3dcolor(), generic_float16_2(), generic_float16_4(), generic_short2n(), generic_ushort2n(), position_d3dcolor(), position_float4(), shader_arb_update_float_pixel_constants(), shader_arb_update_float_vertex_constants(), specular_d3dcolor(), 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(), and wine_glVertex4f().
GLenum context_get_offscreen_gl_buffer | ( | const struct wined3d_context * | context | ) |
Definition at line 2954 of file context.c.
Referenced by context_generate_rt_mask_no_fbo(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), read_from_framebuffer(), and surface_load_fb_texture().
|
inlinestatic |
Definition at line 4522 of file wined3d_private.h.
Referenced by read_from_framebuffer(), surface_blt_fbo(), surface_load_drawable(), and surface_load_fb_texture().
const DWORD * context_get_tex_unit_mapping | ( | const struct wined3d_context * | context, |
const struct wined3d_shader_version * | shader_version, | ||
unsigned int * | base, | ||
unsigned int * | count | ||
) |
Definition at line 2334 of file context.c.
Referenced by context_bind_shader_resources(), shader_glsl_load_samplers(), and shader_glsl_map_tex_unit().
Definition at line 1497 of file context.c.
Referenced by wined3d_dll_destroy().
void context_gl_resource_released | ( | struct wined3d_device * | device, |
GLuint | name, | ||
BOOL | rb_namespace | ||
) |
Definition at line 1104 of file context.c.
Referenced by gltexture_delete(), texture2d_cleanup_sub_resources(), wined3d_rendertarget_view_destroy_object(), wined3d_texture_unload(), and wined3d_texture_unload_gl_texture().
void context_invalidate_compute_state | ( | struct wined3d_context * | context, |
DWORD | state_id | ||
) |
Definition at line 1642 of file context.c.
Referenced by create_buffer_texture(), create_texture_view(), device_invalidate_state(), shader_resource_view_bind_and_dirtify(), and wined3d_texture_bind_and_dirtify().
void context_invalidate_state | ( | struct wined3d_context * | context, |
DWORD | state_id | ||
) |
Definition at line 1652 of file context.c.
Referenced by arbfp_blitter_blit(), context_apply_blit_state(), context_apply_clear_state(), context_apply_compute_state(), context_bind_bo(), context_create(), context_invalidate_texture_stage(), context_map_fixed_function_samplers(), context_map_psamplers(), context_map_vsamplers(), context_set_render_offscreen(), context_setup_target(), context_update_fixed_function_usage_map(), context_update_stream_info(), create_buffer_texture(), create_texture_view(), device_clear_render_targets(), ffp_blitter_blit(), read_from_framebuffer(), SetupForBlit(), shader_resource_view_bind_and_dirtify(), surface_blt_fbo(), surface_depth_blt_fbo(), and wined3d_texture_bind_and_dirtify().
void * context_map_bo_address | ( | struct wined3d_context * | context, |
const struct wined3d_bo_address * | data, | ||
size_t | size, | ||
GLenum | binding, | ||
DWORD | flags | ||
) |
Definition at line 2802 of file context.c.
Referenced by context_copy_bo_address(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_load_texture(), texture2d_create_dc(), and texture_resource_sub_resource_map().
struct wined3d_context * context_reacquire | ( | const struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 4305 of file context.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().
void context_release | ( | struct wined3d_context * | context | ) |
Definition at line 1571 of file context.c.
Referenced by buffer_resource_preload(), buffer_unload(), context_create(), context_restore(), create_texture_view(), device_clear_render_targets(), dispatch_compute(), draw_primitive(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), shader_arb_destroy(), shader_glsl_destroy(), shader_glsl_precompile(), shader_resource_view_generate_mipmaps(), surface_blt_fbo(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_depth_blt_fbo(), surface_load_texture(), surface_upload_from_surface(), swapchain_create_context(), swapchain_gl_frontbuffer_updated(), swapchain_gl_present(), texture2d_cleanup_sub_resources(), texture2d_create_dc(), texture2d_destroy_dc(), texture_resource_preload(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), wined3d_buffer_copy(), wined3d_buffer_destroy_object(), wined3d_buffer_map(), wined3d_buffer_unmap(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_clear_unordered_access_view(), wined3d_cs_exec_copy_uav_counter(), wined3d_cs_exec_flush(), wined3d_cs_exec_update_sub_resource(), wined3d_device_create_primary_opengl_context_cs(), wined3d_device_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_rendertarget_view_destroy_object(), wined3d_sampler_cs_init(), wined3d_sampler_destroy_object(), wined3d_shader_resource_view_cs_init(), wined3d_shader_resource_view_destroy_object(), wined3d_so_statistics_query_ops_issue(), wined3d_so_statistics_query_ops_poll(), wined3d_surface_blt(), wined3d_swapchain_cs_init(), wined3d_swapchain_update_swap_interval_cs(), wined3d_texture_cleanup(), wined3d_texture_copy_sysmem_location(), wined3d_texture_unload(), wined3d_texture_unload_gl_texture(), wined3d_texture_update_map_binding(), wined3d_timestamp_query_ops_issue(), wined3d_timestamp_query_ops_poll(), wined3d_unordered_access_view_cs_init(), wined3d_unordered_access_view_destroy_object(), and wined3d_unordered_access_view_set_counter().
void context_resource_released | ( | const struct wined3d_device * | device, |
struct wined3d_resource * | resource, | ||
enum wined3d_resource_type | type | ||
) |
Definition at line 1073 of file context.c.
Referenced by wined3d_resource_destroy_object().
void context_restore | ( | struct wined3d_context * | context, |
struct wined3d_surface * | restore | ||
) |
Definition at line 1606 of file context.c.
Referenced by read_from_framebuffer(), surface_blt_fbo(), surface_load_drawable(), and surface_load_fb_texture().
BOOL context_set_current | ( | struct wined3d_context * | ctx | ) |
Definition at line 1512 of file context.c.
Referenced by context_activate(), context_create(), context_restore_gl_context(), context_set_gl_context(), DllMain(), and wined3d_device_uninit_3d().
void context_set_draw_buffer | ( | struct wined3d_context * | context, |
GLenum | buffer | ||
) |
Definition at line 2701 of file context.c.
Referenced by arbfp_blitter_blit(), context_apply_fbo_entry(), fb_copy_to_texture_hwstretch(), ffp_blitter_blit(), surface_blt_fbo(), and surface_depth_blt_fbo().
Definition at line 1502 of file context.c.
Referenced by wined3d_dll_init().
void context_state_drawbuf | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 3479 of file context.c.
void context_state_fb | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 3196 of file context.c.
void context_surface_update | ( | struct wined3d_context * | context, |
const struct wined3d_surface * | surface | ||
) |
Definition at line 1110 of file context.c.
Referenced by wined3d_surface_upload_data().
void context_unmap_bo_address | ( | struct wined3d_context * | context, |
const struct wined3d_bo_address * | data, | ||
GLenum | binding | ||
) |
Definition at line 2831 of file context.c.
Referenced by context_copy_bo_address(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_load_texture(), texture2d_destroy_dc(), and texture_resource_sub_resource_unmap().
|
inlinestatic |
Definition at line 205 of file wined3d_private.h.
Referenced by apply_format_fixups().
|
inlinestatic |
Definition at line 219 of file wined3d_private.h.
Referenced by apply_format_fixups().
const char * debug_box | ( | const struct wined3d_box * | box | ) |
Definition at line 3939 of file utils.c.
Referenced by surface_cpu_blt(), surface_cpu_blt_colour_fill(), texture3d_upload_data(), texture_resource_sub_resource_map(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_copy_sub_resource_region(), wined3d_device_update_sub_resource(), wined3d_resource_map(), wined3d_resource_update_info(), wined3d_texture_add_dirty_region(), and wined3d_texture_check_box_dimensions().
const char * debug_color | ( | const struct wined3d_color * | color | ) |
Definition at line 3948 of file utils.c.
Referenced by state_ambient(), state_specularenable(), surface_cpu_blt_colour_fill(), wined3d_device_clear(), wined3d_device_clear_rendertarget_view(), wined3d_device_get_material(), wined3d_device_set_light(), and wined3d_format_convert_from_float().
const char * debug_d3ddeclmethod | ( | enum wined3d_decl_method | method | ) |
Definition at line 4270 of file utils.c.
Referenced by dump_wined3d_vertex_element().
const char * debug_d3ddeclusage | ( | enum wined3d_decl_usage | usage | ) |
Definition at line 4289 of file utils.c.
Referenced by dump_wined3d_vertex_element(), fixed_get_input(), and wined3d_stream_info_from_declaration().
const char * debug_d3ddevicetype | ( | enum wined3d_device_type | device_type | ) |
Definition at line 4153 of file utils.c.
Referenced by wined3d_check_depth_stencil_match(), wined3d_check_device_format(), wined3d_check_device_format_conversion(), wined3d_check_device_multisample_type(), wined3d_check_device_type(), and wined3d_get_device_caps().
const char * debug_d3dformat | ( | enum wined3d_format_id | format_id | ) |
Definition at line 3980 of file utils.c.
Referenced by buffer_check_attribute(), buffer_init(), buffer_process_converted_attribute(), check_fbo_compat(), CheckRenderTargetCapability(), context_choose_pixel_format(), context_find_fbo_entry(), cpu_blitter_clear(), draw_primitive_immediate_mode(), dump_wined3d_vertex_element(), get_format_internal(), init_format_depth_bias_scale(), init_format_fbo_compat_info(), init_format_filter_info(), init_format_vertex_info(), query_format_flag(), query_view_class(), resource_init(), state_depthbias(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_cpu_blt_compressed(), surface_depth_blt_fbo(), surface_download_data(), swapchain_init(), texture1d_download_data(), texture2d_create_dc(), texture2d_prepare_texture(), texture3d_download_data(), validate_resource_view(), vertexdeclaration_init(), wined3d_calculate_format_pitch(), wined3d_check_depth_stencil_match(), wined3d_check_device_format(), wined3d_check_device_format_conversion(), wined3d_check_device_multisample_type(), wined3d_check_device_type(), wined3d_device_copy_resource(), wined3d_device_copy_sub_resource_region(), wined3d_device_reset(), wined3d_device_resolve_sub_resource(), wined3d_device_set_cursor_properties(), wined3d_device_set_index_buffer(), wined3d_dxt1_decode(), wined3d_dxt1_encode(), wined3d_dxt3_decode(), wined3d_dxt3_encode(), wined3d_dxt5_decode(), wined3d_dxt5_encode(), wined3d_enum_adapter_modes(), wined3d_find_closest_matching_adapter_mode(), wined3d_format_convert_from_float(), wined3d_format_get_color_key_conversion(), wined3d_format_get_float_color_key(), wined3d_get_adapter_display_mode(), wined3d_get_adapter_mode_count(), wined3d_get_format(), wined3d_render_target_view_cs_init(), wined3d_set_adapter_display_mode(), wined3d_shader_resource_view_cs_init(), wined3d_stream_info_from_declaration(), wined3d_surface_upload_data(), wined3d_swapchain_cs_init(), wined3d_swapchain_get_display_mode(), wined3d_swapchain_resize_buffers(), wined3d_texture_init(), wined3d_texture_update_desc(), and wined3d_unordered_access_view_clear_uint().
const char * debug_d3dinput_classification | ( | enum wined3d_input_classification | classification | ) |
Definition at line 4315 of file utils.c.
Referenced by dump_wined3d_vertex_element(), and wined3d_stream_info_from_declaration().
const char * debug_d3dprimitivetype | ( | enum wined3d_primitive_type | primitive_type | ) |
Definition at line 4346 of file utils.c.
Referenced by d3d_primitive_type_from_gl(), gl_primitive_type_from_d3d(), glsl_primitive_type_from_d3d(), wined3d_device_get_primitive_type(), and wined3d_device_set_primitive_type().
const char * debug_d3drenderstate | ( | enum wined3d_render_state | state | ) |
Definition at line 4370 of file utils.c.
Referenced by debug_d3dstate(), wined3d_device_get_render_state(), and wined3d_device_set_render_state().
const char * debug_d3dresourcetype | ( | enum wined3d_resource_type | resource_type | ) |
Definition at line 4329 of file utils.c.
Referenced by context_generate_rt_mask_from_resource(), context_set_fbo_key_for_render_target(), device_resource_released(), resource_init(), surface_set_compatible_renderbuffer(), wined3d_check_device_format(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_clear_rendertarget_view(), wined3d_device_copy_resource(), wined3d_device_copy_sub_resource_region(), wined3d_device_decref(), wined3d_device_resolve_sub_resource(), wined3d_device_update_sub_resource(), wined3d_render_target_view_cs_init(), wined3d_rendertarget_view_prepare_location(), wined3d_rendertarget_view_validate_location(), wined3d_resource_update_info(), wined3d_texture_create(), wined3d_texture_get_dc(), wined3d_texture_init(), wined3d_texture_release_dc(), wined3d_texture_unload(), wined3d_texture_update_desc(), and wined3d_unordered_access_view_clear_uint().
const char * debug_d3dsamplerstate | ( | enum wined3d_sampler_state | state | ) |
Definition at line 4514 of file utils.c.
Referenced by wined3d_device_get_sampler_state(), and wined3d_device_set_sampler_state().
const char * debug_d3dshaderinstructionhandler | ( | enum WINED3D_SHADER_INSTRUCTION_HANDLER | handler_idx | ) |
Definition at line 334 of file shader.c.
Referenced by shader_arb_handle_instruction(), shader_get_registers_used(), shader_glsl_binop(), shader_glsl_compare(), shader_glsl_handle_instruction(), shader_glsl_map2gl(), shader_glsl_sample(), shader_glsl_unary_op(), shader_hw_map2gl(), shader_hw_mnxn(), shader_hw_scalar_op(), shader_record_shader_phase(), and shader_sm1_validate_instruction().
Definition at line 4676 of file utils.c.
Referenced by compile_state_table(), state_cb_warn(), state_nop(), state_undefined(), and validate_state_table().
const char * debug_d3dtexturefiltertype | ( | enum wined3d_texture_filter_type | filter_type | ) |
Definition at line 4539 of file utils.c.
Referenced by surface_blt_fbo(), surface_blt_special(), surface_cpu_blt(), wined3d_surface_blt(), and wined3d_texture_blt().
const char * debug_d3dtexturestate | ( | enum wined3d_texture_stage_state | state | ) |
Definition at line 4559 of file utils.c.
Referenced by debug_d3dstate(), wined3d_device_get_texture_stage_state(), and wined3d_device_set_texture_stage_state().
const char * debug_d3dtop | ( | enum wined3d_texture_op | d3dtop | ) |
Definition at line 4589 of file utils.c.
Referenced by set_tex_op(), and set_tex_op_nvrc().
const char * debug_d3dtstype | ( | enum wined3d_transform_state | tstype | ) |
Definition at line 4627 of file utils.c.
Referenced by debug_d3dstate(), wined3d_device_get_transform(), wined3d_device_multiply_transform(), and wined3d_device_set_transform().
Definition at line 4217 of file utils.c.
Referenced by buffer_create_buffer_object(), wined3d_check_device_format(), wined3d_surface_blt(), and wined3d_texture_init().
Definition at line 4249 of file utils.c.
Referenced by wined3d_check_device_format().
Definition at line 4745 of file utils.c.
Referenced by context_dump_fbo_attachment().
Definition at line 4774 of file utils.c.
Referenced by context_check_fbo_status().
Definition at line 4796 of file utils.c.
Referenced by buffer_create_buffer_object(), match_allows_spec_alpha(), and wined3d_check_gl_call().
const char * debug_ivec4 | ( | const struct wined3d_ivec4 * | v | ) |
Definition at line 3956 of file utils.c.
Referenced by wined3d_device_set_ps_consts_i(), wined3d_device_set_vs_consts_i(), and wined3d_stateblock_capture().
const char * debug_shader_type | ( | enum wined3d_shader_type | shader_type | ) |
Definition at line 4658 of file utils.c.
Referenced by arb_get_helper_value(), and debug_d3dstate().
const char * debug_uvec4 | ( | const struct wined3d_uvec4 * | v | ) |
Definition at line 3964 of file utils.c.
Referenced by wined3d_device_clear_unordered_access_view_uint().
const char * debug_vec4 | ( | const struct wined3d_vec4 * | v | ) |
Definition at line 3972 of file utils.c.
Referenced by shader_arb_load_constants_f(), wined3d_device_set_ps_consts_f(), wined3d_device_set_vs_consts_f(), and wined3d_stateblock_capture().
void device_clear_render_targets | ( | struct wined3d_device * | device, |
UINT | rt_count, | ||
const struct wined3d_fb_state * | fb, | ||
UINT | rect_count, | ||
const RECT * | rects, | ||
const RECT * | draw_rect, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
Definition at line 224 of file device.c.
Referenced by ffp_blitter_clear().
BOOL device_context_add | ( | struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 146 of file device.c.
Referenced by context_create().
void device_context_remove | ( | struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 163 of file device.c.
Referenced by context_create(), and context_destroy().
HRESULT device_init | ( | struct wined3d_device * | device, |
struct wined3d * | wined3d, | ||
UINT | adapter_idx, | ||
enum wined3d_device_type | device_type, | ||
HWND | focus_window, | ||
DWORD | flags, | ||
BYTE | surface_alignment, | ||
struct wined3d_device_parent * | device_parent | ||
) |
Definition at line 5195 of file device.c.
void device_invalidate_state | ( | const struct wined3d_device * | device, |
DWORD | state | ||
) |
Definition at line 5263 of file device.c.
Referenced by buffer_destroy_buffer_object(), surface_load_fb_texture(), wined3d_cs_exec_draw(), wined3d_cs_exec_set_blend_state(), wined3d_cs_exec_set_clip_plane(), wined3d_cs_exec_set_color_key(), wined3d_cs_exec_set_constant_buffer(), wined3d_cs_exec_set_depth_stencil_view(), wined3d_cs_exec_set_index_buffer(), wined3d_cs_exec_set_light(), wined3d_cs_exec_set_light_enable(), wined3d_cs_exec_set_material(), wined3d_cs_exec_set_rasterizer_state(), wined3d_cs_exec_set_render_state(), wined3d_cs_exec_set_rendertarget_view(), wined3d_cs_exec_set_sampler(), wined3d_cs_exec_set_sampler_state(), wined3d_cs_exec_set_scissor_rect(), wined3d_cs_exec_set_shader(), wined3d_cs_exec_set_shader_resource_view(), wined3d_cs_exec_set_stream_output(), wined3d_cs_exec_set_stream_source(), wined3d_cs_exec_set_stream_source_freq(), wined3d_cs_exec_set_texture(), wined3d_cs_exec_set_texture_state(), wined3d_cs_exec_set_transform(), wined3d_cs_exec_set_unordered_access_view(), wined3d_cs_exec_set_vertex_declaration(), wined3d_cs_exec_set_viewport(), and wined3d_swapchain_rotate().
LRESULT device_process_message | ( | struct wined3d_device * | device, |
HWND | window, | ||
BOOL | unicode, | ||
UINT | message, | ||
WPARAM | wparam, | ||
LPARAM | lparam, | ||
WNDPROC | proc | ||
) |
Definition at line 5292 of file device.c.
Referenced by wined3d_wndproc().
void device_resource_add | ( | struct wined3d_device * | device, |
struct wined3d_resource * | resource | ||
) |
Definition at line 5081 of file device.c.
Referenced by resource_init().
void device_resource_released | ( | struct wined3d_device * | device, |
struct wined3d_resource * | resource | ||
) |
Definition at line 5099 of file device.c.
Referenced by resource_cleanup().
void dispatch_compute | ( | struct wined3d_device * | device, |
const struct wined3d_state * | state, | ||
const struct wined3d_dispatch_parameters * | dispatch_parameters | ||
) |
Definition at line 4327 of file context.c.
Referenced by wined3d_cs_exec_dispatch().
void draw_primitive | ( | struct wined3d_device * | device, |
const struct wined3d_state * | state, | ||
const struct wined3d_draw_parameters * | draw_parameters | ||
) |
Definition at line 4924 of file context.c.
Referenced by wined3d_cs_exec_draw().
void draw_textured_quad | ( | struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx, | ||
struct wined3d_context * | context, | ||
const RECT * | src_rect, | ||
const RECT * | dst_rect, | ||
enum wined3d_texture_filter_type | filter | ||
) |
Definition at line 188 of file surface.c.
Referenced by arbfp_blitter_blit(), and ffp_blitter_blit().
void dump_color_fixup_desc | ( | struct color_fixup_desc | fixup | ) |
Definition at line 4851 of file utils.c.
Referenced by apply_format_fixups(), arbfp_blit_supported(), and ffp_blit_supported().
void find_ds_compile_args | ( | const struct wined3d_state * | state, |
const struct wined3d_shader * | shader, | ||
struct ds_compile_args * | args, | ||
const struct wined3d_context * | context | ||
) |
Definition at line 3748 of file shader.c.
Referenced by set_glsl_shader_program().
const struct ffp_frag_desc * find_ffp_frag_shader | ( | const struct wine_rb_tree * | fragment_shaders, |
const struct ffp_frag_settings * | settings | ||
) |
Definition at line 6076 of file utils.c.
Referenced by fragment_prog_arbfp(), set_tex_op_atifs(), and shader_glsl_find_ffp_fragment_shader().
void find_gs_compile_args | ( | const struct wined3d_state * | state, |
const struct wined3d_shader * | shader, | ||
struct gs_compile_args * | args, | ||
const struct wined3d_context * | context | ||
) |
void find_ps_compile_args | ( | const struct wined3d_state * | state, |
const struct wined3d_shader * | shader, | ||
BOOL | position_transformed, | ||
struct ps_compile_args * | args, | ||
const struct wined3d_context * | context | ||
) |
Definition at line 3782 of file shader.c.
Referenced by find_arb_ps_compile_args(), and set_glsl_shader_program().
void find_vs_compile_args | ( | const struct wined3d_state * | state, |
const struct wined3d_shader * | shader, | ||
WORD | swizzle_map, | ||
struct vs_compile_args * | args, | ||
const struct wined3d_context * | context | ||
) |
Definition at line 3463 of file shader.c.
Referenced by find_arb_vs_compile_args(), and set_glsl_shader_program().
Definition at line 321 of file wined3d_private.h.
Definition at line 339 of file wined3d_private.h.
Referenced by convert_s8_uint_d24_float().
void gen_ffp_frag_op | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
struct ffp_frag_settings * | settings, | ||
BOOL | ignore_textype | ||
) |
Definition at line 5751 of file utils.c.
Referenced by fragment_prog_arbfp(), set_glsl_shader_program(), and set_tex_op_atifs().
|
inlinestatic |
Definition at line 254 of file wined3d_private.h.
Referenced by arbfp_blit_set(), arbfp_blit_supported(), calc_color_correction(), dump_color_fixup_desc(), and shader_glsl_color_correction_ext().
Definition at line 923 of file utils.c.
void get_fog_start_end | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
float * | start, | ||
float * | end | ||
) |
Definition at line 5179 of file utils.c.
Referenced by shader_glsl_load_fog_uniform(), and state_fogstartend().
void get_identity_matrix | ( | struct wined3d_matrix * | mat | ) |
Definition at line 4886 of file utils.c.
Referenced by compute_texture_matrix(), get_modelview_matrix(), and state_init_default().
void get_modelview_matrix | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
unsigned int | index, | ||
struct wined3d_matrix * | mat | ||
) |
Definition at line 4899 of file utils.c.
Referenced by shader_glsl_load_constants(), software_vertex_blending(), and transform_world().
void get_pointsize | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
float * | out_pointsize, | ||
float * | out_att | ||
) |
Definition at line 5147 of file utils.c.
Referenced by shader_glsl_pointsize_uniform(), and state_pscale().
void get_pointsize_minmax | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
float * | out_min, | ||
float * | out_max | ||
) |
Definition at line 5128 of file utils.c.
Referenced by shader_glsl_pointsize_uniform(), state_psizemin_arb(), state_psizemin_ext(), and state_psizemin_w().
void get_projection_matrix | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
struct wined3d_matrix * | mat | ||
) |
Definition at line 4908 of file utils.c.
Referenced by shader_glsl_load_constants(), and transform_projection().
void get_texture_matrix | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
unsigned int | tex, | ||
struct wined3d_matrix * | mat | ||
) |
Definition at line 5096 of file utils.c.
Referenced by shader_glsl_ffp_vertex_texmatrix_uniform(), and transform_texture().
GLenum gl_primitive_type_from_d3d | ( | enum wined3d_primitive_type | primitive_type | ) |
Definition at line 58 of file device.c.
Referenced by gl_tfb_primitive_type_from_d3d(), and wined3d_device_set_primitive_type().
void install_gl_compat_wrapper | ( | struct wined3d_gl_info * | gl_info, |
enum wined3d_gl_extension | ext | ||
) |
Definition at line 355 of file gl_compat.c.
Referenced by wined3d_adapter_init_gl_caps().
BOOL invert_matrix | ( | struct wined3d_matrix * | out, |
const struct wined3d_matrix * | m | ||
) |
Definition at line 5501 of file utils.c.
Referenced by get_normal_matrix(), shader_glsl_clip_plane_uniform(), and software_vertex_blending().
BOOL invert_matrix_3d | ( | struct wined3d_matrix * | out, |
const struct wined3d_matrix * | in | ||
) |
Definition at line 5431 of file utils.c.
Referenced by get_normal_matrix(), and software_vertex_blending().
|
inlinestatic |
Definition at line 236 of file wined3d_private.h.
Referenced by arbfp_blit_set(), arbfp_blit_supported(), calc_color_correction(), can_use_texture_swizzle(), dump_color_fixup_desc(), fbo_blitter_supported(), shader_arb_color_fixup_supported(), shader_glsl_color_correction_ext(), shader_glsl_color_fixup_supported(), and swapchain_blit().
|
inlinestatic |
Definition at line 231 of file wined3d_private.h.
Referenced by apply_format_fixups(), arbfp_blit_set(), arbfp_blit_supported(), atifs_color_fixup_supported(), fbo_blitter_supported(), ffp_blit_supported(), ffp_color_fixup_supported(), fp_none_color_fixup_supported(), gen_ati_shader(), nvts_color_fixup_supported(), PRINTF_ATTR(), surface_convert_format(), and wined3d_texture_bind().
BOOL is_invalid_op | ( | const struct wined3d_state * | state, |
int | stage, | ||
enum wined3d_texture_op | op, | ||
DWORD | arg1, | ||
DWORD | arg2, | ||
DWORD | arg3 | ||
) |
Definition at line 4865 of file utils.c.
Referenced by gen_ffp_frag_op(), set_tex_op(), and set_tex_op_nvrc().
|
inlinestatic |
Definition at line 4471 of file wined3d_private.h.
Referenced by draw_primitive(), glsl_vertex_pipe_geometry_shader(), set_glsl_shader_program(), and shader_glsl_generate_geometry_shader().
|
inlinestatic |
Definition at line 246 of file wined3d_private.h.
Referenced by atifs_color_fixup(), atifs_color_fixup_supported(), and wined3d_cs_exec_set_texture().
|
inlinestatic |
Definition at line 241 of file wined3d_private.h.
Referenced by can_use_texture_swizzle(), and fbo_blitter_supported().
|
inlinestatic |
Definition at line 3022 of file wined3d_private.h.
Referenced by apply_pixelshader(), clipplane(), context_apply_clear_state(), context_apply_draw_state(), context_invalidate_state(), context_state_drawbuf(), device_invalidate_state(), fragment_prog_arbfp(), glsl_fragment_pipe_vdecl(), glsl_vertex_pipe_view(), glsl_vertex_pipe_viewport(), glsl_vertex_pipe_vs(), nvrc_colorop(), nvrc_resultarg(), nvts_texdim(), sampler_texdim(), state_arbfp_fog(), state_blend(), state_colormat(), state_lighting(), state_normalize(), state_vertexblend(), state_zenable(), streamsrc(), tex_colorop(), tex_coordindex(), textransform(), transform_texture(), transform_view(), transform_worldex(), vdecl_miscpart(), vertexdeclaration(), and viewport_vertexpart().
void multiply_matrix | ( | struct wined3d_matrix * | dest, |
const struct wined3d_matrix * | src1, | ||
const struct wined3d_matrix * | src2 | ||
) |
Definition at line 5401 of file utils.c.
|
inlinestatic |
Definition at line 4462 of file wined3d_private.h.
Referenced by init_interpolation_compile_args(), and shader_glsl_declare_shader_outputs().
|
inlinestatic |
Definition at line 4430 of file wined3d_private.h.
Referenced by wined3d_texture_bind(), wined3d_texture_get_texture_name(), and wined3d_texture_load().
|
inlinestatic |
Definition at line 4441 of file wined3d_private.h.
Referenced by context_apply_clear_state(), device_clear_render_targets(), find_ps_compile_args(), gen_ffp_frag_op(), and state_srgbwrite().
enum wined3d_format_id pixelformat_for_depth | ( | DWORD | depth | ) |
Definition at line 5388 of file utils.c.
Referenced by wined3d_enum_adapter_modes(), wined3d_get_adapter_display_mode(), and wined3d_set_adapter_display_mode().
void pixelshader_update_resource_types | ( | struct wined3d_shader * | shader, |
WORD | tex_types | ||
) |
Definition at line 4073 of file shader.c.
Referenced by find_arb_pshader(), and find_glsl_pshader().
Definition at line 459 of file glsl_shader.c.
Referenced by draw_test_quad(), shader_glsl_compile(), and shader_glsl_validate_link().
void resource_cleanup | ( | struct wined3d_resource * | resource | ) |
Definition at line 237 of file resource.c.
Referenced by buffer_init(), wined3d_buffer_decref(), wined3d_texture_cleanup_sync(), and wined3d_texture_decref().
HRESULT resource_init | ( | struct wined3d_resource * | resource, |
struct wined3d_device * | device, | ||
enum wined3d_resource_type | type, | ||
const struct wined3d_format * | format, | ||
enum wined3d_multisample_type | multisample_type, | ||
unsigned int | multisample_quality, | ||
unsigned int | usage, | ||
unsigned int | access, | ||
unsigned int | width, | ||
unsigned int | height, | ||
unsigned int | depth, | ||
unsigned int | size, | ||
void * | parent, | ||
const struct wined3d_parent_ops * | parent_ops, | ||
const struct wined3d_resource_ops * | resource_ops | ||
) |
Definition at line 59 of file resource.c.
Referenced by buffer_init(), and wined3d_texture_init().
void resource_unload | ( | struct wined3d_resource * | resource | ) |
Definition at line 257 of file resource.c.
Referenced by buffer_unload(), and wined3d_texture_unload_gl_texture().
void sampler_texdim | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 6212 of file utils.c.
void set_tex_op_nvrc | ( | const struct wined3d_gl_info * | gl_info, |
const struct wined3d_state * | state, | ||
BOOL | is_alpha, | ||
int | stage, | ||
enum wined3d_texture_op | op, | ||
DWORD | arg1, | ||
DWORD | arg2, | ||
DWORD | arg3, | ||
INT | texture_idx, | ||
DWORD | dst | ||
) |
Definition at line 143 of file nvidia_texture_shader.c.
Referenced by nvrc_colorop(), and tex_alphaop().
int shader_addline | ( | struct wined3d_string_buffer * | buffer, |
const char * | fmt, | ||
... | |||
) |
|
inlinestatic |
Definition at line 4203 of file wined3d_private.h.
Referenced by shader_generate_arb_declarations(), and shader_glsl_get_register_name().
unsigned int shader_find_free_input_register | ( | const struct wined3d_shader_reg_maps * | reg_maps, |
unsigned int | max | ||
) |
HRESULT shader_generate_code | ( | const struct wined3d_shader * | shader, |
struct wined3d_string_buffer * | buffer, | ||
const struct wined3d_shader_reg_maps * | reg_maps, | ||
void * | backend_ctx, | ||
const DWORD * | start, | ||
const DWORD * | end | ||
) |
Definition at line 2558 of file shader.c.
Referenced by shader_arb_generate_pshader(), shader_arb_generate_vshader(), shader_glsl_generate_compute_shader(), shader_glsl_generate_domain_shader(), shader_glsl_generate_geometry_shader(), shader_glsl_generate_hull_shader(), shader_glsl_generate_pshader(), shader_glsl_generate_shader_phase(), and shader_glsl_generate_vshader().
|
inlinestatic |
Definition at line 4181 of file wined3d_private.h.
Referenced by shader_arb_vs_local_constants(), and shader_glsl_load_constants().
void shader_glsl_validate_link | ( | const struct wined3d_gl_info * | gl_info, |
GLuint | program | ||
) |
Definition at line 577 of file glsl_shader.c.
Referenced by draw_test_quad(), set_glsl_shader_program(), and shader_glsl_compile_compute_shader().
|
inlinestatic |
Definition at line 4142 of file wined3d_private.h.
Referenced by shader_glsl_conditional_move(), shader_glsl_get_swizzle(), and shader_glsl_get_write_mask().
BOOL shader_match_semantic | ( | const char * | semantic_name, |
enum wined3d_decl_usage | usage | ||
) |
Definition at line 377 of file shader.c.
Referenced by glsl_is_color_reg_read(), init_output_registers(), init_ps_input(), shader_glsl_generate_vs3_rasterizer_input_setup(), shader_glsl_input_pack(), and shader_glsl_setup_sm3_rasterizer_input().
void shader_resource_view_generate_mipmaps | ( | struct wined3d_shader_resource_view * | view | ) |
Definition at line 851 of file view.c.
Referenced by wined3d_cs_exec_generate_mipmaps().
Definition at line 464 of file shader.c.
Referenced by PRINTF_ATTR(), shader_addline(), and string_buffer_vsprintf().
void state_alpha_test | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 653 of file state.c.
void state_cleanup | ( | struct wined3d_state * | state | ) |
Definition at line 528 of file stateblock.c.
Referenced by device_init(), wined3d_cs_create(), wined3d_cs_destroy(), wined3d_cs_exec_reset_state(), wined3d_device_decref(), wined3d_device_reset(), and wined3d_stateblock_decref().
void state_clipping | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 709 of file state.c.
Referenced by vertexdeclaration().
void state_fog_fragpart | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 1131 of file state.c.
void state_fogcolor | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 1289 of file state.c.
void state_fogdensity | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_fogstartend | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 1115 of file state.c.
Referenced by state_arbfp_fog(), and state_fog_fragpart().
void state_init | ( | struct wined3d_state * | state, |
struct wined3d_fb_state * | fb, | ||
const struct wined3d_gl_info * | gl_info, | ||
const struct wined3d_d3d_info * | d3d_info, | ||
DWORD | flags | ||
) |
Definition at line 1310 of file stateblock.c.
Referenced by stateblock_init().
void state_nop | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_pointsprite | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_pointsprite_w | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_shademode | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_srgbwrite | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
void state_unbind_resources | ( | struct wined3d_state * | state | ) |
Definition at line 429 of file stateblock.c.
Referenced by state_cleanup(), wined3d_device_reset(), and wined3d_device_uninit_3d().
void stateblock_init_contained_states | ( | struct wined3d_stateblock * | stateblock | ) |
Definition at line 290 of file stateblock.c.
Referenced by stateblock_init(), and wined3d_device_end_stateblock().
void string_buffer_clear | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 422 of file shader.c.
Referenced by find_glsl_domain_shader(), find_glsl_geometry_shader(), find_glsl_hull_shader(), find_glsl_pshader(), find_glsl_vshader(), shader_glsl_compile_compute_shader(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_ffp_vertex_shader(), shader_glsl_generate_vs3_rasterizer_input_setup(), string_buffer_get(), string_buffer_init(), and string_buffer_vsprintf().
void string_buffer_free | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 441 of file shader.c.
Referenced by arbfp_gen_plain_shader(), find_arb_pshader(), find_arb_vshader(), gen_arbfp_ffp_shader(), gen_p8_shader(), gen_yuv_shader(), shader_glsl_alloc(), shader_glsl_free(), shader_trace_init(), and string_buffer_list_cleanup().
struct wined3d_string_buffer * string_buffer_get | ( | struct wined3d_string_buffer_list * | list | ) |
Definition at line 495 of file shader.c.
Referenced by set_glsl_shader_program(), shader_glsl_add_src_param_ext(), shader_glsl_atomic(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_get_sample_function(), shader_glsl_init_ps_uniform_locations(), shader_glsl_init_transform_feedback(), shader_glsl_init_uniform_block_bindings(), shader_glsl_init_vs_uniform_locations(), shader_glsl_ld_raw_structured(), shader_glsl_load_icb(), shader_glsl_load_images(), shader_glsl_load_samplers_range(), shader_glsl_setup_vs3_output(), and shader_glsl_store_raw_structured().
BOOL string_buffer_init | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 428 of file shader.c.
Referenced by arbfp_gen_plain_shader(), find_arb_pshader(), find_arb_vshader(), gen_arbfp_ffp_shader(), gen_p8_shader(), gen_yuv_shader(), shader_glsl_alloc(), shader_trace_init(), and string_buffer_get().
void string_buffer_list_cleanup | ( | struct wined3d_string_buffer_list * | list | ) |
Definition at line 555 of file shader.c.
Referenced by shader_glsl_free().
void string_buffer_list_init | ( | struct wined3d_string_buffer_list * | list | ) |
void string_buffer_release | ( | struct wined3d_string_buffer_list * | list, |
struct wined3d_string_buffer * | buffer | ||
) |
Definition at line 543 of file shader.c.
Referenced by set_glsl_shader_program(), shader_glsl_add_src_param_ext(), shader_glsl_atomic(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_init_ps_uniform_locations(), shader_glsl_init_transform_feedback(), shader_glsl_init_uniform_block_bindings(), shader_glsl_init_vs_uniform_locations(), shader_glsl_ld_raw_structured(), shader_glsl_load_icb(), shader_glsl_load_images(), shader_glsl_load_samplers_range(), shader_glsl_release_sample_function(), shader_glsl_setup_vs3_output(), and shader_glsl_store_raw_structured().
BOOL string_buffer_resize | ( | struct wined3d_string_buffer * | buffer, |
int | rc | ||
) |
Definition at line 446 of file shader.c.
Referenced by PRINTF_ATTR(), shader_addline(), and string_buffer_sprintf().
void string_buffer_sprintf | ( | struct wined3d_string_buffer * | buffer, |
const char * | format, | ||
... | |||
) |
|
inlinestatic |
Definition at line 3380 of file wined3d_private.h.
Referenced by arbfp_blitter_blit(), fb_copy_to_texture_hwstretch(), surface_load_renderbuffer(), and surface_load_texture().
|
inlinestatic |
Definition at line 3375 of file wined3d_private.h.
Referenced by arbfp_blitter_blit(), context_apply_fbo_state(), context_apply_fbo_state_blit(), context_restore(), cpu_blitter_blit(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), ffp_blitter_blit(), raw_blitter_blit(), read_from_framebuffer(), surface_blt_fbo(), surface_blt_special(), surface_depth_blt_fbo(), surface_download_data(), surface_get_sub_resource(), surface_load_drawable(), surface_load_fb_texture(), surface_load_renderbuffer(), surface_load_sysmem(), surface_load_texture(), surface_set_compatible_renderbuffer(), surface_upload_from_surface(), texture2d_create_dc(), texture2d_destroy_dc(), wined3d_surface_blt(), and wined3d_surface_upload_data().
void surface_load_fb_texture | ( | struct wined3d_surface * | surface, |
BOOL | srgb, | ||
struct wined3d_context * | context | ||
) |
Definition at line 1710 of file surface.c.
Referenced by arbfp_blitter_blit(), and surface_load_texture().
BOOL surface_load_location | ( | struct wined3d_surface * | surface, |
struct wined3d_context * | context, | ||
DWORD | location | ||
) |
Definition at line 2630 of file surface.c.
Referenced by texture2d_load_location().
void surface_set_compatible_renderbuffer | ( | struct wined3d_surface * | surface, |
const struct wined3d_rendertarget_info * | rt | ||
) |
Definition at line 981 of file surface.c.
Referenced by context_find_fbo_entry().
void surface_translate_drawable_coords | ( | const struct wined3d_surface * | surface, |
HWND | window, | ||
RECT * | rect | ||
) |
Definition at line 2164 of file surface.c.
Referenced by arbfp_blitter_blit(), ffp_blitter_blit(), and surface_blt_fbo().
void swapchain_destroy_contexts | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1079 of file swapchain.c.
Referenced by wined3d_device_delete_opengl_contexts_cs(), and wined3d_swapchain_destroy_object().
HDC swapchain_get_backup_dc | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1107 of file swapchain.c.
Referenced by context_create(), and context_set_gl_context().
struct wined3d_context * swapchain_get_context | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1092 of file swapchain.c.
Referenced by context_acquire().
void swapchain_update_draw_bindings | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1132 of file swapchain.c.
Referenced by context_validate_onscreen_formats(), swapchain_gl_present(), and wined3d_swapchain_resize_buffers().
void swapchain_update_swap_interval | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1144 of file swapchain.c.
Referenced by wined3d_cs_exec_present(), and wined3d_device_reset().
void tex_alphaop | ( | struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
DWORD | state_id | ||
) |
Definition at line 3215 of file state.c.
void texture_activate_dimensions | ( | const struct wined3d_texture * | texture, |
const struct wined3d_gl_info * | gl_info | ||
) |
Definition at line 6097 of file utils.c.
Referenced by nvrc_colorop(), sampler_texdim(), set_tex_op_atifs(), and tex_colorop().
|
inlinestatic |
Definition at line 3228 of file wined3d_private.h.
Referenced by context_bind_unordered_access_views(), context_generate_rt_mask_from_resource(), context_load_shader_resources(), context_load_unordered_access_resources(), context_resource_released(), device_clear_render_targets(), device_resource_released(), ffp_blitter_use_cpu_clear(), shader_resource_view_generate_mipmaps(), surface_cpu_blt_colour_fill(), texture_resource_decref(), texture_resource_incref(), texture_resource_preload(), texture_resource_sub_resource_map(), texture_resource_sub_resource_map_info(), texture_resource_sub_resource_unmap(), validate_resource_view(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_clear_rendertarget_view(), wined3d_device_copy_resource(), wined3d_device_copy_sub_resource_region(), wined3d_device_resolve_sub_resource(), wined3d_device_update_sub_resource(), wined3d_render_target_view_cs_init(), wined3d_rendertarget_view_get_drawable_size(), wined3d_rendertarget_view_get_sub_resource_parent(), wined3d_rendertarget_view_get_surface(), wined3d_rendertarget_view_init(), wined3d_rendertarget_view_load_location(), wined3d_rendertarget_view_prepare_location(), wined3d_rendertarget_view_validate_location(), wined3d_resource_is_offscreen(), wined3d_resource_update_info(), wined3d_shader_resource_view_cs_init(), wined3d_shader_resource_view_generate_mipmaps(), wined3d_texture_from_resource(), wined3d_texture_unload(), wined3d_unordered_access_view_cs_init(), and wined3d_view_invalidate_location().
void transpose_matrix | ( | struct wined3d_matrix * | out, |
const struct wined3d_matrix * | m | ||
) |
|
inlinestatic |
Definition at line 4381 of file wined3d_private.h.
Referenced by draw_primitive(), software_vertex_blending(), and wined3d_ffp_get_vs_settings().
|
inlinestatic |
Definition at line 4417 of file wined3d_private.h.
Referenced by apply_pixelshader(), color_key_arbfp(), context_preload_textures(), context_update_tex_unit_map(), draw_primitive_immediate_mode(), find_arb_vs_compile_args(), fragment_prog_arbfp(), get_texture_matrix(), glsl_fragment_pipe_shader(), glsl_vertex_pipe_vdecl(), nvrc_colorop(), set_bumpmat_arbfp(), set_glsl_shader_program(), shader_arb_load_constants(), shader_arb_select(), shader_glsl_select(), shader_none_select(), state_arb_specularenable(), state_texfactor_arbfp(), state_tss_constant_arbfp(), tex_bumpenvlum_arbfp(), tex_colorop(), and vertexdeclaration().
|
inlinestatic |
Definition at line 4395 of file wined3d_private.h.
Referenced by draw_primitive(), software_vertex_blending(), wined3d_device_get_device_caps(), and wined3d_ffp_get_vs_settings().
|
inlinestatic |
Definition at line 4409 of file wined3d_private.h.
Referenced by clipplane(), context_preload_textures(), context_update_stream_info(), context_update_tex_unit_map(), draw_primitive(), draw_primitive_immediate_mode(), find_arb_ps_compile_args(), find_ps_compile_args(), gen_ffp_frag_op(), glsl_fragment_pipe_fog(), glsl_vertex_pipe_pointscale(), glsl_vertex_pipe_vdecl(), load_numbered_arrays(), set_glsl_shader_program(), shader_arb_load_constants(), shader_arb_select(), shader_glsl_clip_plane_uniform(), shader_glsl_select(), shader_none_select(), state_arbfp_fog(), state_clipping(), state_fog_fragpart(), streamsrc(), transform_texture(), vertexdeclaration(), wined3d_buffer_load(), and wined3d_stream_info_from_declaration().
BOOL vshader_get_input | ( | const struct wined3d_shader * | shader, |
BYTE | usage_req, | ||
BYTE | usage_idx_req, | ||
unsigned int * | regnum | ||
) |
Definition at line 3510 of file shader.c.
Referenced by wined3d_stream_info_from_declaration().
BOOL wined3d_adapter_init_format_info | ( | struct wined3d_adapter * | adapter, |
struct wined3d_caps_gl_ctx * | ctx | ||
) |
Definition at line 3803 of file utils.c.
Referenced by wined3d_adapter_init(), and wined3d_adapter_init_nogl().
void wined3d_arbfp_blitter_create | ( | struct wined3d_blitter ** | next, |
const struct wined3d_device * | device | ||
) |
Definition at line 7915 of file arb_program_shader.c.
Referenced by wined3d_device_create_primary_opengl_context_cs().
Definition at line 6526 of file utils.c.
Referenced by buffer_invalidate_bo_range(), context_free_fence(), context_free_occlusion_query(), context_free_pipeline_statistics_query(), context_free_so_statistics_query(), context_free_timestamp_query(), shader_record_shader_phase(), shader_reg_maps_add_tgsm(), and wined3d_register_window().
Definition at line 4477 of file wined3d_private.h.
Referenced by context_apply_compute_state(), context_enable_clip_distances(), and find_draw_buffers_mask().
void wined3d_buffer_copy | ( | struct wined3d_buffer * | dst_buffer, |
unsigned int | dst_offset, | ||
struct wined3d_buffer * | src_buffer, | ||
unsigned int | src_offset, | ||
unsigned int | size | ||
) |
Definition at line 1195 of file buffer.c.
Referenced by wined3d_cs_exec_blt_sub_resource().
DWORD wined3d_buffer_get_memory | ( | struct wined3d_buffer * | buffer, |
struct wined3d_bo_address * | data, | ||
DWORD | locations | ||
) |
Definition at line 713 of file buffer.c.
Referenced by context_update_stream_info(), wined3d_buffer_copy(), and wined3d_unordered_access_view_copy_counter().
void wined3d_buffer_invalidate_location | ( | struct wined3d_buffer * | buffer, |
DWORD | location | ||
) |
Definition at line 130 of file buffer.c.
Referenced by buffer_unload(), context_load_stream_output_buffers(), wined3d_buffer_evict_sysmem(), wined3d_buffer_load_location(), wined3d_cs_exec_update_sub_resource(), wined3d_unordered_access_view_copy_counter(), and wined3d_view_invalidate_location().
void wined3d_buffer_load | ( | struct wined3d_buffer * | buffer, |
struct wined3d_context * | context, | ||
const struct wined3d_state * | state | ||
) |
Definition at line 887 of file buffer.c.
Referenced by buffer_resource_preload(), context_apply_draw_state(), context_load_shader_resources(), context_load_stream_output_buffers(), context_update_stream_info(), dispatch_compute(), and draw_primitive().
BOOL wined3d_buffer_load_location | ( | struct wined3d_buffer * | buffer, |
struct wined3d_context * | context, | ||
DWORD | location | ||
) |
Definition at line 641 of file buffer.c.
Referenced by buffer_conversion_upload(), buffer_unload(), context_load_unordered_access_resources(), create_buffer_texture(), wined3d_buffer_load(), wined3d_buffer_load_location(), wined3d_buffer_load_sysmem(), wined3d_buffer_map(), wined3d_cs_exec_update_sub_resource(), wined3d_rendertarget_view_load_location(), and wined3d_unordered_access_view_clear_uint().
BYTE * wined3d_buffer_load_sysmem | ( | struct wined3d_buffer * | buffer, |
struct wined3d_context * | context | ||
) |
Definition at line 706 of file buffer.c.
Referenced by context_apply_draw_state(), context_update_stream_info(), draw_primitive_arrays(), draw_primitive_immediate_mode(), load_numbered_arrays(), and remove_vbos().
void wined3d_buffer_upload_data | ( | struct wined3d_buffer * | buffer, |
struct wined3d_context * | context, | ||
const struct wined3d_box * | box, | ||
const void * | data | ||
) |
Definition at line 1219 of file buffer.c.
Referenced by wined3d_cs_exec_update_sub_resource().
BOOL wined3d_caps_gl_ctx_test_viewport_subpixel_bits | ( | struct wined3d_caps_gl_ctx * | ctx | ) |
Definition at line 3632 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 1807 of file context.c.
Definition at line 6458 of file utils.c.
Referenced by swapchain_gl_present().
|
inlinestatic |
Definition at line 1447 of file wined3d_private.h.
Referenced by atifs_stage_constant(), atifs_tfactor(), draw_primitive_immediate_mode(), nvrc_texfactor(), shader_glsl_ffp_vertex_lightambient_uniform(), shader_glsl_load_constants(), shader_glsl_load_fog_uniform(), state_ambient(), state_blendfactor(), state_fogcolor(), state_texfactor(), state_texfactor_arbfp(), state_tss_constant_arbfp(), and wined3d_sampler_desc_from_sampler_states().
|
inlinestatic |
Definition at line 1485 of file wined3d_private.h.
struct wined3d_blitter * wined3d_cpu_blitter_create | ( | void | ) |
Definition at line 3983 of file surface.c.
Referenced by wined3d_device_create_primary_opengl_context_cs(), and wined3d_device_init_gdi().
struct wined3d_cs * wined3d_cs_create | ( | struct wined3d_device * | device | ) |
Definition at line 2828 of file cs.c.
Referenced by device_init().
void wined3d_cs_destroy | ( | struct wined3d_cs * | cs | ) |
Definition at line 2885 of file cs.c.
Referenced by wined3d_device_decref().
void wined3d_cs_destroy_object | ( | struct wined3d_cs * | cs, |
void(*)(void *object) | callback, | ||
void * | object | ||
) |
Definition at line 1885 of file cs.c.
Referenced by resource_cleanup(), swapchain_cleanup(), swapchain_init(), wined3d_blend_state_decref(), wined3d_buffer_decref(), wined3d_device_delete_opengl_contexts(), wined3d_palette_decref(), wined3d_query_decref(), wined3d_rasterizer_state_decref(), wined3d_rendertarget_view_decref(), wined3d_sampler_decref(), wined3d_shader_decref(), wined3d_shader_resource_view_decref(), wined3d_texture_decref(), wined3d_texture_release_dc(), wined3d_texture_update_desc(), wined3d_unordered_access_view_decref(), and wined3d_vertex_declaration_decref().
void wined3d_cs_emit_add_dirty_texture_region | ( | struct wined3d_cs * | cs, |
struct wined3d_texture * | texture, | ||
unsigned int | layer | ||
) |
Definition at line 2353 of file cs.c.
Referenced by wined3d_texture_add_dirty_region().
void wined3d_cs_emit_blt_sub_resource | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | dst_resource, | ||
unsigned int | dst_sub_resource_idx, | ||
const struct wined3d_box * | dst_box, | ||
struct wined3d_resource * | src_resource, | ||
unsigned int | src_sub_resource_idx, | ||
const struct wined3d_box * | src_box, | ||
DWORD | flags, | ||
const struct wined3d_blt_fx * | fx, | ||
enum wined3d_texture_filter_type | filter | ||
) |
Definition at line 2172 of file cs.c.
Referenced by wined3d_device_copy_resource(), wined3d_device_copy_sub_resource_region(), wined3d_device_update_texture(), and wined3d_texture_blt().
void wined3d_cs_emit_clear | ( | struct wined3d_cs * | cs, |
DWORD | rect_count, | ||
const RECT * | rects, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
Definition at line 536 of file cs.c.
Referenced by wined3d_device_clear().
void wined3d_cs_emit_clear_rendertarget_view | ( | struct wined3d_cs * | cs, |
struct wined3d_rendertarget_view * | view, | ||
const RECT * | rect, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
void wined3d_cs_emit_clear_unordered_access_view_uint | ( | struct wined3d_cs * | cs, |
struct wined3d_unordered_access_view * | view, | ||
const struct wined3d_uvec4 * | clear_value | ||
) |
Definition at line 2381 of file cs.c.
Referenced by wined3d_device_clear_unordered_access_view_uint().
void wined3d_cs_emit_copy_uav_counter | ( | struct wined3d_cs * | cs, |
struct wined3d_buffer * | dst_buffer, | ||
unsigned int | offset, | ||
struct wined3d_unordered_access_view * | uav | ||
) |
Definition at line 2410 of file cs.c.
Referenced by wined3d_device_copy_uav_counter().
void wined3d_cs_emit_dispatch | ( | struct wined3d_cs * | cs, |
unsigned int | group_count_x, | ||
unsigned int | group_count_y, | ||
unsigned int | group_count_z | ||
) |
Definition at line 738 of file cs.c.
Referenced by wined3d_device_dispatch_compute().
void wined3d_cs_emit_dispatch_indirect | ( | struct wined3d_cs * | cs, |
struct wined3d_buffer * | buffer, | ||
unsigned int | offset | ||
) |
Definition at line 756 of file cs.c.
Referenced by wined3d_device_dispatch_compute_indirect().
void wined3d_cs_emit_draw | ( | struct wined3d_cs * | cs, |
GLenum | primitive_type, | ||
unsigned int | patch_vertex_count, | ||
int | base_vertex_idx, | ||
unsigned int | start_idx, | ||
unsigned int | index_count, | ||
unsigned int | start_instance, | ||
unsigned int | instance_count, | ||
BOOL | indexed | ||
) |
Definition at line 873 of file cs.c.
Referenced by wined3d_device_draw_indexed_primitive(), wined3d_device_draw_indexed_primitive_instanced(), wined3d_device_draw_primitive(), and wined3d_device_draw_primitive_instanced().
void wined3d_cs_emit_draw_indirect | ( | struct wined3d_cs * | cs, |
GLenum | primitive_type, | ||
unsigned int | patch_vertex_count, | ||
struct wined3d_buffer * | buffer, | ||
unsigned int | offset, | ||
BOOL | indexed | ||
) |
Definition at line 898 of file cs.c.
Referenced by wined3d_device_draw_indexed_primitive_instanced_indirect(), and wined3d_device_draw_primitive_instanced_indirect().
void wined3d_cs_emit_flush | ( | struct wined3d_cs * | cs | ) |
Definition at line 930 of file cs.c.
Referenced by wined3d_device_end_scene(), and wined3d_query_get_data().
void wined3d_cs_emit_generate_mipmaps | ( | struct wined3d_cs * | cs, |
struct wined3d_shader_resource_view * | view | ||
) |
Definition at line 2436 of file cs.c.
Referenced by wined3d_shader_resource_view_generate_mipmaps().
void wined3d_cs_emit_preload_resource | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | resource | ||
) |
Definition at line 1956 of file cs.c.
Referenced by wined3d_resource_preload().
void wined3d_cs_emit_present | ( | struct wined3d_cs * | cs, |
struct wined3d_swapchain * | swapchain, | ||
const RECT * | src_rect, | ||
const RECT * | dst_rect, | ||
HWND | dst_window_override, | ||
DWORD | swap_interval, | ||
DWORD | flags | ||
) |
Definition at line 477 of file cs.c.
Referenced by wined3d_swapchain_present().
void wined3d_cs_emit_query_issue | ( | struct wined3d_cs * | cs, |
struct wined3d_query * | query, | ||
DWORD | flags | ||
) |
Definition at line 1934 of file cs.c.
Referenced by wined3d_query_issue().
void wined3d_cs_emit_reset_state | ( | struct wined3d_cs * | cs | ) |
Definition at line 1856 of file cs.c.
Referenced by wined3d_device_reset().
void wined3d_cs_emit_set_blend_state | ( | struct wined3d_cs * | cs, |
struct wined3d_blend_state * | state | ||
) |
Definition at line 1457 of file cs.c.
Referenced by wined3d_device_set_blend_state().
void wined3d_cs_emit_set_clip_plane | ( | struct wined3d_cs * | cs, |
UINT | plane_idx, | ||
const struct wined3d_vec4 * | plane | ||
) |
Definition at line 1582 of file cs.c.
Referenced by wined3d_device_set_clip_plane().
void wined3d_cs_emit_set_color_key | ( | struct wined3d_cs * | cs, |
struct wined3d_texture * | texture, | ||
WORD | flags, | ||
const struct wined3d_color_key * | color_key | ||
) |
Definition at line 1657 of file cs.c.
Referenced by wined3d_texture_set_color_key().
void wined3d_cs_emit_set_constant_buffer | ( | struct wined3d_cs * | cs, |
enum wined3d_shader_type | type, | ||
UINT | cb_idx, | ||
struct wined3d_buffer * | buffer | ||
) |
Definition at line 1228 of file cs.c.
Referenced by wined3d_device_set_constant_buffer().
void wined3d_cs_emit_set_depth_stencil_view | ( | struct wined3d_cs * | cs, |
struct wined3d_rendertarget_view * | view | ||
) |
Definition at line 1057 of file cs.c.
Referenced by wined3d_device_set_depth_stencil_view().
void wined3d_cs_emit_set_index_buffer | ( | struct wined3d_cs * | cs, |
struct wined3d_buffer * | buffer, | ||
enum wined3d_format_id | format_id, | ||
unsigned int | offset | ||
) |
Definition at line 1198 of file cs.c.
Referenced by wined3d_device_set_index_buffer().
void wined3d_cs_emit_set_light | ( | struct wined3d_cs * | cs, |
const struct wined3d_light_info * | light | ||
) |
Definition at line 1733 of file cs.c.
Referenced by wined3d_device_set_light().
Definition at line 1766 of file cs.c.
Referenced by wined3d_device_set_light_enable().
void wined3d_cs_emit_set_material | ( | struct wined3d_cs * | cs, |
const struct wined3d_material * | material | ||
) |
Definition at line 1685 of file cs.c.
Referenced by wined3d_device_set_material().
void wined3d_cs_emit_set_predication | ( | struct wined3d_cs * | cs, |
struct wined3d_query * | predicate, | ||
BOOL | value | ||
) |
Definition at line 949 of file cs.c.
Referenced by wined3d_device_set_predication().
void wined3d_cs_emit_set_rasterizer_state | ( | struct wined3d_cs * | cs, |
struct wined3d_rasterizer_state * | rasterizer_state | ||
) |
Definition at line 1476 of file cs.c.
Referenced by wined3d_device_set_rasterizer_state().
void wined3d_cs_emit_set_render_state | ( | struct wined3d_cs * | cs, |
enum wined3d_render_state | state, | ||
DWORD | value | ||
) |
Definition at line 1496 of file cs.c.
Referenced by wined3d_device_set_render_state().
void wined3d_cs_emit_set_rendertarget_view | ( | struct wined3d_cs * | cs, |
unsigned int | view_idx, | ||
struct wined3d_rendertarget_view * | view | ||
) |
Definition at line 1007 of file cs.c.
Referenced by wined3d_device_set_rendertarget_view().
void wined3d_cs_emit_set_sampler | ( | struct wined3d_cs * | cs, |
enum wined3d_shader_type | type, | ||
UINT | sampler_idx, | ||
struct wined3d_sampler * | sampler | ||
) |
Definition at line 1411 of file cs.c.
Referenced by wined3d_device_set_sampler().
void wined3d_cs_emit_set_sampler_state | ( | struct wined3d_cs * | cs, |
UINT | sampler_idx, | ||
enum wined3d_sampler_state | state, | ||
DWORD | value | ||
) |
Definition at line 1538 of file cs.c.
Referenced by wined3d_device_set_sampler_state(), and wined3d_texture_set_lod().
void wined3d_cs_emit_set_scissor_rect | ( | struct wined3d_cs * | cs, |
const RECT * | rect | ||
) |
Definition at line 988 of file cs.c.
Referenced by wined3d_device_reset(), wined3d_device_set_rendertarget_view(), and wined3d_device_set_scissor_rect().
void wined3d_cs_emit_set_shader | ( | struct wined3d_cs * | cs, |
enum wined3d_shader_type | type, | ||
struct wined3d_shader * | shader | ||
) |
Definition at line 1437 of file cs.c.
Referenced by wined3d_device_set_compute_shader(), wined3d_device_set_domain_shader(), wined3d_device_set_geometry_shader(), wined3d_device_set_hull_shader(), wined3d_device_set_pixel_shader(), and wined3d_device_set_vertex_shader().
void wined3d_cs_emit_set_shader_resource_view | ( | struct wined3d_cs * | cs, |
enum wined3d_shader_type | type, | ||
UINT | view_idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
Definition at line 1352 of file cs.c.
Referenced by wined3d_device_set_shader_resource_view().
void wined3d_cs_emit_set_stream_output | ( | struct wined3d_cs * | cs, |
UINT | stream_idx, | ||
struct wined3d_buffer * | buffer, | ||
UINT | offset | ||
) |
Definition at line 1166 of file cs.c.
Referenced by wined3d_device_set_stream_output().
void wined3d_cs_emit_set_stream_source | ( | struct wined3d_cs * | cs, |
UINT | stream_idx, | ||
struct wined3d_buffer * | buffer, | ||
UINT | offset, | ||
UINT | stride | ||
) |
Definition at line 1107 of file cs.c.
Referenced by wined3d_device_set_stream_source().
void wined3d_cs_emit_set_stream_source_freq | ( | struct wined3d_cs * | cs, |
UINT | stream_idx, | ||
UINT | frequency, | ||
UINT | flags | ||
) |
Definition at line 1134 of file cs.c.
Referenced by wined3d_device_set_stream_source_freq().
void wined3d_cs_emit_set_texture | ( | struct wined3d_cs * | cs, |
UINT | stage, | ||
struct wined3d_texture * | texture | ||
) |
Definition at line 1321 of file cs.c.
Referenced by wined3d_device_set_texture().
void wined3d_cs_emit_set_texture_state | ( | struct wined3d_cs * | cs, |
UINT | stage, | ||
enum wined3d_texture_stage_state | state, | ||
DWORD | value | ||
) |
Definition at line 1516 of file cs.c.
Referenced by wined3d_device_set_texture_stage_state().
void wined3d_cs_emit_set_transform | ( | struct wined3d_cs * | cs, |
enum wined3d_transform_state | state, | ||
const struct wined3d_matrix * | matrix | ||
) |
Definition at line 1561 of file cs.c.
Referenced by wined3d_device_set_transform().
void wined3d_cs_emit_set_unordered_access_view | ( | struct wined3d_cs * | cs, |
enum wined3d_pipeline | pipeline, | ||
unsigned int | view_idx, | ||
struct wined3d_unordered_access_view * | view, | ||
unsigned int | initial_count | ||
) |
Definition at line 1385 of file cs.c.
Referenced by wined3d_device_set_pipeline_unordered_access_view().
void wined3d_cs_emit_set_vertex_declaration | ( | struct wined3d_cs * | cs, |
struct wined3d_vertex_declaration * | declaration | ||
) |
Definition at line 1076 of file cs.c.
Referenced by wined3d_device_set_vertex_declaration().
void wined3d_cs_emit_set_viewport | ( | struct wined3d_cs * | cs, |
const struct wined3d_viewport * | viewport | ||
) |
Definition at line 969 of file cs.c.
Referenced by wined3d_device_reset(), wined3d_device_set_rendertarget_view(), and wined3d_device_set_viewport().
void wined3d_cs_emit_unload_resource | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | resource | ||
) |
Definition at line 1978 of file cs.c.
Referenced by wined3d_device_delete_opengl_contexts_cs(), wined3d_device_evict_managed_resources(), and wined3d_texture_update_desc().
void wined3d_cs_emit_update_sub_resource | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | resource, | ||
unsigned int | sub_resource_idx, | ||
const struct wined3d_box * | box, | ||
const void * | data, | ||
unsigned int | row_pitch, | ||
unsigned int | slice_pitch | ||
) |
Definition at line 2260 of file cs.c.
Referenced by wined3d_device_update_sub_resource().
void wined3d_cs_init_object | ( | struct wined3d_cs * | cs, |
void(*)(void *object) | callback, | ||
void * | object | ||
) |
Definition at line 1890 of file cs.c.
Referenced by shader_init(), swapchain_init(), swapchain_update_swap_interval(), texture_init(), wined3d_device_create_primary_opengl_context(), wined3d_rendertarget_view_init(), wined3d_sampler_init(), wined3d_shader_resource_view_init(), wined3d_texture_get_dc(), wined3d_texture_update_desc(), and wined3d_unordered_access_view_init().
HRESULT wined3d_cs_map | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | resource, | ||
unsigned int | sub_resource_idx, | ||
struct wined3d_map_desc * | map_desc, | ||
const struct wined3d_box * | box, | ||
unsigned int | flags | ||
) |
|
inlinestatic |
Definition at line 3677 of file wined3d_private.h.
HRESULT wined3d_cs_unmap | ( | struct wined3d_cs * | cs, |
struct wined3d_resource * | resource, | ||
unsigned int | sub_resource_idx | ||
) |
Definition at line 6396 of file utils.c.
Referenced by raw_blitter_blit(), surface_blt_fbo(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_depth_blt_fbo(), surface_load_drawable(), surface_load_location(), surface_load_renderbuffer(), surface_load_sysmem(), texture1d_load_location(), texture3d_load_location(), texture_resource_sub_resource_map(), wined3d_buffer_get_memory(), wined3d_buffer_invalidate_range(), wined3d_buffer_load_location(), wined3d_buffer_prepare_location(), wined3d_buffer_validate_location(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_texture_get_memory(), wined3d_texture_invalidate_location(), wined3d_texture_load(), wined3d_texture_load_location(), wined3d_texture_prepare_location(), wined3d_texture_update_map_binding(), and wined3d_texture_validate_location().
Definition at line 4200 of file utils.c.
Referenced by resource_init(), texture1d_init(), volumetexture_init(), wined3d_texture_init(), wined3d_texture_set_lod(), and wined3d_texture_unload().
|
inlinestatic |
Definition at line 2874 of file wined3d_private.h.
Referenced by find_draw_buffers_mask(), find_ps_compile_args(), set_glsl_shader_program(), and state_blend().
Definition at line 461 of file dxtn.c.
Referenced by wined3d_dll_init().
|
inlinestatic |
Definition at line 4484 of file wined3d_private.h.
Referenced by shader_generate_arb_declarations(), and wined3d_extract_interpolation_mode().
void wined3d_fbo_blitter_create | ( | struct wined3d_blitter ** | next, |
const struct wined3d_gl_info * | gl_info | ||
) |
Definition at line 2734 of file surface.c.
Referenced by wined3d_device_create_primary_opengl_context_cs().
HRESULT wined3d_fence_create | ( | struct wined3d_device * | device, |
struct wined3d_fence ** | fence | ||
) |
Definition at line 303 of file query.c.
Referenced by buffer_sync_apple().
void wined3d_fence_destroy | ( | struct wined3d_fence * | fence | ) |
Definition at line 286 of file query.c.
Referenced by buffer_destroy_buffer_object(), and buffer_sync_apple().
void wined3d_fence_issue | ( | struct wined3d_fence * | fence, |
const struct wined3d_device * | device | ||
) |
Definition at line 244 of file query.c.
Referenced by draw_primitive(), and wined3d_event_query_ops_issue().
enum wined3d_fence_result wined3d_fence_wait | ( | const struct wined3d_fence * | fence, |
const struct wined3d_device * | device | ||
) |
Definition at line 169 of file query.c.
Referenced by buffer_sync_apple().
void wined3d_ffp_blitter_create | ( | struct wined3d_blitter ** | next, |
const struct wined3d_gl_info * | gl_info | ||
) |
Definition at line 3170 of file surface.c.
Referenced by wined3d_device_create_primary_opengl_context_cs().
Definition at line 6230 of file utils.c.
Referenced by arbfp_alloc(), atifs_alloc(), and glsl_fragment_pipe_alloc().
void wined3d_ffp_get_vs_settings | ( | const struct wined3d_context * | context, |
const struct wined3d_state * | state, | ||
struct wined3d_ffp_vs_settings * | settings | ||
) |
Definition at line 6238 of file utils.c.
Referenced by set_glsl_shader_program().