#include "BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h"
#include "vectormath/vmInclude.h"
#include <stdio.h>
#include "btSoftBodySolver_OpenCL.h"
#include "BulletSoftBody/btSoftBodySolverVertexBuffer.h"
#include "BulletSoftBody/btSoftBody.h"
#include "BulletSoftBody/btSoftBodyInternals.h"
#include "BulletCollision/CollisionShapes/btCapsuleShape.h"
#include "BulletCollision/CollisionShapes/btSphereShape.h"
#include "LinearMath/btQuickprof.h"
#include <limits.h>
#include "BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h"
#include <CL/cl.h>
#include "OpenCLC10/PrepareLinks.cl"
#include "OpenCLC10/UpdatePositionsFromVelocities.cl"
#include "OpenCLC10/SolvePositions.cl"
#include "OpenCLC10/UpdateNodes.cl"
#include "OpenCLC10/UpdatePositions.cl"
#include "OpenCLC10/UpdateConstants.cl"
#include "OpenCLC10/Integrate.cl"
#include "OpenCLC10/ApplyForces.cl"
#include "OpenCLC10/UpdateFixedVertexPositions.cl"
#include "OpenCLC10/UpdateNormals.cl"
#include "OpenCLC10/VSolveLinks.cl"
#include "OpenCLC10/SolveCollisionsAndUpdateVelocities.cl"
Go to the source code of this file.
Classes |
class | QuickSortCompare |
Defines |
#define | BT_SUPPRESS_OPENCL_ASSERTS |
#define | BT_DEFAULT_WORKGROUPSIZE 64 |
#define | RELEASE_CL_KERNEL(kernelName) {if( kernelName ){ clReleaseKernel( kernelName ); kernelName = 0; }} |
#define | MSTRINGIFY(A) #A |
Functions |
static const char | m_clClothIdentifier (queue, ctx,&m_clothIdentifier, false) |
static const char | m_clVertexPosition (queue, ctx,&m_vertexPosition, false) |
static const char | m_clVertexPreviousPosition (queue, ctx,&m_vertexPreviousPosition, false) |
static const char | m_clVertexVelocity (queue, ctx,&m_vertexVelocity, false) |
static const char | m_clVertexForceAccumulator (queue, ctx,&m_vertexForceAccumulator, false) |
static const char | m_clVertexNormal (queue, ctx,&m_vertexNormal, false) |
static const char | m_clVertexInverseMass (queue, ctx,&m_vertexInverseMass, false) |
static const char | m_clVertexArea (queue, ctx,&m_vertexArea, false) |
static const char | m_clVertexTriangleCount (queue, ctx,&m_vertexTriangleCount, false) |
static Vectormath::Aos::Vector3 | toVector3 (const btVector3 &vec) |
static Vectormath::Aos::Transform3 | toTransform3 (const btTransform &transform) |
Variables |
static const char * | PrepareLinksCLString |
Define Documentation
#define BT_DEFAULT_WORKGROUPSIZE 64 |
#define BT_SUPPRESS_OPENCL_ASSERTS |
#define MSTRINGIFY |
( |
|
A |
) |
#A |
#define RELEASE_CL_KERNEL |
( |
|
kernelName |
) |
{if( kernelName ){ clReleaseKernel( kernelName ); kernelName = 0; }} |
Function Documentation
static const char m_clClothIdentifier |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_clothIdentifier, |
|
|
false |
| |
|
) |
| | [static] |
static const char m_clVertexArea |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexArea, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexForceAccumulator |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexForceAccumulator, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexInverseMass |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexInverseMass, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexNormal |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexNormal, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexPosition |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexPosition, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexPreviousPosition |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexPreviousPosition, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexTriangleCount |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexTriangleCount, |
|
|
false |
| |
|
) |
| | |
static const char m_clVertexVelocity |
( |
queue |
, |
|
|
ctx |
, |
|
|
& |
m_vertexVelocity, |
|
|
false |
| |
|
) |
| | |
Variable Documentation