Home
last modified time | relevance | path

Searched refs:fUsage (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/gl/debug/
DGrBufferObj.h26 , fUsage(GR_GL_STATIC_DRAW) { in GrBufferObj()
55 void setUsage(GrGLint usage) { fUsage = usage; } in setUsage()
56 GrGLint getUsage() const { return fUsage; } in getUsage()
69 GrGLint fUsage; // one of: GL_STREAM_DRAW, variable
/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp68 fMapPtr = gpu->mapBuffer(fDesc.fID, fBufferType, fDesc.fUsage, fGLSizeInBytes, in map()
101 gpu->bufferData(fDesc.fID, fBufferType, fDesc.fUsage, fDesc.fSizeInBytes, src, in updateData()
DGrGLBufferImpl.h35 Usage fUsage; member
DGrGLVertexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, GrGLBufferImpl::kDynamicDraw_Usage == desc.fUsage, in GrGLVertexBuffer()
DGrGLIndexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, GrGLBufferImpl::kDynamicDraw_Usage == desc.fUsage, in GrGLIndexBuffer()
DGrGLGpu.cpp1652 desc.fUsage = dynamic ? GrGLBufferImpl::kDynamicDraw_Usage : GrGLBufferImpl::kStaticDraw_Usage; in onCreateVertexBuffer()
1685 desc.fUsage = dynamic ? GrGLBufferImpl::kDynamicDraw_Usage : GrGLBufferImpl::kStaticDraw_Usage; in onCreateIndexBuffer()
1724 desc.fUsage = toGpu ? GrGLBufferImpl::kStreamDraw_Usage : GrGLBufferImpl::kStreamRead_Usage; in onCreateTransferBuffer()
/external/skia/src/device/xps/
DSkXPSDevice.cpp2255 if (SkBaseDevice::kGeneral_Usage == info.fUsage) { in onCreateDevice()