Index: src/gpu/batches/GrBatch.h |
diff --git a/src/gpu/batches/GrBatch.h b/src/gpu/batches/GrBatch.h |
index c5fc80c5d50dfbd622dfb69e3eb9adfbcd3c31f9..5191603cf946997c8ca5ffde8f2d902ce8ca44d2 100644 |
--- a/src/gpu/batches/GrBatch.h |
+++ b/src/gpu/batches/GrBatch.h |
@@ -31,6 +31,10 @@ class GrBatchFlushState; |
* If there are any possible optimizations which might require knowing more about the full state of |
* the draw, ie whether or not the GrBatch is allowed to tweak alpha for coverage, then this |
* information will be communicated to the GrBatch prior to geometry generation. |
+ * |
+ * The bounds of the batch must contain all the pixels that would be modified *irrespective* of the |
+ * clip. The bounds are used in determining which clip elements must be applied and thus the bounds |
+ * cannot in turn depend upon the clip. |
*/ |
#define GR_BATCH_SPEW 0 |
#if GR_BATCH_SPEW |