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

Issue 1260253003: gpu: Add calling convention for win32 (Closed)

Created:
5 years, 4 months ago by hendrikw
Modified:
5 years, 4 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Add calling convention for win32 I'm in the process of making a command buffer gles2 dll that can be consumed by skia. Skia, on windows 32, uses __stdcall for it's gl functions, so to expose the gl interface to skia, we need to be using the same calling convention. Angle and GL both use __stdcall on win32. Committed: https://crrev.com/0f8de4a5c189bf0bde032657d3d715bae46def2f Cr-Commit-Position: refs/heads/master@{#341953}

Patch Set 1 #

Total comments: 1

Patch Set 2 : static_cast #

Patch Set 3 : git cl try #

Patch Set 4 : GN build update attempt #

Patch Set 5 : GN attempt 2 #

Patch Set 6 : mojo needs the same GL_APIENTRY #

Patch Set 7 : holy, this time it will work #

Patch Set 8 : this time for sure #

Patch Set 9 : merge #

Total comments: 2

Patch Set 10 : update README.chromium for khr #

Patch Set 11 : another merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1286 lines, -977 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 6 7 8 1 chunk +869 lines, -755 lines 0 comments Download
M gpu/command_buffer/client/gles2_lib.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/gles2_conform_support/egl/egl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/gles2/gles2_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M skia/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
M skia/skia_common.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/khronos/KHR/khrplatform.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/khronos/README.chromium View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_copy_texture_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_copy_texture_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_image_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_image_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_miscellaneous_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_miscellaneous_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_pixel_transfer_buffer_object_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_pixel_transfer_buffer_object_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sub_image_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sub_image_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_texture_mailbox_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_texture_mailbox_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_thunks.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/platform/native/gles2_impl_thunks.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_bindings_skia_in_process.cc View 1 2 3 4 1 chunk +372 lines, -196 lines 0 comments Download

Messages

