Mesa (master): hgl: Major refactor and cleanup
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 03:13:33 UTC 2021
Module: Mesa
Branch: master
Commit: 065cf4f91474f65691e2eed6d5011a7c6e43fe99
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=065cf4f91474f65691e2eed6d5011a7c6e43fe99
Author: X512 <danger_mail at list.ru>
Date: Tue Jan 5 00:12:38 2021 -0600
hgl: Major refactor and cleanup
* Drop old-timey GLDisplatcher
* Refactor haiku-softpipe fixing some hacks
* Bubble BBitmap up to winsys
Reviewed-by: Alexander von Gluck IV <kallisti5 at unixzen.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>
---
include/HaikuGL/GLRenderer.h | 7 +-
include/HaikuGL/GLView.h | 25 +-
src/gallium/frontends/hgl/hgl.c | 164 +++++------
src/gallium/frontends/hgl/hgl_context.h | 39 ++-
.../targets/haiku-softpipe/GalliumContext.cpp | 182 ++++++------
.../targets/haiku-softpipe/GalliumContext.h | 18 +-
.../targets/haiku-softpipe/SoftwareRenderer.cpp | 306 +++++++++------------
.../targets/haiku-softpipe/SoftwareRenderer.h | 31 +--
.../sw/hgl/{hgl_sw_winsys.c => hgl_sw_winsys.cpp} | 42 +--
src/gallium/winsys/sw/hgl/hgl_sw_winsys.h | 10 +
src/gallium/winsys/sw/hgl/meson.build | 2 +-
src/hgl/GLDispatcher.cpp | 65 -----
src/hgl/GLDispatcher.h | 105 -------
src/hgl/GLRenderer.cpp | 11 +-
src/hgl/GLRendererRoster.cpp | 73 ++---
src/hgl/GLRendererRoster.h | 29 +-
src/hgl/GLView.cpp | 60 ++--
src/hgl/meson.build | 2 +-
18 files changed, 497 insertions(+), 674 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=065cf4f91474f65691e2eed6d5011a7c6e43fe99
More information about the mesa-commit
mailing list