createQuerySet method
A set of count queries of type — DeviceFeature.occlusionQuery,
DeviceFeature.timestampQuery or
DeviceFeature.pipelineStatisticsQuery, the feature
QueryType.feature names.
A QueryType.pipelineStatistics set reports exactly the counters PipelineStatistic.values names at 1.0, in that order, for every 1.x release: the per-query stride an outside backend returns is part of the contract. A counter a later minor adds arrives as a new QueryType with its own stride, never as a sixth value here; this member cannot gain a parameter to select counters.
Implementation
@override
QuerySet createQuerySet(QueryType type, int count) {
features.require(type.feature, backend: _name);
calls.add(
RecordedCall('createQuerySet', arguments: (type: type, count: count)),
);
return _born(
wrapQuerySet(
owner: this,
backend: 'fake queries ${_serial++}',
type: type,
count: count,
),
);
}