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

Issue 2136743002: Simplify ppapi Graphics3D size propagation a bit (Closed)

Created:
4 years, 5 months ago by piman
Modified:
4 years, 5 months ago
Reviewers:
danakj, erikchen, bbudge, dcheng
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@move_attr_parse_to_pepper
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify ppapi Graphics3D size propagation a bit - after https://codereview.chromium.org/2104403003/ we parse the attributes from the plugin side, so we know the correct size from the start, and we don't need to track the original size. - we can also pass gfx::Size through IPC with some extra validation (negative coordinates) in common code. - overall net fewer lines BUG=None Committed: https://crrev.com/1135d428cd8f5b19d458c5e67ba90776c4e09381 Committed: https://crrev.com/b36392c2dc38c81c6165a591e217e37598605137 Cr-Original-Commit-Position: refs/heads/master@{#404580} Cr-Commit-Position: refs/heads/master@{#404893}

Patch Set 1 #

Total comments: 4

Patch Set 2 : test fixes #

Patch Set 3 : comments #

Patch Set 4 : rebase #

Patch Set 5 : typo #

Patch Set 6 : rebase after revert #

Patch Set 7 : fix win64+gyp build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -55 lines) Patch
M content/renderer/pepper/ppb_graphics_3d_impl.h View 2 chunks +1 line, -8 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.cc View 3 chunks +2 lines, -10 lines 0 comments Download
M ppapi/ppapi_internal.gyp View 1 2 3 4 5 6 5 chunks +6 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy_nacl.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared_nacl.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +2 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.h View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 5 chunks +8 lines, -10 lines 0 comments Download
M ppapi/proxy/video_decoder_resource_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/shared_impl/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.h View 4 chunks +8 lines, -8 lines 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_api.h View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 64 (36 generated)
piman
erikchen: please review (this is relative to your recent changes) bbudge: ppapi OWNER dcheng: ppapi/proxy/ppapi_messages.h ...
4 years, 5 months ago (2016-07-09 01:07:49 UTC) #2
danakj
DEPS LGTM
4 years, 5 months ago (2016-07-09 01:08:21 UTC) #3
erikchen
lgtm https://codereview.chromium.org/2136743002/diff/1/ppapi/shared_impl/DEPS File ppapi/shared_impl/DEPS (right): https://codereview.chromium.org/2136743002/diff/1/ppapi/shared_impl/DEPS#newcode7 ppapi/shared_impl/DEPS:7: "+ui/gfx/geometry", When I was working on my change, ...
4 years, 5 months ago (2016-07-09 01:14:55 UTC) #4
piman
https://codereview.chromium.org/2136743002/diff/1/ppapi/shared_impl/DEPS File ppapi/shared_impl/DEPS (right): https://codereview.chromium.org/2136743002/diff/1/ppapi/shared_impl/DEPS#newcode7 ppapi/shared_impl/DEPS:7: "+ui/gfx/geometry", On 2016/07/09 01:14:55, erikchen wrote: > When I ...
4 years, 5 months ago (2016-07-09 01:19:35 UTC) #5
bbudge
LGTM w/nit Thanks! https://codereview.chromium.org/2136743002/diff/1/ppapi/proxy/ppb_graphics_3d_proxy.h File ppapi/proxy/ppb_graphics_3d_proxy.h (right): https://codereview.chromium.org/2136743002/diff/1/ppapi/proxy/ppb_graphics_3d_proxy.h#newcode42 ppapi/proxy/ppb_graphics_3d_proxy.h:42: explicit Graphics3D(const HostResource& resource, const gfx::Size& ...
4 years, 5 months ago (2016-07-09 01:20:20 UTC) #6
piman
https://codereview.chromium.org/2136743002/diff/1/ppapi/proxy/ppb_graphics_3d_proxy.h File ppapi/proxy/ppb_graphics_3d_proxy.h (right): https://codereview.chromium.org/2136743002/diff/1/ppapi/proxy/ppb_graphics_3d_proxy.h#newcode42 ppapi/proxy/ppb_graphics_3d_proxy.h:42: explicit Graphics3D(const HostResource& resource, const gfx::Size& size); On 2016/07/09 ...
4 years, 5 months ago (2016-07-09 01:26:45 UTC) #7
dcheng
rs lgtm for ipc changes
4 years, 5 months ago (2016-07-09 02:06:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/60001
4 years, 5 months ago (2016-07-09 07:07:34 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 5 months ago (2016-07-09 09:08:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/80001
4 years, 5 months ago (2016-07-10 04:23:18 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-10 06:12:04 UTC) #21
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/1135d428cd8f5b19d458c5e67ba90776c4e09381 Cr-Commit-Position: refs/heads/master@{#404580}
4 years, 5 months ago (2016-07-10 06:13:48 UTC) #23
Yuki
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2135063002/ by yukishiino@chromium.org. ...
4 years, 5 months ago (2016-07-11 00:36:39 UTC) #24
piman
bbudge: ptal at the couple of gyp fixes... PS5 is the original patch that was ...
4 years, 5 months ago (2016-07-11 20:24:03 UTC) #29
bbudge
Still LGTM
4 years, 5 months ago (2016-07-11 20:29:00 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-11 21:15:16 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/190462)
4 years, 5 months ago (2016-07-12 00:54:41 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-12 01:34:46 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/190770)
4 years, 5 months ago (2016-07-12 05:38:56 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-12 14:32:01 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191311)
4 years, 5 months ago (2016-07-12 18:05:20 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-12 18:34:18 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/243688)
4 years, 5 months ago (2016-07-12 20:58:46 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-12 21:06:26 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/242905)
4 years, 5 months ago (2016-07-12 22:38:42 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136743002/140001
4 years, 5 months ago (2016-07-12 22:53:02 UTC) #60
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 5 months ago (2016-07-13 02:11:59 UTC) #62
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 02:15:01 UTC) #64
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b36392c2dc38c81c6165a591e217e37598605137
Cr-Commit-Position: refs/heads/master@{#404893}

Powered by Google App Engine
This is Rietveld 408576698