Home | History | Annotate | Download | only in gpu

Lines Matching full:that

4  * Use of this source code is governed by a BSD-style license that can be
19 * requires that there are no draws that have yet to be flushed that rely on the old texture
20 * contents. In that case the ASAP upload would happen prior to the draw and therefore the draw
25 * recent draw was that referenced a resource (or portion of a resource). Each draw is assigned a
29 * instead so that the upload occurs after the draw depending on the old contents and before the
31 * token of the draw that the upload must occur before.
44 bool operator==(const GrDeferredUploadToken& that) const {
45 return fSequenceNumber == that.fSequenceNumber;
47 bool operator!=(const GrDeferredUploadToken& that) const { return !(*this == that); }
48 bool operator<(const GrDeferredUploadToken that) const {
49 return fSequenceNumber < that.fSequenceNumber;
51 bool operator<=(const GrDeferredUploadToken that) const {
52 return fSequenceNumber <= that.fSequenceNumber;
54 bool operator>(const GrDeferredUploadToken that) const {
55 return fSequenceNumber > that.fSequenceNumber;
57 bool operator>=(const GrDeferredUploadToken that) const {
58 return fSequenceNumber >= that.fSequenceNumber;
89 /** Gets the token one beyond the last token that has been flushed. */
92 /** Gets the next draw token that will be issued by this target. This can be used by an op
93 to record that the next draw it issues will use a resource (e.g. texture) while preparing
94 that draw. */
121 * A deferred texture upload is simply a std::function that takes a
136 /** Returns the token of the draw that this upload will occur before. */
139 /** Returns the token of the draw that this upload will occur before. Since ASAP uploads