URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed0bea4495aef3dd50fc0c9b8b05836b58a3cfc1 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 20:52:06 2020 -0500
glthread: fall back if a param size is non-zero and a pointer param is NULL So that we don't crash. This is a GL error anyway. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57a9c1ee478c5af8cc2f9ffe78b24917deebb1b3 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 20:46:02 2020 -0500 glthread: fix a crash with incorrect glShaderSource parameters Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5825b7b6e734c991c65246aff59c04ea8cde102 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 20:30:23 2020 -0500 glthread: add custom marshalling for glNamedBuffer(Sub)DataEXT Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8aa5edfc5632e7c7a164566b61c21a6658025b3 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 19:58:38 2020 -0500 glthread: merge glBufferSubData and glNamedBufferSubData into 1 set of functions This is a big cleanup. GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD also doesn't sync anymore. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8eb03327497f3f0c0147ceea5c22213c4dfd1b13 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 19:58:38 2020 -0500 glthread: merge glBufferData and glNamedBufferData into 1 set of functions This is a big cleanup. GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD also doesn't sync anymore. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93b2ee18a1c00f8b60a60e34cee3743dca45bd47 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Feb 24 19:26:12 2020 -0500 glthread: replace custom glBindBuffer marshalling with generated one Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85276e2c1b8dfdf090a656a7fa1b5613d373515e Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 20:40:31 2020 -0500 glthread: sync instead of disabling glthread for non-VBO pointers Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28a2ad7ddf76702a5de56a7bc0d8754b7dbd66a0 Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 19:28:56 2020 -0500 glthread: track for each VAO whether the user has set a user pointer This commit mainly adds basic infrastructure for tracking vertex array state. If glthread gets a non-VBO pointer, this commit delays disabling glthread until glDraw is called. The next will change that to "sync" instead of "disable". Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d510e652d46f471a93eae5a07f7e7508633d1040 Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 18:15:42 2020 -0500 glthread: add marshal_call_after and remove custom glFlush and glEnable code Instead of implementing marshalling manually, this XML property allows us to insert additional code into code-generated functions. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4970199d11907833858bbb2700ba313ae12f3a95 Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 18:10:37 2020 -0500 glthread: don't insert an empty line after (void) cmd; Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9eef27920ca7b670225cdc529f200b30140dc39 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 22:15:51 2020 -0500 glthread: add support for glMemoryObjectParameteriv, glSemaphoreParameterui64v Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5c58bbf6ce49199eca076225a7985f3e149ffd3 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 22:06:53 2020 -0500 glthread: add support for glCallLists, glPatchParameterfv Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1668a9390321e31ee19292590874e9b16a498936 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 21:57:58 2020 -0500 glthread: add support for glClearNamedFramebuffer, glMaterial, glPointParameter Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0a20e753110afaf4336d64928f7a11dc3901a6f Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 21:44:26 2020 -0500 glthread: add support for glFog, glLight, glLightModel, glTexEnv, glTexGen Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59e96bc513be3938e2d6dc4357e4d38fa5481f6a Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 20:28:01 2020 -0500 glthread: add support for TexParameteri and SamplerParameteri functions It's straightfoward except that I had to hack the python scripts to add "marshal_count", which behaves just like "count" except that "variable_param" is ignored. ("variable_param" changes the behavior of "count", which I don't want) Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=108fdb54c6c1b82ec3131b0c2e00d554b3729cfb Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 19:54:00 2020 -0500 glthread: replace custom ClearBuffer marshalling with generated one If the count attribute contains "enum", the count is evaluated only once. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88b5fb18b35e68edf2b187251df9a290f386d91c Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 20:21:45 2020 -0500 glthread: check the size of all variable params and clean up the code Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=358d923c8b40e71738cb3a3fb0413260361bec9b Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 19:41:25 2020 -0500 glthread: handle complex pointer parameters and support GL functions with strings The python changes add a local variable that computes the parameter size only once. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d00f36ac25b25402c4d81a0229a703a1b84fc40c Author: Marek Olšák <marek.ol...@amd.com> Date: Tue Feb 18 23:13:50 2020 -0500 glthread: add/update count and marshal fields for many GL functions Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb95a4693f05b8a64d61267409fcdce937dd3383 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 16:54:45 2020 -0500 glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30b6e8236400deac08aec6b0334f78b7eacb62d9 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 18:45:56 2020 -0500 glthread: don't increment variable_data if it's the last variable-size param Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19dc528bbf74cb823c87420ee3e5b8cb6495a199 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 17:29:14 2020 -0500 glthread: don't insert _mesa_post_marshal_hook into every function Let the developer decide that in the python script. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c920572f603b5e0ac062501593a4ed6b53bc8f40 Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 17:20:21 2020 -0500 glthread: simplify repeated function sequences in marshal_generated.c Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dbf5ec9f7844dda9d2473a3168e3f8b0009a66d Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 16:00:53 2020 -0500 glthread: use int instead of size_t where it's OK Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=313e98fb8111c21fc89d2422d50dc12daec4efc6 Author: Marek Olšák <marek.ol...@amd.com> Date: Thu Feb 20 16:20:25 2020 -0500 glthread: reduce pointer dereferences in glthread_unmarshal_batch Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19151e2605c95498f9dbc85fa85e10e851df374d Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 15:58:34 2020 -0500 glthread: inline _mesa_unmarshal_dispatch_cmd and convert the switch to a table Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=245f9593b7967521bd6661d7059096c528cc7f0d Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Feb 19 15:32:35 2020 -0500 glthread: don't prefix variable_data with const Not all variable data that is constant is declared with const, such as glDeletePerfMonitorsAMD. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d93f4faefb0a867ea33b9530e9aa67ae1ed60e93 Author: Marek Olšák <marek.ol...@amd.com> Date: Tue Feb 18 22:57:28 2020 -0500 glthread: don't generate the sync fallback if the call size is not variable marshal_generated.c is 12% smaller. Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit