b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * DevVMWare/Shaderlib - Utility/Stub Functions & Data.
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * Copyright (C) 2013-2014 Oracle Corporation
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * available from http://www.virtualbox.org. This file is free software;
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * you can redistribute it and/or modify it under the terms of the GNU
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * General Public License (GPL) as published by the Free Software
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b37f9ef56c715feb5505437fade6f43feded1dd6vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* This small helper function is used to convert a bitmask into the number of masked bits */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync static const UINT l[] =
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync return (i = x >> 16) ? (x = i >> 8) ? l[x] + 24 : l[i] + 16 : (i = x >> 8) ? l[i] + 8 : l[x];
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/* Set the shader type for this device, depending on the given capabilities
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * and the user preferences in wined3d_settings. */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid select_shader_mode(const struct wined3d_gl_info *gl_info, int *ps_selected, int *vs_selected)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync return "unrecognized";
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid dump_color_fixup_desc(struct color_fixup_desc fixup)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid context_release(struct wined3d_context *context)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid (* CDECL wine_tsx11_lock_ptr)(void) = wined3d_do_nothing;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncvoid (* CDECL wine_tsx11_unlock_ptr)(void) = wined3d_do_nothing;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLPVOID WINAPI VBoxHeapAlloc(HANDLE hHeap, DWORD heaptype,SIZE_T size)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI VBoxHeapFree(HANDLE hHeap, DWORD heaptype,LPVOID ptr)