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

Issue 465051: Added an application framework for demos. Ported hello-triangle example in Op... (Closed)

Created:
11 years ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, hbridge_google.com
Visibility:
Public.

Description

Added an application framework for demos. Ported hello-triangle example in OpenGL ES book to use the application framework. BUG=26099 TEST=Try running hello_triangle executable, you should see a red triangle. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35500

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+707 lines, -720 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
A gpu/demos/app_framework/application.h View 8 9 10 1 chunk +57 lines, -0 lines 0 comments Download
A gpu/demos/app_framework/application.cc View 8 9 10 11 12 1 chunk +161 lines, -0 lines 0 comments Download
A gpu/demos/app_framework/gles2_utils.h View 1 chunk +27 lines, -0 lines 0 comments Download
A gpu/demos/app_framework/gles2_utils.cc View 8 1 chunk +67 lines, -0 lines 0 comments Download
A gpu/demos/app_framework/platform.h View 8 9 1 chunk +23 lines, -0 lines 0 comments Download
A gpu/demos/demos.gyp View 8 9 10 11 1 chunk +46 lines, -0 lines 0 comments Download
A gpu/demos/hello_triangle/main.cc View 8 9 10 11 12 13 14 1 chunk +64 lines, -0 lines 0 comments Download
A third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h View 12 13 14 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.c View 12 13 14 1 chunk +109 lines, -194 lines 0 comments Download
M third_party/gles_book_examples/Common/Include/esUtil.h View 12 13 14 12 chunks +26 lines, -109 lines 0 comments Download
M third_party/gles_book_examples/Common/Include/esUtil_win.h View 12 13 14 2 chunks +3 lines, -35 lines 0 comments Download
M third_party/gles_book_examples/Common/Source/Win32/esUtil_TGA.c View 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/gles_book_examples/Common/Source/Win32/esUtil_win32.c View 12 13 14 1 chunk +0 lines, -183 lines 0 comments Download
M third_party/gles_book_examples/Common/Source/esShader.c View 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/gles_book_examples/Common/Source/esShapes.c View 12 13 14 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/gles_book_examples/Common/Source/esTransform.c View 12 13 14 9 chunks +9 lines, -17 lines 0 comments Download
M third_party/gles_book_examples/Common/Source/esUtil.c View 12 13 14 4 chunks +8 lines, -176 lines 0 comments Download
A third_party/gles_book_examples/gles_book_examples.gyp View 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
alokp
11 years ago (2009-12-10 19:59:53 UTC) #1
greggman
LGTM from my part. But someone other than me or vangelis needs to find out ...
11 years ago (2009-12-11 07:24:04 UTC) #2
darin (slow to review)
how about just gpu/demos? why the extra gpu_ in the file path?
11 years ago (2009-12-11 17:57:44 UTC) #3
alokp
Thanks Gregg. Do we have a legal for the chrome team who I can consult. ...
11 years ago (2009-12-11 18:22:54 UTC) #4
alokp
On 2009/12/11 17:57:44, darin wrote: > how about just gpu/demos? why the extra gpu_ in ...
11 years ago (2009-12-11 18:24:41 UTC) #5
darin (slow to review)
we should also change gpu/gpu_plugin to just gpu/plugin. that would be more consistent with the ...
11 years ago (2009-12-11 18:45:46 UTC) #6
Vangelis Kokkevis
http://codereview.chromium.org/465051/diff/5009/9001 File gpu/gpu_demos/app_framework/application.cc (right): http://codereview.chromium.org/465051/diff/5009/9001#newcode1 gpu/gpu_demos/app_framework/application.cc:1: // Copyright (c) 2006-2009 The Chromium Authors. All rights ...
11 years ago (2009-12-11 19:15:04 UTC) #7
alokp
changed gpu/gpu_demos -> gpu/demos
11 years ago (2009-12-11 19:17:42 UTC) #8
vangelis
Darin, Who should we consult with on the copyright issue here. The sample code is ...
11 years ago (2009-12-11 19:23:33 UTC) #9
alokp
http://codereview.chromium.org/465051/diff/5009/9001 File gpu/gpu_demos/app_framework/application.cc (right): http://codereview.chromium.org/465051/diff/5009/9001#newcode1 gpu/gpu_demos/app_framework/application.cc:1: // Copyright (c) 2006-2009 The Chromium Authors. All rights ...
11 years ago (2009-12-11 19:24:35 UTC) #10
vangelis
Now that we got the OK to check that code somewhere we need to figure ...
11 years ago (2009-12-17 21:17:42 UTC) #11
darin (slow to review)
+1 for more unit tests. a new gtest executable for gpu specific unit tests is ...
11 years ago (2009-12-17 22:11:04 UTC) #12
greggman
More tests = good but I'm not sure how these would be unit tests. What ...
11 years ago (2009-12-17 22:54:50 UTC) #13
vangelis
On Thu, Dec 17, 2009 at 2:54 PM, Gregg Tavares <gman@chromium.org> wrote: > More tests ...
11 years ago (2009-12-17 22:56:50 UTC) #14
alokp1
Does command buffer rely on opengl 2.0 support? If yes, do buildbots support opengl 2.0? ...
11 years ago (2009-12-17 23:01:46 UTC) #15
vangelis
On Thu, Dec 17, 2009 at 3:01 PM, Alok Priyadarshi <alokp@google.com> wrote: > Does command ...
11 years ago (2009-12-17 23:09:15 UTC) #16
greggman
On Thu, Dec 17, 2009 at 3:08 PM, Vangelis Kokkevis <vangelis@google.com> wrote: > > > ...
11 years ago (2009-12-17 23:30:10 UTC) #17
alokp
I have moved third-party code to third_party. Please re-review. The example has started crashing inside ...
10 years, 11 months ago (2009-12-30 19:02:59 UTC) #18
alokp
Adding glFlush() fixed the crash. Added a TODO indicating that glFlush should not be necessary ...
10 years, 11 months ago (2009-12-30 20:37:50 UTC) #19
alokp
Gregg: Could you please look at it once again. As suggested I have kept the ...
10 years, 11 months ago (2010-01-04 23:03:16 UTC) #20
greggman
10 years, 11 months ago (2010-01-05 00:34:40 UTC) #21
LGTM

Powered by Google App Engine
This is Rietveld 408576698