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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.h

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments. Created 5 years, 9 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
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 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 virtual void OrderingBarrier(int32 put_offset) override; 41 virtual void OrderingBarrier(int32 put_offset) override;
42 virtual void WaitForTokenInRange(int32 start, int32 end) override; 42 virtual void WaitForTokenInRange(int32 start, int32 end) override;
43 virtual void WaitForGetOffsetInRange(int32 start, int32 end) override; 43 virtual void WaitForGetOffsetInRange(int32 start, int32 end) override;
44 virtual void SetGetBuffer(int32 transfer_buffer_id) override; 44 virtual void SetGetBuffer(int32 transfer_buffer_id) override;
45 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size, 45 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
46 int32* id) override; 46 int32* id) override;
47 virtual void DestroyTransferBuffer(int32 id) override; 47 virtual void DestroyTransferBuffer(int32 id) override;
48 48
49 // gpu::GpuControl implementation: 49 // gpu::GpuControl implementation:
50 virtual gpu::Capabilities GetCapabilities() override; 50 virtual gpu::Capabilities GetCapabilities() override;
51 virtual int32 CreateImage(ClientBuffer buffer, 51 virtual int32 CreateImage(ClientBuffer* const buffers,
52 size_t width, 52 size_t width,
53 size_t height, 53 size_t height,
54 unsigned internalformat) override; 54 unsigned internalformat) override;
55 virtual void DestroyImage(int32 id) override; 55 virtual void DestroyImage(int32 id) override;
56 virtual int32 CreateGpuMemoryBufferImage(size_t width, 56 virtual int32 CreateGpuMemoryBufferImage(size_t width,
57 size_t height, 57 size_t height,
58 unsigned internalformat, 58 unsigned internalformat,
59 unsigned usage) override; 59 unsigned usage) override;
60 virtual uint32 InsertSyncPoint() override; 60 virtual uint32 InsertSyncPoint() override;
61 virtual uint32 InsertFutureSyncPoint() override; 61 virtual uint32 InsertFutureSyncPoint() override;
(...skipping 25 matching lines...) Expand all
87 87
88 base::Closure channel_error_callback_; 88 base::Closure channel_error_callback_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 90 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
91 }; 91 };
92 92
93 } // namespace proxy 93 } // namespace proxy
94 } // namespace ppapi 94 } // namespace ppapi
95 95
96 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 96 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698