Re: [Mesa-dev] CACHED_BATCH questions

2013-11-09 Thread Kenneth Graunke
On 11/08/2013 12:45 AM, Rogovin, Kevin wrote: > Hi all, > > I am trying to get my head around CACHED_BATCH() which is just a > macro for intel_batchbuffer_cached_advance(), and when I dig into > that code it leaves me some head scratching. I am guessing it checks > if the current contents of the

[Mesa-dev] CACHED_BATCH questions

2013-11-08 Thread Rogovin, Kevin
Hi all, I am trying to get my head around CACHED_BATCH() which is just a macro for intel_batchbuffer_cached_advance(), and when I dig into that code it leaves me some head scratching. I am guessing it checks if the current contents of the batch buffer already have command and if so, to skip