/* $Id$ */
/** @file
* VBox feedback spu, context tracking.
*/
/*
* Copyright (C) 2009-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#include "cr_spu.h"
#include "cr_error.h"
#include "feedbackspu.h"
/*@todo Multithreading case. (See feedback_spu.self.RenderMode)*/
{
#ifdef CHROMIUM_THREADSAFE
#endif
/* find an empty context slot */
/* found empty slot */
break;
}
}
}
#ifdef CHROMIUM_THREADSAFE
#endif
return ctx;
}
{
}
void FEEDBACKSPU_APIENTRY
{
#ifdef CHROMIUM_THREADSAFE
#endif
if (ctx) {
int slot;
{
}
}
else
{
}
#ifdef CHROMIUM_THREADSAFE
#endif
}
void FEEDBACKSPU_APIENTRY
{
#ifdef CHROMIUM_THREADSAFE
#endif
if (ctx) {
int slot;
}
#ifdef CHROMIUM_THREADSAFE
#endif
}