Lines Matching refs:USAGE
58 , usage (0)
65 , usage (usage_)
71 deUint32 usage;
180 BasicBufferDataCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, int size, VerifyType verify)
183 , m_usage (usage)
245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec->usage));
248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage);
273 BasicBufferSubDataCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, int size, int subDataOffs, int subDataSize, VerifyType verify)
276 , m_usage (usage)
327 SubDataToUndefinedCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, int size, const tcu::IVec2* ranges, int numRanges, VerifyType verify)
330 , m_usage (usage)
579 const deUint32 usage = usageHints[usageNdx];
582 const string name = string(getBufferTargetName(target)) + "_" + getUsageHintName(usage);
584 basicGroup->addChild(new BasicBufferDataCase(m_context, name.c_str(), "", target, usage, size, verify));
602 const deUint32 usage = GL_STATIC_DRAW;
607 verifyGroup->addChild(new BasicBufferDataCase(m_context, name.c_str(), "", target, usage, size, verify));
644 RECREATE_STORE_CASE(different_usage, "Recreate with different usage",
676 spec->usage = usageHints[rnd.getInt(0, DE_LENGTH_OF_ARRAY(usageHints)-1)];
687 tcu::TestCaseGroup* const basicGroup = new tcu::TestCaseGroup(m_testCtx, "basic_subdata", "Basic glBufferSubData() usage");
695 const deUint32 usage = usageHints[usageNdx];
698 const string name = string(getBufferTargetName(target)) + "_" + getUsageHintName(usage);
700 basicGroup->addChild(new BasicBufferDataCase(m_context, name.c_str(), "", target, usage, size, verify));
710 #define PARTIAL_SPECIFY_CASE(NAME, DESC, TARGET, USAGE, SIZE, RANGELIST) \
715 partialSpecifyGroup->addChild(new SubDataToUndefinedCase(m_context, #NAME, DESC, TARGET, USAGE, SIZE, &ranges[0], (int)ranges.size(), VERIFY_AS_VERTEX_ARRAY)); \