4 #ifndef __OSL_GLOBALS_H__
5 #define __OSL_GLOBALS_H__
9 # include <OSL/oslexec.h>
11 # include <OpenImageIO/refcnt.h>
12 # include <OpenImageIO/unordered_map_concurrent.h>
27 class ColorSpaceProcessor;
48 OSL::TextureSystem *ts;
56 OSL::ShaderGroupRef background_state;
65 typedef unordered_map<ustring, Attribute, ustringHash>
AttributeMap;
66 typedef unordered_map<ustring, int, ustringHash> ObjectNameMap;
69 ObjectNameMap object_name_map;
84 struct OSLThreadData {
85 OSL::ShaderGlobals globals;
86 OSL::PerThreadInfo *osl_thread_info;
87 OSLTraceData tracedata;
89 OIIO::TextureSystem::Perthread *oiio_thread_info;
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
#define CCL_NAMESPACE_END
struct AttributeMap AttributeMap