Re: [Intel-gfx] [PATCH 3/4] glamor: check a flag to indicate whether enable GLAMOR.

2011-11-14 Thread Chris Wilson
On Mon, 14 Nov 2011 20:09:03 +0800, Zhigang Gong wrote: > According to Chris's comments, this commit try to > elminate #ifdef from the body of the code if possible. > We check the flags to determine whether enable GLAMOR > at runtime, rather than check the MACRO during the compile > time. I was

[Intel-gfx] [PATCH 3/4] glamor: check a flag to indicate whether enable GLAMOR.

2011-11-14 Thread Zhigang Gong
According to Chris's comments, this commit try to elminate #ifdef from the body of the code if possible. We check the flags to determine whether enable GLAMOR at runtime, rather than check the MACRO during the compile time. Signed-off-by: Zhigang Gong --- src/intel_driver.c | 12 ++--