Home
last modified time | relevance | path

Searched refs:tonemapper (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8998/gpu_tonemapper/
DTonemapper.cpp67 Tonemapper *tonemapper = new Tonemapper(); in build() local
69 tonemapper->engineContext = engine_initialize(); in build()
71 engine_bind(tonemapper->engineContext); in build()
74 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
76 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
77 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
98 tonemapper->programID = in build()
101 return tonemapper; in build()
DTonemapFactory.cpp31 Tonemapper *tonemapper = Tonemapper::build(type, colorMap, colorMapSize, lutXform, lutXformSize); in TonemapperFactory_GetInstance() local
33 return tonemapper; in TonemapperFactory_GetInstance()
Dforward_tonemap.inl25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
44 "fs_color.rgb = texture(tonemapper, vec3(r, g, b)).rgb; \n"
Drgba_inverse_tonemap.inl25 …"layout(binding = 1) uniform sampler3D tonemapper; …
47 …"fs_color.rgb = texture(tonemapper, vec3(r, g, b)).rgb * rgb_premulalpha.a; …