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

Issue 10796038: Add gpu targets to untrusted NaCl build. (Closed)

Created:
8 years, 5 months ago by bbudge
Modified:
8 years, 4 months ago
CC:
chromium-reviews, apatrick_chromium, bradnelson
Visibility:
Public.

Description

Add gpu targets to untrusted build, and add Graphics3D code to untrusted build. BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds and runs the tumbler example. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150343

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -359 lines) Patch
M gpu/command_buffer/client/ref_counted.h View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/command_buffer.gyp View 1 2 3 4 5 2 chunks +6 lines, -14 lines 0 comments Download
A gpu/command_buffer/command_buffer.gypi View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A gpu/command_buffer/command_buffer_untrusted.gyp View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M gpu/command_buffer_common.gypi View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 2 chunks +269 lines, -28 lines 0 comments Download
M gpu/gpu_common.gypi View 1 2 3 4 5 1 chunk +28 lines, -265 lines 0 comments Download
A gpu/gpu_untrusted.gyp View 1 2 3 4 1 chunk +116 lines, -0 lines 0 comments Download
M ppapi/native_client/native_client.gyp View 1 2 3 4 5 9 chunks +54 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 3 chunks +0 lines, -3 lines 0 comments Download
M ppapi/ppapi_proxy_untrusted.gyp View 1 2 3 4 5 1 chunk +14 lines, -1 line 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M ppapi/ppapi_shared_untrusted.gyp View 1 2 3 4 5 1 chunk +9 lines, -3 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 2 chunks +19 lines, -17 lines 0 comments Download
M ppapi/shared_impl/ppb_image_data_shared.cc View 1 2 3 4 5 6 1 chunk +11 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 5 3 chunks +2 lines, -1 line 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
bbudge
This compiles and almost links (missing ImageData shared and proxy code, which David is working ...
8 years, 5 months ago (2012-07-19 16:34:23 UTC) #1
greggman
LGTM for the GPU parts but please build the OpenGL ES 2.0 conformance tests and ...
8 years, 5 months ago (2012-07-19 16:51:59 UTC) #2
piman
At a high level, LGTM. I don't understand the intricacies of the nacl untrusted build ...
8 years, 5 months ago (2012-07-19 16:52:26 UTC) #3
bbudge
Refreshed patch and addressed a comment. http://codereview.chromium.org/10796038/diff/5001/gpu/command_buffer/client/ref_counted.h File gpu/command_buffer/client/ref_counted.h (right): http://codereview.chromium.org/10796038/diff/5001/gpu/command_buffer/client/ref_counted.h#newcode8 gpu/command_buffer/client/ref_counted.h:8: #if defined(__native_client__) && ...
8 years, 5 months ago (2012-07-19 18:38:10 UTC) #4
nfullagar
Besides the conformance tests, can you please make sure existing ppapi 3d tests & examples ...
8 years, 5 months ago (2012-07-20 20:41:36 UTC) #5
dmichael (off chromium)
http://codereview.chromium.org/10796038/diff/5003/ppapi/ppapi_shared.gypi File ppapi/ppapi_shared.gypi (right): http://codereview.chromium.org/10796038/diff/5003/ppapi/ppapi_shared.gypi#newcode248 ppapi/ppapi_shared.gypi:248: 'shared_impl/ppb_image_data_shared.cc', As discussed on IM, I think you shouldn't ...
8 years, 5 months ago (2012-07-20 22:09:47 UTC) #6
brettw
http://codereview.chromium.org/10796038/diff/15003/build/common.gypi File build/common.gypi (left): http://codereview.chromium.org/10796038/diff/15003/build/common.gypi#oldcode276 build/common.gypi:276: # Include the PPAPI IPC proxy for NaCl. This ...
8 years, 5 months ago (2012-07-23 19:42:50 UTC) #7
bbudge
http://codereview.chromium.org/10796038/diff/5003/ppapi/ppapi_shared.gypi File ppapi/ppapi_shared.gypi (right): http://codereview.chromium.org/10796038/diff/5003/ppapi/ppapi_shared.gypi#newcode248 ppapi/ppapi_shared.gypi:248: 'shared_impl/ppb_image_data_shared.cc', On 2012/07/20 22:09:47, dmichael wrote: > As discussed ...
8 years, 5 months ago (2012-07-23 19:53:39 UTC) #8
brettw
Okay, LGTM
8 years, 5 months ago (2012-07-23 19:56:08 UTC) #9
bbudge
On 2012/07/23 19:56:08, brettw wrote: > Okay, LGTM Waiting for NaCl revision to update on ...
8 years, 5 months ago (2012-07-25 01:16:42 UTC) #10
dmichael (off chromium)
If the deps roll is checked in, you can try with -r HEAD (Or whatever ...
8 years, 5 months ago (2012-07-25 01:45:11 UTC) #11
bbudge
8 years, 5 months ago (2012-07-25 20:48:31 UTC) #12
bbudge
8 years, 5 months ago (2012-07-25 20:48:34 UTC) #13
bbudge
On 2012/07/25 20:48:34, bbudge1 wrote: Latest upload is FYI. Will remove 'printfs' when we get ...
8 years, 4 months ago (2012-07-30 23:40:39 UTC) #14
bbudge
Add gpu targets to untrusted build, and add Graphics3D code to untrusted build. BUG=116317 TEST=builds,manual ...
8 years, 4 months ago (2012-08-02 22:11:00 UTC) #15
bbudge
This patch incorporates some of dmichael's change to NaClIPCAdapter, to pass handles. I will rebaseline. ...
8 years, 4 months ago (2012-08-02 22:13:21 UTC) #16
dmichael (off chromium)
8 years, 4 months ago (2012-08-03 03:31:41 UTC) #17
http://codereview.chromium.org/10796038/diff/23014/ppapi/proxy/ppapi_messages.h
File ppapi/proxy/ppapi_messages.h (right):

http://codereview.chromium.org/10796038/diff/23014/ppapi/proxy/ppapi_messages...
ppapi/proxy/ppapi_messages.h:372: ppapi::proxy::SerializedHandle /* handle */)
I think you don't want this part of my patch here...

If I land first, you can just resolve the conflict. But I'm still working on
Windows, and then need review. I do think I'll be able to get it building on
Windows tomorrow. I think I know an easy way to do it, and my Windows local
build *finally* seems to be working right.

Anyway, point is, you're likely to land first, and if so you'll need to leave
SerializedHandle changes out.

Powered by Google App Engine
This is Rietveld 408576698