|
ReactOS 0.4.17-dev-966-gf06eace
|
#include <assert.h>#include <stdarg.h>#include <stdbool.h>#include <sys/types.h>#include <math.h>#include <limits.h>#include <float.h>#include <vkd3d_shader.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 "objbase.h"#include "wine/wined3d.h"#include "wine/list.h"#include "wine/rbtree.h"#include <pshpack2.h>#include <poppack.h>

Go to the source code of this file.
Typedefs | |
| typedef void(* | SHADER_HANDLER) (const struct wined3d_shader_instruction *) |
| typedef void(* | APPLYSTATEFUNC) (struct wined3d_context *ctx, const struct wined3d_state *state, DWORD state_id) |
| #define ARG_UNUSED 0xff |
Definition at line 2652 of file wined3d_private.h.
| #define CLIENT_BO_DISCARDED ((struct wined3d_bo *)~(UINT_PTR)0) |
Definition at line 3204 of file wined3d_private.h.
| #define COBJMACROS |
Definition at line 39 of file wined3d_private.h.
Definition at line 1561 of file wined3d_private.h.
Definition at line 1560 of file wined3d_private.h.
Definition at line 1559 of file wined3d_private.h.
Definition at line 1558 of file wined3d_private.h.
Definition at line 1709 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 1711 of file wined3d_private.h.
| #define GL_EXT_EMUL_ARB_MULTITEXTURE 0x00000001 |
Definition at line 1949 of file wined3d_private.h.
| #define GL_EXT_EMUL_EXT_FOG_COORD 0x00000002 |
Definition at line 1950 of file wined3d_private.h.
| #define LIBVKD3D_SHADER_SOURCE |
Definition at line 35 of file wined3d_private.h.
Definition at line 97 of file wined3d_private.h.
| #define MAX_ATTRIBS 32 |
Definition at line 793 of file wined3d_private.h.
| #define MAX_CONSTANT_BUFFERS 15 |
Definition at line 304 of file wined3d_private.h.
| #define MAX_IMMEDIATE_CONSTANT_BUFFER_SIZE 4096 |
Definition at line 804 of file wined3d_private.h.
| #define MAX_LABELS 16 |
Definition at line 802 of file wined3d_private.h.
| #define MAX_PERSISTENT_MAPPED_BYTES (128 * 1024 * 1024) |
Definition at line 2597 of file wined3d_private.h.
| #define MAX_REG_ADDR 1 |
Definition at line 794 of file wined3d_private.h.
| #define MAX_REG_INPUT 32 |
Definition at line 796 of file wined3d_private.h.
| #define MAX_REG_OUTPUT 32 |
Definition at line 797 of file wined3d_private.h.
| #define MAX_REG_TEXCRD 8 |
Definition at line 795 of file wined3d_private.h.
| #define MAX_SAMPLER_OBJECTS 16 |
Definition at line 305 of file wined3d_private.h.
| #define MAX_SHADER_RESOURCE_VIEWS 128 |
Definition at line 306 of file wined3d_private.h.
| #define MAX_TGSM_REGISTERS 8192 |
Definition at line 308 of file wined3d_private.h.
| #define MAX_UNORDERED_ACCESS_VIEWS 8 |
Definition at line 307 of file wined3d_private.h.
| #define MAX_VERTEX_BLENDS 4 |
Definition at line 309 of file wined3d_private.h.
Definition at line 454 of file wined3d_private.h.
Definition at line 453 of file wined3d_private.h.
Definition at line 4171 of file wined3d_private.h.
| #define RESOURCE_ALIGNMENT 16 |
Definition at line 3324 of file wined3d_private.h.
| #define STATE_BASEVERTEXINDEX (STATE_DEPTH_BOUNDS + 1) |
Definition at line 1762 of file wined3d_private.h.
| #define STATE_BLEND (STATE_STREAM_OUTPUT + 1) |
Definition at line 1771 of file wined3d_private.h.
| #define STATE_BLEND_FACTOR (STATE_BLEND + 1) |
Definition at line 1774 of file wined3d_private.h.
| #define STATE_CLIPPLANE | ( | a | ) | (STATE_SCISSORRECT + 1 + (a)) |
Definition at line 1753 of file wined3d_private.h.
| #define STATE_COMPUTE_CONSTANT_BUFFER (STATE_COMPUTE_SHADER + 1) |
Definition at line 1791 of file wined3d_private.h.
| #define STATE_COMPUTE_COUNT (STATE_COMPUTE_HIGHEST - STATE_COMPUTE_OFFSET + 1) |
Definition at line 1804 of file wined3d_private.h.
| #define STATE_COMPUTE_HIGHEST (STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1800 of file wined3d_private.h.
| #define STATE_COMPUTE_OFFSET (STATE_STENCIL_REF + 1) |
Definition at line 1786 of file wined3d_private.h.
| #define STATE_COMPUTE_SHADER (STATE_COMPUTE_OFFSET) |
Definition at line 1788 of file wined3d_private.h.
| #define STATE_COMPUTE_SHADER_RESOURCE_BINDING (STATE_COMPUTE_CONSTANT_BUFFER + 1) |
Definition at line 1794 of file wined3d_private.h.
| #define STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING (STATE_COMPUTE_SHADER_RESOURCE_BINDING + 1) |
Definition at line 1797 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 1807 of file wined3d_private.h.
| #define STATE_DEPTH_BOUNDS (STATE_RASTERIZER + 1) |
Definition at line 1759 of file wined3d_private.h.
| #define STATE_DEPTH_STENCIL (STATE_SAMPLE_MASK + 1) |
Definition at line 1780 of file wined3d_private.h.
| #define STATE_FRAMEBUFFER (STATE_BASEVERTEXINDEX + 1) |
Definition at line 1765 of file wined3d_private.h.
| #define STATE_GRAPHICS_CONSTANT_BUFFER | ( | a | ) | (STATE_GRAPHICS_SHADER(WINED3D_SHADER_TYPE_GRAPHICS_COUNT) + (a)) |
Definition at line 1728 of file wined3d_private.h.
| #define STATE_GRAPHICS_SHADER | ( | a | ) | (STATE_TEXTURESTAGE(WINED3D_MAX_FFP_TEXTURES - 1, WINED3D_HIGHEST_TEXTURE_STATE) + 1 + (a)) |
Definition at line 1724 of file wined3d_private.h.
| #define STATE_GRAPHICS_SHADER_RESOURCE_BINDING (STATE_GRAPHICS_CONSTANT_BUFFER(WINED3D_SHADER_TYPE_GRAPHICS_COUNT)) |
Definition at line 1733 of file wined3d_private.h.
| #define STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING (STATE_GRAPHICS_SHADER_RESOURCE_BINDING + 1) |
Definition at line 1736 of file wined3d_private.h.
| #define STATE_HIGHEST (STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1801 of file wined3d_private.h.
| #define STATE_INDEXBUFFER (STATE_STREAMSRC + 1) |
Definition at line 1741 of file wined3d_private.h.
| #define STATE_IS_BASEVERTEXINDEX | ( | a | ) | ((a) == STATE_BASEVERTEXINDEX) |
Definition at line 1763 of file wined3d_private.h.
| #define STATE_IS_BLEND | ( | a | ) | ((a) == STATE_BLEND) |
Definition at line 1772 of file wined3d_private.h.
| #define STATE_IS_BLEND_FACTOR | ( | a | ) | ((a) == STATE_BLEND_FACTOR) |
Definition at line 1775 of file wined3d_private.h.
| #define STATE_IS_CLIPPLANE | ( | a | ) | ((a) >= STATE_CLIPPLANE(0) && (a) <= STATE_CLIPPLANE(WINED3D_MAX_CLIP_DISTANCES - 1)) |
Definition at line 1754 of file wined3d_private.h.
| #define STATE_IS_COMPUTE | ( | a | ) | ((a) >= STATE_COMPUTE_OFFSET && (a) <= STATE_COMPUTE_HIGHEST) |
Definition at line 1803 of file wined3d_private.h.
| #define STATE_IS_COMPUTE_CONSTANT_BUFFER | ( | a | ) | ((a) == STATE_COMPUTE_CONSTANT_BUFFER) |
Definition at line 1792 of file wined3d_private.h.
| #define STATE_IS_COMPUTE_SHADER | ( | a | ) | ((a) == STATE_COMPUTE_SHADER) |
Definition at line 1789 of file wined3d_private.h.
| #define STATE_IS_COMPUTE_SHADER_RESOURCE_BINDING | ( | a | ) | ((a) == STATE_COMPUTE_SHADER_RESOURCE_BINDING) |
Definition at line 1795 of file wined3d_private.h.
| #define STATE_IS_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING | ( | a | ) | ((a) == STATE_COMPUTE_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1798 of file wined3d_private.h.
| #define STATE_IS_DEPTH_BOUNDS | ( | a | ) | ((a) == STATE_DEPTH_BOUNDS) |
Definition at line 1760 of file wined3d_private.h.
| #define STATE_IS_DEPTH_STENCIL | ( | a | ) | ((a) == STATE_DEPTH_STENCIL) |
Definition at line 1781 of file wined3d_private.h.
| #define STATE_IS_FRAMEBUFFER | ( | a | ) | ((a) == STATE_FRAMEBUFFER) |
Definition at line 1766 of file wined3d_private.h.
Definition at line 1729 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 1725 of file wined3d_private.h.
| #define STATE_IS_GRAPHICS_SHADER_RESOURCE_BINDING | ( | a | ) | ((a) == STATE_GRAPHICS_SHADER_RESOURCE_BINDING) |
Definition at line 1734 of file wined3d_private.h.
| #define STATE_IS_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING | ( | a | ) | ((a) == STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING) |
Definition at line 1737 of file wined3d_private.h.
| #define STATE_IS_INDEXBUFFER | ( | a | ) | ((a) == STATE_INDEXBUFFER) |
Definition at line 1742 of file wined3d_private.h.
| #define STATE_IS_RASTERIZER | ( | a | ) | ((a) == STATE_RASTERIZER) |
Definition at line 1757 of file wined3d_private.h.
| #define STATE_IS_RENDER | ( | a | ) | ((a) >= STATE_RENDER(1) && (a) <= STATE_RENDER(WINEHIGHEST_RENDER_STATE)) |
Definition at line 1717 of file wined3d_private.h.
| #define STATE_IS_SAMPLE_MASK | ( | a | ) | ((a) == STATE_SAMPLE_MASK) |
Definition at line 1778 of file wined3d_private.h.
| #define STATE_IS_SCISSORRECT | ( | a | ) | ((a) == STATE_SCISSORRECT) |
Definition at line 1751 of file wined3d_private.h.
| #define STATE_IS_STENCIL_REF | ( | a | ) | ((a) == STATE_STENCIL_REF) |
Definition at line 1784 of file wined3d_private.h.
| #define STATE_IS_STREAM_OUTPUT | ( | a | ) | ((a) == STATE_STREAM_OUTPUT) |
Definition at line 1769 of file wined3d_private.h.
| #define STATE_IS_STREAMSRC | ( | a | ) | ((a) == STATE_STREAMSRC) |
Definition at line 1740 of file wined3d_private.h.
| #define STATE_IS_TEXTURESTAGE | ( | a | ) | ((a) >= STATE_TEXTURESTAGE(0, 1) && (a) <= STATE_TEXTURESTAGE(WINED3D_MAX_FFP_TEXTURES - 1, WINED3D_HIGHEST_TEXTURE_STATE)) |
Definition at line 1721 of file wined3d_private.h.
| #define STATE_IS_VDECL | ( | a | ) | ((a) == STATE_VDECL) |
Definition at line 1745 of file wined3d_private.h.
| #define STATE_IS_VIEWPORT | ( | a | ) | ((a) == STATE_VIEWPORT) |
Definition at line 1748 of file wined3d_private.h.
| #define STATE_RASTERIZER (STATE_CLIPPLANE(WINED3D_MAX_CLIP_DISTANCES)) |
Definition at line 1756 of file wined3d_private.h.
Definition at line 1716 of file wined3d_private.h.
| #define STATE_SAMPLE_MASK (STATE_BLEND_FACTOR + 1) |
Definition at line 1777 of file wined3d_private.h.
| #define STATE_SCISSORRECT (STATE_VIEWPORT + 1) |
Definition at line 1750 of file wined3d_private.h.
| #define STATE_SHADER | ( | a | ) | ((a) != WINED3D_SHADER_TYPE_COMPUTE ? STATE_GRAPHICS_SHADER(a) : STATE_COMPUTE_SHADER) |
Definition at line 1806 of file wined3d_private.h.
| #define STATE_STENCIL_REF (STATE_DEPTH_STENCIL + 1) |
Definition at line 1783 of file wined3d_private.h.
| #define STATE_STREAM_OUTPUT (STATE_FRAMEBUFFER + 1) |
Definition at line 1768 of file wined3d_private.h.
| #define STATE_STREAMSRC (STATE_GRAPHICS_UNORDERED_ACCESS_VIEW_BINDING + 1) |
Definition at line 1739 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 1719 of file wined3d_private.h.
Definition at line 1809 of file wined3d_private.h.
| #define STATE_VDECL (STATE_INDEXBUFFER + 1) |
Definition at line 1744 of file wined3d_private.h.
| #define STATE_VIEWPORT (STATE_VDECL + 1) |
Definition at line 1747 of file wined3d_private.h.
| #define UPLOAD_BO_FREE_ON_UNMAP 0x4 |
Definition at line 2499 of file wined3d_private.h.
| #define UPLOAD_BO_RENAME_ON_UNMAP 0x2 |
Definition at line 2498 of file wined3d_private.h.
| #define UPLOAD_BO_UPLOAD_ON_UNMAP 0x1 |
Definition at line 2497 of file wined3d_private.h.
| #define WIN32_NO_STATUS |
Definition at line 38 of file wined3d_private.h.
| #define WINED3D_ALLOCATOR_CHUNK_ORDER_COUNT 15 |
Definition at line 3123 of file wined3d_private.h.
| #define WINED3D_ALLOCATOR_CHUNK_SIZE (64 * 1024 * 1024) |
Definition at line 3122 of file wined3d_private.h.
| #define WINED3D_ALLOCATOR_MIN_BLOCK_SIZE (WINED3D_ALLOCATOR_CHUNK_SIZE >> (WINED3D_ALLOCATOR_CHUNK_ORDER_COUNT - 1)) |
Definition at line 3124 of file wined3d_private.h.
| #define WINED3D_ALPHA_TO_COVERAGE_DISABLE MAKEFOURCC('A','2','M','0') |
Definition at line 102 of file wined3d_private.h.
| #define WINED3D_ALPHA_TO_COVERAGE_ENABLE MAKEFOURCC('A','2','M','1') |
Definition at line 101 of file wined3d_private.h.
Definition at line 104 of file wined3d_private.h.
| #define WINED3D_CONST_NUM_UNUSED ~0U |
Definition at line 1445 of file wined3d_private.h.
| #define WINED3D_CONSTANT_BUFFER_ALIGNMENT 16 |
Definition at line 3325 of file wined3d_private.h.
| #define WINED3D_CS_CLIENT_WAIT_TIMEOUT 0 |
Definition at line 3620 of file wined3d_private.h.
| #define WINED3D_CS_COMMAND_WAIT_WITH_QUERIES_TIMEOUT 100 |
Definition at line 3618 of file wined3d_private.h.
| #define WINED3D_CS_QUERY_POLL_INTERVAL 100u |
Definition at line 3610 of file wined3d_private.h.
| #define WINED3D_CS_QUEUE_MASK (WINED3D_CS_QUEUE_SIZE - 1) |
Definition at line 3621 of file wined3d_private.h.
| #define WINED3D_CS_QUEUE_SIZE 0x400000u |
Definition at line 3614 of file wined3d_private.h.
| #define WINED3D_CS_SPIN_COUNT 2000u |
Definition at line 3616 of file wined3d_private.h.
| #define WINED3D_CSMT_ENABLE 0x00000001 |
Definition at line 463 of file wined3d_private.h.
| #define WINED3D_CSMT_SERIALIZE 0x00000002 |
Definition at line 464 of file wined3d_private.h.
| #define WINED3D_FFP_CONSTANTS_EXTRA_REGISTER 3 |
Definition at line 2851 of file wined3d_private.h.
| #define WINED3D_FFP_LIGHT_TYPE_MASK 0x7u |
Definition at line 2721 of file wined3d_private.h.
Definition at line 2720 of file wined3d_private.h.
| #define WINED3D_FFP_TCI_MASK 0xffu |
Definition at line 2718 of file wined3d_private.h.
| #define WINED3D_FFP_TCI_SHIFT 16 |
Definition at line 2717 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_BLOCKS 0x00000020 |
Definition at line 4474 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_BLOCKS_NO_VERIFY 0x00000040 |
Definition at line 4475 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_BROKEN_PITCH 0x00000100 |
Definition at line 4477 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_BUMPMAP 0x00000008 |
Definition at line 4472 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_CAST_TO_BLOCK 0x00000800 |
Definition at line 4480 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_COMPRESSED 0x00000080 |
Definition at line 4476 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_EXTENSION 0x00000010 |
Definition at line 4473 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_FLOAT 0x00000001 |
Definition at line 4469 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_HEIGHT_SCALE 0x00000200 |
Definition at line 4478 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_INTEGER 0x00000002 |
Definition at line 4470 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_MAPPABLE 0x00000400 |
Definition at line 4479 of file wined3d_private.h.
| #define WINED3D_FORMAT_ATTR_NORMALISED 0x00000004 |
Definition at line 4471 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_BLIT 0x00008000 |
Definition at line 4498 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_DECOMPRESS 0x00000080 |
Definition at line 4490 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_DEPTH_STENCIL 0x00000008 |
Definition at line 4486 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_FBO_ATTACHABLE 0x00000020 |
Definition at line 4488 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_FBO_ATTACHABLE_SRGB 0x00000040 |
Definition at line 4489 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_FILTERING 0x00000002 |
Definition at line 4484 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_GEN_MIPMAP 0x00002000 |
Definition at line 4496 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_INDEX_BUFFER 0x00010000 |
Definition at line 4499 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_POSTPIXELSHADER_BLENDING 0x00000001 |
Definition at line 4483 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_RENDERTARGET 0x00000010 |
Definition at line 4487 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_SHADOW 0x00000800 |
Definition at line 4494 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_SRGB_READ 0x00000100 |
Definition at line 4491 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_SRGB_WRITE 0x00000200 |
Definition at line 4492 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_TEXTURE 0x00001000 |
Definition at line 4495 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_UNORDERED_ACCESS 0x00000004 |
Definition at line 4485 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_VERTEX_ATTRIBUTE 0x00004000 |
Definition at line 4497 of file wined3d_private.h.
| #define WINED3D_FORMAT_CAP_VTF 0x00000400 |
Definition at line 4493 of file wined3d_private.h.
| #define WINED3D_LOCATION_BUFFER 0x00000008 |
Definition at line 3330 of file wined3d_private.h.
| #define WINED3D_LOCATION_CLEARED 0x00000004 |
Definition at line 3329 of file wined3d_private.h.
| #define WINED3D_LOCATION_DISCARDED 0x00000001 |
Definition at line 3327 of file wined3d_private.h.
| #define WINED3D_LOCATION_DRAWABLE 0x00000040 |
Definition at line 3333 of file wined3d_private.h.
| #define WINED3D_LOCATION_RB_MULTISAMPLE 0x00000080 |
Definition at line 3334 of file wined3d_private.h.
| #define WINED3D_LOCATION_RB_RESOLVED 0x00000100 |
Definition at line 3335 of file wined3d_private.h.
| #define WINED3D_LOCATION_SYSMEM 0x00000002 |
Definition at line 3328 of file wined3d_private.h.
| #define WINED3D_LOCATION_TEXTURE_RGB 0x00000010 |
Definition at line 3331 of file wined3d_private.h.
| #define WINED3D_LOCATION_TEXTURE_SRGB 0x00000020 |
Definition at line 3332 of file wined3d_private.h.
Definition at line 4153 of file wined3d_private.h.
| #define WINED3D_MAX_ACTIVE_LIGHTS 8 |
Definition at line 302 of file wined3d_private.h.
| #define WINED3D_MAX_CBS 15 |
Definition at line 798 of file wined3d_private.h.
| #define WINED3D_MAX_DEVICE_IDENTIFIER_LENGTH 512 |
Definition at line 2479 of file wined3d_private.h.
| #define WINED3D_MAX_DIRTY_REGION_COUNT 7 |
Definition at line 99 of file wined3d_private.h.
| #define WINED3D_MAX_SOFTWARE_ACTIVE_LIGHTS 32 |
Definition at line 303 of file wined3d_private.h.
| #define WINED3D_OPENGL_WINDOW_CLASS_NAME "WineD3D_OpenGL" |
Definition at line 5040 of file wined3d_private.h.
| #define WINED3D_PACKED_INTERPOLATION_BIT_COUNT 3 |
Definition at line 654 of file wined3d_private.h.
| #define WINED3D_PACKED_INTERPOLATION_SIZE 3 |
Definition at line 653 of file wined3d_private.h.
| #define WINED3D_PAUSE_SPIN_COUNT 200u |
Definition at line 3811 of file wined3d_private.h.
Definition at line 1459 of file wined3d_private.h.
| #define WINED3D_PSARGS_TEXTRANSFORM_MASK 0xfu |
Definition at line 1461 of file wined3d_private.h.
| #define WINED3D_PSARGS_TEXTRANSFORM_SHIFT 4 |
Definition at line 1460 of file wined3d_private.h.
| #define WINED3D_PSARGS_TEXTYPE_MASK 0x3u |
Definition at line 1463 of file wined3d_private.h.
| #define WINED3D_PSARGS_TEXTYPE_SHIFT 2 |
Definition at line 1462 of file wined3d_private.h.
| #define WINED3D_QUERY_POOL_SIZE 256 |
Definition at line 1856 of file wined3d_private.h.
| #define WINED3D_RETIRED_BO_SIZE_THRESHOLD (64 * 1024 * 1024) |
Definition at line 3126 of file wined3d_private.h.
| #define WINED3D_SAMPLER_DEFAULT ~0x0u |
Definition at line 1073 of file wined3d_private.h.
| #define WINED3D_SHADER_CAP_DOUBLE_PRECISION 0x00000004u |
Definition at line 1406 of file wined3d_private.h.
| #define WINED3D_SHADER_CAP_FULL_FFP_VARYINGS 0x00000010u |
Definition at line 1408 of file wined3d_private.h.
| #define WINED3D_SHADER_CAP_OUTPUT_INTERPOLATION 0x00000008u |
Definition at line 1407 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_BASE_VERTEX_ID 0x00400000 |
Definition at line 530 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_COLOR_KEY 0x00200000 |
Definition at line 529 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_LIGHTS 0x00080000 |
Definition at line 527 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_MATERIAL 0x00040000 |
Definition at line 526 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_MODELVIEW 0x00004000 |
Definition at line 522 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_PROJ 0x00010000 |
Definition at line 524 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_PS 0x00100000 |
Definition at line 528 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_TEXMATRIX 0x00020000 |
Definition at line 525 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_FFP_VERTEXBLEND 0x00008000 |
Definition at line 523 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_POS_FIXUP 0x00000020 |
Definition at line 515 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_ALPHA_TEST 0x00000800 |
Definition at line 521 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_B 0x00000100 |
Definition at line 518 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_BUMP_ENV 0x00000200 |
Definition at line 519 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_F 0x00000040 |
Definition at line 516 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_FOG 0x00000400 |
Definition at line 520 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_PS_I 0x00000080 |
Definition at line 517 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_VS_B 0x00000004 |
Definition at line 512 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_VS_CLIP_PLANES 0x00000008 |
Definition at line 513 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_VS_F 0x00000001 |
Definition at line 510 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_VS_I 0x00000002 |
Definition at line 511 of file wined3d_private.h.
| #define WINED3D_SHADER_CONST_VS_POINTSIZE 0x00000010 |
Definition at line 514 of file wined3d_private.h.
Definition at line 1103 of file wined3d_private.h.
| #define WINED3D_SLAB_BO_MIN_OBJECT_ALIGN 16 |
Definition at line 3125 of file wined3d_private.h.
| #define WINED3D_SM1_PS 0xffffu |
Definition at line 779 of file wined3d_private.h.
| #define WINED3D_SM1_VS 0xfffeu |
Definition at line 778 of file wined3d_private.h.
| #define WINED3D_SM4_GS 0x0002u |
Definition at line 782 of file wined3d_private.h.
| #define WINED3D_SM4_PS 0x0000u |
Definition at line 780 of file wined3d_private.h.
| #define WINED3D_SM4_VS 0x0001u |
Definition at line 781 of file wined3d_private.h.
| #define WINED3D_SM5_CS 0x0005u |
Definition at line 785 of file wined3d_private.h.
| #define WINED3D_SM5_DS 0x0004u |
Definition at line 784 of file wined3d_private.h.
| #define WINED3D_SM5_HS 0x0003u |
Definition at line 783 of file wined3d_private.h.
| #define WINED3D_STATE_INIT_DEFAULT 0x00000002 |
Definition at line 2922 of file wined3d_private.h.
| #define WINED3D_STATE_NO_REF 0x00000001 |
Definition at line 2921 of file wined3d_private.h.
| #define WINED3D_TEXTURE_ASYNC_COLOR_KEY 0x00000001 |
Definition at line 3372 of file wined3d_private.h.
| #define WINED3D_TEXTURE_COND_NP2 0x00000001 |
Definition at line 3358 of file wined3d_private.h.
| #define WINED3D_TEXTURE_CONVERTED 0x00000100 |
Definition at line 3364 of file wined3d_private.h.
| #define WINED3D_TEXTURE_DC_IN_USE 0x00001000 |
Definition at line 3366 of file wined3d_private.h.
| #define WINED3D_TEXTURE_DISCARD 0x00002000 |
Definition at line 3367 of file wined3d_private.h.
| #define WINED3D_TEXTURE_DOWNLOADABLE 0x00010000 |
Definition at line 3370 of file wined3d_private.h.
| #define WINED3D_TEXTURE_GENERATE_MIPMAPS 0x00008000 |
Definition at line 3369 of file wined3d_private.h.
| #define WINED3D_TEXTURE_GET_DC 0x00004000 |
Definition at line 3368 of file wined3d_private.h.
| #define WINED3D_TEXTURE_GET_DC_LENIENT 0x00000800 |
Definition at line 3365 of file wined3d_private.h.
| #define WINED3D_TEXTURE_IS_SRGB 0x00000008 |
Definition at line 3359 of file wined3d_private.h.
| #define WINED3D_TEXTURE_RGB_ALLOCATED 0x00000010 |
Definition at line 3360 of file wined3d_private.h.
| #define WINED3D_TEXTURE_RGB_VALID 0x00000020 |
Definition at line 3361 of file wined3d_private.h.
| #define WINED3D_TEXTURE_SRGB_ALLOCATED 0x00000040 |
Definition at line 3362 of file wined3d_private.h.
| #define WINED3D_TEXTURE_SRGB_VALID 0x00000080 |
Definition at line 3363 of file wined3d_private.h.
| #define WINED3D_UNMAPPED_STAGE ~0u |
Definition at line 2993 of file wined3d_private.h.
| #define WINED3DCREATE_MULTITHREADED 0x00000004 |
Definition at line 2997 of file wined3d_private.h.
Definition at line 788 of file wined3d_private.h.
| #define WINED3DSI_INDEXED_DYNAMIC 0x4 |
Definition at line 702 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_SHIFT 8 |
Definition at line 714 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_W 0x800 |
Definition at line 711 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_X 0x100 |
Definition at line 708 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_XYZW |
Definition at line 712 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_Y 0x200 |
Definition at line 709 of file wined3d_private.h.
| #define WINED3DSI_PRECISE_Z 0x400 |
Definition at line 710 of file wined3d_private.h.
| #define WINED3DSI_RESINFO_RCP_FLOAT 0x1 |
Definition at line 703 of file wined3d_private.h.
| #define WINED3DSI_RESINFO_UINT 0x2 |
Definition at line 704 of file wined3d_private.h.
| #define WINED3DSI_SAMPLE_INFO_UINT 0x1 |
Definition at line 705 of file wined3d_private.h.
| #define WINED3DSI_SAMPLER_COMPARISON_MODE 0x1 |
Definition at line 706 of file wined3d_private.h.
| #define WINED3DSI_TEXLD_BIAS 0x2 |
Definition at line 701 of file wined3d_private.h.
| #define WINED3DSI_TEXLD_PROJECT 0x1 |
Definition at line 700 of file wined3d_private.h.
Definition at line 607 of file wined3d_private.h.
Definition at line 627 of file wined3d_private.h.
Definition at line 628 of file wined3d_private.h.
Definition at line 629 of file wined3d_private.h.
Definition at line 630 of file wined3d_private.h.
| #define WINED3DSP_WRITEMASK_ALL 0xfu /* all */ |
Definition at line 631 of file wined3d_private.h.
Definition at line 789 of file wined3d_private.h.
| typedef void(* APPLYSTATEFUNC) (struct wined3d_context *ctx, const struct wined3d_state *state, DWORD state_id) |
Definition at line 1934 of file wined3d_private.h.
| typedef void(* SHADER_HANDLER) (const struct wined3d_shader_instruction *) |
Definition at line 1404 of file wined3d_private.h.
| Enumerator | |
|---|---|
| COMPLEX_FIXUP_NONE | |
| COMPLEX_FIXUP_YUY2 | |
| COMPLEX_FIXUP_UYVY | |
| COMPLEX_FIXUP_YV12 | |
| COMPLEX_FIXUP_P8 | |
| COMPLEX_FIXUP_NV12 | |
| COMPLEX_FIXUP_YUV | |
Definition at line 169 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 157 of file wined3d_private.h.
| Enumerator | |
|---|---|
| VS_FOG_Z | |
| VS_FOG_COORD | |
| VS_FOG_W | |
Definition at line 1492 of file wined3d_private.h.
| Enumerator | |
|---|---|
| FOGSOURCE_FFP | |
| FOGSOURCE_VS | |
Definition at line 1812 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_BLIT_OP_COLOR_BLIT | |
| WINED3D_BLIT_OP_COLOR_BLIT_ALPHATEST | |
| WINED3D_BLIT_OP_COLOR_BLIT_CKEY | |
| WINED3D_BLIT_OP_DEPTH_BLIT | |
| WINED3D_BLIT_OP_RAW_BLIT | |
Definition at line 2006 of file wined3d_private.h.
Definition at line 4514 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_TYPE_UNKNOWN | |
| WINED3D_TYPE_UINT | |
| WINED3D_TYPE_INT | |
| WINED3D_TYPE_FLOAT | |
Definition at line 752 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_CS_QUEUE_DEFAULT | |
| WINED3D_CS_QUEUE_MAP | |
| WINED3D_CS_QUEUE_COUNT | |
Definition at line 3603 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 588 of file wined3d_private.h.
Definition at line 2437 of file wined3d_private.h.
Definition at line 132 of file wined3d_private.h.
Definition at line 112 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 1447 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 2709 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_GL_RES_TYPE_TEX_1D | |
| WINED3D_GL_RES_TYPE_TEX_2D | |
| WINED3D_GL_RES_TYPE_TEX_3D | |
| WINED3D_GL_RES_TYPE_TEX_CUBE | |
| WINED3D_GL_RES_TYPE_BUFFER | |
| WINED3D_GL_RES_TYPE_RB | |
| WINED3D_GL_RES_TYPE_COUNT | |
Definition at line 1427 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_IMMCONST_SCALAR | |
| WINED3D_IMMCONST_VEC4 | |
Definition at line 601 of file wined3d_private.h.
Definition at line 2106 of file wined3d_private.h.
| Enumerator | |
|---|---|
| HW_VENDOR_SOFTWARE | |
| HW_VENDOR_AMD | |
| HW_VENDOR_NVIDIA | |
| HW_VENDOR_VMWARE | |
| HW_VENDOR_REDHAT | |
| HW_VENDOR_INTEL | |
Definition at line 2096 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_PROJECTION_NONE | |
| WINED3D_PROJECTION_COUNT3 | |
| WINED3D_PROJECTION_COUNT4 | |
Definition at line 2642 of file wined3d_private.h.
Definition at line 2853 of file wined3d_private.h.
| Enumerator | |
|---|---|
| QUERY_CREATED | |
| QUERY_SIGNALLED | |
| QUERY_BUILDING | |
Definition at line 1820 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_SHADER_BACKEND_AUTO | |
| WINED3D_SHADER_BACKEND_GLSL | |
| WINED3D_SHADER_BACKEND_GLSL_VKD3D | |
Definition at line 456 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_SHADER_CONDITIONAL_OP_NZ | |
| WINED3D_SHADER_CONDITIONAL_OP_Z | |
Definition at line 726 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3DSPDM_NONE | |
| WINED3DSPDM_SATURATE | |
| WINED3DSPDM_PARTIALPRECISION | |
| WINED3DSPDM_MSAMPCENTROID | |
Definition at line 633 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3DSGF_REFACTORING_ALLOWED | |
| WINED3DSGF_FORCE_EARLY_DEPTH_STENCIL | |
| WINED3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS | |
Definition at line 656 of file wined3d_private.h.
Definition at line 1248 of file wined3d_private.h.
Definition at line 814 of file wined3d_private.h.
Definition at line 641 of file wined3d_private.h.
Definition at line 532 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 716 of file wined3d_private.h.
Definition at line 495 of file wined3d_private.h.
Definition at line 609 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3DSSF_THREAD_GROUP | |
| WINED3DSSF_GROUP_SHARED_MEMORY | |
| WINED3DSSF_GLOBAL_UAV | |
Definition at line 663 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_SHADER_TEX_2D | |
| WINED3D_SHADER_TEX_3D | |
| WINED3D_SHADER_TEX_CUBE | |
| WINED3D_SHADER_TEX_ERR | |
Definition at line 1466 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3DSUF_GLOBALLY_COHERENT | |
| WINED3DSUF_ORDER_PRESERVING_COUNTER | |
Definition at line 670 of file wined3d_private.h.
Definition at line 732 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_TESSELLATOR_DOMAIN_LINE | |
| WINED3D_TESSELLATOR_DOMAIN_TRIANGLE | |
| WINED3D_TESSELLATOR_DOMAIN_QUAD | |
Definition at line 676 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 683 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 691 of file wined3d_private.h.
| Enumerator | |
|---|---|
| WINED3D_VP_MODE_FF | |
| WINED3D_VP_MODE_SHADER | |
| WINED3D_VP_MODE_NONE | |
Definition at line 1438 of file wined3d_private.h.
| ssize_t adapter_adjust_mapped_memory | ( | struct wined3d_adapter * | adapter, |
| ssize_t | size | ||
| ) |
Definition at line 167 of file directx.c.
Referenced by wined3d_allocator_chunk_gl_map(), wined3d_allocator_chunk_gl_unmap(), wined3d_allocator_chunk_vk_map(), wined3d_allocator_chunk_vk_unmap(), wined3d_allocator_vk_destroy_chunk(), wined3d_bo_gl_map(), wined3d_bo_gl_unmap(), wined3d_bo_vk_map(), wined3d_bo_vk_unmap(), wined3d_context_gl_destroy_bo(), and wined3d_context_vk_destroy_bo().
| UINT64 adapter_adjust_memory | ( | struct wined3d_adapter * | adapter, |
| INT64 | amount | ||
| ) |
Definition at line 158 of file directx.c.
Referenced by resource_cleanup(), resource_init(), and wined3d_texture_update_desc().
| void add_ffp_frag_shader | ( | struct wine_rb_tree * | shaders, |
| struct ffp_frag_desc * | desc | ||
| ) |
Definition at line 6426 of file utils.c.
Referenced by get_ffp_pixel_shader(), and shader_glsl_find_ffp_fragment_shader().
Definition at line 54 of file wined3d_private.h.
Referenced by _aligned_msize_base(), _aligned_offset_malloc_base(), _aligned_offset_realloc_base(), _aligned_offset_recalloc_base(), _test_img_align(), Align(), align_length(), align_output(), align_pointer(), align_pointer_clear(), align_pointer_offset(), align_pointer_offset_clear(), align_ptr(), AlignAndAlloca(), AlignAndAllocaAndBigLocals(), AlignAndAllocaAndEbpAdj(), AlignAndBigLocals(), AlignAndEbpAdj(), anonymous_namespace{activex.cpp}::aligndown(), anonymous_namespace{activex.cpp}::alignup(), allocate_range(), bytecode_align(), clamp_align(), compute_input_layout_offsets(), d3d12_device_get_copyable_footprints(), d3d12_device_get_resource1_allocation_info(), d3d12_resource_init_tiles(), d3d12_root_signature_init_descriptor_table_push_constants(), d3d12_root_signature_init_push_constants(), draw_paragraph(), DrawStatusTextW(), dxil_parse(), EMFDC_SetTextAlign(), EMFDRV_SetTextAlign(), field_memsize(), fields_memsize(), fill_params_array(), GdipGetStringFormatAlign(), GdipGetStringFormatLineAlign(), GdipSetStringFormatAlign(), GdipSetStringFormatLineAlign(), get_padding(), get_required_buffer_size_type(), get_stack_size(), GSCookieAndAlign(), GSCookieAndAlignAndAlloca(), GSCookieAndAlignAndAllocaAndBigLocals(), GSCookieAndAlignAndAllocaAndEbpAdj(), GSCookieAndAlignAndBigLocals(), GSCookieAndAlignAndEbpAdj(), hlsl_fx_2_write(), hlsl_type_calculate_reg_size(), hlsl_type_get_array_element_reg_size(), hlsl_type_get_component_offset(), hlsl_type_get_sm4_offset(), macho_map_file(), ME_DebugWrite(), ME_InsertRowStart(), memcmp(), METADC_SetTextAlign(), MFDRV_SetTextAlign(), msl_generate_cbv_declaration(), pipeline_state_desc_from_d3d12_stream_desc(), psh_hint_align(), query_align_status(), register_deref_usage(), StringFormat::SetAlignment(), StringFormat::SetLineAlignment(), shader_glsl_generate_cbv_declaration(), shader_parse_signature(), sm4_generate_vsir_add_function(), spirv_compiler_emit_cbv_declaration(), taskdialog_layout(), test_block_layout(), test_constructor(), test_dsound(), test_frequency(), test_getgenericdefault(), test_getgenerictypographic(), test_HeapCreate(), test_primary_secondary(), test_secondary(), test_secondary8(), test_SysAllocString(), test_TabbedText(), ThemeDrawCaptionText(), TLB_get_size_from_hreftype(), TLB_size_instance(), TREEVIEW_DrawItem(), TryAndAlign(), TryAndAlignAndAlloca(), TryAndAlignAndAllocaAndBigLocals(), TryAndAlignAndAllocaAndEbpAdj(), TryAndAlignAndBigLocals(), TryAndAlignAndEbpAdj(), TryAndGSCookieAndAlign(), TryAndGSCookieAndAlignAndAlloca(), TryAndGSCookieAndAlignAndAllocaAndBigLocals(), TryAndGSCookieAndAlignAndAllocaAndEbpAdj(), TryAndGSCookieAndAlignAndBigLocals(), TryAndGSCookieAndAlignAndEbpAdj(), type_buffer_alignment(), type_memsize(), type_memsize_and_alignment(), UDFFindMinSuitableExtent(), union_memsize(), VARIANT_UserMarshal(), VARIANT_UserSize(), VARIANT_UserUnmarshal(), vkd3d_bind_heap_memory(), vkd3d_gpu_va_allocator_allocate(), vkd3d_spirv_string_word_count(), vring_init(), vring_size(), vring_size_split(), wined3d_deferred_context_map_upload_bo(), wined3d_resource_allocate_sysmem(), wined3d_streaming_buffer_map(), write_array_tfs(), write_conf_or_var_desc(), write_fixed_array_pointer_descriptions(), write_func_param_struct(), write_fx_4_buffer(), write_fx_4_type(), write_no_repeat_pointer_descriptions(), write_param_fs(), write_pointer_description_offsets(), write_proc_func_header(), write_sm4_rdef(), write_struct_members(), write_struct_tfs(), write_union_tfs(), write_varying_array_pointer_descriptions(), XXH_readLE32_align(), XXH_readLE64_align(), and ZSTD_cwksp_align().
|
inlinestatic |
Definition at line 3893 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_unmap(), buffer_resource_unload(), context_gl_load_shader_resources(), context_gl_load_unordered_access_resources(), validate_resource_view(), wined3d_context_vk_load_shader_resources(), wined3d_context_vk_reference_resource(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_update_sub_resource(), wined3d_rendertarget_view_get_locations(), wined3d_rendertarget_view_get_sub_resource_parent(), wined3d_resource_vk_barrier(), wined3d_shader_resource_view_gl_cs_init(), wined3d_shader_resource_view_gl_update(), wined3d_shader_resource_view_vk_cs_init(), wined3d_shader_resource_view_vk_update_buffer(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_gl_cs_init(), wined3d_unordered_access_view_gl_update(), wined3d_unordered_access_view_vk_clear(), wined3d_unordered_access_view_vk_cs_init(), wined3d_unordered_access_view_vk_update(), wined3d_view_invalidate_location(), and wined3d_view_load_location().
| C_ASSERT | ( | ! | WINED3D_CS_QUEUE_SIZE &(WINED3D_CS_QUEUE_SIZE - 1) | ) |
| C_ASSERT | ( | ) |
|
inlinestatic |
Definition at line 4661 of file wined3d_private.h.
Referenced by create_texture_view(), find_ps_compile_args(), texture_binding_might_invalidate_fs_settings(), texture_binding_might_invalidate_ps(), wined3d_ffp_get_fs_settings(), wined3d_texture_gl_bind(), wined3d_texture_vk_get_default_image_info(), and wined3d_view_vk_create_vk_image_view().
| void clipplane | ( | struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| DWORD | state_id | ||
| ) |
Definition at line 1002 of file ffp_gl.c.
| HRESULT compile_state_table | ( | struct wined3d_state_entry * | state_table, |
| APPLYSTATEFUNC ** | dev_multistate_funcs, | ||
| const struct wined3d_d3d_info * | d3d_info, | ||
| const BOOL * | supported_extensions, | ||
| const struct wined3d_vertex_pipe_ops * | vertex, | ||
| const struct wined3d_fragment_pipe_ops * | fragment, | ||
| const struct wined3d_state_entry_template * | misc | ||
| ) |
Definition at line 1666 of file ffp_gl.c.
Referenced by wined3d_device_init().
| void compute_normal_matrix | ( | struct wined3d_matrix * | normal_matrix, |
| BOOL | legacy_lighting, | ||
| const struct wined3d_matrix * | modelview | ||
| ) |
Definition at line 7042 of file utils.c.
Referenced by init_transformed_lights(), and wined3d_device_apply_stateblock().
|
inlinestatic |
Definition at line 4782 of file wined3d_private.h.
Referenced by adapter_vk_dispatch_compute(), adapter_vk_draw_primitive(), buffer_resource_preload(), buffer_resource_sub_resource_map(), buffer_resource_sub_resource_unmap(), buffer_resource_unload(), context_restore(), cpu_blitter_clear_texture(), create_texture_view(), dispatch_compute(), draw_primitive(), ffp_blitter_clear_rendertargets(), shader_glsl_destroy(), shader_glsl_precompile(), surface_convert_format(), surface_cpu_blt(), swapchain_frontbuffer_updated(), swapchain_gl_present(), swapchain_vk_present(), texture2d_blt(), texture2d_blt_fbo(), texture2d_read_from_framebuffer(), texture_resource_preload(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), texture_resource_unload(), vk_blitter_clear(), wined3d_allocator_gl_destroy_chunk(), wined3d_buffer_copy(), wined3d_buffer_destroy_object(), wined3d_command_list_destroy_object(), wined3d_context_gl_reacquire(), 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_generate_mipmaps(), wined3d_cs_exec_map_bo_address(), wined3d_cs_exec_update_sub_resource(), wined3d_device_gl_create_primary_opengl_context_cs(), wined3d_device_gl_delete_opengl_contexts_cs(), wined3d_fence_issue(), wined3d_fence_test(), wined3d_fence_wait(), wined3d_occlusion_query_ops_issue(), wined3d_pipeline_query_ops_issue(), wined3d_query_event_vk_issue(), wined3d_query_gl_destroy_object(), wined3d_query_timestamp_vk_issue(), wined3d_query_vk_destroy(), wined3d_query_vk_issue(), wined3d_render_target_view_vk_cs_init(), wined3d_sampler_gl_cs_init(), wined3d_sampler_gl_destroy_object(), wined3d_sampler_vk_cs_init(), wined3d_sampler_vk_destroy_object(), wined3d_shader_resource_view_gl_cs_init(), wined3d_shader_resource_view_vk_cs_init(), wined3d_so_statistics_query_ops_issue(), wined3d_texture_create_dc(), wined3d_texture_destroy_dc(), wined3d_texture_download_from_texture(), wined3d_texture_update_map_binding(), wined3d_texture_upload_from_texture(), wined3d_timestamp_query_ops_issue(), wined3d_unordered_access_view_gl_cs_init(), wined3d_unordered_access_view_set_counter(), wined3d_unordered_access_view_vk_cs_init(), wined3d_view_gl_destroy_object(), and wined3d_view_vk_destroy_object().
|
inlinestatic |
Definition at line 4626 of file wined3d_private.h.
Referenced by glsl_vertex_pipe_vs().
| void context_invalidate_compute_state | ( | struct wined3d_context * | context, |
| DWORD | state_id | ||
| ) |
Definition at line 66 of file context.c.
Referenced by create_buffer_texture(), create_texture_view(), device_invalidate_state(), shader_resource_view_gl_bind_and_dirtify(), wined3d_context_gl_apply_blit_state(), wined3d_context_vk_load_shader_resources(), wined3d_texture_gl_bind_and_dirtify(), and wined3d_unordered_access_view_vk_clear().
| void context_invalidate_state | ( | struct wined3d_context * | context, |
| unsigned int | state_id | ||
| ) |
Definition at line 76 of file context.c.
Referenced by context_gl_apply_texture_draw_state(), context_invalidate_texture_stage(), context_update_fixed_function_usage_map(), context_update_stream_info(), create_buffer_texture(), create_texture_view(), ffp_blitter_clear_rendertargets(), shader_resource_view_gl_bind_and_dirtify(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), wined3d_context_gl_apply_blit_state(), wined3d_context_gl_apply_clear_state(), wined3d_context_gl_apply_compute_state(), wined3d_context_gl_bind_bo(), wined3d_context_gl_map_fixed_function_samplers(), wined3d_context_gl_map_psamplers(), wined3d_context_gl_map_vsamplers(), wined3d_context_gl_setup_target(), wined3d_context_init(), wined3d_context_vk_load_buffers(), wined3d_context_vk_load_shader_resources(), wined3d_context_vk_submit_command_buffer(), wined3d_texture_gl_bind_and_dirtify(), and wined3d_texture_gl_clear().
|
inlinestatic |
Definition at line 4790 of file wined3d_private.h.
Referenced by adapter_vk_dispatch_compute(), adapter_vk_draw_primitive(), buffer_resource_preload(), buffer_resource_sub_resource_map(), buffer_resource_sub_resource_unmap(), buffer_resource_unload(), context_restore(), cpu_blitter_clear_texture(), create_texture_view(), dispatch_compute(), draw_primitive(), ffp_blitter_clear_rendertargets(), shader_glsl_destroy(), shader_glsl_precompile(), surface_convert_format(), surface_cpu_blt(), swapchain_frontbuffer_updated(), swapchain_gl_present(), swapchain_vk_present(), texture2d_blt(), texture2d_blt_fbo(), texture_resource_preload(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), texture_resource_unload(), vk_blitter_clear(), wined3d_allocator_gl_destroy_chunk(), wined3d_buffer_copy(), wined3d_buffer_destroy_object(), wined3d_command_list_destroy_object(), wined3d_context_gl_create_wgl_ctx(), wined3d_context_gl_init(), 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_generate_mipmaps(), wined3d_cs_exec_map_bo_address(), wined3d_cs_exec_update_sub_resource(), wined3d_device_gl_create_primary_opengl_context_cs(), wined3d_device_gl_delete_opengl_contexts_cs(), wined3d_fence_issue(), wined3d_fence_test(), wined3d_fence_wait(), wined3d_occlusion_query_ops_issue(), wined3d_occlusion_query_ops_poll(), wined3d_pipeline_query_ops_issue(), wined3d_pipeline_query_ops_poll(), wined3d_query_event_vk_issue(), wined3d_query_gl_destroy_object(), wined3d_query_timestamp_vk_issue(), wined3d_query_vk_destroy(), wined3d_query_vk_issue(), wined3d_render_target_view_vk_cs_init(), wined3d_sampler_gl_cs_init(), wined3d_sampler_gl_destroy_object(), wined3d_sampler_vk_cs_init(), wined3d_sampler_vk_destroy_object(), wined3d_shader_resource_view_gl_cs_init(), wined3d_shader_resource_view_vk_cs_init(), wined3d_so_statistics_query_ops_issue(), wined3d_so_statistics_query_ops_poll(), wined3d_swapchain_gl_create_context(), wined3d_texture_create_dc(), wined3d_texture_destroy_dc(), wined3d_texture_download_from_texture(), wined3d_texture_update_map_binding(), wined3d_texture_upload_from_texture(), wined3d_timestamp_query_ops_issue(), wined3d_timestamp_query_ops_poll(), wined3d_unordered_access_view_gl_cs_init(), wined3d_unordered_access_view_set_counter(), wined3d_unordered_access_view_vk_cs_init(), wined3d_view_gl_destroy_object(), and wined3d_view_vk_destroy_object().
| void context_resource_released | ( | const struct wined3d_device * | device, |
| struct wined3d_resource * | resource | ||
| ) |
Definition at line 32 of file context.c.
Referenced by wined3d_resource_destroy_object().
| void context_restore | ( | struct wined3d_context * | context, |
| struct wined3d_texture * | texture, | ||
| unsigned int | sub_resource_idx | ||
| ) |
Definition at line 55 of file context.c.
Referenced by texture2d_blt_fbo(), and texture2d_read_from_framebuffer().
| void context_state_drawbuf | ( | struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| DWORD | state_id | ||
| ) |
Definition at line 3722 of file context_gl.c.
| void context_state_fb | ( | struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| DWORD | state_id | ||
| ) |
Definition at line 3426 of file context_gl.c.
| void context_update_stream_info | ( | struct wined3d_context * | context, |
| const struct wined3d_state * | state | ||
| ) |
Definition at line 258 of file context.c.
Referenced by context_apply_draw_state().
| void cpu_blitter_clear_texture | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| const struct wined3d_box * | box, | ||
| const struct wined3d_color * | colour | ||
| ) |
Definition at line 1128 of file surface.c.
Referenced by cpu_blitter_clear_rtv(), and wined3d_cs_exec_clear_sysmem_texture().
|
inlinestatic |
Definition at line 256 of file wined3d_private.h.
Referenced by apply_format_fixups().
| const char * debug_bo_address | ( | const struct wined3d_bo_address * | address | ) |
Definition at line 4600 of file utils.c.
Referenced by context_update_stream_info(), wined3d_context_gl_load_numbered_arrays(), wined3d_deferred_context_map_upload_bo(), wined3d_texture_gl_download_data(), and wined3d_texture_vk_download_data().
| const char * debug_box | ( | const struct wined3d_box * | box | ) |
Definition at line 4552 of file utils.c.
Referenced by buffer_resource_sub_resource_map(), cpu_blitter_clear_texture(), surface_cpu_blt(), texture2d_blt(), texture_resource_sub_resource_map(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_map(), wined3d_device_context_update_sub_resource(), wined3d_device_context_upload_bo(), wined3d_resource_check_box_dimensions(), wined3d_resource_map(), wined3d_texture_add_dirty_region(), wined3d_texture_gl_download_data(), wined3d_texture_gl_upload_data(), wined3d_texture_upload_from_texture(), wined3d_texture_vk_download_data(), and wined3d_texture_vk_upload_data().
| const char * debug_color | ( | const struct wined3d_color * | color | ) |
Definition at line 4561 of file utils.c.
Referenced by cpu_blitter_clear_texture(), state_blend_factor(), vk_blitter_clear(), vk_blitter_clear_rendertargets(), wined3d_device_clear(), wined3d_device_context_clear_rendertarget_view(), wined3d_device_context_clear_sysmem_texture(), wined3d_format_convert_from_float(), and wined3d_light_state_set_light().
| const char * debug_const_bo_address | ( | const struct wined3d_const_bo_address * | address | ) |
Definition at line 4593 of file utils.c.
Referenced by debug_bo_address(), wined3d_context_gl_flush_bo_address(), wined3d_cs_exec_update_sub_resource(), wined3d_cs_map_upload_bo(), wined3d_device_context_upload_bo(), wined3d_texture_gl_upload_data(), and wined3d_texture_vk_upload_data().
| const char * debug_d3ddeclmethod | ( | enum wined3d_decl_method | method | ) |
Definition at line 4933 of file utils.c.
Referenced by dump_wined3d_vertex_element().
| const char * debug_d3ddeclusage | ( | enum wined3d_decl_usage | usage | ) |
Definition at line 4952 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 4781 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 4605 of file utils.c.
Referenced by check_fbo_compat(), context_choose_pixel_format(), cpu_blitter_clear(), cpu_blitter_clear_rtv(), cpu_blitter_clear_texture(), depthbias(), dump_wined3d_vertex_element(), get_format_internal(), init_format_depth_bias_scale(), init_format_fbo_compat_info(), init_format_filter_info(), init_vulkan_format_info(), query_format_cap(), query_internal_format(), query_view_class(), resource_init(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_compressed(), swapchain_blit_gdi(), texture2d_blt(), texture2d_depth_blt_fbo(), 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_context_gl_find_fbo_entry(), wined3d_debug_view_desc(), wined3d_device_context_clear_uav_float(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_resolve_sub_resource(), wined3d_device_context_set_index_buffer(), wined3d_device_reset(), wined3d_device_set_cursor_properties(), wined3d_format_convert_from_float(), wined3d_format_get_color_key_conversion(), wined3d_format_get_colour(), wined3d_format_get_float_color_key(), wined3d_get_format(), wined3d_output_find_closest_matching_mode(), wined3d_output_get_display_mode(), wined3d_output_get_mode(), wined3d_output_get_mode_count(), wined3d_output_set_display_mode(), wined3d_render_target_view_gl_cs_init(), wined3d_shader_resource_view_gl_cs_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_stateblock_set_index_buffer(), wined3d_stream_info_from_declaration(), wined3d_swapchain_get_display_mode(), wined3d_swapchain_resize_buffers(), wined3d_swapchain_state_init(), wined3d_swapchain_vk_select_vk_format(), wined3d_texture_create_dc(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_prepare_texture(), wined3d_texture_gl_upload_data(), wined3d_texture_init(), wined3d_texture_vk_download_data(), wined3d_texture_vk_upload_data(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_vk_clear().
| const char * debug_d3dinput_classification | ( | enum wined3d_input_classification | classification | ) |
Definition at line 4978 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 5009 of file utils.c.
Referenced by gl_primitive_type_from_d3d(), glsl_primitive_type_from_d3d(), shader_glsl_generate_geometry_shader(), vk_topology_class_from_wined3d(), vk_topology_from_wined3d(), wined3d_device_context_get_primitive_type(), and wined3d_device_context_set_primitive_type().
| const char * debug_d3drenderstate | ( | enum wined3d_render_state | state | ) |
Definition at line 5033 of file utils.c.
Referenced by debug_d3dstate(), and wined3d_stateblock_set_render_state().
| const char * debug_d3dresourcetype | ( | enum wined3d_resource_type | resource_type | ) |
Definition at line 4992 of file utils.c.
Referenced by context_generate_rt_mask_from_resource(), device_resource_released(), resource_init(), texture_resource_unload(), vk_blitter_blit(), vk_image_view_type_from_wined3d(), wined3d_check_device_format(), wined3d_context_gl_set_fbo_key_for_render_target(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_cleanup(), wined3d_device_context_clear_rendertarget_view(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_resolve_sub_resource(), wined3d_render_target_view_gl_cs_init(), wined3d_rendertarget_view_prepare_location(), wined3d_rendertarget_view_validate_location(), wined3d_texture_get_dc(), wined3d_texture_gl_download_data(), wined3d_texture_gl_init(), wined3d_texture_gl_set_compatible_renderbuffer(), wined3d_texture_init(), wined3d_texture_release_dc(), wined3d_texture_update_desc(), wined3d_texture_vk_prepare_texture(), and wined3d_unordered_access_view_vk_clear().
| const char * debug_d3dsamplerstate | ( | enum wined3d_sampler_state | state | ) |
Definition at line 5169 of file utils.c.
Referenced by wined3d_stateblock_set_sampler_state().
| const char * debug_d3dshaderinstructionhandler | ( | enum WINED3D_SHADER_INSTRUCTION_HANDLER | handler_idx | ) |
Definition at line 301 of file shader.c.
Referenced by 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_record_shader_phase(), and shader_sm1_validate_instruction().
Definition at line 5331 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 5194 of file utils.c.
Referenced by fbo_blitter_blit(), glsl_blitter_blit(), surface_cpu_blt(), texture2d_blt(), texture2d_blt_fbo(), vk_blitter_blit(), and wined3d_device_context_blt().
| const char * debug_d3dtexturestate | ( | enum wined3d_texture_stage_state | state | ) |
Definition at line 5214 of file utils.c.
Referenced by debug_d3dstate(), wined3d_device_set_texture_stage_state(), and wined3d_stateblock_set_texture_stage_state().
| const char * debug_d3dtop | ( | enum wined3d_texture_op | d3dtop | ) |
Definition at line 5244 of file utils.c.
| const char * debug_d3dtstype | ( | enum wined3d_transform_state | tstype | ) |
Definition at line 5282 of file utils.c.
Referenced by wined3d_device_set_transform(), wined3d_stateblock_multiply_transform(), and wined3d_stateblock_set_transform().
Definition at line 4895 of file utils.c.
Referenced by resource_init(), texture2d_blt(), wined3d_buffer_gl_create_buffer_object(), wined3d_buffer_init(), wined3d_check_device_format(), and wined3d_texture_init().
| const char * debug_ivec4 | ( | const struct wined3d_ivec4 * | v | ) |
Definition at line 4569 of file utils.c.
Referenced by wined3d_device_set_ps_consts_i(), and wined3d_device_set_vs_consts_i().
| const char * debug_shader_type | ( | enum wined3d_shader_type | shader_type | ) |
Definition at line 5313 of file utils.c.
Referenced by debug_d3dstate(), geometry_shader_init_stream_output(), shader_record_shader_phase(), shader_set_function(), vk_shader_stage_from_wined3d(), and vkd3d_shader_visibility_from_wined3d().
| const char * debug_uvec4 | ( | const struct wined3d_uvec4 * | v | ) |
Definition at line 4577 of file utils.c.
Referenced by adapter_gl_clear_uav(), adapter_no3d_clear_uav(), adapter_vk_clear_uav(), and wined3d_device_context_clear_uav_uint().
| const char * debug_vec4 | ( | const struct wined3d_vec4 * | v | ) |
Definition at line 4585 of file utils.c.
Referenced by wined3d_device_context_clear_uav_float(), wined3d_device_set_ps_consts_f(), and wined3d_device_set_vs_consts_f().
| BOOL device_context_add | ( | struct wined3d_device * | device, |
| struct wined3d_context * | context | ||
| ) |
Definition at line 84 of file device.c.
Referenced by adapter_no3d_init_3d(), adapter_vk_init_3d(), and wined3d_swapchain_gl_create_context().
| void device_context_remove | ( | struct wined3d_device * | device, |
| struct wined3d_context * | context | ||
| ) |
Definition at line 118 of file device.c.
Referenced by adapter_no3d_init_3d(), adapter_no3d_uninit_3d(), adapter_vk_init_3d(), adapter_vk_uninit_3d(), and wined3d_context_gl_destroy().
Definition at line 5565 of file device.c.
Referenced by context_apply_draw_state(), context_gl_load_shader_resources(), context_gl_load_stream_output_buffers(), texture_resource_unload(), wined3d_cs_exec_draw(), wined3d_cs_exec_reset_state(), wined3d_cs_exec_set_blend_state(), wined3d_cs_exec_set_clip_plane(), wined3d_cs_exec_set_color_key(), wined3d_cs_exec_set_constant_buffers(), wined3d_cs_exec_set_depth_bounds(), wined3d_cs_exec_set_depth_stencil_state(), wined3d_cs_exec_set_depth_stencil_view(), wined3d_cs_exec_set_index_buffer(), wined3d_cs_exec_set_rasterizer_state(), wined3d_cs_exec_set_render_state(), wined3d_cs_exec_set_rendertarget_views(), wined3d_cs_exec_set_samplers(), wined3d_cs_exec_set_scissor_rects(), wined3d_cs_exec_set_shader(), wined3d_cs_exec_set_shader_resource_views(), wined3d_cs_exec_set_stream_outputs(), wined3d_cs_exec_set_stream_sources(), wined3d_cs_exec_set_texture(), wined3d_cs_exec_set_texture_state(), wined3d_cs_exec_set_transform(), wined3d_cs_exec_set_unordered_access_views(), wined3d_cs_exec_set_vertex_declaration(), wined3d_cs_exec_set_viewports(), wined3d_swapchain_gl_rotate(), and wined3d_swapchain_vk_rotate().
| LRESULT device_process_message | ( | struct wined3d_device * | device, |
| HWND | window, | ||
| BOOL | unicode, | ||
| UINT | message, | ||
| WPARAM | wparam, | ||
| LPARAM | lparam, | ||
| WNDPROC | proc | ||
| ) |
Definition at line 5588 of file device.c.
Referenced by wined3d_wndproc().
| void device_resource_add | ( | struct wined3d_device * | device, |
| struct wined3d_resource * | resource | ||
| ) |
Definition at line 5340 of file device.c.
Referenced by resource_init().
| void device_resource_released | ( | struct wined3d_device * | device, |
| struct wined3d_resource * | resource | ||
| ) |
Definition at line 5358 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 4402 of file context_gl.c.
| void draw_primitive | ( | struct wined3d_device * | device, |
| const struct wined3d_state * | state, | ||
| const struct wined3d_draw_parameters * | draw_parameters | ||
| ) |
Definition at line 4648 of file context_gl.c.
| void dump_color_fixup_desc | ( | struct color_fixup_desc | fixup | ) |
Definition at line 5540 of file utils.c.
Referenced by apply_format_fixups().
| bool ffp_hlsl_compile_ps | ( | const struct ffp_frag_settings * | settings, |
| struct wined3d_shader_desc * | shader_desc | ||
| ) |
Definition at line 971 of file ffp_hlsl.c.
Referenced by wined3d_shader_init_object().
| bool ffp_hlsl_compile_vs | ( | const struct wined3d_ffp_vs_settings * | settings, |
| struct wined3d_shader_desc * | shader_desc, | ||
| struct wined3d_device * | device | ||
| ) |
Definition at line 944 of file ffp_hlsl.c.
Referenced by wined3d_shader_init_object().
| 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 2838 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 6419 of file utils.c.
Referenced by get_ffp_pixel_shader(), 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 2871 of file shader.c.
Referenced by set_glsl_shader_program(), and shader_spirv_compile_arguments_init().
| void find_vs_compile_args | ( | const struct wined3d_state * | state, |
| const struct wined3d_shader * | shader, | ||
| struct vs_compile_args * | args, | ||
| const struct wined3d_context * | context | ||
| ) |
Definition at line 2689 of file shader.c.
Referenced by set_glsl_shader_program().
Definition at line 330 of file wined3d_private.h.
Definition at line 348 of file wined3d_private.h.
Referenced by convert_s8_uint_d24_float().
Definition at line 370 of file wined3d_private.h.
|
inlinestatic |
Definition at line 291 of file wined3d_private.h.
Referenced by dump_color_fixup_desc(), gen_packed_yuv_read(), glsl_blitter_blit(), glsl_blitter_generate_program(), glsl_blitter_generate_yuv_shader(), and shader_glsl_color_correction_ext().
| void get_fog_start_end | ( | const struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| float * | start, | ||
| float * | end | ||
| ) |
Definition at line 5703 of file utils.c.
Referenced by shader_glsl_load_fog_uniform().
| void get_identity_matrix | ( | struct wined3d_matrix * | mat | ) |
Definition at line 5575 of file utils.c.
Referenced by compute_texture_matrix(), state_init_default(), and stateblock_state_init_default().
| void get_modelview_matrix | ( | const struct wined3d_stateblock_state * | state, |
| unsigned int | index, | ||
| struct wined3d_matrix * | mat | ||
| ) |
Definition at line 5588 of file utils.c.
Referenced by wined3d_device_apply_stateblock().
| void get_pointsize_minmax | ( | const struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| float * | out_min, | ||
| float * | out_max | ||
| ) |
Definition at line 5684 of file utils.c.
Referenced by shader_glsl_pointsize_uniform().
| void get_texture_matrix | ( | const struct wined3d_stateblock_state * | state, |
| const unsigned int | tex, | ||
| struct wined3d_matrix * | mat | ||
| ) |
Definition at line 5671 of file utils.c.
Referenced by wined3d_device_apply_stateblock().
Definition at line 71 of file wined3d_private.h.
Referenced by init_transformed_lights(), sampler_desc_from_sampler_states(), shader_glsl_pointsize_uniform(), wined3d_device_apply_stateblock(), and wined3d_stateblock_apply_clear_state().
| BOOL invert_matrix | ( | struct wined3d_matrix * | out, |
| const struct wined3d_matrix * | m | ||
| ) |
Definition at line 6775 of file utils.c.
Referenced by compute_normal_matrix(), and wined3d_device_apply_stateblock().
|
inlinestatic |
Definition at line 273 of file wined3d_private.h.
Referenced by can_use_texture_swizzle(), dump_color_fixup_desc(), fbo_blitter_supported(), shader_glsl_color_correction_ext(), shader_glsl_color_fixup_supported(), and swapchain_blit().
|
inlinestatic |
Definition at line 268 of file wined3d_private.h.
Referenced by apply_format_fixups(), create_texture_view(), fbo_blitter_supported(), find_ps_compile_args(), fp_none_color_fixup_supported(), glsl_blitter_supported(), PRINTF_ATTR(), shader_spirv_color_fixup_supported(), surface_convert_format(), vk_blitter_blit_supported(), wined3d_render_target_view_vk_cs_init(), wined3d_texture_gl_bind(), wined3d_texture_vk_get_default_image_info(), and wined3d_view_vk_create_vk_image_view().
| 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 5554 of file utils.c.
Referenced by wined3d_ffp_get_fs_settings().
|
inlinestatic |
Definition at line 4666 of file wined3d_private.h.
Referenced by draw_primitive(), glsl_vertex_pipe_geometry_shader(), rasterizer_state_from_wined3d(), set_glsl_shader_program(), and shader_glsl_generate_geometry_shader().
|
inlinestatic |
Definition at line 283 of file wined3d_private.h.
Referenced by texture_binding_might_invalidate_fs_settings(), and texture_binding_might_invalidate_ps().
|
inlinestatic |
Definition at line 278 of file wined3d_private.h.
Referenced by can_use_texture_swizzle(), and fbo_blitter_supported().
|
inlinestatic |
Definition at line 5019 of file wined3d_private.h.
Referenced by context_apply_draw_state(), context_state_drawbuf(), glsl_fragment_pipe_vdecl(), glsl_vertex_pipe_vs(), vdecl_miscpart(), wined3d_context_gl_apply_clear_state(), and wined3d_context_vk_update_graphics_pipeline_key().
| void multiply_matrix | ( | struct wined3d_matrix * | dest, |
| const struct wined3d_matrix * | src1, | ||
| const struct wined3d_matrix * | src2 | ||
| ) |
Definition at line 1153 of file utils.c.
Referenced by get_modelview_matrix().
|
inlinestatic |
Definition at line 4634 of file wined3d_private.h.
Referenced by wined3d_texture_gl_bind(), wined3d_texture_gl_get_texture_name(), and wined3d_texture_load().
|
inlinestatic |
Definition at line 4653 of file wined3d_private.h.
Referenced by ffp_blitter_clear_rendertargets(), find_ps_compile_args(), state_srgbwrite(), wined3d_context_gl_apply_clear_state(), and wined3d_ffp_get_fs_settings().
| enum wined3d_format_id pixelformat_for_depth | ( | DWORD | depth | ) |
Definition at line 6067 of file utils.c.
Referenced by adapter_format_from_backbuffer_format(), wined3d_output_get_display_mode(), wined3d_output_update_modes(), and wined3d_restore_display_modes().
| enum wined3d_shader_resource_type pixelshader_get_resource_type | ( | const struct wined3d_shader_reg_maps * | reg_maps, |
| unsigned int | resource_idx, | ||
| DWORD | tex_types | ||
| ) |
Definition at line 3153 of file shader.c.
Referenced by shader_generate_glsl_declarations(), shader_glsl_get_sample_function(), and shader_glsl_tex().
| void resource_cleanup | ( | struct wined3d_resource * | resource | ) |
Definition at line 224 of file resource.c.
Referenced by wined3d_buffer_cleanup(), wined3d_buffer_init(), and wined3d_texture_cleanup().
| 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 | bind_flags, | ||
| 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 | ||
| ) |
| void * resource_offset_map_pointer | ( | struct wined3d_resource * | resource, |
| unsigned int | sub_resource_idx, | ||
| uint8_t * | base_memory, | ||
| const struct wined3d_box * | box | ||
| ) |
Definition at line 574 of file resource.c.
Referenced by texture_resource_sub_resource_map(), and wined3d_cs_map_upload_bo().
| void resource_unload | ( | struct wined3d_resource * | resource | ) |
Definition at line 241 of file resource.c.
Referenced by buffer_resource_unload(), and texture_resource_unload().
| int shader_addline | ( | struct wined3d_string_buffer * | buffer, |
| const char * | fmt, | ||
| ... | |||
| ) |
|
inlinestatic |
Definition at line 4415 of file wined3d_private.h.
Referenced by 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 1873 of file shader.c.
Referenced by shader_glsl_generate_compute_shader(), shader_glsl_generate_domain_shader(), shader_glsl_generate_fragment_shader(), shader_glsl_generate_geometry_shader(), shader_glsl_generate_hull_shader(), shader_glsl_generate_shader_phase(), and shader_glsl_generate_vertex_shader().
|
inlinestatic |
Definition at line 4384 of file wined3d_private.h.
Referenced by shader_glsl_load_constants().
| BOOL shader_get_stream_output_register_info | ( | const struct wined3d_shader * | shader, |
| const struct wined3d_stream_output_element * | so_element, | ||
| unsigned int * | register_idx, | ||
| unsigned int * | component_idx | ||
| ) |
Definition at line 2117 of file shader.c.
Referenced by geometry_shader_init_stream_output(), shader_glsl_generate_stream_output_setup(), and shader_glsl_generate_transform_feedback_varyings().
|
inlinestatic |
Definition at line 4341 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 366 of file shader.c.
Referenced by glsl_is_color_reg_read(), shader_glsl_generate_vs3_rasterizer_input_setup(), shader_glsl_input_pack(), and shader_glsl_setup_sm3_rasterizer_input().
|
inlinestatic |
Definition at line 4431 of file wined3d_private.h.
Referenced by shader_generate_glsl_declarations(), and shader_glsl_get_sample_function().
Definition at line 453 of file shader.c.
Referenced by PRINTF_ATTR(), shader_addline(), and string_buffer_vsprintf().
| void state_cleanup | ( | struct wined3d_state * | state | ) |
Definition at line 648 of file stateblock.c.
Referenced by wined3d_cs_create(), wined3d_cs_destroy(), wined3d_cs_exec_reset_state(), wined3d_device_context_reset_state(), wined3d_device_reset(), wined3d_device_uninit_3d(), and wined3d_state_destroy().
| void state_clipping | ( | struct wined3d_context * | context, |
| const struct wined3d_state * | state, | ||
| DWORD | state_id | ||
| ) |
Definition at line 535 of file ffp_gl.c.
| void state_init | ( | struct wined3d_state * | state, |
| const struct wined3d_d3d_info * | d3d_info, | ||
| uint32_t | flags, | ||
| enum wined3d_feature_level | feature_level | ||
| ) |
Definition at line 2324 of file stateblock.c.
Referenced by wined3d_state_create(), and wined3d_state_reset().
| void state_nop | ( | 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 475 of file stateblock.c.
Referenced by state_cleanup(), and wined3d_device_reset().
| void string_buffer_clear | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 411 of file shader.c.
Referenced by ffp_hlsl_generate_vertex_shader(), find_glsl_domain_shader(), find_glsl_fragment_shader(), find_glsl_geometry_shader(), find_glsl_hull_shader(), find_glsl_vertex_shader(), glsl_blitter_generate_program(), shader_glsl_compile_compute_shader(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_ffp_vertex_shader(), shader_glsl_generate_vs3_rasterizer_input_setup(), shader_glsl_get_register_name(), string_buffer_get(), string_buffer_init(), and string_buffer_vsprintf().
| void string_buffer_free | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 430 of file shader.c.
Referenced by ffp_hlsl_compile_ps(), ffp_hlsl_compile_vs(), ffp_hlsl_generate_vertex_shader(), glsl_blitter_generate_yuv_shader(), shader_glsl_alloc(), shader_glsl_free(), and string_buffer_list_cleanup().
| struct wined3d_string_buffer * string_buffer_get | ( | struct wined3d_string_buffer_list * | list | ) |
Definition at line 484 of file shader.c.
Referenced by glsl_blitter_generate_program(), set_glsl_shader_program(), shader_glsl_add_dst_param(), shader_glsl_add_src_param_ext(), shader_glsl_atomic(), shader_glsl_color_correction(), shader_glsl_generate_color_output(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_ffp_vertex_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_loop(), shader_glsl_setup_vs3_output(), shader_glsl_store_raw_structured(), shader_glsl_texreg2ar(), and shader_glsl_texreg2gb().
| BOOL string_buffer_init | ( | struct wined3d_string_buffer * | buffer | ) |
Definition at line 417 of file shader.c.
Referenced by ffp_hlsl_compile_ps(), ffp_hlsl_compile_vs(), ffp_hlsl_generate_vertex_shader(), shader_glsl_alloc(), and string_buffer_get().
| void string_buffer_list_cleanup | ( | struct wined3d_string_buffer_list * | list | ) |
Definition at line 544 of file shader.c.
Referenced by glsl_blitter_destroy(), and shader_glsl_free().
| void string_buffer_list_init | ( | struct wined3d_string_buffer_list * | list | ) |
Definition at line 539 of file shader.c.
Referenced by shader_glsl_alloc(), and wined3d_glsl_blitter_create().
| void void string_buffer_release | ( | struct wined3d_string_buffer_list * | list, |
| struct wined3d_string_buffer * | buffer | ||
| ) |
Definition at line 532 of file shader.c.
Referenced by glsl_blitter_generate_program(), set_glsl_shader_program(), shader_glsl_add_dst_param(), shader_glsl_add_src_param_ext(), shader_glsl_atomic(), shader_glsl_color_correction(), shader_glsl_generate_color_output(), shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_ffp_vertex_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_loop(), shader_glsl_release_sample_function(), shader_glsl_setup_vs3_output(), shader_glsl_store_raw_structured(), shader_glsl_texreg2ar(), and shader_glsl_texreg2gb().
| int BOOL string_buffer_resize | ( | struct wined3d_string_buffer * | buffer, |
| int | rc | ||
| ) |
Definition at line 435 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, | ||
| ... | |||
| ) |
| void swapchain_set_max_frame_latency | ( | struct wined3d_swapchain * | swapchain, |
| const struct wined3d_device * | device | ||
| ) |
Definition at line 1374 of file swapchain.c.
Referenced by wined3d_device_set_max_frame_latency(), and wined3d_swapchain_init().
| void swapchain_update_draw_bindings | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 1814 of file swapchain.c.
Referenced by wined3d_swapchain_resize_buffers().
| HRESULT texture2d_blt | ( | struct wined3d_texture * | dst_texture, |
| unsigned int | dst_sub_resource_idx, | ||
| const struct wined3d_box * | dst_box, | ||
| struct wined3d_texture * | src_texture, | ||
| unsigned int | src_sub_resource_idx, | ||
| const struct wined3d_box * | src_box, | ||
| uint32_t | flags, | ||
| const struct wined3d_blt_fx * | blt_fx, | ||
| enum wined3d_texture_filter_type | filter | ||
| ) |
Definition at line 1342 of file surface.c.
Referenced by wined3d_cs_exec_blt_sub_resource().
|
inlinestatic |
Definition at line 3469 of file wined3d_private.h.
Referenced by adapter_gl_alloc_bo(), adapter_vk_alloc_bo(), blitter_use_cpu_clear(), context_generate_rt_mask_from_resource(), context_gl_load_shader_resources(), context_gl_load_unordered_access_resources(), cpu_blitter_clear_rtv(), ffp_blitter_clear_rendertargets(), find_ps_compile_args(), mark_managed_resource_dirty(), texture_resource_decref(), texture_resource_incref(), texture_resource_preload(), texture_resource_sub_resource_get_desc(), texture_resource_sub_resource_get_map_pitch(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), texture_resource_unload(), validate_resource_view(), vk_blitter_clear_rendertargets(), wined3d_context_gl_bind_unordered_access_views(), wined3d_context_gl_generate_rt_mask_no_fbo(), wined3d_context_vk_begin_render_pass(), wined3d_context_vk_load_shader_resources(), wined3d_context_vk_reference_resource(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_present(), wined3d_cs_exec_set_depth_stencil_view(), wined3d_cs_exec_update_sub_resource(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_generate_mipmaps(), wined3d_device_context_resolve_sub_resource(), wined3d_render_target_view_gl_cs_init(), wined3d_render_target_view_vk_cs_init(), wined3d_rendertarget_view_get_box(), wined3d_rendertarget_view_get_drawable_size(), wined3d_rendertarget_view_get_locations(), wined3d_rendertarget_view_get_sub_resource_parent(), wined3d_rendertarget_view_init(), wined3d_rendertarget_view_prepare_location(), wined3d_rendertarget_view_validate_location(), wined3d_resource_is_offscreen(), wined3d_resource_vk_barrier(), wined3d_rtv_all_subresources(), wined3d_shader_descriptor_writes_vk_add_srv_write(), wined3d_shader_descriptor_writes_vk_add_uav_write(), wined3d_shader_resource_view_gl_cs_init(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_shader_resource_view_vk_cs_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_srv_all_subresources(), wined3d_state_get_ffp_texture(), wined3d_texture_from_resource(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_gl_cs_init(), wined3d_unordered_access_view_vk_cs_init(), wined3d_view_invalidate_location(), and wined3d_view_load_location().
|
inlinestatic |
Definition at line 4612 of file wined3d_private.h.
Referenced by glsl_vertex_pipe_vdecl(), set_glsl_shader_program(), and wined3d_context_gl_update_tex_unit_map().
|
inlinestatic |
Definition at line 4617 of file wined3d_private.h.
Referenced by draw_primitive(), and wined3d_context_vk_load_buffers().
|
inlinestatic |
Definition at line 4604 of file wined3d_private.h.
Referenced by find_ps_compile_args(), glsl_fragment_pipe_fog(), glsl_vertex_pipe_vdecl(), set_glsl_shader_program(), use_ffp_ps(), wined3d_context_gl_update_tex_unit_map(), wined3d_ffp_get_fs_settings(), and wined3d_stream_info_from_declaration().
|
inlinestatic |
Definition at line 4726 of file wined3d_private.h.
Referenced by wined3d_get_material_colour_source().
| enum vkd3d_shader_visibility vkd3d_shader_visibility_from_wined3d | ( | enum wined3d_shader_type | shader_type | ) |
Definition at line 309 of file shader.c.
Referenced by create_combined_resource_sampler_bindings(), create_resource_bindings(), and shader_spirv_resource_bindings_init().
| bool vshader_get_input | ( | const struct wined3d_shader * | shader, |
| uint8_t | usage_req, | ||
| uint8_t | usage_idx_req, | ||
| unsigned int * | regnum | ||
| ) |
Definition at line 2766 of file shader.c.
Referenced by wined3d_stream_info_from_declaration().
| void wined3d_adapter_cleanup | ( | struct wined3d_adapter * | adapter | ) |
Definition at line 176 of file directx.c.
Referenced by adapter_gl_destroy(), adapter_no3d_destroy(), adapter_vk_destroy(), wined3d_adapter_no3d_create(), and wined3d_adapter_vk_init().
| struct wined3d_adapter * wined3d_adapter_gl_create | ( | unsigned int | ordinal, |
| unsigned int | wined3d_creation_flags | ||
| ) |
Definition at line 5190 of file adapter_gl.c.
Referenced by wined3d_adapter_create().
| BOOL wined3d_adapter_init | ( | struct wined3d_adapter * | adapter, |
| unsigned int | ordinal, | ||
| const LUID * | luid, | ||
| const struct wined3d_adapter_ops * | adapter_ops | ||
| ) |
Definition at line 3383 of file directx.c.
Referenced by wined3d_adapter_gl_init(), wined3d_adapter_no3d_create(), and wined3d_adapter_vk_init().
| BOOL wined3d_adapter_no3d_init_format_info | ( | struct wined3d_adapter * | adapter | ) |
Definition at line 4135 of file utils.c.
Referenced by wined3d_adapter_no3d_create().
| struct wined3d_adapter * wined3d_adapter_vk_create | ( | unsigned int | ordinal, |
| unsigned int | wined3d_creation_flags | ||
| ) |
Definition at line 2555 of file adapter_vk.c.
Referenced by wined3d_adapter_create().
| struct wined3d_allocator_block * wined3d_allocator_allocate | ( | struct wined3d_allocator * | allocator, |
| struct wined3d_context * | context, | ||
| unsigned int | memory_type, | ||
| size_t | size | ||
| ) |
Definition at line 7234 of file utils.c.
Referenced by wined3d_context_vk_allocate_memory(), and wined3d_device_gl_allocate_memory().
| void wined3d_allocator_block_free | ( | struct wined3d_allocator_block * | block | ) |
Definition at line 7087 of file utils.c.
Referenced by wined3d_context_vk_free_memory(), and wined3d_device_gl_free_memory().
| void wined3d_allocator_chunk_cleanup | ( | struct wined3d_allocator_chunk * | chunk | ) |
Definition at line 7117 of file utils.c.
Referenced by wined3d_allocator_gl_create_chunk(), wined3d_allocator_gl_destroy_chunk(), wined3d_allocator_vk_create_chunk(), and wined3d_allocator_vk_destroy_chunk().
| bool wined3d_allocator_chunk_init | ( | struct wined3d_allocator_chunk * | chunk, |
| struct wined3d_allocator * | allocator | ||
| ) |
Definition at line 7141 of file utils.c.
Referenced by wined3d_allocator_gl_create_chunk(), and wined3d_allocator_vk_create_chunk().
| void wined3d_allocator_cleanup | ( | struct wined3d_allocator * | allocator | ) |
Definition at line 7163 of file utils.c.
Referenced by adapter_vk_create_device(), adapter_vk_destroy_device(), wined3d_device_gl_create_primary_opengl_context_cs(), and wined3d_device_gl_delete_opengl_contexts_cs().
| bool wined3d_allocator_init | ( | struct wined3d_allocator * | allocator, |
| size_t | pool_count, | ||
| const struct wined3d_allocator_ops * | allocator_ops | ||
| ) |
Definition at line 7265 of file utils.c.
Referenced by adapter_vk_create_device(), and wined3d_device_gl_create_primary_opengl_context_cs().
Definition at line 6740 of file utils.c.
Referenced by buffer_invalidate_bo_range(), shader_record_shader_phase(), shader_reg_maps_add_tgsm(), shader_spirv_find_graphics_program_variant_vk(), shader_spirv_resource_bindings_add_binding(), shader_spirv_resource_bindings_add_vk_binding(), wined3d_adapter_create_output(), wined3d_adapter_vk_init_device_extensions(), wined3d_buffer_init(), wined3d_context_gl_destroy_allocator_block(), wined3d_context_gl_free_fence(), wined3d_context_gl_free_occlusion_query(), wined3d_context_gl_free_pipeline_statistics_query(), wined3d_context_gl_free_so_statistics_query(), wined3d_context_gl_free_timestamp_query(), wined3d_context_gl_submit_command_fence(), wined3d_context_vk_get_retired_object_vk(), wined3d_context_vk_get_vk_descriptor_pool(), wined3d_context_vk_remove_command_buffer(), wined3d_context_vk_return_vk_descriptor_pool(), wined3d_context_vk_submit_command_buffer(), wined3d_deferred_context_issue_query(), wined3d_deferred_context_map_upload_bo(), wined3d_deferred_context_reference_command_list(), wined3d_deferred_context_reference_resource(), wined3d_deferred_context_require_space(), wined3d_output_update_modes(), wined3d_query_vk_suspend(), wined3d_register_window(), wined3d_shader_descriptor_writes_vk_add_write(), wined3d_shader_resource_bindings_add_binding(), wined3d_swapchain_state_register(), and wined3d_texture_dirty_region_add().
Definition at line 3184 of file wined3d_private.h.
Referenced by wined3d_blend_state_decref(), wined3d_depth_stencil_state_decref(), wined3d_rasterizer_state_decref(), and wined3d_sampler_decref().
|
inlinestatic |
Definition at line 4845 of file wined3d_private.h.
Referenced by wined3d_rtv_all_subresources(), and wined3d_srv_all_subresources().
Definition at line 4940 of file wined3d_private.h.
Referenced by wined3d_query_pool_vk_mark_free().
|
inlinestatic |
Definition at line 4981 of file wined3d_private.h.
Referenced by wined3d_bitmap_get_range().
|
inlinestatic |
Definition at line 4955 of file wined3d_private.h.
Referenced by wined3d_bitmap_ffs(), and wined3d_bitmap_ffz().
|
inlinestatic |
Definition at line 4986 of file wined3d_private.h.
Referenced by wined3d_bitmap_get_range(), and wined3d_query_pool_vk_allocate_query().
|
inlinestatic |
Definition at line 4991 of file wined3d_private.h.
Referenced by wined3d_context_vk_reset_completed_queries(), wined3d_device_apply_stateblock(), wined3d_stateblock_apply(), and wined3d_stateblock_capture().
Definition at line 4950 of file wined3d_private.h.
Referenced by wined3d_context_is_compute_state_dirty(), wined3d_context_is_graphics_state_dirty(), wined3d_device_apply_stateblock(), and wined3d_stateblock_apply_clear_state().
Definition at line 4945 of file wined3d_private.h.
Referenced by shader_get_registers_used(), wined3d_query_pool_vk_allocate_query(), and wined3d_query_pool_vk_mark_complete().
|
inlinestatic |
Definition at line 2879 of file wined3d_private.h.
Referenced by draw_primitive(), and wined3d_context_vk_apply_draw_state().
| void wined3d_buffer_acquire_bo_for_write | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context | ||
| ) |
Definition at line 750 of file buffer.c.
Referenced by buffer_resource_sub_resource_map(), context_gl_load_stream_output_buffers(), context_gl_load_unordered_access_resources(), wined3d_buffer_copy_bo_address(), wined3d_context_vk_load_buffers(), wined3d_context_vk_load_shader_resources(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_vk_clear().
| void wined3d_buffer_cleanup | ( | struct wined3d_buffer * | buffer | ) |
Definition at line 453 of file buffer.c.
Referenced by adapter_gl_destroy_buffer(), adapter_no3d_destroy_buffer(), and adapter_vk_destroy_buffer().
| 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 808 of file buffer.c.
Referenced by wined3d_cs_exec_blt_sub_resource().
| void wined3d_buffer_copy_bo_address | ( | struct wined3d_buffer * | dst_buffer, |
| struct wined3d_context * | context, | ||
| unsigned int | dst_offset, | ||
| const struct wined3d_const_bo_address * | src_addr, | ||
| unsigned int | size | ||
| ) |
Definition at line 785 of file buffer.c.
Referenced by wined3d_buffer_copy(), wined3d_buffer_update_sub_resource(), and wined3d_unordered_access_view_copy_counter().
| DWORD wined3d_buffer_get_memory | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context, | ||
| struct wined3d_bo_address * | data | ||
| ) |
Definition at line 369 of file buffer.c.
Referenced by context_update_stream_info(), wined3d_buffer_copy(), and wined3d_buffer_copy_bo_address().
| void wined3d_buffer_invalidate_location | ( | struct wined3d_buffer * | buffer, |
| uint32_t | location | ||
| ) |
Definition at line 131 of file buffer.c.
Referenced by buffer_resource_sub_resource_map(), buffer_resource_unload(), context_gl_load_stream_output_buffers(), wined3d_buffer_evict_sysmem(), wined3d_buffer_init_data(), wined3d_buffer_load_location(), wined3d_buffer_update_sub_resource(), wined3d_context_vk_load_buffers(), wined3d_unordered_access_view_vk_clear(), 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 484 of file buffer.c.
Referenced by buffer_resource_preload(), context_apply_draw_state(), context_gl_load_shader_resources(), context_gl_load_stream_output_buffers(), context_update_stream_info(), dispatch_compute(), draw_primitive(), wined3d_context_vk_load_buffers(), and wined3d_context_vk_load_shader_resources().
| BOOL wined3d_buffer_load_location | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context, | ||
| uint32_t | location | ||
| ) |
Definition at line 269 of file buffer.c.
Referenced by buffer_resource_sub_resource_map(), buffer_resource_unload(), context_gl_load_unordered_access_resources(), create_buffer_texture(), wined3d_buffer_get_memory(), wined3d_buffer_load(), wined3d_buffer_load_location(), wined3d_buffer_load_sysmem(), wined3d_context_vk_apply_compute_state(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_vk_clear(), and wined3d_view_load_location().
| void * wined3d_buffer_load_sysmem | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context | ||
| ) |
Definition at line 362 of file buffer.c.
Referenced by context_apply_draw_state(), context_update_stream_info(), glsl_fragment_pipe_alpha_test_func(), shader_glsl_ffp_vertex_material_uniform(), shader_glsl_load_constants(), shader_glsl_load_constants_b(), shader_glsl_load_constants_f(), shader_glsl_load_constants_i(), shader_glsl_pointsize_uniform(), wined3d_context_gl_draw_primitive_arrays(), and wined3d_context_gl_load_numbered_arrays().
| HRESULT wined3d_buffer_no3d_init | ( | struct wined3d_buffer * | buffer_no3d, |
| struct wined3d_device * | device, | ||
| const struct wined3d_buffer_desc * | desc, | ||
| const struct wined3d_sub_resource_data * | data, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1040 of file buffer.c.
Referenced by adapter_no3d_create_buffer().
| BOOL wined3d_buffer_prepare_location | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context, | ||
| unsigned int | location | ||
| ) |
Definition at line 257 of file buffer.c.
Referenced by buffer_resource_sub_resource_map(), wined3d_buffer_acquire_bo_for_write(), wined3d_buffer_load(), wined3d_buffer_load_location(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_vk_clear(), and wined3d_view_vk_create_vk_buffer_view().
| void wined3d_buffer_update_sub_resource | ( | struct wined3d_buffer * | buffer, |
| struct wined3d_context * | context, | ||
| const struct upload_bo * | upload_bo, | ||
| unsigned int | offset, | ||
| unsigned int | size | ||
| ) |
Definition at line 827 of file buffer.c.
Referenced by wined3d_cs_exec_update_sub_resource().
| void wined3d_buffer_validate_location | ( | struct wined3d_buffer * | buffer, |
| uint32_t | location | ||
| ) |
Definition at line 102 of file buffer.c.
Referenced by buffer_resource_sub_resource_map(), wined3d_buffer_init_data(), wined3d_buffer_load_location(), wined3d_buffer_update_sub_resource(), and wined3d_unordered_access_view_vk_clear().
|
inlinestatic |
Definition at line 3898 of file wined3d_private.h.
Referenced by indexbuffer(), state_cb(), state_so(), wined3d_buffer_vk_get_buffer_info(), and wined3d_context_gl_load_numbered_arrays().
Definition at line 6672 of file utils.c.
Referenced by wined3d_cs_exec_present().
|
inlinestatic |
Definition at line 1563 of file wined3d_private.h.
|
inlinestatic |
Definition at line 1584 of file wined3d_private.h.
Referenced by ffp_blitter_clear_rendertargets(), and wined3d_format_convert_from_float().
|
inlinestatic |
Definition at line 1628 of file wined3d_private.h.
| void wined3d_context_cleanup | ( | struct wined3d_context * | context | ) |
Definition at line 48 of file context.c.
Referenced by adapter_no3d_init_3d(), adapter_no3d_uninit_3d(), wined3d_context_gl_cleanup(), wined3d_context_vk_cleanup(), and wined3d_context_vk_init().
|
inlinestatic |
Definition at line 4820 of file wined3d_private.h.
Referenced by wined3d_buffer_acquire_bo_for_write(), wined3d_buffer_copy_bo_address(), wined3d_buffer_load_location(), wined3d_texture_load_location(), and wined3d_unordered_access_view_set_counter().
|
inlinestatic |
Definition at line 4833 of file wined3d_private.h.
Referenced by wined3d_buffer_set_bo(), wined3d_command_list_destroy_object(), and wined3d_texture_set_bo().
|
inlinestatic |
| void wined3d_context_init | ( | struct wined3d_context * | context, |
| struct wined3d_swapchain * | swapchain | ||
| ) |
Definition at line 89 of file context.c.
Referenced by wined3d_context_gl_init(), wined3d_context_no3d_init(), and wined3d_context_vk_init().
|
inlinestatic |
Definition at line 5014 of file wined3d_private.h.
Referenced by wined3d_context_vk_apply_compute_state().
|
inlinestatic |
Definition at line 5009 of file wined3d_private.h.
Referenced by context_apply_draw_state(), isStateDirty(), wined3d_buffer_gl_destroy_buffer_object(), wined3d_context_vk_apply_draw_state(), wined3d_context_vk_load_buffers(), and wined3d_context_vk_update_graphics_pipeline_key().
|
inlinestatic |
Definition at line 4808 of file wined3d_private.h.
Referenced by buffer_resource_sub_resource_map(), cpu_blitter_clear_texture(), surface_convert_format(), surface_cpu_blt(), texture_resource_sub_resource_map(), wined3d_cs_exec_map_bo_address(), wined3d_texture_create_dc(), wined3d_texture_load_location(), wined3d_texture_vk_download_data(), and wined3d_texture_vk_upload_data().
| HRESULT wined3d_context_no3d_init | ( | struct wined3d_context * | context_no3d, |
| struct wined3d_swapchain * | swapchain | ||
| ) |
Definition at line 122 of file context.c.
Referenced by adapter_no3d_init_3d().
|
inlinestatic |
Definition at line 4814 of file wined3d_private.h.
Referenced by buffer_resource_sub_resource_map(), buffer_resource_sub_resource_unmap(), cpu_blitter_clear_texture(), surface_convert_format(), surface_cpu_blt(), texture_resource_sub_resource_unmap(), wined3d_buffer_update_sub_resource(), wined3d_texture_destroy_dc(), wined3d_texture_load_location(), wined3d_texture_update_sub_resource(), wined3d_texture_vk_download_data(), and wined3d_texture_vk_upload_data().
| struct wined3d_blitter * wined3d_cpu_blitter_create | ( | void | ) |
Definition at line 1300 of file surface.c.
Referenced by adapter_no3d_init_3d(), adapter_vk_init_3d(), and wined3d_device_gl_create_primary_opengl_context_cs().
| struct wined3d_cs * wined3d_cs_create | ( | struct wined3d_device * | device, |
| const enum wined3d_feature_level * | levels, | ||
| unsigned int | level_count | ||
| ) |
Definition at line 3561 of file cs.c.
Referenced by wined3d_device_init().
| void wined3d_cs_destroy | ( | struct wined3d_cs * | cs | ) |
Definition at line 3657 of file cs.c.
Referenced by wined3d_device_cleanup().
| void wined3d_cs_destroy_object | ( | struct wined3d_cs * | cs, |
| void(*)(void *object) | callback, | ||
| void * | object | ||
| ) |
Definition at line 2299 of file cs.c.
Referenced by adapter_gl_destroy_buffer(), adapter_gl_destroy_query(), adapter_gl_destroy_sampler(), adapter_gl_destroy_texture(), adapter_gl_uninit_3d(), adapter_no3d_destroy_buffer(), adapter_no3d_destroy_rendertarget_view(), adapter_no3d_destroy_texture(), adapter_vk_destroy_buffer(), adapter_vk_destroy_query(), adapter_vk_destroy_sampler(), adapter_vk_destroy_texture(), adapter_vk_uninit_3d(), resource_cleanup(), wined3d_blend_state_decref(), wined3d_buffer_cleanup(), wined3d_command_list_decref(), wined3d_depth_stencil_state_decref(), wined3d_palette_decref(), wined3d_query_decref(), wined3d_rasterizer_state_decref(), wined3d_shader_decref(), wined3d_swapchain_vk_cleanup(), wined3d_texture_cleanup(), wined3d_texture_release_dc(), wined3d_texture_update_desc(), wined3d_vertex_declaration_decref(), wined3d_view_gl_destroy(), and wined3d_view_vk_destroy().
| void wined3d_cs_emit_add_dirty_texture_region | ( | struct wined3d_cs * | cs, |
| struct wined3d_texture * | texture, | ||
| unsigned int | layer | ||
| ) |
Definition at line 2828 of file cs.c.
Referenced by wined3d_texture_add_dirty_region().
| void wined3d_cs_emit_clear | ( | struct wined3d_cs * | cs, |
| DWORD | rect_count, | ||
| const RECT * | rects, | ||
| uint32_t | flags, | ||
| const struct wined3d_color * | color, | ||
| float | depth, | ||
| DWORD | stencil | ||
| ) |
Definition at line 804 of file cs.c.
Referenced by wined3d_device_clear().
| void wined3d_cs_emit_preload_resource | ( | struct wined3d_cs * | cs, |
| struct wined3d_resource * | resource | ||
| ) |
Definition at line 2419 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, | ||
| unsigned int | swap_interval, | ||
| uint32_t | flags | ||
| ) |
Definition at line 748 of file cs.c.
Referenced by wined3d_swapchain_present().
| 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 2037 of file cs.c.
Referenced by wined3d_texture_set_color_key().
| void wined3d_cs_emit_set_render_state | ( | struct wined3d_cs * | cs, |
| enum wined3d_render_state | state, | ||
| DWORD | value | ||
| ) |
| void wined3d_cs_emit_unload_resource | ( | struct wined3d_cs * | cs, |
| struct wined3d_resource * | resource | ||
| ) |
Definition at line 2440 of file cs.c.
Referenced by wined3d_device_evict_managed_resources(), wined3d_device_reset(), wined3d_device_uninit_3d(), and wined3d_texture_update_desc().
|
inlinestatic |
Definition at line 3714 of file wined3d_private.h.
Referenced by adapter_gl_init_3d(), adapter_gl_uninit_3d(), adapter_no3d_uninit_3d(), adapter_vk_uninit_3d(), wined3d_cs_emit_stop(), wined3d_device_reset(), wined3d_device_uninit_3d(), wined3d_palette_set_entries(), wined3d_swapchain_create(), wined3d_swapchain_decref(), wined3d_swapchain_resize_buffers(), wined3d_swapchain_set_palette(), wined3d_swapchain_set_window(), wined3d_swapchain_vk_cleanup(), wined3d_texture_get_dc(), wined3d_texture_init(), wined3d_texture_release_dc(), wined3d_texture_update_desc(), wined3d_view_gl_destroy(), and wined3d_view_vk_destroy().
| void wined3d_cs_init_object | ( | struct wined3d_cs * | cs, |
| void(*)(void *object) | callback, | ||
| void * | object | ||
| ) |
Definition at line 2304 of file cs.c.
Referenced by adapter_gl_init_3d(), wined3d_rendertarget_view_gl_init(), wined3d_rendertarget_view_vk_init(), wined3d_sampler_gl_init(), wined3d_sampler_vk_init(), wined3d_shader_create_cs(), wined3d_shader_create_ds(), wined3d_shader_create_ffp_ps(), wined3d_shader_create_ffp_vs(), wined3d_shader_create_gs(), wined3d_shader_create_hs(), wined3d_shader_create_ps(), wined3d_shader_create_vs(), wined3d_shader_resource_view_gl_init(), wined3d_shader_resource_view_vk_init(), wined3d_texture_get_dc(), wined3d_texture_init(), wined3d_texture_update_desc(), wined3d_unordered_access_view_gl_init(), and wined3d_unordered_access_view_vk_init().
| void wined3d_cs_map_bo_address | ( | struct wined3d_cs * | cs, |
| struct wined3d_bo_address * | addr, | ||
| size_t | size, | ||
| unsigned int | flags | ||
| ) |
Definition at line 2586 of file cs.c.
Definition at line 4845 of file utils.c.
Referenced by resource_init(), wined3d_buffer_init(), wined3d_buffer_vk_barrier(), wined3d_check_device_format(), wined3d_device_context_set_depth_stencil_view(), wined3d_device_context_set_render_targets_and_unordered_access_views(), wined3d_layout_from_bind_mask(), wined3d_texture_init(), wined3d_texture_vk_barrier(), and wined3d_texture_vk_prepare_texture().
| const char * wined3d_debug_feature_level | ( | enum wined3d_feature_level | level | ) |
Definition at line 6619 of file utils.c.
Referenced by wined3d_state_create().
Definition at line 6588 of file utils.c.
Referenced by context_gl_apply_texture_draw_state(), cpu_blitter_clear_texture(), fbo_blitter_blit(), glsl_blitter_blit(), raw_blitter_blit(), surface_convert_format(), surface_cpu_blt(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), texture2d_read_from_framebuffer(), texture_resource_sub_resource_map(), vk_blitter_blit(), wined3d_buffer_get_memory(), wined3d_buffer_gl_prepare_location(), wined3d_buffer_gl_unload_location(), wined3d_buffer_invalidate_range(), wined3d_buffer_load_location(), wined3d_buffer_no3d_prepare_location(), wined3d_buffer_no3d_unload_location(), wined3d_buffer_validate_location(), wined3d_buffer_vk_prepare_location(), wined3d_buffer_vk_unload_location(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_texture_get_memory(), wined3d_texture_gl_download_data(), wined3d_texture_gl_load_location(), wined3d_texture_gl_load_sysmem(), wined3d_texture_gl_prepare_location(), wined3d_texture_gl_unload_location(), wined3d_texture_gl_upload_data(), wined3d_texture_invalidate_location(), wined3d_texture_load_drawable(), wined3d_texture_load_location(), wined3d_texture_load_renderbuffer(), wined3d_texture_no3d_load_location(), wined3d_texture_no3d_prepare_location(), wined3d_texture_no3d_unload_location(), wined3d_texture_update_map_binding(), wined3d_texture_validate_location(), wined3d_texture_vk_download_data(), wined3d_texture_vk_load_location(), wined3d_texture_vk_load_sysmem(), wined3d_texture_vk_load_texture(), wined3d_texture_vk_prepare_location(), wined3d_texture_vk_unload_location(), and wined3d_texture_vk_upload_data().
Definition at line 4828 of file utils.c.
Referenced by resource_init(), texture_resource_unload(), wined3d_buffer_init(), wined3d_texture_init(), and wined3d_texture_set_lod().
| const char * wined3d_debug_view_desc | ( | const struct wined3d_view_desc * | d, |
| const struct wined3d_resource * | resource | ||
| ) |
Definition at line 4867 of file utils.c.
Referenced by adapter_gl_create_rendertarget_view(), adapter_gl_create_shader_resource_view(), adapter_gl_create_unordered_access_view(), adapter_no3d_create_rendertarget_view(), adapter_no3d_create_shader_resource_view(), adapter_no3d_create_unordered_access_view(), adapter_vk_create_rendertarget_view(), adapter_vk_create_shader_resource_view(), adapter_vk_create_unordered_access_view(), wined3d_rendertarget_view_create(), wined3d_rendertarget_view_gl_init(), wined3d_rendertarget_view_no3d_init(), wined3d_rendertarget_view_vk_init(), wined3d_shader_resource_view_create(), wined3d_shader_resource_view_gl_init(), wined3d_shader_resource_view_vk_init(), wined3d_unordered_access_view_create(), wined3d_unordered_access_view_gl_init(), and wined3d_unordered_access_view_vk_init().
|
inlinestatic |
Definition at line 3100 of file wined3d_private.h.
Referenced by wined3d_bo_gl_unmap(), wined3d_bo_vk_unmap(), wined3d_cs_map_upload_bo(), wined3d_cs_unmap_upload_bo(), and wined3d_deferred_context_map_upload_bo().
|
inlinestatic |
Definition at line 3105 of file wined3d_private.h.
Referenced by wined3d_bo_gl_unmap(), wined3d_bo_vk_unmap(), wined3d_cs_map_upload_bo(), wined3d_cs_unmap_upload_bo(), and wined3d_deferred_context_map_upload_bo().
| void wined3d_device_cleanup | ( | struct wined3d_device * | device | ) |
Definition at line 205 of file device.c.
Referenced by adapter_gl_destroy_device(), adapter_no3d_destroy_device(), and adapter_vk_destroy_device().
| void wined3d_device_context_emit_blt_sub_resource | ( | struct wined3d_device_context * | context, |
| 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, | ||
| unsigned int | flags, | ||
| const struct wined3d_blt_fx * | fx, | ||
| enum wined3d_texture_filter_type | filter | ||
| ) |
Definition at line 2703 of file cs.c.
Referenced by wined3d_device_context_blt(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), and wined3d_device_update_texture().
| void wined3d_device_context_emit_clear_rendertarget_view | ( | struct wined3d_device_context * | context, |
| struct wined3d_rendertarget_view * | view, | ||
| const RECT * | rect, | ||
| unsigned int | flags, | ||
| const struct wined3d_color * | color, | ||
| float | depth, | ||
| unsigned int | stencil | ||
| ) |
| void wined3d_device_context_emit_clear_uav | ( | struct wined3d_device_context * | context, |
| struct wined3d_unordered_access_view * | view, | ||
| const struct wined3d_uvec4 * | clear_value, | ||
| bool | fp | ||
| ) |
Definition at line 2854 of file cs.c.
Referenced by wined3d_device_context_clear_uav_float(), and wined3d_device_context_clear_uav_uint().
| void wined3d_device_context_emit_copy_uav_counter | ( | struct wined3d_device_context * | context, |
| struct wined3d_buffer * | dst_buffer, | ||
| unsigned int | offset, | ||
| struct wined3d_unordered_access_view * | uav | ||
| ) |
| void wined3d_device_context_emit_draw | ( | struct wined3d_device_context * | context, |
| enum wined3d_primitive_type | 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 1166 of file cs.c.
Referenced by wined3d_device_context_draw(), and wined3d_device_context_draw_indexed().
| void wined3d_device_context_emit_execute_command_list | ( | struct wined3d_device_context * | context, |
| struct wined3d_command_list * | list, | ||
| bool | restore_state | ||
| ) |
Definition at line 2994 of file cs.c.
Referenced by wined3d_device_context_execute_command_list().
| void wined3d_device_context_emit_generate_mipmaps | ( | struct wined3d_device_context * | context, |
| struct wined3d_shader_resource_view * | view | ||
| ) |
Definition at line 2908 of file cs.c.
Referenced by wined3d_device_context_generate_mipmaps().
| HRESULT wined3d_device_context_emit_map | ( | struct wined3d_device_context * | context, |
| struct wined3d_resource * | resource, | ||
| unsigned int | sub_resource_idx, | ||
| struct wined3d_map_desc * | map_desc, | ||
| const struct wined3d_box * | box, | ||
| unsigned int | flags | ||
| ) |
Definition at line 2488 of file cs.c.
Referenced by wined3d_device_context_map().
| void wined3d_device_context_emit_reset_state | ( | struct wined3d_device_context * | context, |
| bool | invalidate | ||
| ) |
Definition at line 2269 of file cs.c.
Referenced by wined3d_deferred_context_create(), wined3d_device_context_reset_state(), wined3d_device_reset(), and wined3d_device_uninit_3d().
| void wined3d_device_context_emit_set_blend_state | ( | struct wined3d_device_context * | context, |
| struct wined3d_blend_state * | state, | ||
| const struct wined3d_color * | blend_factor, | ||
| unsigned int | sample_mask | ||
| ) |
Definition at line 1800 of file cs.c.
Referenced by wined3d_device_context_set_blend_state(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_clip_plane | ( | struct wined3d_device_context * | context, |
| unsigned int | plane_idx, | ||
| const struct wined3d_vec4 * | plane | ||
| ) |
Definition at line 1961 of file cs.c.
Referenced by wined3d_device_set_clip_plane().
| void wined3d_device_context_emit_set_constant_buffers | ( | struct wined3d_device_context * | context, |
| enum wined3d_shader_type | type, | ||
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| const struct wined3d_constant_buffer_state * | buffers | ||
| ) |
Definition at line 1546 of file cs.c.
Referenced by wined3d_device_context_set_constant_buffers(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_depth_stencil_state | ( | struct wined3d_device_context * | context, |
| struct wined3d_depth_stencil_state * | state, | ||
| unsigned int | stencil_ref | ||
| ) |
Definition at line 1828 of file cs.c.
Referenced by wined3d_device_context_set_depth_stencil_state(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_depth_stencil_view | ( | struct wined3d_device_context * | context, |
| struct wined3d_rendertarget_view * | view | ||
| ) |
Definition at line 1394 of file cs.c.
Referenced by wined3d_device_context_set_depth_stencil_view(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_feature_level | ( | struct wined3d_device_context * | context, |
| enum wined3d_feature_level | level | ||
| ) |
Definition at line 2129 of file cs.c.
Referenced by wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_index_buffer | ( | struct wined3d_device_context * | context, |
| struct wined3d_buffer * | buffer, | ||
| enum wined3d_format_id | format_id, | ||
| unsigned int | offset | ||
| ) |
Definition at line 1511 of file cs.c.
Referenced by wined3d_device_context_set_index_buffer(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_light | ( | struct wined3d_device_context * | context, |
| const struct wined3d_light_info * | light | ||
| ) |
Definition at line 2083 of file cs.c.
Referenced by wined3d_device_context_set_light().
| void wined3d_device_context_emit_set_light_enable | ( | struct wined3d_device_context * | context, |
| unsigned int | idx, | ||
| BOOL | enable | ||
| ) |
Definition at line 2110 of file cs.c.
Referenced by wined3d_device_set_light_enable().
| void wined3d_device_context_emit_set_predication | ( | struct wined3d_device_context * | context, |
| struct wined3d_query * | predicate, | ||
| BOOL | value | ||
| ) |
Definition at line 1245 of file cs.c.
Referenced by wined3d_device_context_set_predication(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_rasterizer_state | ( | struct wined3d_device_context * | context, |
| struct wined3d_rasterizer_state * | rasterizer_state | ||
| ) |
Definition at line 1849 of file cs.c.
Referenced by wined3d_device_context_set_rasterizer_state(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_render_state | ( | struct wined3d_device_context * | context, |
| enum wined3d_render_state | state, | ||
| unsigned int | value | ||
| ) |
Definition at line 1893 of file cs.c.
Referenced by wined3d_device_set_render_state().
| void wined3d_device_context_emit_set_rendertarget_views | ( | struct wined3d_device_context * | context, |
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| struct wined3d_rendertarget_view *const * | views | ||
| ) |
Definition at line 1343 of file cs.c.
Referenced by wined3d_device_context_set_rendertarget_views(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_samplers | ( | struct wined3d_device_context * | context, |
| enum wined3d_shader_type | type, | ||
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| struct wined3d_sampler *const * | samplers | ||
| ) |
Definition at line 1737 of file cs.c.
Referenced by wined3d_device_context_set_samplers(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_scissor_rects | ( | struct wined3d_device_context * | context, |
| unsigned int | rect_count, | ||
| const RECT * | rects | ||
| ) |
Definition at line 1296 of file cs.c.
Referenced by wined3d_device_context_set_rendertarget_views(), wined3d_device_context_set_scissor_rects(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_shader | ( | struct wined3d_device_context * | context, |
| enum wined3d_shader_type | type, | ||
| struct wined3d_shader * | shader | ||
| ) |
Definition at line 1768 of file cs.c.
Referenced by wined3d_device_apply_stateblock(), wined3d_device_context_set_shader(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_shader_resource_views | ( | struct wined3d_device_context * | context, |
| enum wined3d_shader_type | type, | ||
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| struct wined3d_shader_resource_view *const * | views | ||
| ) |
Definition at line 1659 of file cs.c.
Referenced by wined3d_device_context_set_shader_resource_views(), and wined3d_device_context_set_state().
| void wined3d_device_context_emit_set_stream_outputs | ( | struct wined3d_device_context * | context, |
| const struct wined3d_stream_output | outputs[WINED3D_MAX_STREAM_OUTPUT_BUFFERS] | ||
| ) |
Definition at line 1481 of file cs.c.
Referenced by wined3d_device_context_set_state(), and wined3d_device_context_set_stream_outputs().
| void wined3d_device_context_emit_set_stream_sources | ( | struct wined3d_device_context * | context, |
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| const struct wined3d_stream_state * | streams | ||
| ) |
Definition at line 1446 of file cs.c.
Referenced by wined3d_device_context_set_state(), and wined3d_device_context_set_stream_sources().
| void wined3d_device_context_emit_set_texture | ( | struct wined3d_device_context * | context, |
| enum wined3d_shader_type | shader_type, | ||
| unsigned int | bind_index, | ||
| struct wined3d_shader_resource_view * | view | ||
| ) |
Definition at line 1621 of file cs.c.
Referenced by wined3d_device_set_texture().
| void wined3d_device_context_emit_set_texture_state | ( | struct wined3d_device_context * | context, |
| unsigned int | stage, | ||
| enum wined3d_texture_stage_state | state, | ||
| unsigned int | value | ||
| ) |
Definition at line 1914 of file cs.c.
Referenced by wined3d_device_set_texture_stage_state().
| void wined3d_device_context_emit_set_transform | ( | struct wined3d_device_context * | context, |
| enum wined3d_transform_state | state, | ||
| const struct wined3d_matrix * | matrix | ||
| ) |
Definition at line 1940 of file cs.c.
Referenced by wined3d_device_set_transform().
| void wined3d_device_context_emit_set_unordered_access_views | ( | struct wined3d_device_context * | context, |
| enum wined3d_pipeline | pipeline, | ||
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| struct wined3d_unordered_access_view *const * | views, | ||
| const unsigned int * | initial_count | ||
| ) |
Definition at line 1701 of file cs.c.
Referenced by wined3d_device_context_set_state(), and wined3d_device_context_set_unordered_access_views().
| void wined3d_device_context_emit_set_vertex_declaration | ( | struct wined3d_device_context * | context, |
| struct wined3d_vertex_declaration * | declaration | ||
| ) |
Definition at line 1414 of file cs.c.
Referenced by wined3d_device_context_set_state(), and wined3d_device_context_set_vertex_declaration().
| void wined3d_device_context_emit_set_viewports | ( | struct wined3d_device_context * | context, |
| unsigned int | viewport_count, | ||
| const struct wined3d_viewport * | viewports | ||
| ) |
Definition at line 1270 of file cs.c.
Referenced by wined3d_device_context_set_rendertarget_views(), wined3d_device_context_set_state(), and wined3d_device_context_set_viewports().
| HRESULT wined3d_device_context_emit_unmap | ( | struct wined3d_device_context * | context, |
| struct wined3d_resource * | resource, | ||
| unsigned int | sub_resource_idx | ||
| ) |
Definition at line 2541 of file cs.c.
Referenced by wined3d_device_context_unmap().
| void wined3d_device_context_emit_update_sub_resource | ( | struct wined3d_device_context * | context, |
| 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 2766 of file cs.c.
Referenced by wined3d_buffer_init_data(), wined3d_device_context_push_constants(), wined3d_device_context_update_sub_resource(), and wined3d_texture_create().
|
inlinestatic |
Definition at line 3676 of file wined3d_private.h.
Referenced by wined3d_deferred_context_record_command_list(), wined3d_device_context_clear_rendertarget_view(), wined3d_device_context_clear_sysmem_texture(), wined3d_device_context_clear_uav_float(), wined3d_device_context_clear_uav_uint(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_copy_uav_counter(), wined3d_device_context_dispatch(), wined3d_device_context_dispatch_indirect(), wined3d_device_context_draw(), wined3d_device_context_draw_indexed(), wined3d_device_context_draw_indirect(), wined3d_device_context_execute_command_list(), wined3d_device_context_flush(), wined3d_device_context_generate_mipmaps(), wined3d_device_context_issue_query(), wined3d_device_context_map(), wined3d_device_context_reset_state(), wined3d_device_context_resolve_sub_resource(), wined3d_device_context_set_blend_state(), wined3d_device_context_set_constant_buffers(), wined3d_device_context_set_depth_stencil_state(), wined3d_device_context_set_depth_stencil_view(), wined3d_device_context_set_index_buffer(), wined3d_device_context_set_predication(), wined3d_device_context_set_primitive_type(), wined3d_device_context_set_rasterizer_state(), wined3d_device_context_set_render_targets_and_unordered_access_views(), wined3d_device_context_set_rendertarget_views(), wined3d_device_context_set_samplers(), wined3d_device_context_set_scissor_rects(), wined3d_device_context_set_shader(), wined3d_device_context_set_shader_resource_views(), wined3d_device_context_set_state(), wined3d_device_context_set_stream_outputs(), wined3d_device_context_set_stream_sources(), wined3d_device_context_set_unordered_access_views(), wined3d_device_context_set_vertex_declaration(), wined3d_device_context_set_viewports(), wined3d_device_context_unmap(), and wined3d_device_context_update_sub_resource().
| void wined3d_device_context_push_constants | ( | struct wined3d_device_context * | context, |
| enum wined3d_push_constants | type, | ||
| uint32_t | update_mask, | ||
| unsigned int | start_idx, | ||
| unsigned int | count, | ||
| const void * | constants | ||
| ) |
Definition at line 2231 of file cs.c.
Referenced by wined3d_device_apply_stateblock(), wined3d_device_set_ps_consts_b(), wined3d_device_set_ps_consts_f(), wined3d_device_set_ps_consts_i(), wined3d_device_set_vs_consts_b(), wined3d_device_set_vs_consts_f(), and wined3d_device_set_vs_consts_i().
| void wined3d_device_context_set_depth_bounds | ( | struct wined3d_device_context * | context, |
| bool | enable, | ||
| float | min_depth, | ||
| float | max_depth | ||
| ) |
Definition at line 1871 of file cs.c.
Referenced by wined3d_device_apply_stateblock().
|
inlinestatic |
Definition at line 3682 of file wined3d_private.h.
Referenced by wined3d_deferred_context_record_command_list(), wined3d_device_context_clear_rendertarget_view(), wined3d_device_context_clear_sysmem_texture(), wined3d_device_context_clear_uav_float(), wined3d_device_context_clear_uav_uint(), wined3d_device_context_copy_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_copy_uav_counter(), wined3d_device_context_dispatch(), wined3d_device_context_dispatch_indirect(), wined3d_device_context_draw(), wined3d_device_context_draw_indexed(), wined3d_device_context_draw_indirect(), wined3d_device_context_execute_command_list(), wined3d_device_context_flush(), wined3d_device_context_generate_mipmaps(), wined3d_device_context_issue_query(), wined3d_device_context_map(), wined3d_device_context_reset_state(), wined3d_device_context_resolve_sub_resource(), wined3d_device_context_set_blend_state(), wined3d_device_context_set_constant_buffers(), wined3d_device_context_set_depth_stencil_state(), wined3d_device_context_set_depth_stencil_view(), wined3d_device_context_set_index_buffer(), wined3d_device_context_set_predication(), wined3d_device_context_set_primitive_type(), wined3d_device_context_set_rasterizer_state(), wined3d_device_context_set_render_targets_and_unordered_access_views(), wined3d_device_context_set_rendertarget_views(), wined3d_device_context_set_samplers(), wined3d_device_context_set_scissor_rects(), wined3d_device_context_set_shader(), wined3d_device_context_set_shader_resource_views(), wined3d_device_context_set_state(), wined3d_device_context_set_stream_outputs(), wined3d_device_context_set_stream_sources(), wined3d_device_context_set_unordered_access_views(), wined3d_device_context_set_vertex_declaration(), wined3d_device_context_set_viewports(), wined3d_device_context_unmap(), and wined3d_device_context_update_sub_resource().
| void wined3d_device_create_default_samplers | ( | struct wined3d_device * | device, |
| struct wined3d_context * | context | ||
| ) |
Definition at line 737 of file device.c.
Referenced by adapter_vk_init_3d(), and wined3d_device_gl_create_primary_opengl_context_cs().
| void wined3d_device_destroy_default_samplers | ( | struct wined3d_device * | device | ) |
Definition at line 784 of file device.c.
Referenced by adapter_gl_uninit_3d(), and adapter_vk_uninit_3d().
| HRESULT wined3d_device_init | ( | struct wined3d_device * | device, |
| struct wined3d * | wined3d, | ||
| unsigned int | adapter_idx, | ||
| enum wined3d_device_type | device_type, | ||
| HWND | focus_window, | ||
| unsigned int | flags, | ||
| BYTE | surface_alignment, | ||
| const enum wined3d_feature_level * | levels, | ||
| unsigned int | level_count, | ||
| const BOOL * | supported_extensions, | ||
| struct wined3d_device_parent * | device_parent | ||
| ) |
Definition at line 5479 of file device.c.
Referenced by adapter_gl_create_device(), adapter_no3d_create_device(), and adapter_vk_create_device().
|
inlinestatic |
Definition at line 3117 of file wined3d_private.h.
| HRESULT wined3d_device_set_implicit_swapchain | ( | struct wined3d_device * | device, |
| struct wined3d_swapchain * | swapchain | ||
| ) |
Definition at line 1537 of file device.c.
Referenced by wined3d_swapchain_create().
| void wined3d_device_uninit_3d | ( | struct wined3d_device * | device | ) |
Definition at line 1662 of file device.c.
Referenced by wined3d_device_cleanup(), and wined3d_swapchain_decref().
| bool wined3d_driver_info_init | ( | struct wined3d_driver_info * | driver_info, |
| const struct wined3d_gpu_description * | gpu_description, | ||
| enum wined3d_feature_level | feature_level, | ||
| UINT64 | vram_bytes, | ||
| UINT64 | sysmem_bytes | ||
| ) |
Diablo 2 crashes when the amount of video memory is greater than 0x7fffffff. In order to avoid this application bug we limit the amount of video memory to LONG_MAX for older Windows versions.
Definition at line 740 of file directx.c.
Referenced by adapter_vk_init_driver_info(), wined3d_adapter_gl_init(), and wined3d_adapter_no3d_create().
|
inlinestatic |
Definition at line 4838 of file wined3d_private.h.
Referenced by wined3d_device_context_set_shader_resource_views(), and wined3d_device_context_unbind_srv_for_rtv().
|
inlinestatic |
Definition at line 4677 of file wined3d_private.h.
Referenced by wined3d_extract_interpolation_mode().
Definition at line 6436 of file utils.c.
Referenced by glsl_fragment_pipe_alloc(), and wined3d_device_init().
| void wined3d_ffp_get_fs_settings | ( | const struct wined3d_state * | state, |
| const struct wined3d_d3d_info * | d3d_info, | ||
| struct ffp_frag_settings * | settings | ||
| ) |
Definition at line 6141 of file utils.c.
Referenced by get_ffp_pixel_shader(), and set_glsl_shader_program().
| void wined3d_ffp_get_vs_settings | ( | const struct wined3d_state * | state, |
| const struct wined3d_stream_info * | si, | ||
| const struct wined3d_d3d_info * | d3d_info, | ||
| struct wined3d_ffp_vs_settings * | settings | ||
| ) |
Definition at line 6444 of file utils.c.
Referenced by get_ffp_vertex_shader(), and set_glsl_shader_program().
Definition at line 6579 of file utils.c.
Referenced by glsl_vertex_pipe_vp_alloc(), and wined3d_device_init().
Definition at line 605 of file wined3d_main.c.
Referenced by set_window_state_thread(), wined3d_swapchain_activate(), and wined3d_swapchain_state_set_fullscreen().
| void wined3d_format_calculate_pitch | ( | const struct wined3d_format * | format, |
| unsigned int | alignment, | ||
| unsigned int | width, | ||
| unsigned int | height, | ||
| unsigned int * | row_pitch, | ||
| unsigned int * | slice_pitch | ||
| ) |
Definition at line 4489 of file utils.c.
Referenced by get_map_pitch(), surface_cpu_blt(), wined3d_calculate_format_pitch(), wined3d_format_calculate_size(), wined3d_texture_get_pitch(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_load_texture(), wined3d_texture_gl_upload_bo(), wined3d_texture_gl_upload_data(), wined3d_texture_update_desc(), and wined3d_texture_vk_upload_data().
| UINT wined3d_format_calculate_size | ( | const struct wined3d_format * | format, |
| UINT | alignment, | ||
| UINT | width, | ||
| UINT | height, | ||
| UINT | depth | ||
| ) |
Definition at line 4519 of file utils.c.
Referenced by wined3d_texture_init().
| void wined3d_format_convert_from_float | ( | const struct wined3d_format * | format, |
| const struct wined3d_color * | color, | ||
| void * | ret | ||
| ) |
Definition at line 5817 of file utils.c.
Referenced by process_vertices_strided(), and wined3d_resource_memory_colour_fill().
| void wined3d_format_copy_data | ( | const struct wined3d_format * | format, |
| const uint8_t * | src, | ||
| unsigned int | src_row_pitch, | ||
| unsigned int | src_slice_pitch, | ||
| uint8_t * | dst, | ||
| unsigned int | dst_row_pitch, | ||
| unsigned int | dst_slice_pitch, | ||
| unsigned int | w, | ||
| unsigned int | h, | ||
| unsigned int | d | ||
| ) |
Definition at line 6080 of file utils.c.
Referenced by wined3d_device_context_emit_update_sub_resource(), wined3d_texture_vk_download_data(), and wined3d_texture_vk_upload_data().
| const struct wined3d_color_key_conversion * wined3d_format_get_color_key_conversion | ( | const struct wined3d_texture * | texture, |
| BOOL | need_alpha_ck | ||
| ) |
Definition at line 1293 of file utils.c.
Referenced by wined3d_texture_gl_load_texture(), and wined3d_texture_gl_prepare_texture().
| void wined3d_format_get_float_color_key | ( | const struct wined3d_format * | format, |
| const struct wined3d_color_key * | key, | ||
| struct wined3d_color * | float_colors | ||
| ) |
Definition at line 5997 of file utils.c.
Referenced by glsl_blitter_blit(), and wined3d_device_apply_stateblock().
| BOOL wined3d_format_is_depth_view | ( | enum wined3d_format_id | resource_format_id, |
| enum wined3d_format_id | view_format_id | ||
| ) |
Definition at line 4476 of file utils.c.
Referenced by wined3d_shader_resource_view_gl_cs_init().
|
inlinestatic |
Definition at line 4599 of file wined3d_private.h.
Referenced by surface_cpu_blt(), texture2d_blt(), texture2d_blt_fbo(), validate_resource_view(), vk_blitter_blit(), vk_blitter_blit_supported(), vk_blitter_clear_rendertargets(), wined3d_check_device_format(), wined3d_device_context_resolve_sub_resource(), wined3d_get_format(), and wined3d_texture_vk_prepare_texture().
| uint32_t wined3d_format_pack | ( | const struct wined3d_format * | format, |
| const struct wined3d_uvec4 * | value | ||
| ) |
Definition at line 5778 of file utils.c.
Referenced by wined3d_unordered_access_view_gl_clear().
| BOOL wined3d_formats_are_srgb_variants | ( | enum wined3d_format_id | format1, |
| enum wined3d_format_id | format2 | ||
| ) |
Definition at line 4535 of file utils.c.
Referenced by validate_resource_view().
|
inlinestatic |
Definition at line 4715 of file wined3d_private.h.
Referenced by adapter_no3d_acquire_context(), adapter_vk_acquire_context(), context_acquire(), device_invalidate_state(), wined3d_context_gl_destroy(), wined3d_context_gl_reacquire(), wined3d_cs_queue_is_empty(), and wined3d_swapchain_gl_create_context().
Definition at line 6643 of file utils.c.
Referenced by shader_glsl_append_imm_vec().
Definition at line 3821 of file wined3d_private.h.
Referenced by wined3d_resource_wait_idle().
Definition at line 241 of file wined3d_main.c.
Referenced by wined3d_dll_init(), and wined3d_init_vulkan().
|
inlinestatic |
| const struct wined3d_format * wined3d_get_format | ( | const struct wined3d_adapter * | adapter, |
| enum wined3d_format_id | format_id, | ||
| unsigned int | bind_flags | ||
| ) |
Definition at line 4428 of file utils.c.
Referenced by adapter_format_from_backbuffer_format(), append_decl_element(), blend_equation_from_wined3d(), mode_matches_filter(), process_vertices_strided(), surface_cpu_blt(), texture2d_blt(), validate_resource_view(), vertexdeclaration_init(), wined3d_buffer_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_context_gl_create_wgl_ctx(), wined3d_device_vk_create_null_resources(), wined3d_output_get_mode(), wined3d_output_get_mode_count(), wined3d_output_set_display_mode(), wined3d_resource_get_decompress_format(), wined3d_swapchain_apply_sample_count_override(), wined3d_swapchain_vk_select_vk_format(), wined3d_texture_create(), wined3d_texture_gl_load_texture(), wined3d_texture_gl_prepare_texture(), wined3d_texture_gl_upload_data(), wined3d_texture_init(), and wined3d_unordered_access_view_vk_clear().
| const struct wined3d_gpu_description * wined3d_get_gpu_description | ( | enum wined3d_pci_vendor | vendor, |
| enum wined3d_pci_device | device | ||
| ) |
Definition at line 688 of file directx.c.
Referenced by adapter_vk_init_driver_info(), query_gpu_description(), wined3d_adapter_init_gl_caps(), and wined3d_get_user_override_gpu_description().
Definition at line 83 of file wined3d_private.h.
Referenced by compile_hlsl_shader(), print_glsl_info_log(), shader_glsl_compile(), shader_glsl_dump_program_source(), shader_glsl_generate_vkd3d_shader(), shader_spirv_compile_shader(), shader_spirv_scan_shader(), and shader_trace().
|
inlinestatic |
Definition at line 4736 of file wined3d_private.h.
Referenced by process_vertices_strided(), and wined3d_ffp_get_vs_settings().
Definition at line 5761 of file utils.c.
Referenced by wined3d_adapter_gl_init(), wined3d_adapter_no3d_create(), and wined3d_adapter_vk_init().
| enum wined3d_format_id wined3d_get_typed_format_id | ( | const struct wined3d_adapter * | adapter, |
| const struct wined3d_format * | format, | ||
| enum wined3d_channel_type | channel_type | ||
| ) |
Definition at line 4460 of file utils.c.
Referenced by wined3d_unordered_access_view_vk_clear().
| const struct wined3d_gpu_description * wined3d_get_user_override_gpu_description | ( | enum wined3d_pci_vendor | vendor, |
| enum wined3d_pci_device | device | ||
| ) |
Definition at line 702 of file directx.c.
Referenced by adapter_vk_init_driver_info(), and query_gpu_description().
| enum wined3d_pci_device wined3d_gpu_from_feature_level | ( | enum wined3d_pci_vendor * | vendor, |
| enum wined3d_feature_level | feature_level | ||
| ) |
Definition at line 930 of file directx.c.
Referenced by wined3d_guess_card().
Definition at line 3477 of file directx.c.
Referenced by wined3d_create().
|
inlinestatic |
Definition at line 4697 of file wined3d_private.h.
Referenced by shader_record_register_usage(), and wined3d_insert_interpolation_mode().
|
inlinestatic |
Definition at line 4913 of file wined3d_private.h.
Referenced by wined3d_device_context_set_shader_resource_views(), and wined3d_device_context_unbind_srv_for_rtv().
| bool wined3d_light_state_enable_light | ( | struct wined3d_light_state * | state, |
| const struct wined3d_d3d_info * | d3d_info, | ||
| struct wined3d_light_info * | light_info, | ||
| BOOL | enable | ||
| ) |
Definition at line 803 of file stateblock.c.
Referenced by wined3d_cs_exec_set_light_enable(), wined3d_device_set_light_enable(), and wined3d_stateblock_set_light_enable().
| struct wined3d_light_info * wined3d_light_state_get_light | ( | const struct wined3d_light_state * | state, |
| unsigned int | idx | ||
| ) |
Definition at line 687 of file stateblock.c.
Referenced by wined3d_cs_exec_set_light(), wined3d_cs_exec_set_light_enable(), wined3d_device_set_light_enable(), wined3d_light_state_set_light(), wined3d_state_record_lights(), wined3d_stateblock_get_light(), wined3d_stateblock_set_light(), and wined3d_stateblock_set_light_enable().
|
inlinestatic |
Definition at line 4161 of file wined3d_private.h.
Referenced by adapter_gl_destroy_device(), adapter_vk_destroy_device(), and wined3d_device_cleanup().
|
inlinestatic |
Definition at line 4154 of file wined3d_private.h.
Definition at line 5034 of file wined3d_private.h.
Referenced by wined3d_cs_map_upload_bo(), and wined3d_device_context_flush_mapped_buffer().
Definition at line 4672 of file wined3d_private.h.
Referenced by color_to_float(), find_draw_buffers_mask(), find_ps_compile_args(), geometry_shader_init_stream_output(), get_color_masks(), glsl_blitter_blit(), set_glsl_shader_program(), shader_glsl_atomic(), shader_glsl_gather4(), shader_glsl_generate_stream_output_setup(), shader_glsl_get_sample_function(), shader_glsl_ld_uav(), shader_glsl_store_uav(), state_stencil(), stateblock_savedstates_set_all(), wined3d_context_gl_enable_clip_distances(), wined3d_context_gl_load_numbered_arrays(), wined3d_context_vk_apply_draw_state(), wined3d_device_apply_stateblock(), wined3d_ffp_get_fs_settings(), wined3d_ffp_get_vs_settings(), wined3d_fixup_alpha(), wined3d_format_convert_from_float(), wined3d_format_get_float_color_key(), wined3d_format_pack(), wined3d_render_pass_vk_init(), and wined3d_unordered_access_view_vk_clear().
|
inlinestatic |
Definition at line 4721 of file wined3d_private.h.
Referenced by adapter_gl_alloc_bo(), adapter_vk_alloc_bo(), device_resource_add(), device_resource_remove(), wined3d_cs_emit_present(), wined3d_device_context_emit_map(), and wined3d_device_context_emit_unmap().
| HRESULT wined3d_output_get_gamma_ramp | ( | struct wined3d_output * | output, |
| struct wined3d_gamma_ramp * | ramp | ||
| ) |
Definition at line 1772 of file directx.c.
Referenced by wined3d_swapchain_get_gamma_ramp().
Definition at line 3813 of file wined3d_private.h.
Referenced by wined3d_cs_mt_finish(), and wined3d_resource_wait_idle().
Definition at line 432 of file wined3d_private.h.
Referenced by set_glsl_shader_program(), shader_generate_glsl_declarations(), shader_get_registers_used(), shader_glsl_gen_sample_c_lz_emulation(), shader_glsl_generate_clip_or_cull_distances(), wined3d_check_device_multisample_type(), wined3d_debug_location(), wined3d_layout_from_bind_mask(), wined3d_texture_create(), wined3d_texture_vk_download_data(), and wined3d_texture_vk_upload_data().
|
inlinestatic |
Definition at line 5024 of file wined3d_private.h.
Referenced by wined3d_context_vk_apply_draw_state(), and wined3d_context_vk_update_graphics_pipeline_key().
Definition at line 6658 of file utils.c.
Referenced by wined3d_caps_gl_ctx_destroy(), wined3d_context_gl_cleanup(), wined3d_context_gl_create_wgl_ctx(), wined3d_context_gl_init(), wined3d_context_gl_set_gl_context(), wined3d_context_gl_update_window(), and wined3d_device_gl_delete_opengl_contexts_cs().
| void wined3d_rendertarget_view_cleanup | ( | struct wined3d_rendertarget_view * | view | ) |
Definition at line 374 of file view.c.
Referenced by adapter_gl_destroy_rendertarget_view(), adapter_no3d_destroy_rendertarget_view(), and adapter_vk_destroy_rendertarget_view().
| void wined3d_rendertarget_view_get_box | ( | struct wined3d_rendertarget_view * | view, |
| struct wined3d_box * | box | ||
| ) |
Definition at line 542 of file view.c.
Referenced by cpu_blitter_clear().
| void wined3d_rendertarget_view_get_drawable_size | ( | const struct wined3d_rendertarget_view * | view, |
| const struct wined3d_context * | context, | ||
| unsigned int * | width, | ||
| unsigned int * | height | ||
| ) |
Definition at line 437 of file view.c.
Referenced by ffp_blitter_clear_rendertargets().
| DWORD wined3d_rendertarget_view_get_locations | ( | const struct wined3d_rendertarget_view * | view | ) |
Definition at line 520 of file view.c.
Referenced by wined3d_context_vk_begin_render_pass(), wined3d_context_vk_prepare_used_rtv(), and wined3d_render_pass_key_vk_init().
| void wined3d_rendertarget_view_invalidate_location | ( | struct wined3d_rendertarget_view * | view, |
| uint32_t | location | ||
| ) |
Definition at line 514 of file view.c.
Referenced by draw_primitive(), ffp_blitter_clear_rendertargets(), vk_blitter_clear_rendertargets(), and wined3d_context_vk_apply_draw_state().
| void wined3d_rendertarget_view_load_location | ( | struct wined3d_rendertarget_view * | view, |
| struct wined3d_context * | context, | ||
| uint32_t | location | ||
| ) |
Definition at line 489 of file view.c.
Referenced by draw_primitive(), ffp_blitter_clear_rendertargets(), vk_blitter_clear_rendertargets(), and wined3d_context_vk_prepare_used_rtv().
| HRESULT wined3d_rendertarget_view_no3d_init | ( | struct wined3d_rendertarget_view * | view_no3d, |
| const struct wined3d_view_desc * | desc, | ||
| struct wined3d_resource * | resource, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 649 of file view.c.
Referenced by adapter_no3d_create_rendertarget_view().
| void wined3d_rendertarget_view_prepare_location | ( | struct wined3d_rendertarget_view * | view, |
| struct wined3d_context * | context, | ||
| uint32_t | location | ||
| ) |
Definition at line 469 of file view.c.
Referenced by draw_primitive(), ffp_blitter_clear_rendertargets(), wined3d_context_vk_apply_draw_state(), and wined3d_context_vk_prepare_used_rtv().
| void wined3d_rendertarget_view_validate_location | ( | struct wined3d_rendertarget_view * | view, |
| uint32_t | location | ||
| ) |
Definition at line 495 of file view.c.
Referenced by draw_primitive(), ffp_blitter_clear_rendertargets(), vk_blitter_clear_rendertargets(), wined3d_context_vk_apply_draw_state(), and wined3d_cs_exec_present().
Definition at line 3217 of file wined3d_private.h.
| HRESULT wined3d_resource_check_box_dimensions | ( | struct wined3d_resource * | resource, |
| unsigned int | sub_resource_idx, | ||
| const struct wined3d_box * | box | ||
| ) |
Definition at line 488 of file resource.c.
Referenced by wined3d_device_context_blt(), wined3d_device_context_clear_rendertarget_view(), wined3d_device_context_clear_sysmem_texture(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_map(), and wined3d_texture_add_dirty_region().
|
inlinestatic |
Definition at line 3283 of file wined3d_private.h.
Referenced by wined3d_command_list_decref(), wined3d_cs_packet_decref_objects(), wined3d_deferred_context_destroy(), wined3d_rendertarget_view_decref(), wined3d_shader_resource_view_decref(), and wined3d_unordered_access_view_decref().
| void wined3d_resource_free_sysmem | ( | struct wined3d_resource * | resource | ) |
Definition at line 345 of file resource.c.
Referenced by wined3d_buffer_evict_sysmem(), wined3d_resource_destroy_object(), wined3d_texture_evict_sysmem(), and wined3d_texture_update_desc().
| const struct wined3d_format * wined3d_resource_get_decompress_format | ( | const struct wined3d_resource * | resource | ) |
Definition at line 447 of file resource.c.
Referenced by wined3d_texture_gl_prepare_texture(), and wined3d_texture_gl_upload_data().
| unsigned int wined3d_resource_get_sample_count | ( | const struct wined3d_resource * | resource | ) |
Definition at line 456 of file resource.c.
Referenced by vk_blitter_blit(), vk_blitter_blit_supported(), wined3d_context_vk_apply_draw_state(), wined3d_render_pass_key_vk_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_texture_gl_allocate_immutable_storage(), wined3d_texture_gl_prepare_rb(), wined3d_texture_vk_download_data(), wined3d_texture_vk_prepare_texture(), and wined3d_texture_vk_upload_data().
|
inlinestatic |
Definition at line 3288 of file wined3d_private.h.
Referenced by wined3d_device_context_map(), wined3d_device_context_update_sub_resource(), and wined3d_resource_check_box_dimensions().
|
inlinestatic |
Definition at line 3294 of file wined3d_private.h.
Referenced by resource_offset_map_pointer(), wined3d_cs_map_upload_bo(), wined3d_device_context_emit_map(), and wined3d_device_context_emit_unmap().
|
inlinestatic |
Definition at line 3278 of file wined3d_private.h.
Referenced by wined3d_cs_packet_incref_objects(), wined3d_deferred_context_map_upload_bo(), wined3d_deferred_context_reference_resource(), wined3d_rendertarget_view_init(), wined3d_shader_resource_view_incref(), wined3d_shader_resource_view_init(), and wined3d_unordered_access_view_init().
| BOOL wined3d_resource_is_offscreen | ( | struct wined3d_resource * | resource | ) |
Definition at line 406 of file resource.c.
Referenced by ffp_blitter_clear_rendertargets(), texture2d_blt(), texture2d_read_from_framebuffer(), wined3d_context_gl_acquire(), wined3d_context_gl_apply_clear_state(), wined3d_gl_get_internal_format(), wined3d_resource_update_draw_binding(), and wined3d_texture_load_drawable().
| void wined3d_resource_memory_colour_fill | ( | struct wined3d_resource * | resource, |
| const struct wined3d_map_desc * | map, | ||
| const struct wined3d_color * | colour, | ||
| const struct wined3d_box * | box, | ||
| bool | full_subresource | ||
| ) |
Definition at line 601 of file resource.c.
Referenced by cpu_blitter_clear_texture(), and wined3d_texture_load_location().
| BOOL wined3d_resource_prepare_sysmem | ( | struct wined3d_resource * | resource | ) |
Definition at line 337 of file resource.c.
Referenced by wined3d_buffer_gl_prepare_location(), wined3d_buffer_init(), wined3d_buffer_no3d_prepare_location(), wined3d_buffer_vk_prepare_location(), wined3d_texture_gl_prepare_location(), wined3d_texture_no3d_prepare_location(), wined3d_texture_update_desc(), and wined3d_texture_vk_prepare_location().
|
inlinestatic |
Definition at line 3805 of file wined3d_private.h.
Referenced by resource_cleanup(), wined3d_cs_emit_add_dirty_texture_region(), wined3d_cs_emit_clear(), wined3d_cs_emit_preload_resource(), wined3d_cs_emit_present(), wined3d_cs_emit_unload_resource(), wined3d_cs_reference_command_list(), and wined3d_cs_reference_resource().
| void wined3d_resource_update_draw_binding | ( | struct wined3d_resource * | resource | ) |
Definition at line 425 of file resource.c.
Referenced by swapchain_update_draw_bindings(), wined3d_texture_init(), and wined3d_texture_set_swapchain().
|
inlinestatic |
Definition at line 3827 of file wined3d_private.h.
Referenced by wined3d_buffer_init(), wined3d_device_context_emit_map(), wined3d_device_context_emit_update_sub_resource(), wined3d_texture_cleanup_sync(), wined3d_texture_decref(), and wined3d_texture_update_desc().
|
inlinestatic |
Definition at line 4865 of file wined3d_private.h.
Referenced by wined3d_rtv_overlaps_srv().
|
inlinestatic |
Definition at line 4894 of file wined3d_private.h.
Referenced by wined3d_device_context_set_rendertarget_views(), and wined3d_device_set_implicit_swapchain().
|
inlinestatic |
Definition at line 4889 of file wined3d_private.h.
Referenced by wined3d_device_context_set_rendertarget_views().
|
inlinestatic |
Definition at line 4899 of file wined3d_private.h.
Referenced by wined3d_is_srv_rtv_bound().
|
inlinestatic |
Definition at line 314 of file wined3d_private.h.
Referenced by find_ps_compile_args(), and wined3d_ffp_get_fs_settings().
| HRESULT wined3d_shader_create_ffp_ps | ( | struct wined3d_device * | device, |
| const struct ffp_frag_settings * | settings, | ||
| struct wined3d_shader ** | shader | ||
| ) |
Definition at line 3370 of file shader.c.
Referenced by get_ffp_pixel_shader().
| HRESULT wined3d_shader_create_ffp_vs | ( | struct wined3d_device * | device, |
| const struct wined3d_ffp_vs_settings * | settings, | ||
| struct wined3d_shader ** | shader | ||
| ) |
Definition at line 3345 of file shader.c.
Referenced by get_ffp_vertex_shader().
| HRESULT wined3d_shader_extract_from_dxbc | ( | struct wined3d_shader * | shader, |
| unsigned int | max_shader_version, | ||
| enum vkd3d_shader_source_type * | source_type | ||
| ) |
Definition at line 2085 of file shader_sm4.c.
Referenced by shader_set_function().
|
inlinestatic |
Definition at line 1367 of file wined3d_private.h.
Referenced by shader_glsl_gather4(), shader_glsl_ld(), shader_glsl_sample(), and shader_glsl_sample_c().
| void wined3d_shader_resource_view_cleanup | ( | struct wined3d_shader_resource_view * | view | ) |
Definition at line 978 of file view.c.
Referenced by adapter_gl_destroy_shader_resource_view(), and adapter_vk_destroy_shader_resource_view().
| void wined3d_shader_resource_view_destroy | ( | struct wined3d_shader_resource_view * | view | ) |
Definition at line 983 of file view.c.
Referenced by wined3d_shader_resource_view_decref(), and wined3d_texture_decref().
| const struct wined3d_fragment_pipe_ops * wined3d_spirv_fragment_pipe_init_vk | ( | void | ) |
Definition at line 1311 of file shader_spirv.c.
Referenced by wined3d_adapter_vk_init().
| const struct wined3d_shader_backend_ops * wined3d_spirv_shader_backend_init_vk | ( | void | ) |
Definition at line 1161 of file shader_spirv.c.
Referenced by wined3d_adapter_vk_init().
| const struct wined3d_vertex_pipe_ops * wined3d_spirv_vertex_pipe_init_vk | ( | void | ) |
Definition at line 1227 of file shader_spirv.c.
Referenced by wined3d_adapter_vk_init().
Definition at line 1573 of file wined3d_private.h.
Referenced by wined3d_colour_srgb_from_linear().
|
inlinestatic |
Definition at line 4850 of file wined3d_private.h.
Referenced by wined3d_rtv_overlaps_srv().
|
inlinestatic |
Definition at line 4884 of file wined3d_private.h.
Referenced by state_unbind_resources(), and wined3d_device_context_set_shader_resource_views().
|
inlinestatic |
Definition at line 4879 of file wined3d_private.h.
Referenced by wined3d_device_context_set_shader_resource_views().
|
inlinestatic |
Definition at line 3987 of file wined3d_private.h.
Referenced by is_invalid_op(), resolve_depth_buffer(), wined3d_cs_exec_set_color_key(), and wined3d_ffp_get_fs_settings().
|
inlinestatic |
Definition at line 2976 of file wined3d_private.h.
Referenced by wined3d_cs_exec_reset_state(), wined3d_device_context_reset_state(), wined3d_device_reset(), and wined3d_device_uninit_3d().
|
inlinestatic |
Definition at line 2985 of file wined3d_private.h.
Referenced by draw_primitive(), and wined3d_context_vk_apply_draw_state().
| void wined3d_stateblock_invalidate_texture_lod | ( | struct wined3d_stateblock * | stateblock, |
| struct wined3d_texture * | texture | ||
| ) |
| void wined3d_stream_info_from_declaration | ( | struct wined3d_stream_info * | stream_info, |
| const struct wined3d_state * | state, | ||
| const struct wined3d_d3d_info * | d3d_info | ||
| ) |
Definition at line 160 of file context.c.
Referenced by context_update_stream_info(), wined3d_context_vk_update_graphics_pipeline_key(), and wined3d_device_process_vertices().
| void wined3d_swapchain_activate | ( | struct wined3d_swapchain * | swapchain, |
| BOOL | activate | ||
| ) |
Definition at line 1826 of file swapchain.c.
Referenced by device_process_message().
| void wined3d_swapchain_cleanup | ( | struct wined3d_swapchain * | swapchain | ) |
Definition at line 30 of file swapchain.c.
Referenced by adapter_no3d_destroy_swapchain(), wined3d_swapchain_gl_cleanup(), and wined3d_swapchain_vk_cleanup().
| struct wined3d_output * wined3d_swapchain_get_output | ( | const struct wined3d_swapchain * | swapchain | ) |
Definition at line 287 of file swapchain.c.
Referenced by wined3d_swapchain_activate(), wined3d_swapchain_get_display_mode(), wined3d_swapchain_get_gamma_ramp(), wined3d_swapchain_get_raster_status(), and wined3d_swapchain_set_gamma_ramp().
| HRESULT wined3d_swapchain_no3d_init | ( | struct wined3d_swapchain * | swapchain_no3d, |
| struct wined3d_device * | device, | ||
| const struct wined3d_swapchain_desc * | desc, | ||
| struct wined3d_swapchain_state_parent * | state_parent, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 1685 of file swapchain.c.
Referenced by adapter_no3d_create_swapchain().
| void wined3d_swapchain_state_cleanup | ( | struct wined3d_swapchain_state * | state | ) |
Definition at line 942 of file wined3d_main.c.
Referenced by wined3d_swapchain_cleanup(), wined3d_swapchain_init(), and wined3d_swapchain_state_destroy().
| void wined3d_swapchain_state_register | ( | struct wined3d_swapchain_state * | state | ) |
Definition at line 868 of file wined3d_main.c.
Referenced by wined3d_swapchain_state_init().
| void wined3d_swapchain_state_restore_from_fullscreen | ( | struct wined3d_swapchain_state * | state, |
| HWND | window, | ||
| const RECT * | window_rect | ||
| ) |
Definition at line 2275 of file swapchain.c.
Referenced by wined3d_swapchain_cleanup(), and wined3d_swapchain_state_set_fullscreen().
| HRESULT wined3d_swapchain_state_setup_fullscreen | ( | struct wined3d_swapchain_state * | state, |
| HWND | window, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 2225 of file swapchain.c.
Referenced by wined3d_device_reset(), wined3d_swapchain_init(), and wined3d_swapchain_state_set_fullscreen().
|
inlinestatic |
Definition at line 3459 of file wined3d_private.h.
Referenced by adapter_gl_create_texture(), adapter_no3d_create_texture(), and adapter_vk_create_texture().
| BOOL wined3d_texture_can_use_pbo | ( | const struct wined3d_texture * | texture, |
| const struct wined3d_d3d_info * | d3d_info | ||
| ) |
Definition at line 59 of file texture.c.
Referenced by wined3d_cs_exec_blt_sub_resource(), and wined3d_texture_use_pbo().
| void wined3d_texture_cleanup | ( | struct wined3d_texture * | texture | ) |
Definition at line 1593 of file texture.c.
Referenced by adapter_gl_destroy_texture(), adapter_no3d_destroy_texture(), adapter_vk_destroy_texture(), and wined3d_texture_cleanup_sync().
| void wined3d_texture_clear_dirty_regions | ( | struct wined3d_texture * | texture | ) |
Definition at line 753 of file texture.c.
Referenced by wined3d_device_update_texture().
| void wined3d_texture_download_from_texture | ( | struct wined3d_texture * | dst_texture, |
| unsigned int | dst_sub_resource_idx, | ||
| struct wined3d_texture * | src_texture, | ||
| unsigned int | src_sub_resource_idx | ||
| ) |
Definition at line 4381 of file texture.c.
Referenced by texture2d_blt().
| void wined3d_texture_get_bo_address | ( | const struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| struct wined3d_bo_address * | data, | ||
| uint32_t | location | ||
| ) |
Definition at line 727 of file texture.c.
Referenced by cpu_blitter_clear_texture(), surface_convert_format(), surface_cpu_blt(), texture2d_read_from_framebuffer(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), wined3d_cs_exec_blt_sub_resource(), wined3d_texture_create_dc(), wined3d_texture_destroy_dc(), wined3d_texture_download_from_texture(), wined3d_texture_get_memory(), wined3d_texture_gl_clear(), wined3d_texture_gl_load_sysmem(), wined3d_texture_load_location(), wined3d_texture_vk_clear(), and wined3d_texture_vk_load_sysmem().
|
inlinestatic |
Definition at line 3492 of file wined3d_private.h.
Referenced by cpu_blitter_clear_texture(), wined3d_device_context_copy_resource(), wined3d_device_update_texture(), wined3d_rendertarget_view_get_box(), wined3d_texture_create(), wined3d_texture_download_from_texture(), wined3d_texture_gl_load_sysmem(), wined3d_texture_gl_load_texture(), wined3d_texture_load_location(), wined3d_texture_vk_load_sysmem(), and wined3d_texture_vk_load_texture().
|
inlinestatic |
Definition at line 3486 of file wined3d_private.h.
Referenced by create_texture_view(), validate_resource_view(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_update_texture(), wined3d_render_target_view_gl_cs_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_texture_get_level_box(), wined3d_texture_get_sub_resource_desc(), wined3d_texture_gl_allocate_immutable_storage(), wined3d_texture_gl_allocate_mutable_storage(), wined3d_texture_gl_download_data(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), wined3d_texture_vk_download_data(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_gl_cs_init().
|
inlinestatic |
Definition at line 3480 of file wined3d_private.h.
Referenced by ffp_blitter_clear_rendertargets(), glsl_blitter_blit(), surface_convert_format(), swapchain_blit_gdi(), texture2d_blt_fbo(), texture2d_get_blt_info(), texture2d_read_from_framebuffer(), texture_resource_sub_resource_get_map_pitch(), wined3d_context_gl_find_fbo_entry(), wined3d_context_gl_get_rt_size(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_context_clear_sysmem_texture(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_resolve_sub_resource(), wined3d_device_create_cursor_texture(), wined3d_device_set_cursor_properties(), wined3d_device_update_texture(), wined3d_rendertarget_view_get_drawable_size(), wined3d_rendertarget_view_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_texture_create_dc(), wined3d_texture_get_level_box(), wined3d_texture_get_pitch(), wined3d_texture_get_sub_resource_desc(), wined3d_texture_gl_allocate_immutable_storage(), wined3d_texture_gl_allocate_mutable_storage(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_set_compatible_renderbuffer(), wined3d_texture_is_full_rect(), wined3d_texture_load_drawable(), wined3d_texture_load_renderbuffer(), wined3d_texture_update_desc(), wined3d_texture_update_overlay(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), wined3d_texture_vk_download_data(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_vk_clear().
|
inlinestatic |
Definition at line 3474 of file wined3d_private.h.
Referenced by ffp_blitter_clear_rendertargets(), glsl_blitter_blit(), surface_convert_format(), swapchain_blit_gdi(), texture2d_blt_fbo(), texture2d_get_blt_info(), texture2d_read_from_framebuffer(), texture_resource_sub_resource_get_map_pitch(), wined3d_context_gl_find_fbo_entry(), wined3d_context_gl_get_rt_size(), wined3d_cs_exec_blt_sub_resource(), wined3d_device_context_clear_sysmem_texture(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_context_resolve_sub_resource(), wined3d_device_create_cursor_texture(), wined3d_device_set_cursor_properties(), wined3d_device_update_texture(), wined3d_rendertarget_view_get_drawable_size(), wined3d_rendertarget_view_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_texture_create_dc(), wined3d_texture_get_level_box(), wined3d_texture_get_pitch(), wined3d_texture_get_sub_resource_desc(), wined3d_texture_gl_allocate_immutable_storage(), wined3d_texture_gl_allocate_mutable_storage(), wined3d_texture_gl_download_data(), wined3d_texture_gl_download_data_slow_path(), wined3d_texture_gl_set_compatible_renderbuffer(), wined3d_texture_is_full_rect(), wined3d_texture_load_drawable(), wined3d_texture_load_renderbuffer(), wined3d_texture_update_desc(), wined3d_texture_update_overlay(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), wined3d_texture_vk_download_data(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_vk_clear().
| void wined3d_texture_invalidate_location | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| uint32_t | location | ||
| ) |
Definition at line 702 of file texture.c.
Referenced by cpu_blitter_clear_texture(), raw_blitter_blit(), surface_convert_format(), surface_cpu_blt(), swapchain_blit(), swapchain_gl_present(), swapchain_vk_present(), texture2d_blt(), texture_resource_sub_resource_map(), texture_resource_unload(), vk_blitter_blit(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_swapchain_gl_rotate(), wined3d_swapchain_init(), wined3d_swapchain_resize_buffers(), wined3d_swapchain_vk_rotate(), wined3d_texture_create_dc(), wined3d_texture_destroy_object(), wined3d_texture_download_from_texture(), wined3d_texture_force_reload(), wined3d_texture_load_location(), wined3d_texture_remove_buffer_object(), wined3d_texture_update_desc(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), wined3d_unordered_access_view_gl_clear(), wined3d_unordered_access_view_vk_clear(), and wined3d_view_invalidate_location().
|
inlinestatic |
Definition at line 3501 of file wined3d_private.h.
Referenced by glsl_blitter_blit(), raw_blitter_blit(), texture2d_blt(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), and vk_blitter_blit().
| void wined3d_texture_load | ( | struct wined3d_texture * | texture, |
| struct wined3d_context * | context, | ||
| BOOL | srgb | ||
| ) |
Definition at line 1657 of file texture.c.
Referenced by context_gl_load_shader_resources(), context_gl_load_unordered_access_resources(), glsl_blitter_blit(), texture_resource_preload(), and wined3d_context_vk_load_shader_resources().
| BOOL wined3d_texture_load_location | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| struct wined3d_context * | context, | ||
| uint32_t | location | ||
| ) |
Definition at line 770 of file texture.c.
Referenced by cpu_blitter_blit(), cpu_blitter_clear_texture(), glsl_blitter_blit(), raw_blitter_blit(), surface_convert_format(), surface_cpu_blt(), swapchain_blit_gdi(), swapchain_frontbuffer_updated(), swapchain_gl_present(), swapchain_vk_present(), texture2d_blt(), texture2d_blt_fbo(), texture2d_depth_blt_fbo(), texture_resource_sub_resource_map(), texture_resource_unload(), vk_blitter_blit(), wined3d_cs_exec_add_dirty_texture_region(), wined3d_cs_exec_blt_sub_resource(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_swapchain_gl_rotate(), wined3d_swapchain_vk_rotate(), wined3d_texture_create_dc(), wined3d_texture_get_memory(), wined3d_texture_gl_load_sysmem(), wined3d_texture_gl_load_texture(), wined3d_texture_load(), wined3d_texture_load_drawable(), wined3d_texture_load_location(), wined3d_texture_update_map_binding(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), and wined3d_view_load_location().
| HRESULT wined3d_texture_no3d_init | ( | struct wined3d_texture * | texture_no3d, |
| struct wined3d_device * | device, | ||
| const struct wined3d_resource_desc * | desc, | ||
| unsigned int | layer_count, | ||
| unsigned int | level_count, | ||
| uint32_t | flags, | ||
| void * | parent, | ||
| const struct wined3d_parent_ops * | parent_ops | ||
| ) |
Definition at line 4570 of file texture.c.
Referenced by adapter_no3d_create_texture().
| BOOL wined3d_texture_prepare_location | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| struct wined3d_context * | context, | ||
| uint32_t | location | ||
| ) |
| void wined3d_texture_set_swapchain | ( | struct wined3d_texture * | texture, |
| struct wined3d_swapchain * | swapchain | ||
| ) |
Definition at line 1263 of file texture.c.
Referenced by swapchain_create_texture(), wined3d_swapchain_cleanup(), wined3d_swapchain_init(), and wined3d_swapchain_resize_buffers().
| void wined3d_texture_sub_resources_destroyed | ( | struct wined3d_texture * | texture | ) |
Definition at line 1111 of file texture.c.
Referenced by adapter_gl_destroy_texture(), adapter_no3d_destroy_texture(), adapter_vk_destroy_texture(), and wined3d_texture_cleanup_sync().
| void wined3d_texture_translate_drawable_coords | ( | const struct wined3d_texture * | texture, |
| HWND | window, | ||
| RECT * | rect | ||
| ) |
Definition at line 91 of file texture.c.
Referenced by glsl_blitter_blit(), and texture2d_blt_fbo().
| void wined3d_texture_update_sub_resource | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| struct wined3d_context * | context, | ||
| const struct upload_bo * | upload_bo, | ||
| const struct wined3d_box * | box, | ||
| unsigned int | row_pitch, | ||
| unsigned int | slice_pitch | ||
| ) |
Definition at line 4440 of file texture.c.
Referenced by wined3d_cs_exec_update_sub_resource().
| void wined3d_texture_upload_from_texture | ( | struct wined3d_texture * | dst_texture, |
| unsigned int | dst_sub_resource_idx, | ||
| unsigned int | dst_x, | ||
| unsigned int | dst_y, | ||
| unsigned int | dst_z, | ||
| struct wined3d_texture * | src_texture, | ||
| unsigned int | src_sub_resource_idx, | ||
| const struct wined3d_box * | src_box | ||
| ) |
Definition at line 4335 of file texture.c.
Referenced by glsl_blitter_blit(), and texture2d_blt().
| void wined3d_texture_validate_location | ( | struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx, | ||
| uint32_t | location | ||
| ) |
Definition at line 678 of file texture.c.
Referenced by raw_blitter_blit(), surface_convert_format(), surface_cpu_blt(), swapchain_blit(), swapchain_gl_present(), swapchain_vk_present(), texture2d_blt(), texture_resource_sub_resource_map(), texture_resource_unload(), vk_blitter_blit(), wined3d_cs_exec_blt_sub_resource(), wined3d_cs_exec_present(), wined3d_cs_exec_set_depth_stencil_view(), wined3d_rendertarget_view_validate_location(), wined3d_shader_resource_view_gl_generate_mipmap(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_swapchain_gl_rotate(), wined3d_swapchain_init(), wined3d_swapchain_resize_buffers(), wined3d_swapchain_vk_rotate(), wined3d_texture_destroy_object(), wined3d_texture_download_from_texture(), wined3d_texture_gl_clear(), wined3d_texture_load_location(), wined3d_texture_update_desc(), wined3d_texture_update_sub_resource(), wined3d_texture_upload_from_texture(), wined3d_texture_vk_clear(), wined3d_unordered_access_view_gl_clear(), and wined3d_unordered_access_view_vk_clear().
| bool wined3d_texture_validate_sub_resource_idx | ( | const struct wined3d_texture * | texture, |
| unsigned int | sub_resource_idx | ||
| ) |
Definition at line 50 of file texture.c.
Referenced by wined3d_device_context_blt(), wined3d_device_context_copy_sub_resource_region(), wined3d_device_set_cursor_properties(), wined3d_texture_get_overlay_position(), wined3d_texture_get_sub_resource(), wined3d_texture_get_sub_resource_desc(), wined3d_texture_get_sub_resource_parent(), wined3d_texture_set_overlay_position(), wined3d_texture_set_sub_resource_parent(), and wined3d_texture_update_overlay().
Definition at line 443 of file wined3d_private.h.
Referenced by glsl_program_key_compare(), lights_compare(), wined3d_bo_slab_vk_compare(), wined3d_graphics_pipeline_vk_compare(), wined3d_pipeline_layout_vk_compare(), and wined3d_so_desc_compare().
Definition at line 448 of file wined3d_private.h.
Referenced by wined3d_bo_slab_vk_compare(), and wined3d_graphics_pipeline_vk_compare().
| void wined3d_unordered_access_view_cleanup | ( | struct wined3d_unordered_access_view * | view | ) |
Definition at line 1531 of file view.c.
Referenced by adapter_gl_destroy_unordered_access_view(), and adapter_vk_destroy_unordered_access_view().
| void wined3d_unordered_access_view_copy_counter | ( | struct wined3d_unordered_access_view * | view, |
| struct wined3d_buffer * | buffer, | ||
| unsigned int | offset, | ||
| struct wined3d_context * | context | ||
| ) |
Definition at line 1739 of file view.c.
Referenced by wined3d_cs_exec_copy_uav_counter().
| void wined3d_unordered_access_view_invalidate_location | ( | struct wined3d_unordered_access_view * | view, |
| uint32_t | location | ||
| ) |
Definition at line 1564 of file view.c.
Referenced by context_gl_load_unordered_access_resources(), wined3d_context_vk_load_shader_resources(), and wined3d_unordered_access_view_gl_clear().
| void wined3d_unordered_access_view_set_counter | ( | struct wined3d_unordered_access_view * | view, |
| unsigned int | value | ||
| ) |
Definition at line 1714 of file view.c.
Referenced by wined3d_cs_exec_set_unordered_access_views(), and wined3d_unordered_access_view_gl_cs_init().
Definition at line 790 of file wined3d_main.c.
Referenced by device_process_message(), and wined3d_device_release_focus_window().
|
inlinestatic |
Definition at line 4764 of file wined3d_private.h.
Referenced by init_transformed_lights(), light_set_vertex_data(), and wined3d_device_apply_stateblock().
|
inlinestatic |
Definition at line 4932 of file wined3d_private.h.
Referenced by process_vertices_strided(), viewport_miscpart(), and viewport_miscpart_cc().
| void wined3d_vk_blitter_create | ( | struct wined3d_blitter ** | next | ) |
Definition at line 7048 of file texture.c.
Referenced by adapter_vk_init_3d().
|
static |
Definition at line 253 of file wined3d_private.h.
Referenced by create_color_fixup_desc_from_string(), find_ps_compile_args(), init_format_texture_info(), init_vulkan_format_info(), is_identity_fixup(), PRINTF_ATTR(), wined3d_ffp_get_fs_settings(), wined3d_render_target_view_vk_cs_init(), and wined3d_unordered_access_view_vk_clear().
|
extern |
Definition at line 12311 of file glsl_shader.c.
Referenced by set_glsl_shader_program(), and wined3d_adapter_init_gl_caps().
|
extern |
Definition at line 11693 of file glsl_shader.c.
Referenced by glsl_fragment_pipe_alloc(), glsl_vertex_pipe_vp_alloc(), shader_glsl_alloc(), wined3d_adapter_init_gl_caps(), and wined3d_glsl_blitter_create().
|
extern |
Definition at line 11971 of file glsl_shader.c.
Referenced by set_glsl_shader_program(), and wined3d_adapter_init_gl_caps().
|
extern |
Definition at line 1401 of file ffp_gl.c.
Referenced by wined3d_adapter_gl_init_d3d_info().
|
extern |
Definition at line 1514 of file ffp_gl.c.
Referenced by wined3d_adapter_no3d_create().
|
extern |
Definition at line 2060 of file shader.c.
Referenced by shader_none_alloc(), and wined3d_adapter_no3d_create().
|
extern |
Definition at line 1489 of file ffp_gl.c.
Referenced by wined3d_adapter_no3d_create().
|
extern |
Definition at line 804 of file shader_sm1.c.
Referenced by shader_select_frontend().
|
extern |
Definition at line 1831 of file shader_sm4.c.
Referenced by shader_select_frontend().
|
extern |
Definition at line 104 of file wined3d_main.c.
Referenced by wined3d_cs_command_lock(), wined3d_cs_command_unlock(), and wined3d_dll_destroy().
|
extern |
Definition at line 69 of file device.c.
Referenced by wined3d_device_set_light_enable(), wined3d_state_record_lights(), and wined3d_stateblock_set_light_enable().
|
extern |
Definition at line 3472 of file directx.c.
Referenced by device_load_logo(), glsl_blitter_blit(), prepare_push_constant_buffer(), surface_convert_format(), swapchain_create_texture(), texture2d_blt_fbo(), wined3d_device_apply_stateblock(), wined3d_device_create_cursor_texture(), wined3d_device_create_default_samplers(), wined3d_device_reset(), wined3d_device_set_implicit_swapchain(), wined3d_shader_create_ffp_ps(), wined3d_shader_create_ffp_vs(), wined3d_stateblock_apply_clear_state(), wined3d_streaming_buffer_prepare(), wined3d_swapchain_init(), and wined3d_texture_acquire_identity_srv().
Definition at line 311 of file wined3d_private.h.
Referenced by wined3d_buffer_vk_barrier(), and wined3d_texture_vk_barrier().
Definition at line 116 of file wined3d_main.c.
|
extern |
Definition at line 32 of file shader.c.
Referenced by shader_glsl_generate_ffp_fragment_shader(), shader_glsl_generate_fragment_shader(), and wined3d_srgb_from_linear().