On 03/13/2014 01:57 AM, Kenneth Graunke wrote:
> diff --git a/src/mesa/drivers/dri/i965/intel_upload.c 
> b/src/mesa/drivers/dri/i965/intel_upload.c
> index ec3109b..c767b7d 100644
> --- a/src/mesa/drivers/dri/i965/intel_upload.c
> +++ b/src/mesa/drivers/dri/i965/intel_upload.c
> @@ -25,7 +25,16 @@
>  /**
>   * @file intel_upload.c
>   *
> - * Batched upload via BOs.
> + * A batched data upload mechanism which can efficiently copy user supplied
> + * data into buffer objects.
> + *
> + * OpenGL allows applications to provide data in user arrays, which may
> + * disappear or change contents at any time.  The GPU can't use this memory
> + * directly, so we need to copy it into buffer objects.
> + *
> + * Often times, the amount of data we need to copy is small.  On non-LLC
> + * platforms, it's more efficient to stage this data in a CPU-sized buffer
                                                                 ^^^^^
Is sized the word you mean here?  Or should it be CPU-side?

> + * and only copy it to a BO when we have a larger amount of data.
>   */
>  
>  #include "main/imports.h"

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to