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

Issue 1540004: Implemented offscreen rendering path for GLES2CmdDecoder on Linux.... (Closed)

Created:
10 years, 8 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, greggman
Visibility:
Public.

Description

Implemented offscreen rendering path for GLES2CmdDecoder on Linux. With these changes, WebGL runs in the sandbox on Linux. BUG=29120 TEST=ran WebGL demos in sandbox on Linux Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43235

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -83 lines) Patch
M chrome/gpu/gpu_thread.cc View 1 2 3 2 chunks +32 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 7 chunks +14 lines, -13 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_linux.cc View 1 2 3 4 3 chunks +19 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/x_utils.h View 1 2 3 1 chunk +76 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/x_utils.cc View 1 2 3 4 2 chunks +183 lines, -39 lines 0 comments Download
M third_party/glew/README.chromium View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/glew/include/GL/glxew.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
10 years, 8 months ago (2010-03-30 02:04:16 UTC) #1
piman
LGTM. Awesome !
10 years, 8 months ago (2010-03-30 02:17:23 UTC) #2
apatrick
lgtm http://codereview.chromium.org/1540004/diff/1/5 File gpu/command_buffer/service/x_utils.cc (right): http://codereview.chromium.org/1540004/diff/1/5#newcode55 gpu/command_buffer/service/x_utils.cc:55: static bool InitializeGLEW() { I already did this ...
10 years, 8 months ago (2010-03-30 17:36:18 UTC) #3
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/1540004/diff/1/5 File gpu/command_buffer/service/x_utils.cc (right): http://codereview.chromium.org/1540004/diff/1/5#newcode55 gpu/command_buffer/service/x_utils.cc:55: static bool InitializeGLEW() { On 2010/03/30 17:36:19, apatrick wrote: ...
10 years, 8 months ago (2010-03-30 18:34:09 UTC) #4
brettw
http://codereview.chromium.org/1540004/diff/20001/21001 File gpu/command_buffer/service/gpu_processor_linux.cc (right): http://codereview.chromium.org/1540004/diff/20001/21001#newcode38 gpu/command_buffer/service/gpu_processor_linux.cc:38: // Offscreen code path Check that your two comments ...
10 years, 8 months ago (2010-03-30 19:24:03 UTC) #5
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/1540004/diff/20001/21001 File gpu/command_buffer/service/gpu_processor_linux.cc (right): http://codereview.chromium.org/1540004/diff/20001/21001#newcode38 gpu/command_buffer/service/gpu_processor_linux.cc:38: // Offscreen code path On 2010/03/30 19:24:03, brettw wrote: ...
10 years, 8 months ago (2010-03-30 21:28:32 UTC) #6
brettw
LGTM Can we file a bug on cleaning up the memory management, and can you ...
10 years, 8 months ago (2010-03-30 21:33:52 UTC) #7
Ken Russell (switch to Gerrit)
10 years, 8 months ago (2010-03-30 21:43:38 UTC) #8
On 2010/03/30 21:33:52, brettw wrote:
> Can we file a bug on cleaning up the memory management, and can you put a TODO
> in your code referencing the bug? The current state seems pretty silly to me.

Done. http://crbug.com/39895

http://codereview.chromium.org/1540004/diff/29001/30004
File gpu/command_buffer/service/x_utils.cc (right):

http://codereview.chromium.org/1540004/diff/29001/30004#newcode132
gpu/command_buffer/service/x_utils.cc:132: if (GetContext()) break;
On 2010/03/30 21:33:52, brettw wrote:
> Chrome basically never uses this single-line form. Can you put this on two
> lines?

Done.

Powered by Google App Engine
This is Rietveld 408576698