Mesa (master): mesa: refactor shader api / object code

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 23 21:31:06 PDT 2010


Module: Mesa
Branch: master
Commit: a37b2219d6e3f299379c6434d65f300660d12c3e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a37b2219d6e3f299379c6434d65f300660d12c3e

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 10 20:23:03 2010 -0600

mesa: refactor shader api / object code

Remove the unneeded ctx->Driver hooks for shader-related functions.
Move state and API-related things into main/.

---

 src/mesa/SConscript                                |    4 +-
 src/mesa/drivers/common/driverfuncs.c              |    8 +-
 src/mesa/drivers/common/meta.c                     |    2 +-
 src/mesa/main/api_exec.c                           |    4 +-
 src/mesa/main/context.c                            |    2 +-
 src/mesa/main/dd.h                                 |   54 +-
 src/mesa/{shader/shader_api.c => main/shaderapi.c} | 1170 +++++++++++---------
 src/mesa/main/shaderapi.h                          |  166 +++
 src/mesa/main/shaderobj.c                          |  386 +++++++
 src/mesa/{shader/shader_api.h => main/shaderobj.h} |   75 +-
 src/mesa/main/shaders.c                            |  932 ----------------
 src/mesa/main/shaders.h                            |  274 -----
 src/mesa/main/shared.c                             |    6 +-
 src/mesa/main/transformfeedback.c                  |    4 +-
 src/mesa/shader/slang/slang_link.c                 |    6 +-
 src/mesa/shader/uniforms.c                         |  429 +++++++-
 src/mesa/shader/uniforms.h                         |  127 +++-
 src/mesa/sources.mak                               |    4 +-
 src/mesa/state_tracker/st_cb_program.c             |    8 +-
 src/mesa/state_tracker/st_context.c                |    4 +-
 20 files changed, 1793 insertions(+), 1872 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=a37b2219d6e3f299379c6434d65f300660d12c3e


More information about the mesa-commit mailing list