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

Issue 9314020: Added CommandBuffer::GetLastError. (Closed)

Created:
8 years, 10 months ago by apatrick_chromium
Modified:
8 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Added CommandBuffer::GetLastError. This is equivalent to GetLastState().error. It saves copying 6 ints. This is temporary until skia does not invoke MakeCurrent for every GL call. BUG==112187 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120022

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M content/renderer/gpu/command_buffer_proxy.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/cmd_buffer_common.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/command_buffer.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
apatrick_chromium
8 years, 10 months ago (2012-02-01 01:00:41 UTC) #1
Ken Russell (switch to Gerrit)
lgtm
8 years, 10 months ago (2012-02-01 01:08:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/9314020/1
8 years, 10 months ago (2012-02-01 01:13:21 UTC) #3
commit-bot: I haz the power
Change committed as 120022
8 years, 10 months ago (2012-02-01 04:02:20 UTC) #4
Tom Hudson
8 years, 10 months ago (2012-02-01 14:52:24 UTC) #5
So this was the most-minimal changes of those we discussed in
http://code.google.com/p/chromium/issues/detail?id=112187, but I don't
understand why

(1) it's marked as temporary?
(2) we're still returning the State by value instead of by (const) reference?

Powered by Google App Engine
This is Rietveld 408576698