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

Issue 954183006: Add glDrawRangeElements to GPU command buffer. (Closed)

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

Description

Add glDrawRangeElements to GPU command buffer. For now, we delegate the call to glDrawElements, i.e., ignoring start,end constraints, which is actually ES3 compliant. BUG=429053 TEST=gpu_unittests R=piman@chromium.org Committed: https://crrev.com/94589f19319991fe570ed9c12aa5716596a323a3 Cr-Commit-Position: refs/heads/master@{#320213}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : rebase and update CL description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -12 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 6 1 chunk +33 lines, -12 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
Zhenyao Mo
piman: please take a look. Others: FYI (feel free to review). I left out the ...
5 years, 10 months ago (2015-02-25 19:21:37 UTC) #1
piman
https://codereview.chromium.org/954183006/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/954183006/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7034 gpu/command_buffer/service/gles2_cmd_decoder.cc:7034: glDrawRangeElements(static_cast<GLenum>(c.mode), I'm pretty sure many things won't work right ...
5 years, 10 months ago (2015-02-25 23:28:47 UTC) #2
Zhenyao Mo
On 2015/02/25 23:28:47, piman (Very slow to review) wrote: > https://codereview.chromium.org/954183006/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): ...
5 years, 10 months ago (2015-02-25 23:53:58 UTC) #3
piman
On Wed, Feb 25, 2015 at 3:53 PM, <zmo@chromium.org> wrote: > On 2015/02/25 23:28:47, piman ...
5 years, 10 months ago (2015-02-25 23:59:46 UTC) #4
Zhenyao Mo
On 2015/02/25 23:59:46, piman (Very slow to review) wrote: > On Wed, Feb 25, 2015 ...
5 years, 10 months ago (2015-02-26 00:07:15 UTC) #5
piman
On Wed, Feb 25, 2015 at 4:07 PM, <zmo@chromium.org> wrote: > On 2015/02/25 23:59:46, piman ...
5 years, 10 months ago (2015-02-26 00:25:21 UTC) #6
Zhenyao Mo
piman: after discussing with kbr and bajones, it seems that the best way forward for ...
5 years, 9 months ago (2015-03-12 00:51:33 UTC) #7
piman
LGTM, that's probably safer. https://codereview.chromium.org/954183006/diff/100001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (left): https://codereview.chromium.org/954183006/diff/100001/gpu/command_buffer/client/gles2_implementation.cc#oldcode823 gpu/command_buffer/client/gles2_implementation.cc:823: if (count == 0) { ...
5 years, 9 months ago (2015-03-12 01:01:05 UTC) #8
Zhenyao Mo
On 2015/03/12 00:51:33, Zhenyao Mo wrote: > piman: after discussing with kbr and bajones, it ...
5 years, 9 months ago (2015-03-12 01:01:13 UTC) #9
Zhenyao Mo
On 2015/03/12 01:01:05, piman (Very slow to review) wrote: > LGTM, that's probably safer. > ...
5 years, 9 months ago (2015-03-12 01:02:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954183006/120001
5 years, 9 months ago (2015-03-12 01:09:43 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-12 02:49:01 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-12 02:50:16 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/94589f19319991fe570ed9c12aa5716596a323a3
Cr-Commit-Position: refs/heads/master@{#320213}

Powered by Google App Engine
This is Rietveld 408576698