I have a few things to throw out, thanks for any help.
I would like to get the Display* and X Window for the current context. Currently I am including stub.h, and linking crfaker into my spu, and using stub.currentContext to get the data I need. This seems a little ugly, and I wanted to know if there was a better way, maybe something in the standard CR include directory?
There are functions to get the CR GLint representation for the current context in include/cr_glstate.h. Are there functions that access the CR hashtables to get the actual OS specific data?
Also, opengl_stub/stub.h has hashtables called stub.windowTable, and stub.contextTable, but these never seem to have anything in them. What is stored in these?
I have noticed that when the window containing the current context is moved, the stub.currentContext position does not get updated until the context is clicked on. stub.trackWindowPos and stub.trackWindowSize are set to 1. Is there are reason/solution to this?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a few things to throw out, thanks for any help.
I would like to get the Display* and X Window for the current context. Currently I am including stub.h, and linking crfaker into my spu, and using stub.currentContext to get the data I need. This seems a little ugly, and I wanted to know if there was a better way, maybe something in the standard CR include directory?
There are functions to get the CR GLint representation for the current context in include/cr_glstate.h. Are there functions that access the CR hashtables to get the actual OS specific data?
Also, opengl_stub/stub.h has hashtables called stub.windowTable, and stub.contextTable, but these never seem to have anything in them. What is stored in these?
I have noticed that when the window containing the current context is moved, the stub.currentContext position does not get updated until the context is clicked on. stub.trackWindowPos and stub.trackWindowSize are set to 1. Is there are reason/solution to this?
Thanks.