Searched refs:declaration (Results 1 - 25 of 44) sorted by relevance

12

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Dvertexdeclaration.c96 /* Compute declaration size */
100 /* convert the declaration */
230 struct d3d9_vertex_declaration *declaration = impl_from_IDirect3DVertexDeclaration9(iface); local
231 ULONG refcount = InterlockedIncrement(&declaration->refcount);
237 IDirect3DDevice9Ex_AddRef(declaration->parent_device);
239 wined3d_vertex_declaration_incref(declaration->wined3d_declaration);
248 struct d3d9_vertex_declaration *declaration = impl_from_IDirect3DVertexDeclaration9(iface); local
249 ULONG refcount = InterlockedDecrement(&declaration->refcount);
255 IDirect3DDevice9Ex *parent_device = declaration->parent_device;
257 wined3d_vertex_declaration_decref(declaration
269 struct d3d9_vertex_declaration *declaration = impl_from_IDirect3DVertexDeclaration9(iface); local
284 struct d3d9_vertex_declaration *declaration = impl_from_IDirect3DVertexDeclaration9(iface); local
321 struct d3d9_vertex_declaration *declaration = parent; local
323 HeapFree(GetProcessHeap(), 0, declaration); local
376 vertexdeclaration_init(struct d3d9_vertex_declaration *declaration, struct d3d9_device *device, const D3DVERTEXELEMENT9 *elements) argument
423 d3d9_vertex_declaration_create(struct d3d9_device *device, const D3DVERTEXELEMENT9 *elements, struct d3d9_vertex_declaration **declaration) argument
[all...]
H A Ddevice.c2475 IDirect3DVertexDeclaration9 *declaration, DWORD flags)
2479 struct d3d9_vertex_declaration *decl_impl = unsafe_impl_from_IDirect3DVertexDeclaration9(declaration);
2482 TRACE("iface %p, src_start_idx %u, dst_idx %u, vertex_count %u, dst_buffer %p, declaration %p, flags %#x.\n",
2483 iface, src_start_idx, dst_idx, vertex_count, dst_buffer, declaration, flags);
2495 const D3DVERTEXELEMENT9 *elements, IDirect3DVertexDeclaration9 **declaration)
2501 TRACE("iface %p, elements %p, declaration %p.\n", iface, elements, declaration);
2503 if (!declaration)
2505 WARN("Caller passed a NULL declaration, returning D3DERR_INVALIDCALL.\n");
2510 *declaration
2473 d3d9_device_ProcessVertices(IDirect3DDevice9Ex *iface, UINT src_start_idx, UINT dst_idx, UINT vertex_count, IDirect3DVertexBuffer9 *dst_buffer, IDirect3DVertexDeclaration9 *declaration, DWORD flags) argument
2494 d3d9_device_CreateVertexDeclaration(IDirect3DDevice9Ex *iface, const D3DVERTEXELEMENT9 *elements, IDirect3DVertexDeclaration9 **declaration) argument
2515 d3d9_device_SetVertexDeclaration(IDirect3DDevice9Ex *iface, IDirect3DVertexDeclaration9 *declaration) argument
2531 d3d9_device_GetVertexDeclaration(IDirect3DDevice9Ex *iface, IDirect3DVertexDeclaration9 **declaration) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dvertexdeclaration.c2 * vertex declaration implementation
51 ULONG CDECL wined3d_vertex_declaration_incref(struct wined3d_vertex_declaration *declaration) argument
53 ULONG refcount = InterlockedIncrement(&declaration->ref);
55 TRACE("%p increasing refcount to %u.\n", declaration, refcount);
60 ULONG CDECL wined3d_vertex_declaration_decref(struct wined3d_vertex_declaration *declaration) argument
62 ULONG refcount = InterlockedDecrement(&declaration->ref);
64 TRACE("%p decreasing refcount to %u.\n", declaration, refcount);
68 HeapFree(GetProcessHeap(), 0, declaration->elements);
69 declaration->parent_ops->wined3d_object_destroyed(declaration
70 HeapFree(GetProcessHeap(), 0, declaration); local
76 wined3d_vertex_declaration_get_parent(const struct wined3d_vertex_declaration *declaration) argument
171 vertexdeclaration_init(struct wined3d_vertex_declaration *declaration, struct wined3d_device *device, const struct wined3d_vertex_element *elements, UINT element_count, void *parent, const struct wined3d_parent_ops *parent_ops) argument
244 wined3d_vertex_declaration_create(struct wined3d_device *device, const struct wined3d_vertex_element *elements, UINT element_count, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_vertex_declaration **declaration) argument
412 wined3d_vertex_declaration_create_from_fvf(struct wined3d_device *device, DWORD fvf, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_vertex_declaration **declaration) argument
[all...]
H A Dshader_sm4.c742 shader_sm4_read_src_param(priv, &p, WINED3D_DATA_FLOAT, &ins->declaration.src);
754 ins->declaration.primitive_type = WINED3D_PT_UNDEFINED;
758 ins->declaration.primitive_type = output_primitive_type_table[primitive_type];
769 ins->declaration.primitive_type = WINED3D_PT_UNDEFINED;
773 ins->declaration.primitive_type = input_primitive_type_table[primitive_type];
778 ins->declaration.count = *p++;
H A Dshader.c542 struct wined3d_shader_semantic *semantic = &ins.declaration.semantic;
572 struct wined3d_shader_register *reg = &ins.declaration.src.reg;
581 shader->u.gs.input_type = ins.declaration.primitive_type;
589 shader->u.gs.output_type = ins.declaration.primitive_type;
597 shader->u.gs.vertices_out = ins.declaration.count;
1408 shader_dump_decl_usage(&ins.declaration.semantic, &shader_version);
1409 shader_dump_ins_modifiers(&ins.declaration.semantic.reg);
1411 shader_dump_dst_param(&ins.declaration.semantic.reg, &shader_version);
1416 shader_dump_src_param(&ins.declaration.src, &shader_version);
1423 shader_dump_primitive_type(ins.declaration
[all...]
H A Ddevice.c180 struct wined3d_vertex_declaration *declaration = state->vertex_declaration; local
190 stream_info->position_transformed = declaration->position_transformed;
191 use_vshader = state->vertex_shader && !declaration->position_transformed;
193 /* Translate the declaration into strided data. */
194 for (i = 0; i < declaration->element_count; ++i)
196 const struct wined3d_vertex_declaration_element *element = &declaration->elements[i];
204 TRACE("%p Element %p (%u of %u)\n", declaration->elements,
205 element, i + 1, declaration->element_count);
2430 struct wined3d_vertex_declaration *declaration)
2434 TRACE("device %p, declaration
2429 wined3d_device_set_vertex_declaration(struct wined3d_device *device, struct wined3d_vertex_declaration *declaration) argument
3580 wined3d_device_process_vertices(struct wined3d_device *device, UINT src_start_idx, UINT dst_idx, UINT vertex_count, struct wined3d_buffer *dst_buffer, const struct wined3d_vertex_declaration *declaration, DWORD flags, DWORD dst_fvf) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/
H A Dvertexdeclaration.c391 IDirect3DVertexDeclaration8Impl *declaration = parent; local
392 HeapFree(GetProcessHeap(), 0, declaration->elements);
393 HeapFree(GetProcessHeap(), 0, declaration); local
401 HRESULT vertexdeclaration_init(IDirect3DVertexDeclaration8Impl *declaration, argument
408 declaration->lpVtbl = &Direct3DVertexDeclaration8_Vtbl;
409 declaration->ref_count = 1;
410 declaration->shader_handle = shader_handle;
412 wined3d_element_count = convert_to_wined3d_declaration(elements, &declaration->elements_size, &wined3d_elements);
413 declaration->elements = HeapAlloc(GetProcessHeap(), 0, declaration
439 vertexdeclaration_init_fvf(IDirect3DVertexDeclaration8Impl *declaration, IDirect3DDevice8Impl *device, DWORD fvf) argument
[all...]
H A Dvertexshader.c112 const DWORD *declaration, DWORD shader_handle, IDirect3DVertexDeclaration8 **decl_ptr)
117 TRACE("device %p, declaration %p, shader_handle %#x, decl_ptr %p.\n",
118 device, declaration, shader_handle, decl_ptr);
127 hr = vertexdeclaration_init(object, device, declaration, shader_handle);
130 WARN("Failed to initialize vertex declaration, hr %#x.\n", hr);
135 TRACE("Created vertex declaration %p.\n", object);
142 const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage)
144 const DWORD *token = declaration;
147 /* Test if the vertex declaration is valid */
169 hr = vertexshader_create_vertexdeclaration(device, declaration, shader_handl
111 vertexshader_create_vertexdeclaration(IDirect3DDevice8Impl *device, const DWORD *declaration, DWORD shader_handle, IDirect3DVertexDeclaration8 **decl_ptr) argument
141 vertexshader_init(IDirect3DVertexShader8Impl *shader, IDirect3DDevice8Impl *device, const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage) argument
[all...]
H A Dd3d8_private.h471 HRESULT vertexdeclaration_init(IDirect3DVertexDeclaration8Impl *declaration,
473 HRESULT vertexdeclaration_init_fvf(IDirect3DVertexDeclaration8Impl *declaration,
529 const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage) DECLSPEC_HIDDEN;
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dvertexdeclaration.c2 * vertex declaration implementation
198 HRESULT vertexdeclaration_init(IWineD3DVertexDeclarationImpl *declaration, IWineD3DDeviceImpl *device, argument
214 declaration->lpVtbl = &IWineD3DVertexDeclaration_Vtbl;
215 declaration->ref = 1;
216 declaration->parent = parent;
217 declaration->parent_ops = parent_ops;
218 declaration->device = device;
219 declaration->elements = HeapAlloc(GetProcessHeap(), 0, sizeof(*declaration->elements) * element_count);
220 if (!declaration
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Dvertexdeclaration.c328 struct d3d8_vertex_declaration *declaration = parent; local
329 HeapFree(GetProcessHeap(), 0, declaration->elements);
330 HeapFree(GetProcessHeap(), 0, declaration); local
333 void d3d8_vertex_declaration_destroy(struct d3d8_vertex_declaration *declaration) argument
335 TRACE("declaration %p.\n", declaration);
338 wined3d_vertex_declaration_decref(declaration->wined3d_vertex_declaration);
347 HRESULT d3d8_vertex_declaration_init(struct d3d8_vertex_declaration *declaration, argument
354 declaration->shader_handle = shader_handle;
356 wined3d_element_count = convert_to_wined3d_declaration(elements, &declaration
382 d3d8_vertex_declaration_init_fvf(struct d3d8_vertex_declaration *declaration, struct d3d8_device *device, DWORD fvf) argument
[all...]
H A Dshader.c63 const DWORD *declaration, DWORD shader_handle, struct d3d8_vertex_declaration **decl_ptr)
68 TRACE("device %p, declaration %p, shader_handle %#x, decl_ptr %p.\n",
69 device, declaration, shader_handle, decl_ptr);
75 hr = d3d8_vertex_declaration_init(object, device, declaration, shader_handle);
78 WARN("Failed to initialize vertex declaration, hr %#x.\n", hr);
83 TRACE("Created vertex declaration %p.\n", object);
90 const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage)
92 const DWORD *token = declaration;
95 /* Test if the vertex declaration is valid. */
114 hr = d3d8_vertexshader_create_vertexdeclaration(device, declaration, shader_handl
62 d3d8_vertexshader_create_vertexdeclaration(struct d3d8_device *device, const DWORD *declaration, DWORD shader_handle, struct d3d8_vertex_declaration **decl_ptr) argument
89 d3d8_vertex_shader_init(struct d3d8_vertex_shader *shader, struct d3d8_device *device, const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage) argument
[all...]
H A Dd3d8_private.h153 struct d3d8_vertex_declaration *declaration; member in struct:FvfToDecl
278 void d3d8_vertex_declaration_destroy(struct d3d8_vertex_declaration *declaration) DECLSPEC_HIDDEN;
279 HRESULT d3d8_vertex_declaration_init(struct d3d8_vertex_declaration *declaration,
281 HRESULT d3d8_vertex_declaration_init_fvf(struct d3d8_vertex_declaration *declaration,
292 const DWORD *declaration, const DWORD *byte_code, DWORD shader_handle, DWORD usage) DECLSPEC_HIDDEN;
H A Ddevice.c365 d3d8_vertex_declaration_destroy(device->decls[i].declaration);
2152 const DWORD *declaration, const DWORD *byte_code, DWORD *shader, DWORD usage)
2160 TRACE("iface %p, declaration %p, byte_code %p, shader %p, usage %#x.\n",
2161 iface, declaration, byte_code, shader, usage);
2183 hr = d3d8_vertex_shader_init(object, device, declaration, byte_code, shader_handle, usage);
2208 TRACE("Searching for declaration for fvf %08x... ", fvf);
2219 TRACE("found %p\n", convertedDecls[p].declaration);
2220 return convertedDecls[p].declaration;
2235 WARN("Failed to initialize vertex declaration, hr %#x.\n", hr);
2257 convertedDecls[low].declaration
2151 d3d8_device_CreateVertexShader(IDirect3DDevice8 *iface, const DWORD *declaration, const DWORD *byte_code, DWORD *shader, DWORD usage) argument
2407 struct d3d8_vertex_declaration *declaration; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/
H A Dvertexdeclaration.c93 /* Compute declaration size */
97 /* convert the declaration */
322 IDirect3DVertexDeclaration9Impl *declaration = parent; local
323 HeapFree(GetProcessHeap(), 0, declaration->elements);
324 HeapFree(GetProcessHeap(), 0, declaration); local
377 HRESULT vertexdeclaration_init(IDirect3DVertexDeclaration9Impl *declaration, argument
388 WARN("Failed to create wined3d vertex declaration elements, hr %#x.\n", hr);
392 declaration->lpVtbl = &Direct3DVertexDeclaration9_Vtbl;
393 declaration->ref = 1;
396 declaration
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dd3dx9mesh.h68 STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
73 STDMETHOD(CloneMesh)(THIS_ DWORD options, CONST D3DVERTEXELEMENT9* declaration, LPDIRECT3DDEVICE9 device,
85 STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
103 STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
108 STDMETHOD(CloneMesh)(THIS_ DWORD options, CONST D3DVERTEXELEMENT9* declaration, LPDIRECT3DDEVICE9 device,
120 STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/
H A DC.g119 : ( declaration_specifiers? declarator declaration* '{' )=> function_definition
120 | declaration
147 ( declaration+ a=compound_statement // K&R style
166 declaration
528 | declaration
544 : IDENTIFIER '(' declaration* statement_list? expression? ')'
554 : '{' declaration* statement_list? '}'
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpidl/
H A Dxpidl_java.c685 * Unlike C, Java has no type declaration directive.
735 * Write beginning of method declaration
860 struct _IDL_CONST_DCL *declaration = &IDL_CONST_DCL(state->tree); local
861 const char *name = IDL_IDENT(declaration->ident).str;
868 real_type = find_underlying_type(declaration->const_type);
869 real_type = real_type ? real_type : declaration->const_type;
884 fprintf(state->file, "int %s = %" IDL_LL "d;\n", name, IDL_INTEGER(declaration->const_exp).value);
886 fprintf(state->file, "long %s = %" IDL_LL "uL;\n", name, IDL_INTEGER(declaration->const_exp).value);
889 fprintf(state->file, "short %s = %" IDL_LL "d;\n", name, IDL_INTEGER(declaration->const_exp).value);
891 fprintf(state->file, "int %s = %" IDL_LL "u;\n", name, IDL_INTEGER(declaration
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dd3dx9mesh.h327 STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
333 STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration,
345 STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
361 STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
367 STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration,
379 STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
404 STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
410 STDMETHOD(CloneMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration,
422 STDMETHOD(UpdateSemantics)(THIS_ D3DVERTEXELEMENT9 declaration[MAX_FVF_DECL_SIZE]) PURE;
426 STDMETHOD(ClonePMesh)(THIS_ DWORD options, const D3DVERTEXELEMENT9 *declaration,
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_grammar.y164 %type <l_node> declaration
244 | declaration
252 * We push a new declaration scope before shifting the
591 declaration: declaration_specifiers ';' { label
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/
H A Dwined3d.h2193 const struct wined3d_vertex_declaration *declaration, DWORD flags, DWORD dst_fvf);
2253 struct wined3d_vertex_declaration *declaration);
2456 const struct wined3d_parent_ops *parent_ops, struct wined3d_vertex_declaration **declaration);
2459 struct wined3d_vertex_declaration **declaration);
2460 ULONG __cdecl wined3d_vertex_declaration_decref(struct wined3d_vertex_declaration *declaration);
2461 void * __cdecl wined3d_vertex_declaration_get_parent(const struct wined3d_vertex_declaration *declaration);
2462 ULONG __cdecl wined3d_vertex_declaration_incref(struct wined3d_vertex_declaration *declaration);
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/wine/
H A Dwined3d.h6935 IWineD3DVertexDeclaration **declaration,
6942 IWineD3DVertexDeclaration **declaration,
7258 IWineD3DVertexDeclaration *declaration) = 0;
7261 IWineD3DVertexDeclaration **declaration) = 0;
7317 IWineD3DVertexDeclaration *declaration,
7622 IWineD3DVertexDeclaration **declaration,
7630 IWineD3DVertexDeclaration **declaration,
8019 IWineD3DVertexDeclaration *declaration);
8023 IWineD3DVertexDeclaration **declaration);
8092 IWineD3DVertexDeclaration *declaration,
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dwined3d.h6936 IWineD3DVertexDeclaration **declaration,
6943 IWineD3DVertexDeclaration **declaration,
7259 IWineD3DVertexDeclaration *declaration) = 0;
7262 IWineD3DVertexDeclaration **declaration) = 0;
7318 IWineD3DVertexDeclaration *declaration,
7623 IWineD3DVertexDeclaration **declaration,
7631 IWineD3DVertexDeclaration **declaration,
8020 IWineD3DVertexDeclaration *declaration);
8024 IWineD3DVertexDeclaration **declaration);
8093 IWineD3DVertexDeclaration *declaration,
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/libWineStub/include/wine/
H A Dwined3d.h6935 IWineD3DVertexDeclaration **declaration,
6942 IWineD3DVertexDeclaration **declaration,
7258 IWineD3DVertexDeclaration *declaration) = 0;
7261 IWineD3DVertexDeclaration **declaration) = 0;
7317 IWineD3DVertexDeclaration *declaration,
7622 IWineD3DVertexDeclaration **declaration,
7630 IWineD3DVertexDeclaration **declaration,
8019 IWineD3DVertexDeclaration *declaration);
8023 IWineD3DVertexDeclaration **declaration);
8092 IWineD3DVertexDeclaration *declaration,
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dwined3d.h6906 IWineD3DVertexDeclaration **declaration,
6913 IWineD3DVertexDeclaration **declaration,
7229 IWineD3DVertexDeclaration *declaration) = 0;
7232 IWineD3DVertexDeclaration **declaration) = 0;
7288 IWineD3DVertexDeclaration *declaration,
7571 IWineD3DVertexDeclaration **declaration,
7579 IWineD3DVertexDeclaration **declaration,
7968 IWineD3DVertexDeclaration *declaration);
7972 IWineD3DVertexDeclaration **declaration);
8041 IWineD3DVertexDeclaration *declaration,
[all...]

Completed in 225 milliseconds

12