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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 23653049: (not for review) Fix composited-to-non-composited corruption on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 // Tells the GPU process to crash. 299 // Tells the GPU process to crash.
300 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) 300 IPC_MESSAGE_CONTROL0(GpuMsg_Crash)
301 301
302 // Tells the GPU process to hang. 302 // Tells the GPU process to hang.
303 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) 303 IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
304 304
305 // Tells the GPU process to disable the watchdog thread. 305 // Tells the GPU process to disable the watchdog thread.
306 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) 306 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog)
307 307
308 #if defined(TOOLKIT_GTK)
309 // Tells the GPU process that a surface has enabled or disabled compositing.
310 IPC_MESSAGE_CONTROL2(GpuMsg_AcceleratedCompositingStateChange,
311 int32 , /* surface_id */
312 bool /* compositing_active */)
313 #endif
314
308 //------------------------------------------------------------------------------ 315 //------------------------------------------------------------------------------
309 // GPU Host Messages 316 // GPU Host Messages
310 // These are messages to the browser. 317 // These are messages to the browser.
311 318
312 // A renderer sends this when it wants to create a connection to the GPU 319 // A renderer sends this when it wants to create a connection to the GPU
313 // process. The browser will create the GPU process if necessary, and will 320 // process. The browser will create the GPU process if necessary, and will
314 // return a handle to the channel via a GpuChannelEstablished message. 321 // return a handle to the channel via a GpuChannelEstablished message.
315 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, 322 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel,
316 content::CauseForGpuLaunch, 323 content::CauseForGpuLaunch,
317 int /* client id */, 324 int /* client id */,
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 gfx::Size /* buffer_size */, 812 gfx::Size /* buffer_size */,
806 gfx::Rect /* visible_rect */) 813 gfx::Rect /* visible_rect */)
807 814
808 // Report successful copy of a capture of a surface. 815 // Report successful copy of a capture of a surface.
809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, 816 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone,
810 int32 /* frame_id */) 817 int32 /* frame_id */)
811 818
812 // Report error. 819 // Report error.
813 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, 820 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError,
814 content::SurfaceCapturer::Error /* error */) 821 content::SurfaceCapturer::Error /* error */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698