Lines Matching refs:tonemapper
77 Tonemapper *tonemapper = new Tonemapper(); in build() local
79 tonemapper->engineContext = engine_initialize(isSecure); in build()
82 engine_bind(tonemapper->engineContext); in build()
85 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
86 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
87 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
90 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
91 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
94 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
95 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
117 tonemapper->programID = in build()
124 return tonemapper; in build()