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

Issue 15011003: ppapi_simple (Closed)

Created:
7 years, 7 months ago by noelallen1
Modified:
7 years, 6 months ago
CC:
chromium-reviews, binji, Sam Clegg
Visibility:
Public.

Description

Clean up for ppapi main. Rename ppapi_main to ppapi_simple. Enable spinning version running on main thread. Update demos to use ppapi_simple Remove redundant pappi_main_hello_world and ppapi_main_3d Simplify Events Add MT safe pointer Q. R=nfullagar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203244

Patch Set 1 #

Patch Set 2 : Update ppapi_simple #

Patch Set 3 : Restore images #

Total comments: 103

Patch Set 4 : Fixes #

Patch Set 5 : Nicholas Issues #

Patch Set 6 : Remove raw #

Total comments: 30

Patch Set 7 : Fix nits, rename #

Total comments: 12

Patch Set 8 : Fix enums #

Total comments: 62

Patch Set 9 : Fix nits and typos #

Patch Set 10 : Fix comments #

Total comments: 4

Patch Set 11 : A couple more comments #

Patch Set 12 : Fix copyright #

Patch Set 13 : Copyright #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1332 lines, -1961 lines) Patch
M native_client_sdk/src/build_tools/generate_make.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M native_client_sdk/src/build_tools/sdk_files.list View 1 2 3 4 5 6 7 8 9 10 10 chunks +47 lines, -37 lines 0 comments Download
A + native_client_sdk/src/examples/demo/life/example.dsc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -10 lines 0 comments Download
A + native_client_sdk/src/examples/demo/life/index.html View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A native_client_sdk/src/examples/demo/life/life.c View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +305 lines, -0 lines 0 comments Download
D native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/example.dsc View 1 1 chunk +0 lines, -18 lines 0 comments Download
D native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/example.js View 1 1 chunk +0 lines, -13 lines 0 comments Download
D native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/hello_world.c View 1 1 chunk +0 lines, -50 lines 0 comments Download
D native_client_sdk/src/examples/getting_started/hello_world_ppapi_main/index.html View 1 1 chunk +0 lines, -33 lines 0 comments Download
A native_client_sdk/src/examples/getting_started/simple_hello_world/example.dsc View 1 1 chunk +19 lines, -0 lines 0 comments Download
A + native_client_sdk/src/examples/getting_started/simple_hello_world/example.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A native_client_sdk/src/examples/getting_started/simple_hello_world/hello_world.c View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +24 lines, -0 lines 0 comments Download
A + native_client_sdk/src/examples/getting_started/simple_hello_world/index.html View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/example.dsc View 1 1 chunk +0 lines, -27 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/fragment_shader_es2.frag View 1 chunk +0 lines, -8 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/hello.raw View 0 chunks +-1 lines, --1 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/hello_world.cc View 1 chunk +0 lines, -325 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/index.html View 1 chunk +0 lines, -30 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/matrix.h View 1 chunk +0 lines, -43 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/matrix.cc View 1 chunk +0 lines, -140 lines 0 comments Download
D native_client_sdk/src/examples/hello_world_instance3d/vertex_shader_es2.vert View 1 chunk +0 lines, -12 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/library.dsc View 1 1 chunk +0 lines, -31 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_event.h View 1 1 chunk +0 lines, -81 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance.h View 1 1 chunk +0 lines, -106 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance.cc View 1 1 chunk +0 lines, -375 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance2d.h View 1 1 chunk +0 lines, -36 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance2d.cc View 1 1 chunk +0 lines, -87 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance3d.h View 1 1 chunk +0 lines, -40 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_instance3d.cc View 1 1 chunk +0 lines, -144 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_main.h View 1 1 chunk +0 lines, -62 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_main.cc View 1 1 chunk +0 lines, -71 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_queue.h View 1 1 chunk +0 lines, -84 lines 0 comments Download
D native_client_sdk/src/libraries/ppapi_main/ppapi_queue.cc View 1 1 chunk +0 lines, -97 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/library.dsc View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps.h View 1 2 3 4 5 6 7 8 1 chunk +113 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps.cc View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_event.h View 1 2 3 4 5 6 7 8 1 chunk +95 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_event.cc View 1 2 3 4 5 6 7 8 1 chunk +45 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_instance.h View 1 2 3 4 5 6 7 8 9 1 chunk +121 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc View 1 2 3 4 5 6 7 8 9 1 chunk +357 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_main.h View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/ppapi_simple/ps_main.cc View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/utils/thread_safe_queue.h View 1 2 3 4 5 6 7 8 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
noelallen1
ptal
7 years, 7 months ago (2013-05-22 22:35:45 UTC) #1
Sam Clegg
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/build_projects.py File native_client_sdk/src/build_tools/build_projects.py (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/build_projects.py#newcode144 native_client_sdk/src/build_tools/build_projects.py:144: extra_args = ['CONFIG='+config, 'NACL_SDK_ROOT='+pepperdir] This script already (via a ...
7 years, 7 months ago (2013-05-22 22:39:50 UTC) #2
binji
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/sdk_files.list File native_client_sdk/src/build_tools/sdk_files.list (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/sdk_files.list#newcode458 native_client_sdk/src/build_tools/sdk_files.list:458: include/ppapi_simple/ppapi_simple_main.h 2d? https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/example.dsc File native_client_sdk/src/examples/demo/life/example.dsc (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/example.dsc#newcode2 native_client_sdk/src/examples/demo/life/example.dsc:2: 'TOOLS': ...
7 years, 7 months ago (2013-05-23 18:06:49 UTC) #3
nfullagar1
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c#newcode126 native_client_sdk/src/examples/demo/life/life.c:126: case PS_INPUT_EVENT: { I'm not super keen on how ...
7 years, 7 months ago (2013-05-23 21:58:36 UTC) #4
noelallen1
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/build_projects.py File native_client_sdk/src/build_tools/build_projects.py (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/build_tools/build_projects.py#newcode144 native_client_sdk/src/build_tools/build_projects.py:144: extra_args = ['CONFIG='+config, 'NACL_SDK_ROOT='+pepperdir] On 2013/05/22 22:39:50, Sam Clegg ...
7 years, 7 months ago (2013-05-23 22:01:24 UTC) #5
noelallen1
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c#newcode205 native_client_sdk/src/examples/demo/life/life.c:205: g_pImageData->Describe(image, &desc); On 2013/05/23 21:58:36, nfullagar1 wrote: > For ...
7 years, 7 months ago (2013-05-24 18:08:31 UTC) #6
nfullagar1
a few more https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/examples/demo/life/life.c#newcode116 native_client_sdk/src/examples/demo/life/life.c:116: UpdateContext(rect.size.width, rect.size.height); small nit - UpdateContext() ...
7 years, 6 months ago (2013-05-28 18:28:53 UTC) #7
Sam Clegg
Mostly just nits... https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/ppapi_simple/ppapi_event.cc File native_client_sdk/src/libraries/ppapi_simple/ppapi_event.cc (right): https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/ppapi_simple/ppapi_event.cc#newcode34 native_client_sdk/src/libraries/ppapi_simple/ppapi_event.cc:34: PSEvent* PSWaitForAcquireEvent() { How about naming ...
7 years, 6 months ago (2013-05-29 04:48:25 UTC) #8
noelallen_use_chromium
PTAL Renamed files to ps_XXX Renamed functions to PS<FILE><VERB> Renamed enums to PS<?>_<NAME> Fixed nits. ...
7 years, 6 months ago (2013-05-30 00:25:06 UTC) #9
nfullagar1
https://codereview.chromium.org/15011003/diff/43001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/43001/native_client_sdk/src/examples/demo/life/life.c#newcode157 native_client_sdk/src/examples/demo/life/life.c:157: PSE_ remove 4 lines above? https://codereview.chromium.org/15011003/diff/43001/native_client_sdk/src/examples/getting_started/simple_hello_world/hello_world.c File native_client_sdk/src/examples/getting_started/simple_hello_world/hello_world.c (right): ...
7 years, 6 months ago (2013-05-30 00:47:03 UTC) #10
Sam Clegg
https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/utils/thread_safe_queue.h File native_client_sdk/src/libraries/utils/thread_safe_queue.h (right): https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/utils/thread_safe_queue.h#newcode49 native_client_sdk/src/libraries/utils/thread_safe_queue.h:49: if (list_.empty()) return NULL; On 2013/05/30 00:25:07, noelallen wrote: ...
7 years, 6 months ago (2013-05-30 01:16:13 UTC) #11
noelallen1
https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/utils/thread_safe_queue.h File native_client_sdk/src/libraries/utils/thread_safe_queue.h (right): https://codereview.chromium.org/15011003/diff/28001/native_client_sdk/src/libraries/utils/thread_safe_queue.h#newcode50 native_client_sdk/src/libraries/utils/thread_safe_queue.h:50: Since there's no real performance benefit to the else, ...
7 years, 6 months ago (2013-05-30 03:10:05 UTC) #12
binji
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c#newcode146 native_client_sdk/src/examples/demo/life/life.c:146: if (x > 0 && x < width && ...
7 years, 6 months ago (2013-05-30 05:07:50 UTC) #13
nfullagar1
https://codereview.chromium.org/15011003/diff/45002/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/45002/native_client_sdk/src/examples/demo/life/life.c#newcode73 native_client_sdk/src/examples/demo/life/life.c:73: // values. The health is binary: either alive or ...
7 years, 6 months ago (2013-05-30 18:04:52 UTC) #14
noelallen1
https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/4001/native_client_sdk/src/examples/demo/life/life.c#newcode1 native_client_sdk/src/examples/demo/life/life.c:1: // Copyright 2011 The Native Client SDK Authors. All ...
7 years, 6 months ago (2013-05-30 18:07:18 UTC) #15
noelallen1
https://codereview.chromium.org/15011003/diff/45002/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/45002/native_client_sdk/src/examples/demo/life/life.c#newcode73 native_client_sdk/src/examples/demo/life/life.c:73: // values. The health is binary: either alive or ...
7 years, 6 months ago (2013-05-30 21:01:43 UTC) #16
nfullagar1
couple more comment style nits otherwise lgtm https://codereview.chromium.org/15011003/diff/63001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/63001/native_client_sdk/src/examples/demo/life/life.c#newcode212 native_client_sdk/src/examples/demo/life/life.c:212: // If ...
7 years, 6 months ago (2013-05-30 21:07:31 UTC) #17
noelallen1
https://codereview.chromium.org/15011003/diff/63001/native_client_sdk/src/examples/demo/life/life.c File native_client_sdk/src/examples/demo/life/life.c (right): https://codereview.chromium.org/15011003/diff/63001/native_client_sdk/src/examples/demo/life/life.c#newcode212 native_client_sdk/src/examples/demo/life/life.c:212: // If we somehow have not allocated these pointers ...
7 years, 6 months ago (2013-05-30 21:58:03 UTC) #18
noelallen1
7 years, 6 months ago (2013-05-30 22:47:43 UTC) #19
Message was sent while issue was closed.
Committed patchset #13 manually as r203244 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698