|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CUgraphicsResource | |
---|---|
jcuda.driver | Contains the classes related to the JCuda driver API. |
Uses of CUgraphicsResource in jcuda.driver |
---|
Methods in jcuda.driver with parameters of type CUgraphicsResource | |
---|---|
static int |
JCudaDriver.cuGraphicsGLRegisterBuffer(CUgraphicsResource pCudaResource,
int buffer,
int Flags)
Registers the buffer object specified by buffer for access by CUDA. |
static int |
JCudaDriver.cuGraphicsGLRegisterImage(CUgraphicsResource pCudaResource,
int image,
int target,
int Flags)
Registers the texture or renderbuffer object specified by image for access by CUDA. |
static int |
JCudaDriver.cuGraphicsMapResources(int count,
CUgraphicsResource[] resources,
CUstream hStream)
Maps the count graphics resources in resources for access by CUDA. |
static int |
JCudaDriver.cuGraphicsResourceGetMappedPointer(CUdeviceptr pDevPtr,
int[] pSize,
CUgraphicsResource resource)
Returns in *pDevPtr a pointer through which the mapped graphics resource resource may be accessed. |
static int |
JCudaDriver.cuGraphicsResourceSetMapFlags(CUgraphicsResource resource,
int flags)
Set flags for mapping the graphics resource resource. |
static int |
JCudaDriver.cuGraphicsSubResourceGetMappedArray(CUarray pArray,
CUgraphicsResource resource,
int arrayIndex,
int mipLevel)
Returns in *pArray an array through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndex and mipmap level mipLevel may be accessed. |
static int |
JCudaDriver.cuGraphicsUnmapResources(int count,
CUgraphicsResource[] resources,
CUstream hStream)
Unmaps the count graphics resources in resources. |
static int |
JCudaDriver.cuGraphicsUnregisterResource(CUgraphicsResource resource)
Unregisters the graphics resource resource so it is not accessible by CUDA unless registered again. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |