• Home
  • Raw
  • Download

Lines Matching refs:updateSource

1149 bool IsClear(UpdateSource updateSource)  in IsClear()  argument
1151 return updateSource == UpdateSource::Clear || in IsClear()
1152 updateSource == UpdateSource::ClearEmulatedChannelsOnly || in IsClear()
1153 updateSource == UpdateSource::ClearAfterInvalidate; in IsClear()
1156 bool IsClearOfAllChannels(UpdateSource updateSource) in IsClearOfAllChannels() argument
1158 return updateSource == UpdateSource::Clear || in IsClearOfAllChannels()
1159 updateSource == UpdateSource::ClearAfterInvalidate; in IsClearOfAllChannels()
8798 mTotalStagedBufferUpdateSize -= update->updateSource == UpdateSource::Buffer in removeSingleSubresourceStagedUpdates()
8828 if (update->updateSource == UpdateSource::ClearAfterInvalidate && in removeSingleStagedClearAfterInvalidate()
8858 mTotalStagedBufferUpdateSize -= update.updateSource == UpdateSource::Buffer in removeStagedUpdates()
9322 ASSERT(valid() || update.updateSource != UpdateSource::Image || in reformatStagedBufferUpdates()
9325 if (update.updateSource == UpdateSource::Buffer && in reformatStagedBufferUpdates()
9617 mSubresourceUpdates[level.get()].front().updateSource = UpdateSource::ClearAfterInvalidate; in invalidateSubresourceContentImpl()
9678 getLevelUpdates(level)->at(0).updateSource == UpdateSource::ClearAfterInvalidate; in restoreSubresourceContentImpl()
10182 if (update.updateSource != UpdateSource::ClearEmulatedChannelsOnly) in verifyEmulatedClearsAreBeforeOtherUpdates()
10194 if (updates.size() >= 2 && updates[1].updateSource == UpdateSource::ClearEmulatedChannelsOnly) in verifyEmulatedClearsAreBeforeOtherUpdates()
10324 const bool isClear = IsClearOfAllChannels(update.updateSource); in flushSingleSubresourceStagedUpdates()
10387 if (update->updateSource != UpdateSource::ClearEmulatedChannelsOnly) in flushStagedClearEmulatedChannelsUpdates()
10395 ASSERT(update->updateSource == UpdateSource::ClearEmulatedChannelsOnly); in flushStagedClearEmulatedChannelsUpdates()
10412 ASSERT(levelUpdates->begin()->updateSource != UpdateSource::ClearEmulatedChannelsOnly); in flushStagedClearEmulatedChannelsUpdates()
10487 ASSERT(IsClearOfAllChannels(update.updateSource) || in flushStagedUpdatesImpl()
10488 (update.updateSource == UpdateSource::ClearPartial) || in flushStagedUpdatesImpl()
10489 (update.updateSource == UpdateSource::Buffer && in flushStagedUpdatesImpl()
10491 (update.updateSource == UpdateSource::Image && in flushStagedUpdatesImpl()
10513 ASSERT(!transCoding || (transCoding && update.updateSource == UpdateSource::Buffer)); in flushStagedUpdatesImpl()
10517 switch (update.updateSource) in flushStagedUpdatesImpl()
10592 switch (update.updateSource) in flushStagedUpdatesImpl()
10760 if (IsClearOfAllChannels(update.updateSource) && in flushStagedUpdates()
10867 if (IsClearOfAllChannels(update->updateSource)) in removeStagedClearUpdatesAndReturnColor()
10947 if (update.updateSource == UpdateSource::Image && in hasStagedImageUpdatesWithMismatchedFormat()
10970 if (update.updateSource == UpdateSource::Buffer || in hasBufferSourcedStagedUpdatesInAllLevels()
10971 update.updateSource == UpdateSource::ClearPartial) in hasBufferSourcedStagedUpdatesInAllLevels()
10999 if (update.updateSource == UpdateSource::Buffer && update.refCounted.buffer == buffer) in validateSubresourceUpdateBufferRefConsistent()
11022 if (update.updateSource == UpdateSource::Image && update.refCounted.image == image) in validateSubresourceUpdateImageRefConsistent()
11038 if (update.updateSource == UpdateSource::Image) in validateSubresourceUpdateRefCountsConsistent()
11045 else if (update.updateSource == UpdateSource::Buffer) in validateSubresourceUpdateRefCountsConsistent()
11098 if (update.updateSource == UpdateSource::Buffer) in pruneSupersededUpdatesForLevel()
11104 else if (update.updateSource == UpdateSource::Image) in pruneSupersededUpdatesForLevel()
11109 else if (update.updateSource == UpdateSource::ClearPartial) in pruneSupersededUpdatesForLevel()
11118 ASSERT(IsClear(update.updateSource)); in pruneSupersededUpdatesForLevel()
12003 ImageHelper::SubresourceUpdate::SubresourceUpdate() : updateSource(UpdateSource::Buffer) in SubresourceUpdate()
12016 : updateSource(UpdateSource::ClearPartial) in SubresourceUpdate()
12036 : updateSource(UpdateSource::Buffer) in SubresourceUpdate()
12051 : updateSource(UpdateSource::Image) in SubresourceUpdate()
12075 : updateSource(UpdateSource::Clear) in SubresourceUpdate()
12089 : updateSource(UpdateSource::ClearEmulatedChannelsOnly) in SubresourceUpdate()
12102 : updateSource(other.updateSource) in SubresourceUpdate()
12104 switch (updateSource) in SubresourceUpdate()
12129 : updateSource(other.updateSource) in SubresourceUpdate()
12131 switch (updateSource) in SubresourceUpdate()
12181 if (updateSource == UpdateSource::Image) in release()
12195 else if (updateSource == UpdateSource::Buffer && refCounted.buffer != nullptr) in release()
12233 if (IsClear(updateSource)) in getDestSubresource()
12243 else if (updateSource == UpdateSource::ClearPartial) in getDestSubresource()
12256 updateSource == UpdateSource::Buffer ? data.buffer.copyRegion.imageSubresource in getDestSubresource()
12267 if (IsClear(updateSource)) in getDestAspectFlags()
12271 else if (updateSource == UpdateSource::ClearPartial) in getDestAspectFlags()
12275 else if (updateSource == UpdateSource::Buffer) in getDestAspectFlags()
12281 ASSERT(updateSource == UpdateSource::Image); in getDestAspectFlags()
12320 mTotalStagedBufferUpdateSize += update.updateSource == UpdateSource::Buffer in appendSubresourceUpdate()
12335 mTotalStagedBufferUpdateSize += update.updateSource == UpdateSource::Buffer in prependSubresourceUpdate()