Lines Matching refs:tonemapper
73 Tonemapper *tonemapper = new Tonemapper(); in build() local
75 tonemapper->engineContext = engine_initialize(isSecure); in build()
77 engine_bind(tonemapper->engineContext); in build()
80 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
81 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
82 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
85 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
86 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
89 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
90 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
112 tonemapper->programID = in build()
115 return tonemapper; in build()