URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6ecd22140fe6c6e8ac26966c8409f7254370479
Author: Marek Olšák <[email protected]>
Date: Tue Aug 23 00:13:37 2022 -0400
mesa: make glPopMatrix a no-op if the matrix hasn't changed
This happens a lot with viewperf because glMultMatrixf contains identity
matrices.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b00a158ad49b495bd5e6558e7eb0dd06b9ba7f4
Author: Marek Olšák <[email protected]>
Date: Tue Aug 23 00:12:59 2022 -0400
mesa: use memcmp instead of floating-point comparisons in glMultMatrixf
This is faster.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=01c481335ad84f8bec29985e982ec0f20aadf522
Author: Marek Olšák <[email protected]>
Date: Tue Aug 23 00:12:09 2022 -0400
glthread: skip glMultMatrixf if it's identity
This is common with viewperf and it helps.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fa864b38ad3d5316d4f0a2c60ac2d805d0412dc
Author: Marek Olšák <[email protected]>
Date: Tue Aug 23 00:09:23 2022 -0400
glthread,hud: draw per-frame values and expose the number of batches per
frame
This is better because we see the statistics for 1 frame instead of 1
second.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62501fbf7bf0e2a9d9e4f2e001e48740a49e283d
Author: Marek Olšák <[email protected]>
Date: Sun Aug 21 17:30:18 2022 -0400
glthread: use 8-bit GLenum for prim modes where it results in better packing
This is OK because all modes > 14 are invalid.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd30f044ae558caad7a547892edf1f6c9a2bfc7f
Author: Marek Olšák <[email protected]>
Date: Sun Aug 21 15:49:53 2022 -0400
glthread: use GLenum16 for enums, but clamp it to 0xffff to get correct
errors
0xffff is an invalid enum.
This was initially implemented without clamping and then reverted because
of the concern that we would randomly get correct enums and not report
errors if we just dropped the high bits.
This packs calls better in glthread_batch.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7ba29cbf67c1db93e203a82a71bc264447463cd
Author: Marek Olšák <[email protected]>
Date: Thu Aug 11 04:34:00 2022 -0400
mesa: rename GL dispatch initialization functions to make the intent clear
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44ada0eb676e4e23503ae22febb8f986acf41c3
Author: Marek Olšák <[email protected]>
Date: Fri Aug 12 05:20:31 2022 -0400
mesa: remove deprecated comments
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=34356c009c12d25518a3208e55638282ecb21e4c
Author: Marek Olšák <[email protected]>
Date: Thu Aug 11 11:04:13 2022 -0400
api_hw_select_init_h.py: simplify the code
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c621f8a2a2f97f65d2682fe6e79fea93b710023
Author: Marek Olšák <[email protected]>
Date: Fri Aug 12 04:58:14 2022 -0400
glapi: rename 'vtxfmt' to 'beginend' to make it clear
These are really just the functions that execute between Begin/End.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=684dae9e64de180bd7b1b296c88220915376e313
Author: Marek Olšák <[email protected]>
Date: Thu Aug 11 01:26:06 2022 -0400
mesa: initialize OutsideBeginEnd directly instead of through Exec
Exec is just a mutable pointer to one of the dispatch tables.
OutsideBeginEnd is what we are actually initializing here. This makes
the original intention clear.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c803b7080c8f5c11c60c93e9e5ff542e13817de
Author: Marek Olšák <[email protected]>
Date: Wed Aug 10 01:06:40 2022 -0400
mesa: remove unused function _mesa_get_dispatch
just use CurrentClientDispatch directly
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4425236a208968f6d8f655de338ddeda83dc7187
Author: Marek Olšák <[email protected]>
Date: Wed Aug 10 00:56:26 2022 -0400
mesa: don't restore the dispatch at the end of glCallList
No places use the glapi dispatch. All places use ctx directly.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c75b152f085a0f273cf535f27dc96f2df69f9817
Author: Marek Olšák <[email protected]>
Date: Wed Aug 10 00:08:02 2022 -0400
vbo: don't call _glapi_set_dispatch for GL_COMPILE_AND_EXECUTE loopback
It uses Exec directly, so this didn't do anything.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4de8c834e99254013b8a6f481e5be17701a420c
Author: Marek Olšák <[email protected]>
Date: Mon Aug 22 00:43:36 2022 -0400
mesa: reorder and pack gl_buffer_object
The frequently-accessed fields are at the beginning, hoping
we only need to load 1 cache line to get them all.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=26a2502a3b77862673ea6f23d3154c8c1085bb5f
Author: Marek Olšák <[email protected]>
Date: Mon Aug 22 00:30:00 2022 -0400
mesa: remove unused gl_buffer_object::Data and Written
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=37421a24ad82099823bf25c0976a84278b2b73a3
Author: Marek Olšák <[email protected]>
Date: Mon Aug 22 01:40:35 2022 -0400
mesa: restructure bind_buffer_object for better performance
The CPU time spent in _mesa_BindBuffer_no_error decresed from 11.4% to 9.2%.
I explain in the code what is happening here because it's not obvious.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a1ede73f5ac2becaf184d79776982556277cc98
Author: Marek Olšák <[email protected]>
Date: Mon Aug 22 01:37:36 2022 -0400
mesa: inline _mesa_handle_bind_buffer_gen and correct things
Changes:
- the function is inlined, which will help the next commit to improve perf
- use no_error inside the function
- if the function returns true, the buffer is non-NULL, so remove NULL
checking in callers
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=93c9be2b975a3267096d1da19873549057989f05
Author: Marek Olšák <[email protected]>
Date: Mon Aug 22 01:31:41 2022 -0400
mesa: inline _mesa_reference_buffer_object
The last parameter is always a constant expression, so this simplifies it.
This is also required by later commits.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1885608184d249d5ffa8cd02ee41dee5378a3142
Author: Marek Olšák <[email protected]>
Date: Sun Aug 21 13:59:41 2022 -0400
mesa: trivial simplifications in _mesa_reference_buffer_object_
The else statement conditions were tautological.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17b72129305545164120c93e2526eeae2ec0d5d8
Author: Marek Olšák <[email protected]>
Date: Sun Aug 14 00:57:11 2022 -0400
mesa: clean up st_indirect_draw_vbo interface and callers
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=303f867e322cf775b5bfb2948867a43fad99af60
Author: Marek Olšák <[email protected]>
Date: Sun Aug 14 00:35:41 2022 -0400
mesa: remove unused code using _mesa_prim
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=59af6be1995fbaa56e2133d32141e2fefce00cbc
Author: Marek Olšák <[email protected]>
Date: Sun Aug 14 00:21:30 2022 -0400
mesa: remove _mesa_draw_gallium_fallback by adapting st_feedback_draw_vbo
This makes st_feedback_draw_vbo implement the DrawGallium.
That's the last users of the fallback functions.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c056affa255bd5ee85895ed69a10de408ca4a45d
Author: Marek Olšák <[email protected]>
Date: Sat Aug 13 23:52:46 2022 -0400
mesa: replace ALLOC_PRIMS with persistently-allocated context arrays
This is cleaner.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>