Mesa (master): targets/haiku-softpipe: Restore GalliumContext
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 03:13:33 UTC 2021
Module: Mesa
Branch: master
Commit: bd6ea80d963ded2a1677e74ac448556a8ea44280
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd6ea80d963ded2a1677e74ac448556a8ea44280
Author: X512 <danger_mail at list.ru>
Date: Sat Feb 22 14:31:18 2020 +0900
targets/haiku-softpipe: Restore GalliumContext
Reviewed-by: Alexander von Gluck IV <kallisti5 at unixzen.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>
---
src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
index b1be0635dff..f84b066b125 100644
--- a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
+++ b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
@@ -243,7 +243,7 @@ GalliumContext::DestroyContext(context_id contextID)
return;
if (fContext[contextID]->st) {
- fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL);
+ fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL);
fContext[contextID]->st->destroy(fContext[contextID]->st);
}
@@ -297,7 +297,7 @@ GalliumContext::SetCurrentContext(Bitmap *bitmap, context_id contextID)
if (oldContextID > 0 && oldContextID != contextID) {
fContext[oldContextID]->st->flush(fContext[oldContextID]->st,
- ST_FLUSH_FRONT, NULL, NULL, NULL);
+ ST_FLUSH_FRONT, NULL);
}
// We need to lock and unlock framebuffers before accessing them
@@ -333,7 +333,7 @@ GalliumContext::SwapBuffers(context_id contextID)
ERROR("%s: context not found\n", __func__);
return B_ERROR;
}
- context->st->flush(context->st, ST_FLUSH_FRONT, NULL, NULL, NULL);
+ context->st->flush(context->st, ST_FLUSH_FRONT, NULL);
struct hgl_buffer* buffer = hgl_st_framebuffer(context->draw->stfbi);
pipe_surface* surface = buffer->surface;
More information about the mesa-commit
mailing list