~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/Additions/common/crOpenGL/array/arrayspu.c

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-04-05 12:41:55 UTC
  • mfrom: (3.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120405124155-i7b39tv5ddwhubbe
Tags: 4.1.12-dfsg-2
* Upstream has replaced the 4.1.12 tarball with a new one that fixes a
  crash when creating host only interfaces. (Closes: #667460)
  - Add 36-tarball-respin.patch which contains the diff between the old
    and the new tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
880
880
#endif
881
881
}
882
882
 
 
883
static void ARRAYSPU_APIENTRY
 
884
arrayspu_VBoxAttachThread()
 
885
{
 
886
    crStateVBoxAttachThread();
 
887
    array_spu.child.VBoxAttachThread();
 
888
}
 
889
 
 
890
static void ARRAYSPU_APIENTRY
 
891
arrayspu_VBoxDetachThread()
 
892
{
 
893
    crStateVBoxDetachThread();
 
894
    array_spu.child.VBoxDetachThread();
 
895
}
 
896
 
 
897
 
883
898
SPUNamedFunctionTable _cr_array_table[] = {
884
899
    { "ArrayElement", (SPUGenericFunction) arrayspu_ArrayElement },
885
900
    { "DrawArrays", (SPUGenericFunction) arrayspu_DrawArrays},
923
938
    { "MakeCurrent", (SPUGenericFunction) arrayspu_MakeCurrent},
924
939
    { "DestroyContext", (SPUGenericFunction) arrayspu_DestroyContext},
925
940
    { "UseProgram", (SPUGenericFunction) arrayspu_UseProgram},
 
941
    { "VBoxAttachThread", (SPUGenericFunction) arrayspu_VBoxAttachThread},
 
942
    { "VBoxDetachThread", (SPUGenericFunction) arrayspu_VBoxDetachThread},
926
943
    { NULL, NULL }
927
944
};