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

Issue 1134373002: Add a bunch of ES3 enums to the validator. (Closed)

Created:
5 years, 7 months ago by Zhenyao Mo
Modified:
5 years, 7 months ago
Reviewers:
bajones, piman
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit), bajones, no sievers, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a bunch of ES3 enums to the validator. BUG=429053 TEST=gpu_unittests R=piman@chromium.org Committed: https://crrev.com/bb77c86888ebea8e65aa5026486ed8f1d4cfd700 Cr-Commit-Position: refs/heads/master@{#329765}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -118 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 16 chunks +141 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 3 chunks +10 lines, -10 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 17 chunks +114 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 10 chunks +29 lines, -97 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 19 chunks +194 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Zhenyao Mo
piman: PTAL others: FYI (feel free to review)
5 years, 7 months ago (2015-05-13 22:24:46 UTC) #1
piman
https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1114 gpu/command_buffer/build_gles2_cmd_buffer.py:1114: 'GL_BUFFER_ACCESS_FLAGS', note: because of the logic in GLES2DecoderImpl::HandleMapBufferRange, we ...
5 years, 7 months ago (2015-05-13 22:35:30 UTC) #2
bajones
A couple of comments https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1179 gpu/command_buffer/build_gles2_cmd_buffer.py:1179: # 'GL_PROGRAM_BINARY_RETRIEVABLE_HINT', Probably don't want ...
5 years, 7 months ago (2015-05-13 22:38:40 UTC) #4
Zhenyao Mo
revised. please take another look. https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1114 gpu/command_buffer/build_gles2_cmd_buffer.py:1114: 'GL_BUFFER_ACCESS_FLAGS', On 2015/05/13 22:35:29, ...
5 years, 7 months ago (2015-05-13 23:02:53 UTC) #5
piman
lgtm
5 years, 7 months ago (2015-05-13 23:11:26 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1427 gpu/command_buffer/build_gles2_cmd_buffer.py:1427: 'GL_UNPACK_SKIP_IMAGES', Per offline discussion, these are still needed on ...
5 years, 7 months ago (2015-05-13 23:39:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134373002/40001
5 years, 7 months ago (2015-05-13 23:41:25 UTC) #10
piman
On 2015/05/13 23:39:21, Zhenyao Mo wrote: > https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py > File gpu/command_buffer/build_gles2_cmd_buffer.py (right): > > https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1427 ...
5 years, 7 months ago (2015-05-14 00:01:30 UTC) #11
Zhenyao Mo
On 2015/05/14 00:01:30, piman (Very slow to review) wrote: > On 2015/05/13 23:39:21, Zhenyao Mo ...
5 years, 7 months ago (2015-05-14 00:21:39 UTC) #12
Zhenyao Mo
On 2015/05/14 00:21:39, Zhenyao Mo wrote: > On 2015/05/14 00:01:30, piman (Very slow to review) ...
5 years, 7 months ago (2015-05-14 00:26:57 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-14 00:47:31 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/bb77c86888ebea8e65aa5026486ed8f1d4cfd700 Cr-Commit-Position: refs/heads/master@{#329765}
5 years, 7 months ago (2015-05-14 00:48:26 UTC) #15
piman
On Wed, May 13, 2015 at 5:21 PM, <zmo@chromium.org> wrote: > On 2015/05/14 00:01:30, piman ...
5 years, 7 months ago (2015-05-14 00:55:27 UTC) #16
Zhenyao Mo
5 years, 7 months ago (2015-05-14 03:51:20 UTC) #17
Message was sent while issue was closed.
On 2015/05/14 00:55:27, piman (Very slow to review) wrote:
> On Wed, May 13, 2015 at 5:21 PM, <mailto:zmo@chromium.org> wrote:
> 
> > On 2015/05/14 00:01:30, piman (Very slow to review) wrote:
> >
> >> On 2015/05/13 23:39:21, Zhenyao Mo wrote:
> >> >
> >>
> >
> >
> >
>
https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gl...
> >
> >> > File gpu/command_buffer/build_gles2_cmd_buffer.py (right):
> >> >
> >> >
> >>
> >
> >
> >
>
https://codereview.chromium.org/1134373002/diff/1/gpu/command_buffer/build_gl...
> >
> >> > gpu/command_buffer/build_gles2_cmd_buffer.py:1427:
> >> 'GL_UNPACK_SKIP_IMAGES',
> >> > Per offline discussion, these are still needed on the service side if
> >>
> > service
> >
> >> > side data are in use.
> >>
> >
> >  Well, if we cache them on the client side (even for the bound buffer
> >> case), we
> >> can use that without round-tripping to the service.
> >>
> >
> > But we still need to call glPixelStorei with them on the service side for
> > the
> > bound buffer case, so they still need to be added to the validator.
> >
> 
> Sure, but GL_UNPACK_SKIP_IMAGES etc. is only used for the Get (which
> doesn't need a service-side component if we cache on the client).
> We do need the PixelStorei command, but with careful management (so that a
> client doesn't change the gl driver as it reads from shm buffers for the
> no-buffer-bound case).

Got it.  I'll revisit this carefully when I work around to fine tune the
PixelStorei command.

> 
> 
> > https://codereview.chromium.org/1134373002/
> >
> 
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698