mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Mesa: update to Mesa-10.4.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
155231685d
commit
bf9afe6e90
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="Mesa"
|
PKG_NAME="Mesa"
|
||||||
PKG_VERSION="10.4.4"
|
PKG_VERSION="10.4.5"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c
|
|
||||||
index 55f3644..d68e1e9 100644
|
|
||||||
--- a/src/mesa/state_tracker/st_cb_bufferobjects.c
|
|
||||||
+++ b/src/mesa/state_tracker/st_cb_bufferobjects.c
|
|
||||||
@@ -256,8 +256,15 @@ st_bufferobj_data(struct gl_context *ctx,
|
|
||||||
break;
|
|
||||||
case GL_STREAM_DRAW:
|
|
||||||
case GL_STREAM_COPY:
|
|
||||||
- pipe_usage = PIPE_USAGE_STREAM;
|
|
||||||
- break;
|
|
||||||
+ /* XXX: Remove this test when we have PBO unpack acceleration. Right
|
|
||||||
+ * now, PBO unpacking is done by the CPU, so we have to make sure
|
|
||||||
+ * CPU reads are fast.
|
|
||||||
+ */
|
|
||||||
+ if (target != GL_PIXEL_UNPACK_BUFFER_ARB) {
|
|
||||||
+ pipe_usage = PIPE_USAGE_STREAM;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ /* fall through */
|
|
||||||
case GL_STATIC_READ:
|
|
||||||
case GL_DYNAMIC_READ:
|
|
||||||
case GL_STREAM_READ:
|
|
Loading…
x
Reference in New Issue
Block a user