summaryrefslogtreecommitdiff
path: root/gpu_tonemapper/glengine.cpp
AgeCommit message (Collapse)Author
2021-11-30fix -Wunreachable-code-loop-incrementGeorge Burgess IV
`glGetError()` may return more than one error, yet these loops never iterated more than once. This CL fixes that, and cleans up some useless casting. Same fix as Ib2d3a6a95726fa954426a3644635dcf41fb571db. Bug: 150166387 Test: TreeHugger Change-Id: Ie569d385bb67fe2fdf2003577614e6b35ed9f17c
2018-03-21display: Use log.h from VNDKNaseer Ahmed
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
2017-07-25Revert "display: Store and restore the current eglContext"Rajesh Yadav
This reverts commit 99ff47d39ed58a04890ccf8ba9d86ef2a5621270. Context restore is not required as HWC2 runs in hal context. Change-Id: If12e53f684db6440b8232f5a694220e88842445c
2017-05-23hwc: gpu_tonemapper: Create Secure EGL ContextSushil Chauhan
- HWC tonemapper passes secure flag to GPU tonemapper to create object with secure EGL context. - Tonemapper object gets created with secure EGL context for the tone mapping of secure HDR layer. CRs-Fixed: 2048764 Change-Id: I7129505283527dbab17f1e9731d8f141b48bb310
2017-05-07display: Store and restore the current eglContextArun Kumar K.R
Tone mapper engine setting the current eglContext and never restored it. With multiple eglContexts used in same thread by SurfaceFlinger and GPU Tonemapper, it lead to incorrect eglContexts being used, hence always store the restore the eglContext in each GPUTonemapper call. CRs-Fixed: 2009259 Change-Id: Ic9fe73818ddfe3881e5fa82f7853dce130bba24e
2017-05-07gpu_tonemapper: Adjust sample points to maintain linearityArun Kumar K.R
Adjust texture sample points to maintain linearity throughout the sample range CRs-Fixed: 1110654 Change-Id: I2c198c9f330a0b6001d2eda28c0355f2c9ecbde4
2017-02-05Merge "gpu_tonemapper:Fix uninitialized variables."Linux Build Service Account
2017-02-03gpu_tonemapper:Fix uninitialized variables.Pramodh Kumar Mukunda
Change-Id: I9cc15c326ff250acffb681f44aa50bf1a2dce741 CRs-Fixed: 1116798
2017-01-23gpu_tonemapper: Use individual EGL contexts.Arun Kumar K.R
- Use individual EGL contexts for each tone-mapping session. - Having one context make multiple sessions serial, this helps in making this parallel when possible. - Resolves error messages which happened when the context was deleted during mirroring. Change-Id: Ia8738551b4189dccffb233320a9d69fcfd7f0118 Crs-fixed: 1115057
2016-12-16gpu_tonemapper: Include gpu tonemapperArun Kumar K.R
GPU tonemapper library which is used by HWC to tone map the layers from one Gamut to another based on the 3D LUT. Change-Id: Iccaa38e40989e832fd3891a24eca494aba696d9a Crs-fixed: 1094964