/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | cubetexture.c | 361 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 369 hr = IWineD3DDevice_CreateCubeTexture(device->WineD3DDevice, edge_length, levels, usage & WINED3DUSAGE_MASK, 360 cubetexture_init(IDirect3DCubeTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | texture.c | 359 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 367 hr = IWineD3DDevice_CreateTexture(device->WineD3DDevice, width, height, levels, 358 texture_init(IDirect3DTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | volumetexture.c | 359 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 367 hr = IWineD3DDevice_CreateVolumeTexture(device->WineD3DDevice, width, height, depth, levels, 358 volumetexture_init(IDirect3DVolumeTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | device.c | 655 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, 662 TRACE("iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p.\n", 663 iface, width, height, levels, usage, format, pool, texture); 672 hr = texture_init(object, This, width, height, levels, usage, format, pool); 687 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, 694 TRACE("iface %p, width %u, height %u, depth %u, levels %u, usage %#x, format %#x, pool %#x, texture %p.\n", 695 iface, width, height, depth, levels, usage, format, pool, texture); 704 hr = volumetexture_init(object, This, width, height, depth, levels, usage, format, pool); 719 UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture8 **texture) 725 TRACE("iface %p, edge_length %u, levels 654 IDirect3DDevice8Impl_CreateTexture(IDirect3DDevice8 *iface, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture8 **texture) argument 686 IDirect3DDevice8Impl_CreateVolumeTexture(IDirect3DDevice8 *iface, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture8 **texture) argument 718 IDirect3DDevice8Impl_CreateCubeTexture(IDirect3DDevice8 *iface, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture8 **texture) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | cubetexture.c | 403 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 417 hr = IWineD3DDevice_CreateCubeTexture(device->WineD3DDevice, edge_length, levels, usage, 422 hr = IWineD3DDevice_CreateCubeTexture(device->WineD3DDevice, edge_length, levels, usage, 402 cubetexture_init(IDirect3DCubeTexture9Impl *texture, IDirect3DDevice9Impl *device, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument
|
H A D | texture.c | 400 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 414 hr = IWineD3DDevice_CreateTexture(device->WineD3DDevice, width, height, levels, 420 hr = IWineD3DDevice_CreateTexture(device->WineD3DDevice, width, height, levels, 399 texture_init(IDirect3DTexture9Impl *texture, IDirect3DDevice9Impl *device, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument
|
H A D | volumetexture.c | 436 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 450 hr = IWineD3DDevice_CreateVolumeTexture(device->WineD3DDevice, width, height, depth, levels, 455 hr = IWineD3DDevice_CreateVolumeTexture(device->WineD3DDevice, width, height, depth, levels, 435 volumetexture_init(IDirect3DVolumeTexture9Impl *texture, IDirect3DDevice9Impl *device, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument
|
H A D | device.c | 824 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, 833 TRACE("iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.\n", 834 iface, width, height, levels, usage, format, pool, texture, shared_handle); 843 hr = texture_init(object, This, width, height, levels, usage, format, pool 861 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, 869 TRACE("iface %p, width %u, height %u, depth %u, levels %u\n", 870 iface, width, height, depth, levels); 882 hr = volumetexture_init(object, This, width, height, depth, levels, usage, format, pool, shared_handle, pavClientMem); 975 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, 984 TRACE("iface %p, edge_length %u, levels 1010 IDirect3DDevice9Impl_CreateTexture(IDirect3DDevice9Ex *iface, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture9 **texture, HANDLE *shared_handle) argument 1049 IDirect3DDevice9Impl_CreateVolumeTexture(IDirect3DDevice9Ex *iface, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture9 **texture, HANDLE *shared_handle) argument 1090 IDirect3DDevice9Impl_CreateCubeTexture(IDirect3DDevice9Ex *iface, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture9 **texture, HANDLE *shared_handle) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | basetexture.c | 41 HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, UINT levels, WINED3DRESOURCETYPE resource_type, argument 52 if (levels > MAX_MIP_LEVELS) 54 WARN("Too many texture levels %d", levels); 70 texture->baseTexture.levels = levels; 148 if(LODNew >= This->baseTexture.levels) 149 LODNew = This->baseTexture.levels - 1; 178 TRACE("(%p) : returning %d\n", This, This->baseTexture.levels); 179 return This->baseTexture.levels; [all...] |
H A D | volumetexture.c | 63 for (i = 0; i < This->baseTexture.levels; ++i) 70 for (i = 0; i < This->baseTexture.levels; ++i) 93 for (i = 0; i < This->baseTexture.levels; ++i) 184 for (i = 0; i < This->baseTexture.levels; i++) { 264 if (Level < This->baseTexture.levels) { 274 if (Level < This->baseTexture.levels) { 279 WARN("(%p) Level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels); 289 if (Level < This->baseTexture.levels) { 294 FIXME("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels); 304 if (Level < This->baseTexture.levels) { 365 volumetexture_init(IWineD3DVolumeTextureImpl *texture, UINT width, UINT height, UINT depth, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument [all...] |
H A D | cubetexture.c | 84 for (i = 0; i < This->baseTexture.levels; ++i) 105 for (i = 0; i < This->baseTexture.levels; ++i) 130 for (i = 0; i < This->baseTexture.levels; ++i) 228 for (i = 0; i < This->baseTexture.levels; i++) { 260 for (i = 0; i < This->baseTexture.levels; ++i) { 343 for (i = 0; i < This->baseTexture.levels; ++i) { 377 if (Level < This->baseTexture.levels) { 381 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels); 389 if (Level < This->baseTexture.levels && FaceType <= WINED3DCUBEMAP_FACE_NEGATIVE_Z) { 398 WARN("(%p) level(%d) overflow Levels(%d) Or FaceType(%d)\n", This, Level, This->baseTexture.levels, FaceTyp 491 cubetexture_init(IWineD3DCubeTextureImpl *texture, UINT edge_length, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument [all...] |
H A D | texture.c | 81 for (i = 0; i < This->baseTexture.levels; ++i) 98 for (i = 0; i < This->baseTexture.levels; ++i) 120 for (i = 0; i < This->baseTexture.levels; ++i) 216 for (i = 0; i < This->baseTexture.levels; i++) { 246 for (i = 0; i < This->baseTexture.levels; ++i) 336 for (i = 0; i < This->baseTexture.levels; ++i) { 392 if (Level < This->baseTexture.levels) { 396 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels); 404 if (Level < This->baseTexture.levels) { 411 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels); 510 texture_init(IWineD3DTextureImpl *texture, UINT width, UINT height, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument [all...] |
H A D | wined3d_private.h | 821 #define MAX_MIP_LEVELS 32 /* Maximum number of mipmap levels. */ 2133 UINT levels; member in struct:IWineD3DBaseTextureClass 2177 HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, UINT levels, WINED3DRESOURCETYPE resource_type, 2220 HRESULT texture_init(IWineD3DTextureImpl *texture, UINT width, UINT height, UINT levels, 2243 HRESULT cubetexture_init(IWineD3DCubeTextureImpl *texture, UINT edge_length, UINT levels, 2303 UINT depth, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format,
|
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_teximage.c | 160 * remaining image levels. The image data doesn't matter here - the back- 166 CRTextureLevel *levels; local 171 levels = tobj->level[target - GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB]; 174 levels = tobj->level[0]; 177 width = levels[tobj->baseLevel].width; 178 height = levels[tobj->baseLevel].height; 179 depth = levels[tobj->baseLevel].depth; 189 levels[level].width = width; 190 levels[level].height = height; 191 levels[leve 660 CRTextureLevel *levels = tobj->level[face]; local [all...] |
H A D | state_texture.c | 60 /* compute max levels from max sizes */ 211 /* allocate array of mipmap levels */ 385 * texture levels texture format. This basically just indicates the 595 CRTextureLevel *levels = NULL; local 596 levels = tobj->level[face]; 597 if (levels) { 598 /* free all mipmap levels for this face */ 600 CRTextureLevel *tl = levels + k; 607 crFree(levels);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | directx.c | 283 D3DFORMAT format, BOOL windowed, D3DMULTISAMPLE_TYPE multisample_type, DWORD *levels) 288 TRACE("iface %p, adapter %u, device_type %#x, format %#x, windowed %#x, multisample_type %#x, levels %p.\n", 289 iface, adapter, device_type, format, windowed, multisample_type, levels); 293 wined3dformat_from_d3dformat(format), windowed, multisample_type, levels); 282 d3d9_CheckDeviceMultiSampleType(IDirect3D9Ex *iface, UINT adapter, D3DDEVTYPE device_type, D3DFORMAT format, BOOL windowed, D3DMULTISAMPLE_TYPE multisample_type, DWORD *levels) argument
|
H A D | texture.c | 1319 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 1348 hr = wined3d_texture_create_2d(device->wined3d_device, &desc, levels, surface_flags, 1369 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 1398 hr = wined3d_texture_create_cube(device->wined3d_device, &desc, levels, surface_flags, 1419 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool 1444 hr = wined3d_texture_create_3d(device->wined3d_device, &desc, levels, 1318 texture_init(struct d3d9_texture *texture, struct d3d9_device *device, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument 1368 cubetexture_init(struct d3d9_texture *texture, struct d3d9_device *device, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument 1418 volumetexture_init(struct d3d9_texture *texture, struct d3d9_device *device, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool , HANDLE *shared_handle , void **pavClientMem ) argument
|
H A D | device.c | 845 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, 854 TRACE("iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p, shared_handle %p.\n", 855 iface, width, height, levels, usage, format, pool, texture, shared_handle); 861 hr = texture_init(object, device, width, height, levels, usage, format, pool, shared_handle, pavClientMem); 876 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, 884 TRACE("iface %p, width %u, height %u, depth %u, levels %u\n", 885 iface, width, height, depth, levels); 896 hr = volumetexture_init(object, device, width, height, depth, levels, usage, format, pool, shared_handle, pavClientMem); 911 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, 920 TRACE("iface %p, edge_length %u, levels 946 d3d9_device_CreateTexture(IDirect3DDevice9Ex *iface, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture9 **texture, HANDLE *shared_handle) argument 1004 d3d9_device_CreateVolumeTexture(IDirect3DDevice9Ex *iface, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture9 **texture, HANDLE *shared_handle) argument 1043 d3d9_device_CreateCubeTexture(IDirect3DDevice9Ex *iface, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture9 **texture, HANDLE *shared_handle) argument [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 141 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(arg); local 144 for (i = 0; i <= levels + 1; i++) 154 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(arg), i; local 157 for (i = 0; i < levels; base += step, i++) 160 return (total + (long double)lquanta[levels + 1] * 170 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(arg), i; local 175 for (i = 0; i < levels; base += step, i++) { 183 return (lquanta[levels + 1]);
|
H A D | dt_consume.c | 626 uint16_t step, levels; local 637 levels = DTRACE_LQUANTIZE_LEVELS(arg); 640 last_bin = levels + 1; 642 if (size != sizeof (uint64_t) * (levels + 2)) 645 while (first_bin <= levels + 1 && data[first_bin] == 0) 648 if (first_bin > levels + 1) { 658 if (last_bin < levels + 1) 680 } else if (i == levels + 1) { 682 base + (levels * step));
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/ |
H A D | texture.c | 1195 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 1219 hr = wined3d_texture_create_2d(device->wined3d_device, &desc, levels, surface_flags, 1235 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 1259 hr = wined3d_texture_create_cube(device->wined3d_device, &desc, levels, surface_flags, 1275 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 1295 hr = wined3d_texture_create_3d(device->wined3d_device, &desc, levels, 1194 texture_init(struct d3d8_texture *texture, struct d3d8_device *device, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument 1234 cubetexture_init(struct d3d8_texture *texture, struct d3d8_device *device, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument 1274 volumetexture_init(struct d3d8_texture *texture, struct d3d8_device *device, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | device.c | 738 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, 745 TRACE("iface %p, width %u, height %u, levels %u, usage %#x, format %#x, pool %#x, texture %p.\n", 746 iface, width, height, levels, usage, format, pool, texture); 752 hr = texture_init(object, device, width, height, levels, usage, format, pool); 767 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, 774 TRACE("iface %p, width %u, height %u, depth %u, levels %u, usage %#x, format %#x, pool %#x, texture %p.\n", 775 iface, width, height, depth, levels, usage, format, pool, texture); 781 hr = volumetexture_init(object, device, width, height, depth, levels, usage, format, pool); 796 UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture8 **texture) 802 TRACE("iface %p, edge_length %u, levels 737 d3d8_device_CreateTexture(IDirect3DDevice8 *iface, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture8 **texture) argument 766 d3d8_device_CreateVolumeTexture(IDirect3DDevice8 *iface, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture8 **texture) argument 795 d3d8_device_CreateCubeTexture(IDirect3DDevice8 *iface, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture8 **texture) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | texture.c | 284 /* For a new texture we have to set the texture levels after 842 UINT levels, DWORD surface_flags, struct wined3d_device *device, void *parent, 869 /* Calculate levels for mip mapping */ 878 if (levels > 1) 884 levels = 1; 886 else if (!levels) 888 levels = wined3d_log2i(desc->width) + 1; 889 TRACE("Calculated levels = %u.\n", levels); 914 if (FAILED(hr = wined3d_texture_init(texture, &texture2d_ops, 6, levels, 841 cubetexture_init(struct wined3d_texture *texture, const struct wined3d_resource_desc *desc, UINT levels, DWORD surface_flags, struct wined3d_device *device, void *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument 1092 texture_init(struct wined3d_texture *texture, const struct wined3d_resource_desc *desc, UINT levels, DWORD surface_flags, struct wined3d_device *device, void *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument 1477 volumetexture_init(struct wined3d_texture *texture, const struct wined3d_resource_desc *desc, UINT levels, struct wined3d_device *device, void *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/ |
H A D | dtrace.c | 1969 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(arg); local 1973 ASSERT(levels != 0); 1985 if (level < levels) { 1993 lquanta[levels + 1] += incr; 9755 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(desc->dtad_arg); local 9760 if (step == 0 || levels == 0) 9763 size = levels * sizeof (uint64_t) + 3 * sizeof (uint64_t);
|
/vbox/src/VBox/Devices/Graphics/shaderlib/ |
H A D | wined3d_private.h | 832 #define MAX_MIP_LEVELS 32 /* Maximum number of mipmap levels. */ 2168 UINT levels; member in struct:IWineD3DBaseTextureClass 2212 HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, UINT levels, WINED3DRESOURCETYPE resource_type, 2255 HRESULT texture_init(IWineD3DTextureImpl *texture, UINT width, UINT height, UINT levels, 2278 HRESULT cubetexture_init(IWineD3DCubeTextureImpl *texture, UINT edge_length, UINT levels, 2338 UINT depth, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format,
|