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

Issue 780433006: Add framebuffer object related commands to command buffer. (Closed)

Created:
6 years ago by Zhenyao Mo
Modified:
6 years ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@tex
Project:
chromium
Visibility:
Public.

Description

Add framebuffer object related commands to command buffer. glInvalidateFramebuffer, glInvalidateSubFramebuffer, glReadBuffer. All other commands in this group have already been added. Also, code generator has to be modified to remove the incorrect assumption that the data pointer is the last arg of a function. This assumption is not true for glInvalidateSubFramebuffer. Also, separate the bindings of glDiscardFramebufferEXT and glInvalidateFramebuffer so we have better control of them. BUG=429053 TEST=gpu_unittests R=kbr@chromium.org,bajones@chromium.org,sievers@chromium.org Committed: https://crrev.com/68fcdc610840bc39b061e7842f78089171ed5e90 Cr-Commit-Position: refs/heads/master@{#307088}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+892 lines, -245 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 14 chunks +72 lines, -38 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 4 chunks +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 2 chunks +37 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 2 chunks +64 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 2 chunks +47 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 2 chunks +156 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 2 chunks +63 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 1 chunk +145 lines, -142 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 4 chunks +8 lines, -1 line 1 comment Download
M gpu/command_buffer/service/feature_info.cc View 1 19 chunks +44 lines, -34 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 5 chunks +12 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 2 chunks +80 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 2 chunks +2 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 1 2 2 chunks +22 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/generate_bindings.py View 2 chunks +7 lines, -6 lines 0 comments Download
M ui/gl/gl_version_info.h View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Zhenyao Mo
PTAL
6 years ago (2014-12-04 00:07:01 UTC) #3
Ken Russell (switch to Gerrit)
I'm not an owner in this directory so can't provide a full review. One initial ...
6 years ago (2014-12-04 01:42:56 UTC) #5
Zhenyao Mo
On 2014/12/04 01:42:56, Ken Russell wrote: > I'm not an owner in this directory so ...
6 years ago (2014-12-04 02:29:39 UTC) #6
Zhenyao Mo
Please review. So for this CL, on es3, we also report ext_discard_framebuffer and delegate to ...
6 years ago (2014-12-04 17:37:27 UTC) #8
Ken Russell (switch to Gerrit)
Nice work. LGTM overall. One question and one comment about the removal of one of ...
6 years ago (2014-12-05 03:17:37 UTC) #11
Zhenyao Mo
bajones: please take a look. https://codereview.chromium.org/780433006/diff/140001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/780433006/diff/140001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode5744 gpu/command_buffer/build_gles2_cmd_buffer.py:5744: elif arg.type == "GLboolean": ...
6 years ago (2014-12-05 17:59:01 UTC) #12
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/780433006/diff/160001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/780433006/diff/160001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode5754 gpu/command_buffer/build_gles2_cmd_buffer.py:5754: if arg.IsPointer() or arg.type == "GLboolean": Shouldn't this also ...
6 years ago (2014-12-05 18:43:07 UTC) #13
Zhenyao Mo
Please take another look. https://codereview.chromium.org/780433006/diff/160001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/780433006/diff/160001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode5754 gpu/command_buffer/build_gles2_cmd_buffer.py:5754: if arg.IsPointer() or arg.type == ...
6 years ago (2014-12-05 20:02:35 UTC) #14
Ken Russell (switch to Gerrit)
Thanks, looks better. LGTM again.
6 years ago (2014-12-05 20:42:09 UTC) #15
bajones
lgtm
6 years ago (2014-12-05 20:51:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780433006/200001
6 years ago (2014-12-05 21:04:34 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:200001)
6 years ago (2014-12-05 21:52:00 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/68fcdc610840bc39b061e7842f78089171ed5e90 Cr-Commit-Position: refs/heads/master@{#307088}
6 years ago (2014-12-05 21:52:51 UTC) #20
piman
https://codereview.chromium.org/780433006/diff/200001/gpu/command_buffer/service/feature_info.h File gpu/command_buffer/service/feature_info.h (right): https://codereview.chromium.org/780433006/diff/200001/gpu/command_buffer/service/feature_info.h#newcode126 gpu/command_buffer/service/feature_info.h:126: CHECK(gl_version_info_.get()); drive-by: no CHECK please. use DCHECK.
6 years ago (2014-12-05 22:44:09 UTC) #22
Zhenyao Mo
6 years ago (2014-12-05 23:50:13 UTC) #23
Message was sent while issue was closed.
On 2014/12/05 22:44:09, piman (Very slow to review) wrote:
>
https://codereview.chromium.org/780433006/diff/200001/gpu/command_buffer/serv...
> File gpu/command_buffer/service/feature_info.h (right):
> 
>
https://codereview.chromium.org/780433006/diff/200001/gpu/command_buffer/serv...
> gpu/command_buffer/service/feature_info.h:126: CHECK(gl_version_info_.get());
> drive-by: no CHECK please. use DCHECK.

Will do in a followup CL.

Powered by Google App Engine
This is Rietveld 408576698