Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(58)

Issue 1965043: Implemented GL_NV_fence extension....

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by apatrick1
Modified:
13 years, 8 months ago
Reviewers:
dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Implemented GL_NV_fence extension. I believe I have implemented all features according to the spec. The application is to allow the Chrome command buffer scheduler to be smarter about deciding which command buffer to process. For example, if a WebGL app issued a call to ReadPixels, the scheduler will issue a fence and defer executing the ReadPixels until the status goes true. It can continue to work on other command buffers in the meantime. I tested by modifying the vertex shader demo. After issuing the SwapBuffers i made issue a fence and loop until the status went true and verified it looped several times. I also tested that by calling FinishFence before going into the loop that is did not loop at all.

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 22

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -1 line) Patch
M src/build_angle.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/libEGL/Display.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/libEGL/Display.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M src/libGLESv2/Context.h View 1 2 6 chunks +11 lines, -0 lines 0 comments Download
M src/libGLESv2/Context.cpp View 1 2 9 chunks +58 lines, -0 lines 0 comments Download
A src/libGLESv2/Fence.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A src/libGLESv2/Fence.cpp View 2 1 chunk +134 lines, -0 lines 0 comments Download
M src/libGLESv2/libGLESv2.cpp View 1 2 9 chunks +202 lines, -0 lines 0 comments Download
M src/libGLESv2/libGLESv2.def View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M src/libGLESv2/libGLESv2.vcproj View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4
apatrick1
Hi Daniel, Can you review this please? Thanks, Al
13 years, 8 months ago (2010-08-24 00:22:50 UTC) #1
dgkoch
It is (theoretically) possible that a d3d9 implementation won't support event queries. We should detect ...
13 years, 8 months ago (2010-08-25 04:54:27 UTC) #2
apatrick1
Hi Daniel, I think I fixed everything you noted. I repeated the tests I originally ...
13 years, 8 months ago (2010-08-25 20:17:38 UTC) #3
dgkoch
13 years, 8 months ago (2010-08-28 02:50:03 UTC) #4
looks good.  shippit!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b