Lines Matching refs:that
4 * Use of this source code is governed by a BSD-style license that can be
20 * requires that there are no draws that have yet to be flushed that rely on the old texture
21 * contents. In that case the ASAP upload would happen prior to the draw and therefore the draw
26 * recent draw was that referenced a resource (or portion of a resource). Each draw is assigned a
30 * instead so that the upload occurs after the draw depending on the old contents and before the
32 * token of the draw that the upload must occur before.
45 bool operator==(const GrDeferredUploadToken& that) const {
46 return fSequenceNumber == that.fSequenceNumber;
48 bool operator!=(const GrDeferredUploadToken& that) const { return !(*this == that); }
49 bool operator<(const GrDeferredUploadToken that) const {
50 return fSequenceNumber < that.fSequenceNumber;
52 bool operator<=(const GrDeferredUploadToken that) const {
53 return fSequenceNumber <= that.fSequenceNumber;
55 bool operator>(const GrDeferredUploadToken that) const {
56 return fSequenceNumber > that.fSequenceNumber;
58 bool operator>=(const GrDeferredUploadToken that) const {
59 return fSequenceNumber >= that.fSequenceNumber;
90 /** Gets the token one beyond the last token that has been flushed. */
93 /** Gets the next draw token that will be issued by this target. This can be used by an op
94 to record that the next draw it issues will use a resource (e.g. texture) while preparing
95 that draw. */
125 * A deferred texture upload is simply a std::function that takes a
140 /** Returns the token of the draw that this upload will occur before. */
143 /** Returns the token of the draw that this upload will occur before. Since ASAP uploads