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

Issue 6982060: Plumbing: Cache the resize callback so that we can call it later. (Closed)

Created:
9 years, 6 months ago by jonathan.backer
Modified:
9 years, 6 months ago
Reviewers:
apatrick_chromium
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Plumbing: Cache the resize callback so that we can call it later. I am working towards having two surfaces that the GpuScheduler alternates between on SwapBuffers. Each surface should be resized once it is the backbuffer (via SwapBuffers). By caching the resize callback, I can (a) resize of the backbuffer immediately when the callback is initiated from the GLES2Decoder and (b) resize the frontbuffer once it becomes the backbuffer after a SwapBuffers. BUG=none TEST=none (should be no-op on all platforms) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88327

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M gpu/command_buffer/service/gpu_scheduler.h View 2 chunks +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.cc View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
jonathan.backer
I need to change the flow slightly for my EGLImage transport work. This is a ...
9 years, 6 months ago (2011-06-07 15:43:41 UTC) #1
apatrick_chromium
9 years, 6 months ago (2011-06-07 18:11:46 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698