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

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

Issue 7890046: Command to mark surface inactive, so gpu process can release resources. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: final rebase and added comments Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 #endif 413 #endif
414 414
415 // Tells the proxy that there was an error and the command buffer had to be 415 // Tells the proxy that there was an error and the command buffer had to be
416 // destroyed for some reason. 416 // destroyed for some reason.
417 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, 417 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed,
418 gpu::error::ContextLostReason /* reason */) 418 gpu::error::ContextLostReason /* reason */)
419 419
420 // Response to a GpuChannelMsg_Echo message. 420 // Response to a GpuChannelMsg_Echo message.
421 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) 421 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck)
422 422
423 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
424
423 // -------------------------------------------------------------------------- 425 // --------------------------------------------------------------------------
424 // TransportTexture messages 426 // TransportTexture messages
425 // 427 //
426 // These are messages sent from renderer process to the GPU proess. 428 // These are messages sent from renderer process to the GPU proess.
427 429
428 // Destroy corresponding TransportTexture in the GPU process. 430 // Destroy corresponding TransportTexture in the GPU process.
429 IPC_MESSAGE_ROUTED0(GpuTransportTextureMsg_Destroy) 431 IPC_MESSAGE_ROUTED0(GpuTransportTextureMsg_Destroy)
430 432
431 // Notify that the textures have been created. IDs are in client context. 433 // Notify that the textures have been created. IDs are in client context.
432 IPC_MESSAGE_ROUTED1(GpuTransportTextureMsg_TexturesCreated, 434 IPC_MESSAGE_ROUTED1(GpuTransportTextureMsg_TexturesCreated,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 517
516 // Confirm decoder has been reset. 518 // Confirm decoder has been reset.
517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
518 520
519 // Decoder has faced end of stream marker in the stream. 521 // Decoder has faced end of stream marker in the stream.
520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 522 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
521 523
522 // Video decoder has encountered an error. 524 // Video decoder has encountered an error.
523 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 525 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
524 uint32) /* Error ID */ 526 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/image_transport_surface_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698