Total messages: 51 (20 generated)
hendrikw
PTAL. I'm not too sure about the change I had to make to the khronos ...
5 years, 4 months ago (2015-07-28 18:20:46 UTC) #2
hendrikw
On 2015/07/28 18:20:46, hendrikw wrote: > PTAL. > > I'm not too sure about the ...
5 years, 4 months ago (2015-07-28 18:23:21 UTC) #5
piman
lgtm https://codereview.chromium.org/1260253003/diff/1/gpu/gles2_conform_support/egl/egl.cc File gpu/gles2_conform_support/egl/egl.cc (right): https://codereview.chromium.org/1260253003/diff/1/gpu/gles2_conform_support/egl/egl.cc#newcode402 gpu/gles2_conform_support/egl/egl.cc:402: return (__eglMustCastToProperFunctionPointerType)gles2::GetGLFunctionPointer( nit: no c-style cast, use a ...
5 years, 4 months ago (2015-07-28 18:43:16 UTC) #6
hendrikw
On 2015/07/28 18:43:16, piman (Very slow to review) wrote: > lgtm > > https://codereview.chromium.org/1260253003/diff/1/gpu/gles2_conform_support/egl/egl.cc > ...
5 years, 4 months ago (2015-07-28 18:48:19 UTC) #7
hendrikw
On 2015/07/28 18:48:19, hendrikw wrote: > On 2015/07/28 18:43:16, piman (Very slow to review) wrote: ...
5 years, 4 months ago (2015-07-28 19:24:58 UTC) #8
hendrikw
On 2015/07/28 19:24:58, hendrikw wrote: > On 2015/07/28 18:48:19, hendrikw wrote: > > On 2015/07/28 ...
5 years, 4 months ago (2015-07-29 00:26:19 UTC) #10
piman
lgtm
5 years, 4 months ago (2015-07-29 00:43:00 UTC) #11
hendrikw
Added GL_APIENTRY to mojo as well. +jam for mojo stuff.
5 years, 4 months ago (2015-07-30 20:07:40 UTC) #13
jam
On 2015/07/30 20:07:40, hendrikw wrote: > Added GL_APIENTRY to mojo as well. > > +jam ...
5 years, 4 months ago (2015-07-30 20:21:59 UTC) #15
Ken Rockot(use gerrit already)
Not sure who rolls chromium into mojo but I think this change will need to ...
5 years, 4 months ago (2015-07-30 20:30:58 UTC) #17
hendrikw
On 2015/07/30 20:30:58, Ken Rockot wrote: > Not sure who rolls chromium into mojo but ...
5 years, 4 months ago (2015-07-31 21:40:01 UTC) #18
Ken Rockot(use gerrit already)
Yes, it's fine to keep them in this CL as well On Fri, Jul 31, ...
5 years, 4 months ago (2015-07-31 21:41:52 UTC) #19
hendrikw
On 2015/07/31 21:41:52, Ken Rockot wrote: > Yes, it's fine to keep them in this ...
5 years, 4 months ago (2015-07-31 22:30:54 UTC) #20
Ken Rockot(use gerrit already)
woops, sorry. lgtm :)
5 years, 4 months ago (2015-07-31 22:31:45 UTC) #21
Ken Russell (switch to Gerrit)
third_party/khronos conditional LGTM https://codereview.chromium.org/1260253003/diff/160001/third_party/khronos/KHR/khrplatform.h File third_party/khronos/KHR/khrplatform.h (left): https://codereview.chromium.org/1260253003/diff/160001/third_party/khronos/KHR/khrplatform.h#oldcode135 third_party/khronos/KHR/khrplatform.h:135: #define KHRONOS_APIENTRY Please update README.chromium to ...
5 years, 4 months ago (2015-07-31 22:37:03 UTC) #22
hendrikw
+sky for mojo/gles2/gles2_impl.cc https://codereview.chromium.org/1260253003/diff/160001/third_party/khronos/KHR/khrplatform.h File third_party/khronos/KHR/khrplatform.h (left): https://codereview.chromium.org/1260253003/diff/160001/third_party/khronos/KHR/khrplatform.h#oldcode135 third_party/khronos/KHR/khrplatform.h:135: #define KHRONOS_APIENTRY On 2015/07/31 22:37:03, Ken ...
5 years, 4 months ago (2015-07-31 22:50:27 UTC) #24
sky
sky->jam
5 years, 4 months ago (2015-08-03 15:02:01 UTC) #26
bsalomon
On 2015/08/03 15:02:01, sky wrote: > sky->jam skia lgtm
5 years, 4 months ago (2015-08-03 17:54:29 UTC) #27
jam
lgtm
5 years, 4 months ago (2015-08-03 21:19:21 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1260253003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1260253003/180001
5 years, 4 months ago (2015-08-03 21:19:57 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80635) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-03 21:22:26 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1260253003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1260253003/200001
5 years, 4 months ago (2015-08-03 23:08:18 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/85775)
5 years, 4 months ago (2015-08-04 01:55:33 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1260253003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1260253003/200001
5 years, 4 months ago (2015-08-04 03:59:57 UTC) #41
hendrikw
@zmo hi, I saw an email going around about the bots being flaky, could this ...
5 years, 4 months ago (2015-08-05 16:40:18 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1260253003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1260253003/200001
5 years, 4 months ago (2015-08-05 16:41:09 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/89003)
5 years, 4 months ago (2015-08-05 17:44:46 UTC) #46
hendrikw
On 2015/08/05 17:44:46, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-05 17:49:29 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1260253003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1260253003/200001
5 years, 4 months ago (2015-08-05 17:51:41 UTC) #49
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 4 months ago (2015-08-05 20:17:13 UTC) #50
commit-bot: I haz the power
5 years, 4 months ago (2015-08-05 20:17:54 UTC) #51
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/0f8de4a5c189bf0bde032657d3d715bae46def2f
Cr-Commit-Position: refs/heads/master@{#341953}

Powered by Google App Engine
This is Rietveld 408576698