diff options
author | Theogen Ratkin <feogenratkin@gmail.com> | 2020-11-26 18:38:16 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-11-27 19:06:01 +0000 |
commit | 4ba86ca9c367b6a7a6511a3d99dafb374db4921a (patch) | |
tree | 50e58b928ec9af9402ffe00aa0ddd87b2ec0d7a7 /docs/dispatch.rst | |
parent | aed8d30b507568b7fc0f32afca012f8def5aca16 (diff) | |
download | mesa-4ba86ca9c367b6a7a6511a3d99dafb374db4921a.tar.gz |
docs: grammar fixes
Signed-off-by: Theogen Ratkin <feogenratkin@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7804>
Diffstat (limited to 'docs/dispatch.rst')
-rw-r--r-- | docs/dispatch.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dispatch.rst b/docs/dispatch.rst index 6b808597310..ebf6cd615fd 100644 --- a/docs/dispatch.rst +++ b/docs/dispatch.rst @@ -51,7 +51,7 @@ of the context current in the thread, and the second pointer stores the address of the *dispatch table* associated with that context. The dispatch table stores pointers to functions that actually implement specific GL functions. Each time a new context is made current in a -thread, these pointers a updated. +thread, these pointers are updated. The implementation of functions such as ``glVertex3fv`` becomes conceptually simple: @@ -155,7 +155,7 @@ as the default dispatch method. 3.3. Assembly Language Dispatch Stubs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Many platforms has difficulty properly optimizing the tail-call in the +Many platforms have difficulty properly optimizing the tail-call in the dispatch stubs. Platforms like x86 that pass parameters on the stack seem to have even more difficulty optimizing these routines. All of the dispatch routines are very short, and it is trivial to create optimal |