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

Issue 305643004: Reducing code duplication between WGC3D(InProcess)CommandBufferImpl (Closed)

Created:
6 years, 6 months ago by bajones
Modified:
6 years, 6 months ago
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Visibility:
Public.

Description

Reducing code duplication between WGC3D(InProcess)CommandBufferImpl Currently any time a new GL function is added both classes need to be updated with identical code. This patch moves the shared portion of the code into a common location. R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273598

Patch Set 1 #

Patch Set 2 : Dependency fix to resolve compiler issues #

Patch Set 3 : Added WEBKIT_GPU_EXPORT #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -3666 lines) Patch
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 7 chunks +2 lines, -544 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 11 chunks +11 lines, -960 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 4 chunks +9 lines, -7 lines 0 comments Download
A + webkit/common/gpu/webgraphicscontext3d_impl.h View 1 2 8 chunks +84 lines, -103 lines 2 comments Download
A + webkit/common/gpu/webgraphicscontext3d_impl.cc View 1 25 chunks +129 lines, -554 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 5 chunks +4 lines, -516 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 5 chunks +10 lines, -982 lines 0 comments Download
M webkit/common/gpu/webkit_gpu.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
bajones
This is a quick pass at cleaning up some of the code duplication between the ...
6 years, 6 months ago (2014-05-27 23:23:46 UTC) #1
piman
lgtm
6 years, 6 months ago (2014-05-28 11:02:12 UTC) #2
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 6 months ago (2014-05-28 16:26:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/305643004/1
6 years, 6 months ago (2014-05-28 16:27:43 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 21:05:26 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 21:20:07 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/146573)
6 years, 6 months ago (2014-05-28 21:20:08 UTC) #7
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 6 months ago (2014-05-28 21:55:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/305643004/20001
6 years, 6 months ago (2014-05-28 21:56:17 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 01:21:32 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 01:36:57 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/146686)
6 years, 6 months ago (2014-05-29 01:36:57 UTC) #12
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 6 months ago (2014-05-29 17:29:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/305643004/40001
6 years, 6 months ago (2014-05-29 17:32:24 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 21:17:56 UTC) #15
bajones
Committed patchset #3 manually as r273598 (presubmit successful).
6 years, 6 months ago (2014-05-29 21:20:33 UTC) #16
jamesr
https://codereview.chromium.org/305643004/diff/40001/webkit/common/gpu/webgraphicscontext3d_impl.h File webkit/common/gpu/webgraphicscontext3d_impl.h (right): https://codereview.chromium.org/305643004/diff/40001/webkit/common/gpu/webgraphicscontext3d_impl.h#newcode40 webkit/common/gpu/webgraphicscontext3d_impl.h:40: namespace content { what on earth? why are we ...
6 years, 6 months ago (2014-06-03 21:22:56 UTC) #17
bajones
6 years, 6 months ago (2014-06-03 21:25:13 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/305643004/diff/40001/webkit/common/gpu/webgra...
File webkit/common/gpu/webgraphicscontext3d_impl.h (right):

https://codereview.chromium.org/305643004/diff/40001/webkit/common/gpu/webgra...
webkit/common/gpu/webgraphicscontext3d_impl.h:40: namespace content {
On 2014/06/03 21:22:56, jamesr wrote:
> what on earth? why are we defining symbols in namespace content:: inside
> webkit/common/gpu ?

Ack! That's a mistake. (File was originally a copy of
webgraphicscontext3d_command_buffer_impl.h)

I'll upload fix ASAP. Thanks for spotting it!

Powered by Google App Engine
This is Rietveld 408576698