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

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: first cut of IPC version 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 #endif 394 #endif
395 395
396 // Tells the proxy that there was an error and the command buffer had to be 396 // Tells the proxy that there was an error and the command buffer had to be
397 // destroyed for some reason. 397 // destroyed for some reason.
398 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, 398 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed,
399 gpu::error::ContextLostReason /* reason */) 399 gpu::error::ContextLostReason /* reason */)
400 400
401 // Response to a GpuChannelMsg_Echo message. 401 // Response to a GpuChannelMsg_Echo message.
402 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) 402 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck)
403 403
404 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
405
404 // -------------------------------------------------------------------------- 406 // --------------------------------------------------------------------------
405 // TransportTexture messages 407 // TransportTexture messages
406 // 408 //
407 // These are messages sent from renderer process to the GPU proess. 409 // These are messages sent from renderer process to the GPU proess.
408 410
409 // Destroy corresponding TransportTexture in the GPU process. 411 // Destroy corresponding TransportTexture in the GPU process.
410 IPC_MESSAGE_ROUTED0(GpuTransportTextureMsg_Destroy) 412 IPC_MESSAGE_ROUTED0(GpuTransportTextureMsg_Destroy)
411 413
412 // Notify that the textures have been created. IDs are in client context. 414 // Notify that the textures have been created. IDs are in client context.
413 IPC_MESSAGE_ROUTED1(GpuTransportTextureMsg_TexturesCreated, 415 IPC_MESSAGE_ROUTED1(GpuTransportTextureMsg_TexturesCreated,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 498
497 // Confirm decoder has been reset. 499 // Confirm decoder has been reset.
498 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 500 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
499 501
500 // Decoder has faced end of stream marker in the stream. 502 // Decoder has faced end of stream marker in the stream.
501 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 503 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
502 504
503 // Video decoder has encountered an error. 505 // Video decoder has encountered an error.
504 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 506 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
505 uint32) /* Error ID */ 507 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698