summaryrefslogtreecommitdiff
path: root/gpu_tonemapper
AgeCommit message (Collapse)Author
2017-02-28display: Move all opensource modules to vendor partitionNaseer Ahmed
CRs-Fixed: 2010492 Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
2017-02-05Merge "gpu_tonemapper:Fix uninitialized variables."Linux Build Service Account
2017-02-05Merge "display: Use ion cookie in GPU Tonemapper"Linux Build Service Account
2017-02-03gpu_tonemapper:Fix uninitialized variables.Pramodh Kumar Mukunda
Change-Id: I9cc15c326ff250acffb681f44aa50bf1a2dce741 CRs-Fixed: 1116798
2017-02-02Merge "gpu_tonemapper: Fix compilation issue with GraphicBuffer"Linux Build Service Account
2017-01-27display: Use ion cookie in GPU TonemapperArun Kumar K.R
- The fd's used for book-keeping can change when the clients close and reopen sessions, hence they are not reliable and can lead to incorrect virtual address usage causing corruption or stale data. - Hence use ion cookie for book-keeping which is unique for a given memory fd. - Use LRU method free up/reuse on reaching max limit. - Remove Tonemapper_destroy which is not needed anymore. Change-Id: I5777649b34210977c18ce20c65e0aa2baa8e7d26 Crs-fixed: 1110175
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
2017-01-23gpu_tonemapper: Fix compilation issue with GraphicBufferNaseer Ahmed
Handle different version of GraphicBuffer with a compile time flag. CRs-Fixed: 1111917 Change-Id: I11aa6d64a8e61a4d7658cb5f924ee4dc38c40bc9
2017-01-19gpu_tonemapper: Get Current EGL context in DestructorArun Kumar K.R
Need to switch to current egl context before deleting the program other wise it leads to errors and may not clean up cleanly on deletion. Change-Id: Ib4c59511e6aec7c7dd7b27ea26e26b189f9bc87f Crs-fixed: 1113295 Crs-fixed: 1110936
2017-01-18Merge "gpu_tonemapper: Clear EGLImage mappings in Tonemapper"Linux Build Service Account
2017-01-12gpu_tonemapper: Fix forward tonemap shaderArun Kumar K.R
Fix the in-correct handling of the verticies in the forward tonemap shader which led to the vertical flip of tonemap out. Change-Id: I17ed607c35f41a349fd39646066b108c792534a0 Crs-fixed: 1106032
2017-01-11gpu_tonemapper: Clear EGLImage mappings in TonemapperSushil Chauhan
Tonemapper does not clear the eglImage/fd mappings in the destructor, which leads to incorrect usage of those fds, when a tone map session gets deleted and a new session gets created, leading to artifcats. CRs-Fixed: 1104823 Change-Id: I9697eff93f9e5f150796a582f471246bca3b2816
2017-01-06gpu_tonemapper: Free eglImage on terminationRajesh Yadav
Buffers used for gpu tone mapping were getting leaked as eglImage was not destroyed. Free eglImage on termination. Change-Id: I4473bc01efd2d7c8e19b7d3cbcd8330eff591081 Crs-fixed: 1106899
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