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

Issue 573953002: command_buffer: infer all generated c/c++ source files to clang-format (Closed)

Created:
6 years, 3 months ago by Kimmo Kinnunen
Modified:
6 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

command_buffer: infer all generated c/c++ source files to clang-format Gather a list of generated files in build_gles2_cmd_buffer.py rather than using a manual list. Calls format for gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h, which was previously omitted. Committed: https://crrev.com/c6d943365002fbe85057ad7a6281756b844d31d1 Cr-Commit-Position: refs/heads/master@{#297388}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2244 lines, -1137 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 35 chunks +82 lines, -69 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 18 chunks +180 lines, -90 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 1 chunk +1566 lines, -783 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h View 2 chunks +12 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 6 chunks +213 lines, -82 lines 0 comments Download
M ppapi/lib/gl/gles2/gles2.c View 1 19 chunks +32 lines, -26 lines 1 comment Download
M ppapi/shared_impl/ppb_opengles2_shared.cc View 1 2 chunks +158 lines, -77 lines 1 comment Download

Messages

Total messages: 15 (5 generated)
Kimmo Kinnunen
6 years, 3 months ago (2014-09-16 07:21:31 UTC) #2
vmiura
On 2014/09/16 07:21:31, Kimmo Kinnunen wrote: lgtm
6 years, 3 months ago (2014-09-19 23:04:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/573953002/20001
6 years, 2 months ago (2014-09-29 08:24:27 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/8072) android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/13247) chromium_presubmit ...
6 years, 2 months ago (2014-09-29 08:31:43 UTC) #7
Kimmo Kinnunen
dmichael, could you look at the ppapi/ changes? For some reason trunk does not have ...
6 years, 2 months ago (2014-09-29 10:58:34 UTC) #9
dmichael (off chromium)
I think it's just a new version of the formatter. Part of the changes look ...
6 years, 2 months ago (2014-09-29 15:25:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/573953002/20001
6 years, 2 months ago (2014-09-30 07:07:58 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 2af16554a9dcb83babeaa35377ce476b37beb28c
6 years, 2 months ago (2014-09-30 08:54:56 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/c6d943365002fbe85057ad7a6281756b844d31d1 Cr-Commit-Position: refs/heads/master@{#297388}
6 years, 2 months ago (2014-09-30 08:56:28 UTC) #14
Kimmo Kinnunen
6 years, 2 months ago (2014-10-02 05:16:59 UTC) #15
Message was sent while issue was closed.
dmichael wrote:
> ppapi lgtm

Thanks for the review.

>
https://chromiumcodereview.appspot.com/573953002/diff/20001/ppapi/lib/gl/gles...
> ppapi/lib/gl/gles2/gles2.c:28: glBindAttribLocation(GLuint program, GLuint
> index, const char* name) {
> This is a little weird; I would've thought that it shouldn't have the 4-space
> indent. clang-format probably gets confused by the GL_APIENTRY. You can file a
> bug against clang-format if you want.

Bug 418883: https://code.google.com/p/chromium/issues/detail?id=418883

Powered by Google App Engine
This is Rietveld 408576698