Lines Matching refs:BufferUsage
54 inline constexpr BufferUsage operator|(BufferUsage lhs, BufferUsage rhs) { in operator |()
55 using T = std::underlying_type_t<BufferUsage>; in operator |()
56 return static_cast<BufferUsage>(static_cast<T>(lhs) | static_cast<T>(rhs)); in operator |()
59 inline BufferUsage& operator|=(BufferUsage& lhs, BufferUsage rhs) { in operator |=()
208 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in allocateGeneric()
620 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
634 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
659 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
711 constexpr auto usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN; in TEST_P()
762 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
821 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
880 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
934 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
983 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1033 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1083 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1215 mapper()->v5.lock(*writeHandle, static_cast<uint64_t>(BufferUsage::CPU_WRITE_OFTEN), in TEST_P()
1220 mapper()->v5.lock(*readHandle, static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN), in TEST_P()
1279 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1295 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1330 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1346 .usage = BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN, in TEST_P()
1382 .usage = BufferUsage::FRONT_BUFFER | BufferUsage::GPU_RENDER_TARGET | in TEST_P()
1383 BufferUsage::COMPOSER_OVERLAY | BufferUsage::GPU_TEXTURE, in TEST_P()
1393 using T = std::underlying_type_t<BufferUsage>; in TEST_P()
1419 .usage = BufferUsage::PROTECTED | BufferUsage::COMPOSER_OVERLAY, in TEST_P()