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

Unified Diff: gpu/command_buffer/service/gpu_processor_mac.cc

Issue 2466003: Expose UpdateOffscreenFrameBufferSize from GLES2Decoder to allow Mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_mock.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_processor_mac.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor_mac.cc (revision 48748)
+++ gpu/command_buffer/service/gpu_processor_mac.cc (working copy)
@@ -71,6 +71,7 @@
uint64 GPUProcessor::SetWindowSizeForIOSurface(const gfx::Size& size) {
#if !defined(UNIT_TEST)
ResizeOffscreenFrameBuffer(size);
+ decoder_->UpdateOffscreenFrameBufferSize();
return surface_->SetSurfaceSize(size);
#else
return 0;
@@ -81,6 +82,7 @@
const gfx::Size& size) {
#if !defined(UNIT_TEST)
ResizeOffscreenFrameBuffer(size);
+ decoder_->UpdateOffscreenFrameBufferSize();
return surface_->SetTransportDIBSize(size);
#else
return TransportDIB::DefaultHandleValue();
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_mock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698