diff options
author | Tomasz Lis <[email protected]> | 2013-07-17 13:49:18 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-07-18 16:03:42 -0700 |
commit | 27c8aa5cfbcf6f2ad21564dfcdabbe747c277cab (patch) | |
tree | 6a63a21b1770cebeeed83a94438f17083776b719 /src/glx/tests/fake_glx_screen.h | |
parent | 1c748dff6b13ff127c02790fa6078cc68eb42291 (diff) |
glx: Store the RENDER_TYPE in indirect rendering
v2 (idr): Open-code the check for GLX_RENDER_TYPE.
dri2_convert_glx_attribs can't be called from here because that function
only exists in direct-rendering builds. Also add a stub version of
indirect_create_context_attribs to tests/fake_glx_screen.cpp to prevent
'make check' regressions.
Signed-off-by: Tomasz Lis <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/tests/fake_glx_screen.h')
-rw-r--r-- | src/glx/tests/fake_glx_screen.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/glx/tests/fake_glx_screen.h b/src/glx/tests/fake_glx_screen.h index 6aa6cb68fe9..0249e79bcff 100644 --- a/src/glx/tests/fake_glx_screen.h +++ b/src/glx/tests/fake_glx_screen.h @@ -88,21 +88,6 @@ public: contexts_allocated--; } - static glx_context *create_attribs(struct glx_screen *psc, - struct glx_config *mode, - struct glx_context *shareList, - unsigned num_attribs, - const uint32_t *attribs, - unsigned *error) - { - (void) shareList; - (void) num_attribs; - (void) attribs; - - *error = 0; - return new fake_glx_context(psc, mode); - } - /** Number of context that are allocated (and not freed). */ static int contexts_allocated; |