Searched defs:stateblock (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dstateblock.c40 * along with their set/changed flags on the given stateblock object
92 HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock, IWineD3DDeviceImpl *device, WINED3DSTATEBLOCKTYPE type) argument
94 stateblock->ref = 1;
95 stateblock->device = device;
96 stateblock->blockType = type;
98 return stateblock_allocate_shader_constants(stateblock);
H A Dshader.c1664 IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args)
1666 args->fog_src = stateblock->renderState[WINED3DRS_FOGTABLEMODE] == WINED3DFOG_NONE ? VS_FOG_COORD : VS_FOG_Z;
1667 args->clip_enabled = stateblock->renderState[WINED3DRS_CLIPPING]
1668 && stateblock->renderState[WINED3DRS_CLIPPLANEENABLE];
2032 IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args)
2038 args->srgb_correction = stateblock->renderState[WINED3DRS_SRGBWRITEENABLE] ? 1 : 0;
2047 DWORD flags = stateblock->textureState[i][WINED3DTSS_TEXTURETRANSFORMFLAGS];
2060 texture = (IWineD3DBaseTextureImpl *)stateblock->textures[i];
2085 else if (use_vs(stateblock))
2098 if (stateblock
1663 find_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args) argument
2031 find_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args) argument
[all...]
H A Dwined3d_private.h1217 typedef void (*APPLYSTATEFUNC)(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *ctx);
1673 void gen_ffp_frag_op(IWineD3DStateBlockImpl *stateblock, struct ffp_frag_settings *settings,
2806 HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock,
2810 static inline void stateblock_apply_state(DWORD state, IWineD3DStateBlockImpl *stateblock, argument
2813 const struct StateEntry *statetable = stateblock->device->StateTable;
2815 statetable[rep].apply(rep, stateblock, context);
3035 void texture_activate_dimensions(DWORD stage, IWineD3DStateBlockImpl *stateblock,
3037 void sampler_texdim(DWORD state, IWineD3DStateBlockImpl *stateblock,
3039 void tex_alphaop(DWORD state, IWineD3DStateBlockImpl *stateblock,
3041 void apply_pixelshader(DWORD state, IWineD3DStateBlockImpl *stateblock,
3420 use_vs(IWineD3DStateBlockImpl *stateblock) argument
3431 use_ps(IWineD3DStateBlockImpl *stateblock) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Dstateblock.c62 struct d3d9_stateblock *stateblock = impl_from_IDirect3DStateBlock9(iface); local
63 ULONG refcount = InterlockedIncrement(&stateblock->refcount);
72 struct d3d9_stateblock *stateblock = impl_from_IDirect3DStateBlock9(iface); local
73 ULONG refcount = InterlockedDecrement(&stateblock->refcount);
80 wined3d_stateblock_decref(stateblock->wined3d_stateblock);
83 IDirect3DDevice9Ex_Release(stateblock->parent_device);
84 HeapFree(GetProcessHeap(), 0, stateblock); local
92 struct d3d9_stateblock *stateblock = impl_from_IDirect3DStateBlock9(iface); local
96 *device = (IDirect3DDevice9 *)stateblock->parent_device;
106 struct d3d9_stateblock *stateblock local
119 struct d3d9_stateblock *stateblock = impl_from_IDirect3DStateBlock9(iface); local
143 stateblock_init(struct d3d9_stateblock *stateblock, struct d3d9_device *device, D3DSTATEBLOCKTYPE type, struct wined3d_stateblock *wined3d_stateblock) argument
[all...]
H A Ddevice.c1824 D3DSTATEBLOCKTYPE type, IDirect3DStateBlock9 **stateblock)
1830 TRACE("iface %p, type %#x, stateblock %p.\n", iface, type, stateblock);
1834 WARN("Unexpected stateblock type, returning D3DERR_INVALIDCALL.\n");
1845 WARN("Failed to initialize stateblock, hr %#x.\n", hr);
1850 TRACE("Created stateblock %p.\n", object);
1851 *stateblock = &object->IDirect3DStateBlock9_iface;
1870 static HRESULT WINAPI d3d9_device_EndStateBlock(IDirect3DDevice9Ex *iface, IDirect3DStateBlock9 **stateblock) argument
1877 TRACE("iface %p, stateblock %p.\n", iface, stateblock);
1823 d3d9_device_CreateStateBlock(IDirect3DDevice9Ex *iface, D3DSTATEBLOCKTYPE type, IDirect3DStateBlock9 **stateblock) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/
H A Dstateblock.c135 HRESULT stateblock_init(IDirect3DStateBlock9Impl *stateblock, IDirect3DDevice9Impl *device, argument
140 stateblock->lpVtbl = &Direct3DStateBlock9_Vtbl;
141 stateblock->ref = 1;
145 stateblock->wineD3DStateBlock = wined3d_stateblock;
151 &stateblock->wineD3DStateBlock, (IUnknown *)stateblock);
155 WARN("Failed to create wined3d stateblock, hr %#x.\n", hr);
160 stateblock->parentDevice = (IDirect3DDevice9Ex *)device;
161 IDirect3DDevice9Ex_AddRef(stateblock->parentDevice);
H A Ddevice.c1821 D3DSTATEBLOCKTYPE type, IDirect3DStateBlock9 **stateblock)
1827 TRACE("iface %p, type %#x, stateblock %p.\n", iface, type, stateblock);
1832 WARN("Unexpected stateblock type, returning D3DERR_INVALIDCALL.\n");
1840 ERR("Failed to allocate stateblock memory.\n");
1848 WARN("Failed to initialize stateblock, hr %#x.\n", hr);
1853 TRACE("Created stateblock %p.\n", object);
1854 *stateblock = (IDirect3DStateBlock9 *)object;
1874 static HRESULT WINAPI IDirect3DDevice9Impl_EndStateBlock(IDirect3DDevice9Ex *iface, IDirect3DStateBlock9 **stateblock) argument
1881 TRACE("iface %p, stateblock
1820 IDirect3DDevice9Impl_CreateStateBlock(IDirect3DDevice9Ex *iface, D3DSTATEBLOCKTYPE type, IDirect3DStateBlock9 **stateblock) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dnvidia_texture_shader.c41 #define GLINFO_LOCATION stateblock->device->adapter->gl_info
45 static void nvts_activate_dimensions(DWORD stage, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
49 if(stage > 0 && (stateblock->textureState[stage - 1][WINED3DTSS_COLOROP] == WINED3DTOP_BUMPENVMAPLUMINANCE ||
50 stateblock->textureState[stage - 1][WINED3DTSS_COLOROP] == WINED3DTOP_BUMPENVMAP)) {
57 if(stateblock->textures[stage]) {
58 switch(IWineD3DBaseTexture_GetTextureDimensions(stateblock->textures[stage])) {
150 IWineD3DStateBlockImpl *stateblock = This->stateBlock; /* For GLINFO_LOCATION */ local
468 static void nvrc_colorop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
471 BOOL tex_used = stateblock->device->fixed_function_usage_map & (1 << stage);
472 DWORD mapped_stage = stateblock
572 nvts_texdim(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
588 nvts_bumpenvmat(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
617 nvrc_texfactor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
[all...]
H A Dstateblock.c201 * along with their set/changed flags on the given stateblock object
252 /* Set all members of a stateblock savedstate to the given value */
339 void stateblock_init_contained_states(IWineD3DStateBlockImpl *stateblock) argument
341 IWineD3DDeviceImpl *device = stateblock->device;
346 DWORD map = stateblock->changed.renderState[i];
351 stateblock->contained_render_states[stateblock->num_contained_render_states] = (i << 5) | j;
352 ++stateblock->num_contained_render_states;
358 DWORD map = stateblock->changed.transform[i];
363 stateblock
451 stateblock_init_lights(IWineD3DStateBlockImpl *stateblock, struct list *light_map) argument
1335 stateblock_init(IWineD3DStateBlockImpl *stateblock, IWineD3DDeviceImpl *device, WINED3DSTATEBLOCKTYPE type) argument
[all...]
H A Dati_fragment_shader.c810 #define GLINFO_LOCATION stateblock->device->adapter->gl_info
811 static void set_tex_op_atifs(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
813 IWineD3DDeviceImpl *This = stateblock->device;
820 gen_ffp_frag_op(stateblock, &settings, TRUE);
852 texture_activate_dimensions(i, stateblock, context);
859 static void state_texfactor_atifs(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
862 D3DCOLORTOGLFLOAT4(stateblock->renderState[WINED3DRS_TEXTUREFACTOR], col);
868 static void set_bumpmat(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
873 mat[0][0] = *((float *) &stateblock->textureState[stage][WINED3DTSS_BUMPENVMAT00]);
874 mat[1][0] = *((float *) &stateblock
892 textransform(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
899 atifs_apply_pixelshader(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
[all...]
H A Ddrawprim.c445 IWineD3DStateBlockImpl *stateblock = This->stateBlock; local
472 SkipnStrides = pIdxBufS[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
474 SkipnStrides = pIdxBufL[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
483 stateblock->streamOffset[si->elements[i].stream_idx];
502 IWineD3DStateBlockImpl *stateblock = This->stateBlock; local
520 if(((stateblock->streamFlags[i] & WINED3DSTREAMSOURCE_INSTANCEDATA) || (stateblock->streamFlags[i] & WINED3DSTREAMSOURCE_INDEXEDDATA)) && stateblock->streamSource[i]) {
522 if(stateblock->streamFreq[i] == 0){
525 numInstances = stateblock
[all...]
H A Dshader.c1660 IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args)
1662 args->fog_src = stateblock->renderState[WINED3DRS_FOGTABLEMODE] == WINED3DFOG_NONE ? VS_FOG_COORD : VS_FOG_Z;
1663 args->clip_enabled = stateblock->renderState[WINED3DRS_CLIPPING]
1664 && stateblock->renderState[WINED3DRS_CLIPPLANEENABLE];
2026 IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args)
2032 args->srgb_correction = stateblock->renderState[WINED3DRS_SRGBWRITEENABLE] ? 1 : 0;
2041 DWORD flags = stateblock->textureState[i][WINED3DTSS_TEXTURETRANSFORMFLAGS];
2054 texture = (IWineD3DBaseTextureImpl *)stateblock->textures[i];
2079 else if (use_vs(stateblock))
2092 if (stateblock
1659 find_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args) argument
2025 find_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args) argument
[all...]
H A Dstate.c51 static void state_blendop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context);
53 static void state_undefined(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
62 static void state_nop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
67 static void state_fillmode(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
69 WINED3DFILLMODE Value = stateblock->renderState[WINED3DRS_FILLMODE];
89 static void state_lighting(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
101 if (stateblock->renderState[WINED3DRS_LIGHTING]
102 && !stateblock->device->strided_streams.position_transformed)
112 static void state_zenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
115 if (!stateblock
142 state_cullmode(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
169 state_shademode(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
188 state_ditherenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
199 state_zwritenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
213 state_zfunc(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
237 state_ambient(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
247 state_blend(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
372 state_blendop(STATE_RENDER(WINED3DRS_BLENDOPALPHA), stateblock, context); local
460 state_blendfactor_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
465 state_blendfactor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
475 state_alpha(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
539 state_clipping(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
615 state_blendop_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
620 state_blendop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
664 state_specularenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
778 state_texfactor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
815 state_stencil(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
913 state_stencilwrite2s(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
926 state_stencilwrite(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
934 state_fog_vertexpart(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
972 state_fogstartend(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1022 state_fog_fragpart(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1160 state_fogstartend(STATE_RENDER(WINED3DRS_FOGSTART), stateblock, context); local
1164 state_rangefog_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1171 state_rangefog(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1182 state_fogcolor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1190 state_fogdensity(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1201 state_colormat(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1312 state_linepattern(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1333 state_zbias(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1362 state_normalize(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1382 state_psizemin_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1402 state_psizemin_ext(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1423 state_psizemin_arb(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1444 state_pscale(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1520 state_debug_monitor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1525 state_colorwrite(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1561 state_colorwrite0(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1566 state_colorwrite1(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1571 state_colorwrite2(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1576 state_colorwrite3(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1581 state_localviewer(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1592 state_lastpixel(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1607 state_pointsprite_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1619 state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1644 state_wrap(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1675 state_msaa_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1682 state_msaa(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1693 state_scissor(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1713 state_depthbias(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1738 state_zvisible(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1744 state_perspective(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1755 state_stippledalpha(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1762 state_antialias(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1769 state_multisampmask(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1776 state_patchedgestyle(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1783 state_patchsegments(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1804 state_positiondegree(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1811 state_normaldegree(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1818 state_tessellation(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1825 state_wrapu(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1832 state_wrapv(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1839 state_monoenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1846 state_rop2(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1853 state_planemask(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1860 state_subpixel(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1867 state_subpixelx(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1874 state_stippleenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1881 state_mipmaplodbias(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1888 state_anisotropy(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1895 state_flushbatch(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1902 state_translucentsi(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1909 state_extents(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1916 state_ckeyblend(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
1923 state_swvp(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3019 tex_colorop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3082 tex_alphaop(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3184 transform_texture(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3239 loadTexCoords(const struct wined3d_context *context, IWineD3DStateBlockImpl *stateblock, const struct wined3d_stream_info *si, GLuint *curVBO) argument
3291 tex_coordindex(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3451 transform_texture(STATE_TEXTURESTAGE(stage, WINED3DTSS_TEXTURETRANSFORMFLAGS), stateblock, context); local
3467 shaderconstant(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3482 tex_bumpenvlscale(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3499 sampler_texmatrix(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3527 sampler(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3605 apply_pixelshader(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3620 sampler(STATE_SAMPLER(i), stateblock, context); local
3635 stateblock_apply_state(STATE_TEXTURESTAGE(i, WINED3DTSS_COLOROP), stateblock, context); local
3649 shader_bumpenvmat(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3665 transform_world(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3697 clipplane(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3733 transform_worldex(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3777 state_vertexblend_w(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3788 state_vertexblend(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3831 transform_view(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3863 clipplane(STATE_CLIPPLANE(k), stateblock, context); local
3893 transform_projection(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4015 unload_numbered_array(IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context, int i) argument
4026 unloadNumberedArrays(IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4042 loadNumberedArrays(IWineD3DStateBlockImpl *stateblock, const struct wined3d_stream_info *stream_info, struct wined3d_context *context) argument
4218 loadVertexData(const struct wined3d_context *context, IWineD3DStateBlockImpl *stateblock, const struct wined3d_stream_info *si) argument
4472 streamsrc(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4504 vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4522 state_lighting(STATE_RENDER(WINED3DRS_LIGHTING), stateblock, context); local
4563 transform_projection(STATE_TRANSFORM(WINED3DTS_PROJECTION), stateblock, context); local
4583 state_colormat(STATE_RENDER(WINED3DRS_COLORVERTEX), stateblock, context); local
4589 state_clipping(STATE_RENDER(WINED3DRS_CLIPPLANEENABLE), stateblock, context); local
4593 clipplane(STATE_CLIPPLANE(i), stateblock, context); local
4597 state_normalize(STATE_RENDER(WINED3DRS_NORMALIZENORMALS), stateblock, context); local
4624 transform_projection(STATE_TRANSFORM(WINED3DTS_PROJECTION), stateblock, context); local
4638 clipplane(STATE_CLIPPLANE(i), stateblock, context); local
4656 if (updateFog) stateblock_apply_state(STATE_RENDER(WINED3DRS_FOGVERTEXMODE), stateblock, context); local
4662 transform_texture(STATE_TEXTURESTAGE(i, WINED3DTSS_TEXTURETRANSFORMFLAGS), stateblock, context); local
4668 viewport_miscpart(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4695 viewport_vertexpart(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4703 transform_projection(STATE_TRANSFORM(WINED3DTS_PROJECTION), stateblock, context); local
4706 state_pscale(STATE_RENDER(WINED3DRS_POINTSCALEENABLE), stateblock, context); local
4712 light(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4826 scissorrect(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4849 indexbuffer(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
4859 frontface(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5641 multistate_apply_2(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5647 multistate_apply_3(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
[all...]
H A Dutils.c2664 void gen_ffp_frag_op(IWineD3DStateBlockImpl *stateblock, struct ffp_frag_settings *settings, BOOL ignore_textype) { argument
2700 IWineD3DDeviceImpl *device = stateblock->device;
2709 if(stateblock->textureState[i][WINED3DTSS_COLOROP] == WINED3DTOP_DISABLE) {
2722 texture = (IWineD3DBaseTextureImpl *) stateblock->textures[i];
2751 cop = stateblock->textureState[i][WINED3DTSS_COLOROP];
2752 aop = stateblock->textureState[i][WINED3DTSS_ALPHAOP];
2754 carg1 = (args[cop] & ARG1) ? stateblock->textureState[i][WINED3DTSS_COLORARG1] : ARG_UNUSED;
2755 carg2 = (args[cop] & ARG2) ? stateblock->textureState[i][WINED3DTSS_COLORARG2] : ARG_UNUSED;
2756 carg0 = (args[cop] & ARG0) ? stateblock->textureState[i][WINED3DTSS_COLORARG0] : ARG_UNUSED;
2774 aarg1 = (args[aop] & ARG1) ? stateblock
2930 texture_activate_dimensions(DWORD stage, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
3016 sampler_texdim(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
[all...]
H A Darb_program_shader.c130 static inline BOOL ffp_clip_emul(IWineD3DStateBlockImpl *stateblock) argument
132 return stateblock->lowest_disabled_stage < 7;
505 * don't care about them. The pointers are valid for sure because the stateblock is bigger.
4237 static inline void find_arb_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, argument
4243 find_ps_compile_args(shader, stateblock, &args->super);
4245 /* This forces all local boolean constants to 1 to make them stateblock independent */
4250 if(stateblock->pixelShaderConstantB[i]) args->bools |= ( 1 << i);
4257 if((!((IWineD3DDeviceImpl *) shader->baseShader.device)->vs_clipping) && use_vs(stateblock) &&
4258 stateblock->renderState[WINED3DRS_CLIPPING] && stateblock
4292 find_arb_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct arb_vs_compile_args *args) argument
5363 state_texfactor_arbfp(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5384 state_arb_specularenable(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5411 set_bumpmat_arbfp(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5447 tex_bumpenvlum_arbfp(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5695 gen_arbfp_ffp_shader(const struct ffp_frag_settings *settings, IWineD3DStateBlockImpl *stateblock) argument
5969 fragment_prog_arbfp(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
5985 set_bumpmat_arbfp(STATE_TEXTURESTAGE(i, WINED3DTSS_BUMPENVMAT00), stateblock, context); local
5987 state_texfactor_arbfp(STATE_RENDER(WINED3DRS_TEXTUREFACTOR), stateblock, context); local
5988 state_arb_specularenable(STATE_RENDER(WINED3DRS_SPECULARENABLE), stateblock, context); local
6031 set_bumpmat_arbfp(STATE_TEXTURESTAGE(i, WINED3DTSS_BUMPENVMAT00), stateblock, context); local
6033 state_texfactor_arbfp(STATE_RENDER(WINED3DRS_TEXTUREFACTOR), stateblock, context); local
6034 state_arb_specularenable(STATE_RENDER(WINED3DRS_SPECULARENABLE), stateblock, context); local
6065 state_arbfp_fog(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
6092 state_fogstartend(STATE_RENDER(WINED3DRS_FOGSTART), stateblock, context); local
6096 textransform(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context) argument
[all...]
H A Ddevice.c430 IWineD3DStateBlockImpl *stateblock = device->stateBlock; local
431 BOOL vs = stateblock->vertexShader && device->vs_selected_mode != SHADER_NONE;
449 if (((IWineD3DVertexDeclarationImpl *)stateblock->vertexDecl)->half_float_conv_needed && !fixup)
476 static void device_preload_texture(IWineD3DStateBlockImpl *stateblock, unsigned int idx) argument
481 if (!(texture = (IWineD3DBaseTextureImpl *)stateblock->textures[idx])) return;
482 srgb = stateblock->samplerState[idx][WINED3DSAMP_SRGBTEXTURE] ? SRGB_SRGB : SRGB_RGB;
488 IWineD3DStateBlockImpl *stateblock = device->stateBlock; local
491 if (use_vs(stateblock))
495 if (((IWineD3DBaseShaderImpl *)stateblock->vertexShader)->baseShader.reg_maps.sampler_type[i])
496 device_preload_texture(stateblock, MAX_FRAGMENT_SAMPLER
779 IWineD3DDeviceImpl_CreateStateBlock(IWineD3DDevice *iface, WINED3DSTATEBLOCKTYPE type, IWineD3DStateBlock **stateblock, IUnknown *parent) argument
4381 IWineD3DStateBlock *stateblock; local
4510 IWineD3DStateBlockImpl *stateblock = This->stateBlock; local
[all...]
H A Dwined3d_private.h1189 typedef void (*APPLYSTATEFUNC)(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *ctx);
1641 void gen_ffp_frag_op(IWineD3DStateBlockImpl *stateblock, struct ffp_frag_settings *settings,
2771 HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock,
2775 static inline void stateblock_apply_state(DWORD state, IWineD3DStateBlockImpl *stateblock, argument
2778 const struct StateEntry *statetable = stateblock->device->StateTable;
2780 statetable[rep].apply(rep, stateblock, context);
3000 void texture_activate_dimensions(DWORD stage, IWineD3DStateBlockImpl *stateblock,
3002 void sampler_texdim(DWORD state, IWineD3DStateBlockImpl *stateblock,
3004 void tex_alphaop(DWORD state, IWineD3DStateBlockImpl *stateblock,
3006 void apply_pixelshader(DWORD state, IWineD3DStateBlockImpl *stateblock,
3379 use_vs(IWineD3DStateBlockImpl *stateblock) argument
3390 use_ps(IWineD3DStateBlockImpl *stateblock) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dstateblock.c202 * along with their set/changed flags on the given stateblock object
253 /* Set all members of a stateblock savedstate to the given value */
340 void stateblock_init_contained_states(struct wined3d_stateblock *stateblock) argument
342 const struct wined3d_d3d_info *d3d_info = &stateblock->device->adapter->d3d_info;
347 DWORD map = stateblock->changed.renderState[i];
352 stateblock->contained_render_states[stateblock->num_contained_render_states] = (i << 5) | j;
353 ++stateblock->num_contained_render_states;
359 DWORD map = stateblock->changed.transform[i];
364 stateblock
452 stateblock_init_lights(struct wined3d_stateblock *stateblock, struct list *light_map) argument
470 wined3d_stateblock_incref(struct wined3d_stateblock *stateblock) argument
479 stateblock_unbind_resources(struct wined3d_stateblock *stateblock) argument
601 wined3d_stateblock_decref(struct wined3d_stateblock *stateblock) argument
630 HeapFree(GetProcessHeap(), 0, stateblock); local
693 wined3d_stateblock_capture(struct wined3d_stateblock *stateblock) argument
999 wined3d_stateblock_apply(const struct wined3d_stateblock *stateblock) argument
1162 stateblock_init_default_state(struct wined3d_stateblock *stateblock) argument
1414 stateblock_init(struct wined3d_stateblock *stateblock, struct wined3d_device *device, enum wined3d_stateblock_type type) argument
1469 wined3d_stateblock_create(struct wined3d_device *device, enum wined3d_stateblock_type type, struct wined3d_stateblock **stateblock) argument
[all...]
H A Ddevice.c755 struct wined3d_stateblock *stateblock; local
760 FIXME("Something's still holding the update stateblock.\n");
763 stateblock = device->stateBlock;
765 if (wined3d_stateblock_decref(stateblock))
766 FIXME("Something's still holding the stateblock.\n");
1753 /* Note: Using 'updateStateBlock' rather than 'stateblock' in the code
1774 * stateblock problems. When capturing the state block, I duplicate the
2323 /* Compared here and not before the assignment to allow proper stateblock recording. */
2452 /* Checked after the assignment to allow proper stateblock recording. */
3674 /* Checked after the assignments to allow proper stateblock recordin
3911 struct wined3d_stateblock *stateblock; local
3932 wined3d_device_end_stateblock(struct wined3d_device *device, struct wined3d_stateblock **stateblock) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Ddevice.c1516 struct wined3d_stateblock *stateblock; local
1525 hr = wined3d_device_end_stateblock(device->wined3d_device, &stateblock);
1533 *token = d3d8_allocate_handle(&device->handle_table, stateblock, D3D8_HANDLE_SB);
1540 wined3d_stateblock_decref(stateblock);
1546 TRACE("Returning %#x (%p).\n", *token, stateblock);
1554 struct wined3d_stateblock *stateblock; local
1562 stateblock = d3d8_get_object(&device->handle_table, token - 1, D3D8_HANDLE_SB);
1563 if (!stateblock)
1569 wined3d_stateblock_apply(stateblock);
1578 struct wined3d_stateblock *stateblock; local
1599 struct wined3d_stateblock *stateblock; local
1626 struct wined3d_stateblock *stateblock; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/
H A Ddevice.c1307 IWineD3DStateBlock *stateblock; local
1316 hr = IWineD3DDevice_EndStateBlock(This->WineD3DDevice , &stateblock);
1323 *pToken = d3d8_allocate_handle(&This->handle_table, stateblock, D3D8_HANDLE_SB);
1330 IWineD3DStateBlock_Release(stateblock);
1336 TRACE("Returning %#x (%p).\n", *pToken, stateblock);
1343 IWineD3DStateBlock *stateblock; local
1349 stateblock = d3d8_get_object(&This->handle_table, Token - 1, D3D8_HANDLE_SB);
1350 if (!stateblock)
1356 hr = IWineD3DStateBlock_Apply(stateblock);
1364 IWineD3DStateBlock *stateblock; local
1385 IWineD3DStateBlock *stateblock; local
1412 IWineD3DStateBlock *stateblock; local
[all...]

Completed in 222 milliseconds