Lines Matching defs:stateblock
1217 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,
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,
3043 void state_fogcolor(DWORD state, IWineD3DStateBlockImpl *stateblock,
3045 void state_fogdensity(DWORD state, IWineD3DStateBlockImpl *stateblock,
3047 void state_fogstartend(DWORD state, IWineD3DStateBlockImpl *stateblock,
3049 void state_fog_fragpart(DWORD state, IWineD3DStateBlockImpl *stateblock,
3261 void find_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock,
3323 void find_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock,
3420 static inline BOOL use_vs(IWineD3DStateBlockImpl *stateblock)
3422 /* Check stateblock->vertexDecl to allow this to be used from
3424 * stateblock->vertexShader implies a vertex declaration instead of ddraw
3426 return (stateblock->vertexShader
3427 && !((IWineD3DVertexDeclarationImpl *)stateblock->vertexDecl)->position_transformed
3428 && stateblock->device->vs_selected_mode != SHADER_NONE);
3431 static inline BOOL use_ps(IWineD3DStateBlockImpl *stateblock)
3433 return (stateblock->pixelShader && stateblock->device->ps_selected_mode != SHADER_NONE);