summaryrefslogtreecommitdiffstats
path: root/gpu/demos/hello_triangle
Commit message (Collapse)AuthorAgeFilesLines
* Created a base class for examples taken from gles2 book. It encapsulates the ↵alokp@chromium.org2010-01-191-50/+15
| | | | | | | | well-defined pattern followed by the examples to eliminate duplicated code. Once we finalize this CL, I will go ahead and change all demos to use this base class. Review URL: http://codereview.chromium.org/543110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36542 0039d316-1c4b-4281-b951-d872f2087c98
* Added variable name as required by style guide.alokp@chromium.org2010-01-151-2/+2
| | | | | | Review URL: http://codereview.chromium.org/549071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36387 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the signature of Application::Draw to accept elapsed time. It will ↵alokp@chromium.org2010-01-131-2/+2
| | | | | | | | be used to update key frames or making the application frame-rate independent. However I think there is some bug somewhere. It takes an eternity for the cube in simple-vertex-shader demo to start rotating. Even when the cube starts rotatiing the performance is quite choppy. Review URL: http://codereview.chromium.org/551011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36156 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed gles_book_examples to gles2_book to make it shorter and more ↵alokp@chromium.org2010-01-091-1/+1
| | | | | | | | | correct. I still need to rename gles_book_examples.gyp to gles2_book.gyp. I will do it in another CL as svn does not like changes in renamed directories. TBR=apatrick Review URL: http://codereview.chromium.org/543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35875 0039d316-1c4b-4281-b951-d872f2087c98
* Added hello-triangle demo.alokp@chromium.org2010-01-091-0/+66
| | | | | | | | BUG=26099 TEST=Try running hello_triangle executable, you should see a red triangle Review URL: http://codereview.chromium.org/539001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35873 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Resubmit 35500: Added an application framework for demos. Ported ↵ajwong@chromium.org2010-01-061-64/+0
| | | | | | | | | | hellotriangle example in OpenGL ES book to use the application framework." This reverts commit r35647. TBR: alok git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35665 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit 35500: Added an application framework for demos. Ported ↵alokp@chromium.org2010-01-061-0/+64
| | | | | | | | | | | hellotriangle example in OpenGL ES book to use the application framework. BUG=26099 TEST=Try running hello_triangle executable, you should see a red triangle. Review URL: http://codereview.chromium.org/525070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35647 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35500 - Added an application framework for demos. Ported ↵rsesek@chromium.org2010-01-051-64/+0
| | | | | | | | | | | | | hellotriangle example in OpenGL ES book to use the application framework. BUG=26099 TEST=Try running hello_triangle executable, you should see a red triangle. Review URL: http://codereview.chromium.org/465051 TBR=alokp@chromium.org Review URL: http://codereview.chromium.org/525019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35505 0039d316-1c4b-4281-b951-d872f2087c98
* Added an application framework for demos. Ported hello-triangle example in ↵alokp@chromium.org2010-01-051-0/+64
OpenGL ES book to use the application framework. BUG=26099 TEST=Try running hello_triangle executable, you should see a red triangle. Review URL: http://codereview.chromium.org/465051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35500 0039d316-1c4b-4281-b951-d872f2087c98