Lines Matching refs:BufferUsage
41 gl::BufferUsage usage) in GetPreferredMemoryType()
59 case gl::BufferUsage::StaticCopy: in GetPreferredMemoryType()
60 case gl::BufferUsage::StaticDraw: in GetPreferredMemoryType()
61 case gl::BufferUsage::StaticRead: in GetPreferredMemoryType()
64 case gl::BufferUsage::DynamicDraw: in GetPreferredMemoryType()
65 case gl::BufferUsage::StreamDraw: in GetPreferredMemoryType()
69 case gl::BufferUsage::DynamicCopy: in GetPreferredMemoryType()
70 case gl::BufferUsage::DynamicRead: in GetPreferredMemoryType()
71 case gl::BufferUsage::StreamCopy: in GetPreferredMemoryType()
72 case gl::BufferUsage::StreamRead: in GetPreferredMemoryType()
110 gl::BufferUsage usage, in GetPreferredDynamicBufferInitialSize()
133 const bool isDynamic = usage == gl::BufferUsage::DynamicDraw || in GetPreferredDynamicBufferInitialSize()
134 usage == gl::BufferUsage::DynamicCopy || in GetPreferredDynamicBufferInitialSize()
135 usage == gl::BufferUsage::DynamicRead; in GetPreferredDynamicBufferInitialSize()
153 ANGLE_INLINE bool IsUsageDynamic(gl::BufferUsage usage) in IsUsageDynamic()
155 return (usage == gl::BufferUsage::DynamicDraw || usage == gl::BufferUsage::DynamicCopy || in IsUsageDynamic()
156 usage == gl::BufferUsage::DynamicRead); in IsUsageDynamic()
331 gl::BufferUsage usage, in setDataWithUsageFlags()
340 case gl::BufferUsage::InvalidEnum: in setDataWithUsageFlags()
380 gl::BufferUsage usage) in setData()
393 gl::BufferUsage usage) in setDataWithMemoryType()