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

Issue 1335873002: Initialize default texture for GL_TEXTURE_3D and GL_TEXTURE_2D_ARRAY (Closed)

Created:
5 years, 3 months ago by qiankun
Modified:
5 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize default texture for GL_TEXTURE_3D and GL_TEXTURE_2D_ARRAY ES3 supports GL_TEXTURE_3D and GL_TEXTURE_2D_ARRAY for glBindTexture. So we should create default texture the the two targets. BUG=429053 Committed: https://crrev.com/4e2f0d09bae5ad062f5f35de0349f53f0f99122e Cr-Commit-Position: refs/heads/master@{#349602}

Patch Set 1 #

Patch Set 2 : add unit tests #

Patch Set 3 : fix gpu_unittests #

Total comments: 10

Patch Set 4 : fix comments from zmo #

Total comments: 6

Patch Set 5 : add standalone test for ES3 #

Total comments: 2

Patch Set 6 : fix nits #

Total comments: 1

Patch Set 7 : fix default argument #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -54 lines) Patch
M gpu/command_buffer/service/test_helper.h View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 2 3 4 5 10 chunks +54 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 3 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 3 chunks +16 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 3 4 5 6 22 chunks +88 lines, -40 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
qiankun
PTAL.
5 years, 3 months ago (2015-09-14 11:01:43 UTC) #2
Zhenyao Mo
Thanks for your contribution. I think testing part of this CL still needs some more ...
5 years, 3 months ago (2015-09-14 21:12:06 UTC) #3
qiankun
Thanks for review. I updated the CL. PTAL. https://codereview.chromium.org/1335873002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/1335873002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode171 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:171: InitDecoderWithCommandLine(init, ...
5 years, 3 months ago (2015-09-15 09:14:59 UTC) #5
Zhenyao Mo
Mostly look good. https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc#newcode310 gpu/command_buffer/service/test_helper.cc:310: EXPECT_CALL(*gl, DeleteTextures(6, _)) This needs to ...
5 years, 3 months ago (2015-09-15 18:37:16 UTC) #6
qiankun
https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc#newcode310 gpu/command_buffer/service/test_helper.cc:310: EXPECT_CALL(*gl, DeleteTextures(6, _)) On 2015/09/15 18:37:15, Zhenyao Mo wrote: ...
5 years, 3 months ago (2015-09-17 09:39:27 UTC) #7
Zhenyao Mo
Mostly look good with some nits fix. https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc#newcode310 gpu/command_buffer/service/test_helper.cc:310: EXPECT_CALL(*gl, DeleteTextures(6, ...
5 years, 3 months ago (2015-09-17 14:47:05 UTC) #8
qiankun
Thanks for careful review! https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/1335873002/diff/60001/gpu/command_buffer/service/test_helper.cc#newcode310 gpu/command_buffer/service/test_helper.cc:310: EXPECT_CALL(*gl, DeleteTextures(6, _)) On 2015/09/17 ...
5 years, 3 months ago (2015-09-17 15:18:31 UTC) #9
Zhenyao Mo
LGTM after the default arg issue is fixed. https://codereview.chromium.org/1335873002/diff/100001/gpu/command_buffer/service/texture_manager_unittest.cc File gpu/command_buffer/service/texture_manager_unittest.cc (right): https://codereview.chromium.org/1335873002/diff/100001/gpu/command_buffer/service/texture_manager_unittest.cc#newcode101 gpu/command_buffer/service/texture_manager_unittest.cc:101: bool ...
5 years, 3 months ago (2015-09-17 16:57:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1335873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1335873002/120001
5 years, 3 months ago (2015-09-18 02:16:59 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 3 months ago (2015-09-18 03:34:55 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 03:36:04 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e2f0d09bae5ad062f5f35de0349f53f0f99122e
Cr-Commit-Position: refs/heads/master@{#349602}

Powered by Google App Engine
This is Rietveld 408576698