VirtualBox

Ignore:
Timestamp:
Aug 1, 2012 10:26:43 AM (12 years ago)
Author:
vboxsync
Message:

crOgl/wddm: per-context connections

Location:
trunk/src/VBox/Additions/common/crOpenGL/feedback
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedback_context.c

    r28800 r42499  
    2424
    2525GLint FEEDBACKSPU_APIENTRY
    26 feedbackspu_CreateContext( const char *dpyName, GLint visual, GLint shareCtx )
     26feedbackspu_VBoxCreateContext( GLint con, const char *dpyName, GLint visual, GLint shareCtx )
    2727{
    2828    GLint ctx, slot;
     
    3232#endif
    3333
    34     ctx = feedback_spu.child.CreateContext(dpyName, visual, shareCtx);
     34    ctx = feedback_spu.child.VBoxCreateContext(con, dpyName, visual, shareCtx);
    3535
    3636    /* find an empty context slot */
     
    5353
    5454    return ctx;
     55}
     56
     57GLint FEEDBACKSPU_APIENTRY
     58feedbackspu_CreateContext( const char *dpyName, GLint visual, GLint shareCtx )
     59{
     60    return feedbackspu_VBoxCreateContext( 0, dpyName, visual, shareCtx );
    5561}
    5662
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedback_state.py

    r19099 r42499  
    1616#include "feedbackspu_proto.h"
    1717"""
    18 custom = ["CreateContext", "MakeCurrent", "DestroyContext"]
     18custom = ["CreateContext", "VBoxCreateContext", "MakeCurrent", "DestroyContext"]
    1919
    2020keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedback_state_special

    r40431 r42499  
    6464VBoxAttachThread
    6565VBoxDetachThread
     66VBoxCreateContext
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