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

Issue 212933009: ui: Refactor GLImageEGL for usage by targets other than EGL_NATIVE_BUFFER_ANDROID. (Closed)

Created:
6 years, 9 months ago by reveman
Modified:
6 years, 9 months ago
Reviewers:
kalyank, fjhenigman, piman, sky, boliu
CC:
chromium-reviews, rjkroege, kalyank, android-webview-reviews_chromium.org, ozone-reviews_chromium.org
Visibility:
Public.

Description

ui: Refactor GLImageEGL for usage by targets other than EGL_NATIVE_BUFFER_ANDROID. No changes in behavior except a DCHECK will fail in BindTexImage instead of returning false when egl_image_ is EGL_NO_IMAGE_KHR. This is more appropritate as only a bug in the implementation of GLImageEGL can cause this to happen. BUG=356871 TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260194

Patch Set 1 #

Patch Set 2 : s/native_buffer_android/android_native_buffer/ #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -183 lines) Patch
M android_webview/browser/gpu_memory_buffer_factory_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/gpu_memory_buffer.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl.gyp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M ui/gl/gl_image_android.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
A + ui/gl/gl_image_android_native_buffer.h View 1 1 chunk +9 lines, -16 lines 0 comments Download
A + ui/gl/gl_image_android_native_buffer.cc View 1 2 5 chunks +19 lines, -44 lines 1 comment Download
M ui/gl/gl_image_egl.h View 2 chunks +6 lines, -12 lines 0 comments Download
M ui/gl/gl_image_egl.cc View 2 chunks +9 lines, -102 lines 0 comments Download
M ui/gl/gl_image_shm.cc View 1 2 1 chunk +1 line, -2 lines 1 comment Download

Messages

Total messages: 31 (0 generated)
reveman
This allows us to implement other EGLImage based GLImage types such as the Linux dma-buf ...
6 years, 9 months ago (2014-03-27 18:14:00 UTC) #1
reveman
+kalyank
6 years, 9 months ago (2014-03-27 18:15:20 UTC) #2
reveman
+boliu +piman Please take a look. https://codereview.chromium.org/212933009/diff/40001/ui/gl/gl_image_android_native_buffer.cc File ui/gl/gl_image_android_native_buffer.cc (left): https://codereview.chromium.org/212933009/diff/40001/ui/gl/gl_image_android_native_buffer.cc#oldcode123 ui/gl/gl_image_android_native_buffer.cc:123: EGLint attrs[] = ...
6 years, 9 months ago (2014-03-27 22:52:04 UTC) #3
piman
lgtm
6 years, 9 months ago (2014-03-27 23:25:39 UTC) #4
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-27 23:34:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-27 23:37:03 UTC) #6
boliu
lgtm
6 years, 9 months ago (2014-03-27 23:46:24 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 00:02:38 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=58145
6 years, 9 months ago (2014-03-28 00:02:44 UTC) #9
reveman
+sky for ui/gfx
6 years, 9 months ago (2014-03-28 00:08:09 UTC) #10
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-28 00:08:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-28 00:09:23 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 02:31:42 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=290090
6 years, 9 months ago (2014-03-28 02:31:42 UTC) #14
fjhenigman
The CQ bit was checked by fjhenigman@chromium.org
6 years, 9 months ago (2014-03-28 02:41:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-28 02:43:23 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 03:08:10 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) crypto_unittests, url_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136626
6 years, 9 months ago (2014-03-28 03:08:10 UTC) #18
fjhenigman
The CQ bit was checked by fjhenigman@chromium.org
6 years, 9 months ago (2014-03-28 03:23:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-28 03:23:52 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 03:47:50 UTC) #21
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136662
6 years, 9 months ago (2014-03-28 03:47:50 UTC) #22
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-28 03:49:36 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-28 03:50:38 UTC) #24
fjhenigman
The CQ bit was checked by fjhenigman@chromium.org
6 years, 9 months ago (2014-03-28 03:53:09 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 07:54:59 UTC) #26
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136894
6 years, 9 months ago (2014-03-28 07:55:00 UTC) #27
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-28 13:35:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/212933009/40001
6 years, 9 months ago (2014-03-28 13:35:13 UTC) #29
sky
ui/gfx/gpu_memory_buffer.h LGTM Also, can you update owners for gpu_memory_buffer. I clearly am not a good ...
6 years, 9 months ago (2014-03-28 15:55:31 UTC) #30
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 18:07:38 UTC) #31
Message was sent while issue was closed.
Change committed as 260194

Powered by Google App Engine
This is Rietveld 408576698