[Glamor] [PATCH 0/3] Add the feature for trapezoid render using shader.

junyan.he at linux.intel.com junyan.he at linux.intel.com
Sun Jun 3 14:08:18 PDT 2012


From: RobinHe <robinhe at robinhe-desktop.lan>

 This serial of patches will add the feature for trapezoid render using shader.
 The old manner in glamor uses pixman to generate the trapezoid mask and upload
 it to GPU, and then do the compositing to generate the final result.
 We use shader to replace pixman to generate the temp trapezoid, which will save
 the uploading time.

Signed-off-by: RobinHe <robinhe at robinhe-desktop.lan>

---
src/Makefile.am        |    1 +
src/glamor.c           |    6 +
src/glamor_gradient.c  |   47 +--
src/glamor_priv.h      |   15 +-
src/glamor_render.c    |  147 ---------
src/glamor_trapezoid.c |  765 ++++++++++++++++++++++++++++++++++++++++++++++++
src/glamor_utils.h     |   58 ++++
7 files changed, 857 insertions(+), 182 deletions(-)


More information about the Glamor mailing list