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

Issue 1719019: GPU service interprets glFinish as glFlush.... (Closed)

Created:
10 years, 8 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
Reviewers:
greggman
CC:
chromium-reviews, apatrick_chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

GPU service interprets glFinish as glFlush. This is so the single threaded GPU service does not get delayed executing glFinish, which could prevent progress in rendering all other GL contexts. Instead just issue a glFlush to ensure that the pending commands will be processed in the future. From a client side perspective the semantics of glFlush and glFinish are still different. glFlush is asynchronous whereas glFinish is synchronous. The latter waits for the service to acknowledge that it has issued the glFlush. glFinish can therefore be used to synchronize multiple threads that are issuing commands to GL contexts that share a common namespace. TEST=trybots BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45724

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
apatrick_chromium
10 years, 8 months ago (2010-04-26 22:42:05 UTC) #1
greggman
10 years, 8 months ago (2010-04-26 22:42:58 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698