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

Issue 1484473003: gl, ozone: enable GLImageBindTest unittests

Created:
5 years ago by dshwang
Modified:
3 years, 9 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gl, ozone: enable GLImageBindTest unittests TEST=gl_unittests --gtest_filter=GLImage* --ozone-platform=gbm BUG=475633

Patch Set 1 #

Total comments: 1

Patch Set 2 : add GLImageBindTest for ozone #

Total comments: 2

Patch Set 3 : improved #

Total comments: 6

Patch Set 4 : address reveman's comments #

Patch Set 5 : build fix for win and mac, but cros need crrev.com/1208603002 #

Total comments: 10

Patch Set 6 : split CL into thie preparation and GLImageBindTest CL #

Patch Set 7 : add new GLImageBindTest unittests. add R_8 test. give up dynamic way #

Total comments: 6

Patch Set 8 : build fix #

Patch Set 9 : rebase based on crrev.com/1879243002 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -16 lines) Patch
M ui/gl/gl_image_io_surface_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +94 lines, -4 lines 1 comment Download
M ui/gl/gl_image_ref_counted_memory_unittest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_shared_memory_unittest.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M ui/gl/test/gl_image_test_support.cc View 1 2 3 4 5 6 3 chunks +7 lines, -10 lines 0 comments Download
M ui/gl/test/gl_image_test_template.h View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -2 lines 0 comments Download
M ui/gl/test/run_all_unittests.cc View 1 2 3 4 5 6 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (13 generated)
dshwang
reveman, could you review? It's what you asked in BlinkOn :) spang, could you review? ...
5 years ago (2015-11-27 18:40:52 UTC) #3
reveman
https://codereview.chromium.org/1484473003/diff/1/ui/gl/gl_image_ozone_native_pixmap_unittest.cc File ui/gl/gl_image_ozone_native_pixmap_unittest.cc (left): https://codereview.chromium.org/1484473003/diff/1/ui/gl/gl_image_ozone_native_pixmap_unittest.cc#oldcode15 ui/gl/gl_image_ozone_native_pixmap_unittest.cc:15: class GLImageOzoneNativePixmapTestDelegate { Note: this previous test is only ...
5 years ago (2015-11-30 21:03:44 UTC) #4
dshwang
Hi I'm back. I add new test GLImageBindTest to verify GLImage::BindTexImage It takes time because ...
5 years ago (2015-12-15 13:44:38 UTC) #5
reveman
https://codereview.chromium.org/1484473003/diff/40001/ui/gl/gl_image_memory.h File ui/gl/gl_image_memory.h (left): https://codereview.chromium.org/1484473003/diff/40001/ui/gl/gl_image_memory.h#oldcode39 ui/gl/gl_image_memory.h:39: static unsigned GetInternalFormatForTesting(gfx::BufferFormat format); can we just move this ...
5 years ago (2015-12-18 21:51:04 UTC) #6
dshwang
sorry for delaying update. reveman, could you review it again? https://codereview.chromium.org/1484473003/diff/40001/ui/gl/gl_image_memory.h File ui/gl/gl_image_memory.h (left): https://codereview.chromium.org/1484473003/diff/40001/ui/gl/gl_image_memory.h#oldcode39 ...
4 years, 11 months ago (2016-01-11 15:31:10 UTC) #7
reveman
https://codereview.chromium.org/1484473003/diff/100001/ui/gl/gl_utils.h File ui/gl/gl_utils.h (right): https://codereview.chromium.org/1484473003/diff/100001/ui/gl/gl_utils.h#newcode16 ui/gl/gl_utils.h:16: GL_EXPORT GLenum GetTextureFormatFrom(gfx::BufferFormat format); Not sure we need this ...
4 years, 11 months ago (2016-01-13 15:50:09 UTC) #9
dshwang
I split the CL as you requested. As slitting, the purpose of this CL is ...
4 years, 11 months ago (2016-01-13 17:07:43 UTC) #11
reveman
https://codereview.chromium.org/1484473003/diff/100001/ui/gl/test/gl_image_test_template.h File ui/gl/test/gl_image_test_template.h (right): https://codereview.chromium.org/1484473003/diff/100001/ui/gl/test/gl_image_test_template.h#newcode107 ui/gl/test/gl_image_test_template.h:107: for (auto format : gfx::GetBufferFormatsForTesting()) { On 2016/01/13 at ...
4 years, 11 months ago (2016-01-13 19:48:47 UTC) #12
dshwang
https://codereview.chromium.org/1484473003/diff/100001/ui/gl/test/gl_image_test_template.h File ui/gl/test/gl_image_test_template.h (right): https://codereview.chromium.org/1484473003/diff/100001/ui/gl/test/gl_image_test_template.h#newcode107 ui/gl/test/gl_image_test_template.h:107: for (auto format : gfx::GetBufferFormatsForTesting()) { On 2016/01/13 19:48:47, ...
4 years, 11 months ago (2016-01-14 12:54:49 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484473003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484473003/140001
4 years, 8 months ago (2016-04-08 13:05:50 UTC) #16
dshwang
reveman, could you review again? sorry for long time inactive. As https://codereview.chromium.org/1869793002/ introduce R_8, I ...
4 years, 8 months ago (2016-04-08 13:16:31 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/47546) mac_chromium_compile_dbg_ng on ...
4 years, 8 months ago (2016-04-08 13:18:43 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484473003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484473003/160001
4 years, 8 months ago (2016-04-08 13:22:00 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-08 14:16:22 UTC) #23
dshwang
reveman, PTAL?
4 years, 8 months ago (2016-04-13 08:37:12 UTC) #24
Daniele Castagna
Hi DS! Sorry, I didn't notice this CL until now. :( We landed crrev.com/1879243002 that ...
4 years, 8 months ago (2016-04-13 22:39:21 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484473003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484473003/180001
4 years, 8 months ago (2016-04-22 11:40:45 UTC) #28
dshwang
Sorry for delaying update. reveman, could you review? On 2016/04/13 22:39:21, Daniele Castagna wrote: > ...
4 years, 8 months ago (2016-04-22 11:42:49 UTC) #29
Daniele Castagna
On 2016/04/22 at 11:42:49, dongseong.hwang wrote: > Sorry for delaying update. reveman, could you review? ...
4 years, 8 months ago (2016-04-22 11:51:21 UTC) #31
dshwang
On 2016/04/22 11:51:21, Daniele Castagna wrote: > On 2016/04/22 at 11:42:49, dongseong.hwang wrote: > > ...
4 years, 8 months ago (2016-04-22 12:17:06 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-22 12:36:37 UTC) #34
dshwang
reveman, PTAL?
4 years, 7 months ago (2016-05-03 07:32:25 UTC) #35
reveman
I don't like the IsSupported part. Why do we need it? Can't we limit the ...
4 years, 7 months ago (2016-05-03 10:45:15 UTC) #36
dshwang
https://codereview.chromium.org/1484473003/diff/180001/ui/gl/gl_image_ozone_native_pixmap_unittest.cc File ui/gl/gl_image_ozone_native_pixmap_unittest.cc (right): https://codereview.chromium.org/1484473003/diff/180001/ui/gl/gl_image_ozone_native_pixmap_unittest.cc#newcode126 ui/gl/gl_image_ozone_native_pixmap_unittest.cc:126: gfx::BufferUsage::GPU_READ_CPU_READ_WRITE_PERSISTENT>>; > I don't like the IsSupported part. Why ...
4 years, 7 months ago (2016-05-03 11:40:25 UTC) #37
reveman
On 2016/05/03 at 11:40:25, dongseong.hwang wrote: > https://codereview.chromium.org/1484473003/diff/180001/ui/gl/gl_image_ozone_native_pixmap_unittest.cc > File ui/gl/gl_image_ozone_native_pixmap_unittest.cc (right): > > https://codereview.chromium.org/1484473003/diff/180001/ui/gl/gl_image_ozone_native_pixmap_unittest.cc#newcode126 ...
4 years, 7 months ago (2016-05-03 11:49:48 UTC) #38
dshwang
On 2016/05/03 11:49:48, reveman wrote: > On 2016/05/03 at 11:40:25, dongseong.hwang wrote: > > > ...
4 years, 7 months ago (2016-05-03 11:59:20 UTC) #39
reveman
On 2016/05/03 at 11:59:20, dongseong.hwang wrote: > On 2016/05/03 11:49:48, reveman wrote: > > On ...
4 years, 7 months ago (2016-05-03 16:01:42 UTC) #40
dshwang
On 2016/05/03 16:01:42, reveman wrote: > On 2016/05/03 at 11:59:20, dongseong.hwang wrote: > > On ...
4 years, 7 months ago (2016-05-03 16:08:40 UTC) #41
Julien Isorce
Hi, what is the status here ? Thx
3 years, 9 months ago (2017-03-09 13:15:56 UTC) #42
Daniele Castagna
3 years, 9 months ago (2017-03-09 15:44:06 UTC) #43
On 2017/03/09 at 13:15:56, julien.isorce wrote:
> Hi, what is the status here ? Thx

These tests changed significantly since this patch.
They now live in ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc. You can
build them for cros with the target ozone_gl_unittests.

Powered by Google App Engine
This is Rietveld 408576698