Home
last modified time | relevance | path

Searched refs:TransportDIB (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/ui/surface/
Dtransport_dib_posix.cc15 TransportDIB::TransportDIB() in TransportDIB() function in TransportDIB
19 TransportDIB::TransportDIB(TransportDIB::Handle dib) in TransportDIB() function in TransportDIB
24 TransportDIB::~TransportDIB() { in ~TransportDIB()
28 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) { in Create()
29 TransportDIB* dib = new TransportDIB; in Create()
40 TransportDIB* TransportDIB::Map(Handle handle) { in Map()
41 scoped_ptr<TransportDIB> dib(CreateWithHandle(handle)); in Map()
48 TransportDIB* TransportDIB::CreateWithHandle(Handle handle) { in CreateWithHandle()
49 return new TransportDIB(handle); in CreateWithHandle()
53 bool TransportDIB::is_valid_handle(Handle dib) { in is_valid_handle()
[all …]
Dtransport_dib_win.cc16 TransportDIB::TransportDIB() in TransportDIB() function in TransportDIB
20 TransportDIB::~TransportDIB() { in ~TransportDIB()
23 TransportDIB::TransportDIB(HANDLE handle) in TransportDIB() function in TransportDIB
29 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) { in Create()
30 TransportDIB* dib = new TransportDIB; in Create()
44 TransportDIB* TransportDIB::Map(Handle handle) { in Map()
45 scoped_ptr<TransportDIB> dib(CreateWithHandle(handle)); in Map()
52 TransportDIB* TransportDIB::CreateWithHandle(Handle handle) { in CreateWithHandle()
53 return new TransportDIB(handle); in CreateWithHandle()
57 bool TransportDIB::is_valid_handle(Handle dib) { in is_valid_handle()
[all …]
Dtransport_dib.h23 class SURFACE_EXPORT TransportDIB {
25 ~TransportDIB();
94 static TransportDIB* Create(size_t size, uint32 sequence_num);
98 static TransportDIB* Map(Handle transport_dib);
102 static TransportDIB* CreateWithHandle(Handle handle);
143 TransportDIB();
148 explicit TransportDIB(base::SharedMemoryHandle dib);
153 DISALLOW_COPY_AND_ASSIGN(TransportDIB);
Dtransport_dib.cc10 bool TransportDIB::VerifyCanvasSize(int w, int h) { in VerifyCanvasSize()
/external/chromium_org/content/plugin/
Dwebplugin_proxy.h79 const TransportDIB::Handle& windowless_buffer0,
80 const TransportDIB::Handle& windowless_buffer1,
147 explicit SharedTransportDIB(TransportDIB* dib);
148 TransportDIB* dib() { return dib_.get(); } in dib()
153 scoped_ptr<TransportDIB> dib_;
160 void CreateCanvasFromHandle(const TransportDIB::Handle& dib_handle,
165 const TransportDIB::Handle& dib_handle,
167 scoped_ptr<TransportDIB>* dib_out,
172 void SetWindowlessBuffers(const TransportDIB::Handle& windowless_buffer0,
173 const TransportDIB::Handle& windowless_buffer1,
[all …]
Dwebplugin_proxy.cc43 WebPluginProxy::SharedTransportDIB::SharedTransportDIB(TransportDIB* dib) in SharedTransportDIB()
384 const TransportDIB::Handle& windowless_buffer0, in UpdateGeometry()
385 const TransportDIB::Handle& windowless_buffer1, in UpdateGeometry()
393 if (TransportDIB::is_valid_handle(windowless_buffer0)) { in UpdateGeometry()
421 const TransportDIB::Handle& dib_handle, in CreateCanvasFromHandle()
435 const TransportDIB::Handle& windowless_buffer0, in SetWindowlessBuffers()
436 const TransportDIB::Handle& windowless_buffer1, in SetWindowlessBuffers()
457 const TransportDIB::Handle& dib_handle, in CreateDIBAndCGContextFromHandle()
459 scoped_ptr<TransportDIB>* dib_out, in CreateDIBAndCGContextFromHandle()
463 TransportDIB* dib = TransportDIB::Map(dib_handle); in CreateDIBAndCGContextFromHandle()
[all …]
/external/chromium_org/content/renderer/pepper/
Dppb_image_data_impl.cc104 TransportDIB* PPB_ImageData_Impl::GetTransportDIB() const { in GetTransportDIB()
166 TransportDIB* dib = NULL; in Init()
174 TransportDIB::Handle dib_handle; in Init()
179 if (!TransportDIB::is_valid_handle(dib_handle)) in Init()
182 dib = TransportDIB::CreateWithHandle(dib_handle); in Init()
186 dib = TransportDIB::Create(buffer_size, next_dib_id++); in Init()
199 TransportDIB* ImageDataPlatformBackend::GetTransportDIB() const { in GetTransportDIB()
272 TransportDIB* ImageDataSimpleBackend::GetTransportDIB() const { return NULL; } in GetTransportDIB()
Dppb_image_data_impl.h19 class TransportDIB; variable
45 virtual TransportDIB* GetTransportDIB() const = 0;
84 TransportDIB* GetTransportDIB() const;
125 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
138 scoped_ptr<TransportDIB> dib_;
160 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
Dpepper_plugin_instance_impl.h69 class TransportDIB; variable
/external/chromium_org/content/browser/renderer_host/
Drender_widget_helper.h128 TransportDIB::Handle* result);
131 void FreeTransportDIB(TransportDIB::Id dib_id);
174 std::map<TransportDIB::Id, int> allocated_dibs_;
Drender_widget_helper.cc222 TransportDIB::Handle* result) { in AllocTransportDIB()
239 void RenderWidgetHelper::FreeTransportDIB(TransportDIB::Id dib_id) { in FreeTransportDIB()
242 const std::map<TransportDIB::Id, int>::iterator in FreeTransportDIB()
255 for (std::map<TransportDIB::Id, int>::iterator in ClearAllocatedDIBs()
Drender_message_filter.h244 TransportDIB::Handle* result);
245 void OnFreeTransportDIB(TransportDIB::Id dib_id);
Drender_message_filter.cc993 uint32 size, bool cache_in_browser, TransportDIB::Handle* handle) { in OnAllocTransportDIB()
998 TransportDIB::Id dib_id) { in OnFreeTransportDIB()
/external/chromium_org/content/renderer/npapi/
Dwebplugin_delegate_proxy.h155 scoped_ptr<TransportDIB> dib;
229 TransportDIB* front_buffer_dib() const { in front_buffer_dib()
233 TransportDIB* back_buffer_dib() const { in back_buffer_dib()
245 bool CreateSharedBitmap(scoped_ptr<TransportDIB>* memory,
Dwebplugin_delegate_proxy.cc502 const TransportDIB::Handle& handle_in, in CopyTransportDIBHandleForMessage()
503 TransportDIB::Handle* handle_out, in CopyTransportDIBHandleForMessage()
534 param.windowless_buffer0 = TransportDIB::DefaultHandleValue(); in SendUpdateGeometry()
535 param.windowless_buffer1 = TransportDIB::DefaultHandleValue(); in SendUpdateGeometry()
646 scoped_ptr<TransportDIB>* memory, in CreateSharedBitmap()
650 memory->reset(TransportDIB::Create(size, 0)); in CreateSharedBitmap()
655 TransportDIB::Handle handle; in CreateSharedBitmap()
661 memory->reset(TransportDIB::Map(handle)); in CreateSharedBitmap()
664 memory->reset(TransportDIB::Create(size, sequence_number++)); in CreateSharedBitmap()
/external/chromium_org/ppapi/proxy/
Dppb_image_data_proxy.h27 class TransportDIB; variable
96 scoped_ptr<TransportDIB> transport_dib_;
Dppb_image_data_proxy.cc378 transport_dib_.reset(TransportDIB::CreateWithHandle(handle)); in PlatformImageData()
380 transport_dib_.reset(TransportDIB::Map(handle)); in PlatformImageData()
/external/chromium_org/content/public/common/
Dcommon_param_traits.h113 struct ParamTraits<TransportDIB::Id> {
114 typedef TransportDIB::Id param_type;
/external/chromium_org/content/child/
Dplugin_messages.h72 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0)
73 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer1)
/external/chromium_org/content/common/
Dview_messages.h1651 TransportDIB::Handle /* DIB */)
1657 TransportDIB::Id /* DIB id */)
/external/chromium_org/content/renderer/
Drender_frame_impl.h36 class TransportDIB; variable