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

Issue 114883003: Implement more of the JavaScript GL API. (Closed)

Created:
7 years ago by Aaron Boodman
Modified:
7 years ago
Reviewers:
abarth-chromium
CC:
chromium-reviews, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org
Visibility:
Public.

Description

Implement more of the JavaScript GL API. Right now I am just translating as directly as possible from the C spinning cube demo -- once it all works I will circle back through and refine the JavaScript. R=abarth@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242230

Patch Set 1 #

Patch Set 2 : dd #

Patch Set 3 : cleanup #

Total comments: 4

Patch Set 4 : asdf #

Patch Set 5 : it draws the first frame #

Patch Set 6 : cleanup #

Total comments: 4

Patch Set 7 : comments #

Patch Set 8 : updated after dave's changes; fixed 64bit decode issue #

Patch Set 9 : rebase #

Patch Set 10 : remove unneeded log #

Total comments: 2

Patch Set 11 : again again again #

Patch Set 12 : asdf #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -165 lines) Patch
M gin/converter.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M gin/converter.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M gin/function_template.h View 1 2 3 4 5 6 7 12 chunks +134 lines, -10 lines 0 comments Download
M gin/function_template.h.pump View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gin/modules/file_module_provider.cc View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M gin/runner.cc View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M mojo/apps/js/bindings/codec.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -11 lines 0 comments Download
M mojo/apps/js/bindings/connector.js View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M mojo/apps/js/bindings/gl/context.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +18 lines, -9 lines 0 comments Download
M mojo/apps/js/bindings/gl/context.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +107 lines, -23 lines 0 comments Download
D mojo/apps/js/bindings/gl/opaque.h View 1 2 3 4 1 chunk +0 lines, -40 lines 0 comments Download
D mojo/apps/js/bindings/gl/opaque.cc View 1 2 3 4 1 chunk +0 lines, -24 lines 0 comments Download
M mojo/apps/js/main.js View 1 2 3 4 5 6 7 8 9 1 chunk +178 lines, -37 lines 0 comments Download
M mojo/mojo_apps.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/services/gles2/gles2_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Aaron Boodman
7 years ago (2013-12-13 21:26:31 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/114883003/diff/40001/mojo/apps/js/bindings/gl/context.cc File mojo/apps/js/bindings/gl/context.cc (right): https://codereview.chromium.org/114883003/diff/40001/mojo/apps/js/bindings/gl/context.cc#newcode74 mojo/apps/js/bindings/gl/context.cc:74: glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); Maybe http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetError.xml ? https://codereview.chromium.org/114883003/diff/40001/mojo/apps/js/bindings/gl/context.cc#newcode96 mojo/apps/js/bindings/gl/context.cc:96: ...
7 years ago (2013-12-13 21:30:34 UTC) #2
Aaron Boodman
https://codereview.chromium.org/114883003/diff/40001/mojo/apps/js/bindings/gl/context.cc File mojo/apps/js/bindings/gl/context.cc (right): https://codereview.chromium.org/114883003/diff/40001/mojo/apps/js/bindings/gl/context.cc#newcode74 mojo/apps/js/bindings/gl/context.cc:74: glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); On 2013/12/13 21:30:35, abarth wrote: > ...
7 years ago (2013-12-13 21:43:57 UTC) #3
abarth-chromium
lgtm
7 years ago (2013-12-14 03:01:07 UTC) #4
Aaron Boodman
ptal - it draws the first frame now
7 years ago (2013-12-18 00:23:08 UTC) #5
abarth-chromium
LGTM https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc File mojo/apps/js/bindings/gl/context.cc (right): https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc#newcode22 mojo/apps/js/bindings/gl/context.cc:22: *out = reinterpret_cast<GLvoid*>(int_val); Woah. Where is this used? ...
7 years ago (2013-12-18 01:19:30 UTC) #6
Aaron Boodman
https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc File mojo/apps/js/bindings/gl/context.cc (right): https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc#newcode22 mojo/apps/js/bindings/gl/context.cc:22: *out = reinterpret_cast<GLvoid*>(int_val); On 2013/12/18 01:19:30, abarth wrote: > ...
7 years ago (2013-12-18 02:19:07 UTC) #7
abarth-chromium
On 2013/12/18 02:19:07, Aaron Boodman wrote: > https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc > File mojo/apps/js/bindings/gl/context.cc (right): > > https://codereview.chromium.org/114883003/diff/100001/mojo/apps/js/bindings/gl/context.cc#newcode22 ...
7 years ago (2013-12-18 03:14:50 UTC) #8
Aaron Boodman
Adam, you may want to have a look at the changes to main.js.
7 years ago (2013-12-20 00:59:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/114883003/180001
7 years ago (2013-12-20 01:01:40 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=207473
7 years ago (2013-12-20 01:18:29 UTC) #11
abarth-chromium
https://codereview.chromium.org/114883003/diff/180001/mojo/apps/js/bindings/codec.js File mojo/apps/js/bindings/codec.js (right): https://codereview.chromium.org/114883003/diff/180001/mojo/apps/js/bindings/codec.js#newcode129 mojo/apps/js/bindings/codec.js:129: return result; These last few lines are dead now. ...
7 years ago (2013-12-20 04:21:01 UTC) #12
Aaron Boodman
https://codereview.chromium.org/114883003/diff/180001/mojo/apps/js/bindings/codec.js File mojo/apps/js/bindings/codec.js (right): https://codereview.chromium.org/114883003/diff/180001/mojo/apps/js/bindings/codec.js#newcode129 mojo/apps/js/bindings/codec.js:129: return result; On 2013/12/20 04:21:02, abarth wrote: > These ...
7 years ago (2013-12-20 05:42:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/114883003/200001
7 years ago (2013-12-20 07:22:29 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
7 years ago (2013-12-20 08:22:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/114883003/230001
7 years ago (2013-12-20 20:57:51 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=63832
7 years ago (2013-12-20 23:09:24 UTC) #17
Aaron Boodman
7 years ago (2013-12-21 00:51:05 UTC) #18
Message was sent while issue was closed.
Committed patchset #12 manually as r242230 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698