VirtualBox

Changeset 53222 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Nov 5, 2014 9:21:42 AM (10 years ago)
Author:
vboxsync
Message:

Devices/vmsvga: enabled 3D and a few warning fixes

Location:
trunk/src/VBox/Devices/Graphics/shaderlib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c

    r53201 r53222  
    5555#undef WDLOG
    5656#define WDLOG(_m) Log(_m)
     57#undef CONST
    5758#define CONST const
    5859#endif
  • trunk/src/VBox/Devices/Graphics/shaderlib/libWineStub/debug.c

    r53201 r53222  
    229229    {
    230230        static char buf[8092];
    231         int offset = sprintf(buf, "[0x%lx.0x%lx] Wine Debug: ", GetCurrentProcessId(), GetCurrentThreadId());
     231        int offset = sprintf(buf, "[0x%lx.0x%lx] Wine Debug: ", (unsigned long)GetCurrentProcessId(), (unsigned long)GetCurrentThreadId());
    232232        vsprintf(buf + offset, pszFormat, args);
    233233        vbox_log_backdoor(buf);
  • trunk/src/VBox/Devices/Graphics/shaderlib/vboxext.h

    r53201 r53222  
    4040 * So lock order should always be "wined3d lock" -> "dll lock".
    4141 * To avoid possible deadlocks we make an asynchronous call to a worker thread to make a context release from there. */
     42struct wined3d_context;
    4243void VBoxExtReleaseContextAsync(struct wined3d_context *context);
    4344#endif
     
    5556typedef FNVBOXEXT_HASHMAP_EQUAL *PFNVBOXEXT_HASHMAP_EQUAL;
    5657
     58struct VBOXEXT_HASHMAP;
     59struct VBOXEXT_HASHMAP_ENTRY;
    5760typedef DECLCALLBACK(bool) FNVBOXEXT_HASHMAP_VISITOR(struct VBOXEXT_HASHMAP *pMap, void *pvKey, struct VBOXEXT_HASHMAP_ENTRY *pValue, void *pvVisitor);
    5861typedef FNVBOXEXT_HASHMAP_VISITOR *PFNVBOXEXT_HASHMAP_VISITOR;
     
    98101}
    99102
     103struct VBOXEXT_HASHCACHE_ENTRY;
    100104typedef DECLCALLBACK(void) FNVBOXEXT_HASHCACHE_CLEANUP_ENTRY(void *pvKey, struct VBOXEXT_HASHCACHE_ENTRY *pEntry);
    101105typedef FNVBOXEXT_HASHCACHE_CLEANUP_ENTRY *PFNVBOXEXT_HASHCACHE_CLEANUP_ENTRY;
  • trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/wined3d.h

    r53201 r53222  
    1111#endif
    1212
     13# undef DECLSPEC_HIDDEN
    1314# define DECLSPEC_HIDDEN
    1415
  • trunk/src/VBox/Devices/Graphics/shaderlib/wined3d_gl.h

    r53201 r53222  
    13861386BOOL (WINAPI *pwglSetPixelFormat)(HDC, int, const PIXELFORMATDESCRIPTOR *) DECLSPEC_HIDDEN;
    13871387
     1388struct VBOXUHGSMI;
    13881389HGLRC (WINAPI *pVBoxCreateContext)(HDC, struct VBOXUHGSMI*) DECLSPEC_HIDDEN;
    13891390void (WINAPI *pVBoxFlushToHost)(HGLRC) DECLSPEC_HIDDEN;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette