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

Issue 1498033003: Implement SamplerManager in the command buffer (Closed)

Created:
5 years ago by bajones
Modified:
5 years 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

Implement SamplerManager in the command buffer BUG=563613 Committed: https://crrev.com/5141d0359ff9ac5a624ca298f353fdd99a77861d Cr-Commit-Position: refs/heads/master@{#363584}

Patch Set 1 #

Patch Set 2 : Fixed tests #

Total comments: 1

Patch Set 3 : Fixed problem zmo@ pointed out #

Total comments: 1

Patch Set 4 : One more tweak from zmo@'s feedback #

Total comments: 13

Patch Set 5 : Addressed piman@'s feedback #

Patch Set 6 : Fixed unnessecary state initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+607 lines, -107 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 20 chunks +34 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 4 5 chunks +7 lines, -19 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 16 chunks +158 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 9 chunks +9 lines, -53 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 3 4 2 chunks +2 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
A gpu/command_buffer/service/sampler_manager.h View 1 2 3 4 1 chunk +161 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/sampler_manager.cc View 1 2 3 4 1 chunk +206 lines, -0 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
bajones
This code only adds the manager and state tracking, it does not do any validation ...
5 years ago (2015-12-04 23:20:00 UTC) #2
Zhenyao Mo
Mostly look good with one bug fixed. https://codereview.chromium.org/1498033003/diff/20001/gpu/command_buffer/service/sampler_manager.cc File gpu/command_buffer/service/sampler_manager.cc (right): https://codereview.chromium.org/1498033003/diff/20001/gpu/command_buffer/service/sampler_manager.cc#newcode105 gpu/command_buffer/service/sampler_manager.cc:105: case GL_TEXTURE_COMPARE_MODE: ...
5 years ago (2015-12-04 23:49:03 UTC) #3
bajones
On 2015/12/04 23:49:03, Zhenyao Mo wrote: > https://codereview.chromium.org/1498033003/diff/20001/gpu/command_buffer/service/sampler_manager.cc#newcode105 > gpu/command_buffer/service/sampler_manager.cc:105: case GL_TEXTURE_COMPARE_MODE: > You meant ...
5 years ago (2015-12-05 00:01:27 UTC) #4
Zhenyao Mo
LGTM with a minor assertion fixed. https://codereview.chromium.org/1498033003/diff/40001/gpu/command_buffer/service/sampler_manager.cc File gpu/command_buffer/service/sampler_manager.cc (right): https://codereview.chromium.org/1498033003/diff/40001/gpu/command_buffer/service/sampler_manager.cc#newcode117 gpu/command_buffer/service/sampler_manager.cc:117: NOTREACHED(); Sorry I ...
5 years ago (2015-12-05 00:03:47 UTC) #5
bajones
On 2015/12/05 00:03:47, Zhenyao Mo wrote: > Sorry I didn't catch this earlier, but you ...
5 years ago (2015-12-05 00:20:47 UTC) #6
piman
https://codereview.chromium.org/1498033003/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1498033003/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode2262 gpu/command_buffer/build_gles2_cmd_buffer.py:2262: 'gen_func': 'GenSamplers', I don't think you need or want ...
5 years ago (2015-12-05 02:45:19 UTC) #7
bajones
Thank's for the review piman@! Addressed your comments in the latest patch.
5 years ago (2015-12-07 19:25:41 UTC) #8
piman
LGTM, but one question. Please consider removing redundant state setting. https://codereview.chromium.org/1498033003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1498033003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode2754 ...
5 years ago (2015-12-07 19:35:59 UTC) #9
bajones
On 2015/12/07 19:35:59, piman (slow to review) wrote: > LGTM, but one question. Please consider ...
5 years ago (2015-12-07 19:42:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498033003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498033003/100001
5 years ago (2015-12-07 19:47:31 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-12-07 21:13:47 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-07 21:15:02 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5141d0359ff9ac5a624ca298f353fdd99a77861d
Cr-Commit-Position: refs/heads/master@{#363584}

Powered by Google App Engine
This is Rietveld 408576698