| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index f2ed17c135f9d38cb866e703029e5eea571dd963..062a42fc5bf1e1a81c387d3e5d1e0b0cd2a7432a 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -508,6 +508,8 @@ void GrDrawTarget::recordBatch(GrBatch* batch) {
|
| return;
|
| }
|
| // Stop going backwards if we would cause a painter's order violation.
|
| + // TODO: The bounds used here do not fully consider the clip. It may be advantageous
|
| + // to clip each batch's bounds to the clip.
|
| if (intersect(candidate->bounds(), batch->bounds())) {
|
| GrBATCH_INFO("\t\tIntersects with (%s, B%u)\n", candidate->name(),
|
| candidate->uniqueID());
|
|
|