Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 14358014: gpu: Add EGL fence support. (Closed)

Created:
7 years, 8 months ago by epenner
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Sami
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

gpu: Add EGL fence support. Adds fence support for EGL. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208021

Patch Set 1 #

Total comments: 7

Patch Set 2 : Implement GLFence. #

Patch Set 3 : Rename. #

Patch Set 4 : Reduce scope. #

Total comments: 8

Patch Set 5 : Address feedback. #

Patch Set 6 : Test for missing eglSync on Mac. #

Patch Set 7 : Fix Mac (it doesn't include EGL). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -5 lines) Patch
M ui/gl/generate_bindings.py View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_fence.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_fence.cc View 1 2 3 4 5 6 4 chunks +46 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
epenner
We recently saw from Grace's trace that we can get 100ms latency when we are ...
7 years, 8 months ago (2013-04-23 22:18:29 UTC) #1
apatrick_chromium
How about making an ImageTransportSurfaceAndroid that delegates to a NativeViewGLSurfaceEGL via a GLSurfaceAdapter and do ...
7 years, 8 months ago (2013-04-23 22:32:56 UTC) #2
epennerAtGoogle
On 2013/04/23 22:32:56, apatrick_chromium wrote: > How about making an ImageTransportSurfaceAndroid that delegates to a ...
7 years, 8 months ago (2013-04-23 23:30:38 UTC) #3
epennerAtGoogle
Oh... apatrick@, does the windows solution rely on polling to schedule the thread again? I ...
7 years, 8 months ago (2013-04-24 00:17:59 UTC) #4
epennerAtGoogle
'reply on polling' -> rely on polling 'expalain' -> explain :)
7 years, 8 months ago (2013-04-24 00:24:46 UTC) #5
Sami
I like the idea of doing this in the EGL surface. Maybe later the same ...
7 years, 8 months ago (2013-04-24 10:44:18 UTC) #6
no sievers
see PbufferImageTransportSurface::SwapBuffers() calling helper_->DeferToFence(). It looks like the polling is already efficiently integrated with the ...
7 years, 8 months ago (2013-04-24 12:23:53 UTC) #7
apatrick_chromium
On 2013/04/24 00:17:59, epennerAtGoogle wrote: > Oh... apatrick@, does the windows solution rely on polling ...
7 years, 8 months ago (2013-04-24 18:04:40 UTC) #8
epennerAtGoogle
So, I like the idea of implementing it like windows which uses polling. Or perhaps ...
7 years, 8 months ago (2013-04-24 19:33:38 UTC) #9
brianderson
On 2013/04/24 19:33:38, epennerAtGoogle wrote: > So, I like the idea of implementing it like ...
7 years, 8 months ago (2013-04-25 23:00:27 UTC) #10
no sievers
On 2013/04/25 23:00:27, Brian Anderson wrote: > On 2013/04/24 19:33:38, epennerAtGoogle wrote: > > So, ...
7 years, 8 months ago (2013-04-25 23:16:38 UTC) #11
epennerAtGoogle
On 2013/04/25 23:16:38, Daniel Sievers wrote: > On 2013/04/25 23:00:27, Brian Anderson wrote: > > ...
7 years, 8 months ago (2013-04-25 23:46:19 UTC) #12
epenner
Ptal. I got side tracked so this is just the fence implementation for EGL. I'll ...
7 years, 6 months ago (2013-06-18 22:06:33 UTC) #13
apatrick_chromium
https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc File ui/gl/gl_fence.cc (right): https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc#newcode36 ui/gl/gl_fence.cc:36: NOTIMPLEMENTED(); glFinishFenceNV(fence_); https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc#newcode70 ui/gl/gl_fence.cc:70: NOTIMPLEMENTED(); glClientWaitSyncARB(sync_, SYNC_FLUSH_COMMANDS_BIT, TIMEOUT_IGNORED); https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc#newcode81 ...
7 years, 6 months ago (2013-06-18 22:15:01 UTC) #14
epenner
Thanks! https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc File ui/gl/gl_fence.cc (right): https://codereview.chromium.org/14358014/diff/20001/ui/gl/gl_fence.cc#newcode36 ui/gl/gl_fence.cc:36: NOTIMPLEMENTED(); On 2013/06/18 22:15:01, apatrick_chromium wrote: > glFinishFenceNV(fence_); ...
7 years, 6 months ago (2013-06-18 22:37:25 UTC) #15
apatrick_chromium
lgtm
7 years, 6 months ago (2013-06-18 22:42:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/26001
7 years, 6 months ago (2013-06-18 23:12:19 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-18 23:29:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/56001
7 years, 6 months ago (2013-06-21 00:17:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/63001
7 years, 6 months ago (2013-06-21 23:19:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/63001
7 years, 6 months ago (2013-06-22 02:28:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/63001
7 years, 6 months ago (2013-06-22 02:58:17 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/63001
7 years, 6 months ago (2013-06-22 03:29:29 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/14358014/63001
7 years, 6 months ago (2013-06-22 03:39:55 UTC) #24
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 13:47:22 UTC) #25
Message was sent while issue was closed.
Change committed as 208021

Powered by Google App Engine
This is Rietveld 408576698