HomeSort by relevance Sort by last modified time
    Searched refs:TransportDIB (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/chromium_org/ui/surface/
transport_dib_posix.cc 19 TransportDIB::TransportDIB()
23 TransportDIB::TransportDIB(TransportDIB::Handle dib)
28 TransportDIB::~TransportDIB() {
32 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
33 TransportDIB* dib = new TransportDIB
    [all...]
transport_dib_win.cc 16 TransportDIB::TransportDIB()
20 TransportDIB::~TransportDIB() {
23 TransportDIB::TransportDIB(HANDLE handle)
29 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
30 TransportDIB* dib = new TransportDIB;
    [all...]
transport_dib_gtk.cc 23 TransportDIB::TransportDIB()
32 TransportDIB::~TransportDIB() {
45 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
63 TransportDIB* dib = new TransportDIB;
72 TransportDIB* TransportDIB::Map(Handle handle)
    [all...]
transport_dib.h 24 // A TransportDIB is a block of memory that is used to transport pixels
28 class SURFACE_EXPORT TransportDIB {
30 ~TransportDIB();
132 // Create a new TransportDIB, returning NULL on failure.
141 static TransportDIB* Create(size_t size, uint32 sequence_num);
145 static TransportDIB* Map(Handle transport_dib);
147 // Create a new |TransportDIB| with a handle to the shared memory. This
149 static TransportDIB* CreateWithHandle(Handle handle);
157 // Returns a canvas using the memory of this TransportDIB. The returned
161 // On POSIX, this |TransportDIB| will be mapped if not already. On Windows
    [all...]
transport_dib.cc 10 bool TransportDIB::VerifyCanvasSize(int w, int h) {
  /external/chromium_org/content/renderer/
render_process.h 11 class TransportDIB;
36 // When no longer needed, you should pass the TransportDIB to
38 virtual SkCanvas* GetDrawingCanvas(TransportDIB** memory,
43 virtual void ReleaseTransportDIB(TransportDIB* memory) = 0;
57 virtual TransportDIB* CreateTransportDIB(size_t size) = 0;
58 virtual void FreeTransportDIB(TransportDIB*) = 0;
render_process_impl.h 25 TransportDIB** memory,
27 virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE;
31 virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE;
32 virtual void FreeTransportDIB(TransportDIB*) OVERRIDE;
44 bool GetTransportDIBFromCache(TransportDIB** result, size_t size);
49 bool PutSharedMemInCache(TransportDIB* memory);
60 TransportDIB* shared_mem_cache_[2];
65 // TransportDIB sequence number
render_process_impl.cc 116 TransportDIB* RenderProcessImpl::CreateTransportDIB(size_t size) {
119 // get one. The TransportDIB is cached in the browser.
120 TransportDIB::Handle handle;
126 return TransportDIB::Map(handle);
130 return TransportDIB::Create(size, transport_dib_next_sequence_number_++);
134 void RenderProcessImpl::FreeTransportDIB(TransportDIB* dib) {
152 TransportDIB** memory, const gfx::Rect& rect) {
179 void RenderProcessImpl::ReleaseTransportDIB(TransportDIB* mem) {
192 bool RenderProcessImpl::GetTransportDIBFromCache(TransportDIB** mem,
235 bool RenderProcessImpl::PutSharedMemInCache(TransportDIB* mem)
    [all...]
  /external/chromium_org/content/test/
mock_render_process.h 20 TransportDIB** memory,
22 virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE;
26 virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE;
27 virtual void FreeTransportDIB(TransportDIB*) OVERRIDE;
mock_render_process.cc 21 TransportDIB** memory,
29 *memory = TransportDIB::Create(size, transport_dib_next_sequence_number_++);
35 void MockRenderProcess::ReleaseTransportDIB(TransportDIB* memory) {
51 TransportDIB* MockRenderProcess::CreateTransportDIB(size_t size) {
52 return TransportDIB::Create(size, transport_dib_next_sequence_number_++);
55 void MockRenderProcess::FreeTransportDIB(TransportDIB* dib) {
  /external/chromium_org/content/browser/renderer_host/
render_widget_helper.h 139 TransportDIB* MapTransportDIB(TransportDIB::Id dib_id);
162 // Called on the IO thread to handle the allocation of a TransportDIB. If
166 // the resulting TransportDIB.
169 TransportDIB::Handle* result);
172 void FreeTransportDIB(TransportDIB::Id dib_id);
226 std::map<TransportDIB::Id, int> allocated_dibs_;
render_process_host_impl.h 94 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
95 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
256 std::map<TransportDIB::Id, TransportDIB*> cached_dibs_;
backing_store_manager.h 56 TransportDIB::Id bitmap,
test_backing_store.cc 19 TransportDIB::Id bitmap,
test_backing_store.h 22 TransportDIB::Id bitmap,
backing_store_gtk.h 61 TransportDIB::Id bitmap,
76 void PaintRectWithoutXrender(TransportDIB* bitmap,
backing_store.h 58 TransportDIB::Id bitmap,
  /external/chromium_org/content/public/test/
mock_render_process_host.h 15 class TransportDIB;
55 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
56 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
93 TransportDIB* transport_dib_;
mock_render_process_host.cc 128 TransportDIB* MockRenderProcessHost::MapTransportDIB(TransportDIB::Id dib_id) {
133 return TransportDIB::Map(duped);
135 return TransportDIB::Map(dib_id.shmkey);
138 return TransportDIB::Map(dib_id);
142 return TransportDIB::Create(100 * 100 * 4, 0);
146 TransportDIB* MockRenderProcessHost::GetTransportDIB(TransportDIB::Id dib_id) {
  /external/chromium_org/content/plugin/
webplugin_proxy.h 111 const TransportDIB::Handle& windowless_buffer0,
112 const TransportDIB::Handle& windowless_buffer1,
157 explicit SharedTransportDIB(TransportDIB* dib);
158 TransportDIB* dib() { return dib_.get(); }
163 scoped_ptr<TransportDIB> dib_;
172 void CreateCanvasFromHandle(const TransportDIB::Handle& dib_handle,
177 const TransportDIB::Handle& dib_handle,
179 scoped_ptr<TransportDIB>* dib_out,
183 const TransportDIB::Handle& dib_handle,
189 TransportDIB* dib
    [all...]
webplugin_proxy.cc 47 WebPluginProxy::SharedTransportDIB::SharedTransportDIB(TransportDIB* dib)
421 const TransportDIB::Handle& windowless_buffer0,
422 const TransportDIB::Handle& windowless_buffer1,
430 if (TransportDIB::is_valid_handle(windowless_buffer0)) {
461 const TransportDIB::Handle& dib_handle,
475 const TransportDIB::Handle& windowless_buffer0,
476 const TransportDIB::Handle& windowless_buffer1,
497 const TransportDIB::Handle& dib_handle,
499 scoped_ptr<TransportDIB>* dib_out,
503 TransportDIB* dib = TransportDIB::Map(dib_handle)
    [all...]
  /external/chromium_org/content/public/browser/
render_process_host.h 123 // Return the TransportDIB for the given id. On Linux, this can involve
128 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) = 0;
130 // Return the TransportDIB for the given id. In contrast to GetTransportDIB,
131 // the caller owns the resulting TransportDIB.
132 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) = 0;
  /external/chromium_org/chrome/browser/thumbnails/
render_widget_snapshot_taker.cc 24 scoped_ptr<TransportDIB> thumbnail_dib;
52 scoped_ptr<TransportDIB> thumbnail_dib(TransportDIB::Create(
66 TransportDIB::Handle renderer_dib_handle;
76 TransportDIB::Handle renderer_dib_handle = thumbnail_dib->handle();
121 TransportDIB* dib = item->second->thumbnail_dib.get();
  /external/chromium_org/content/renderer/pepper/
ppb_image_data_impl.h 19 class TransportDIB;
42 virtual TransportDIB* GetTransportDIB() const = 0;
76 TransportDIB* GetTransportDIB() const;
112 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
125 scoped_ptr<TransportDIB> dib_;
142 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
ppb_image_data_impl.cc 88 TransportDIB* PPB_ImageData_Impl::GetTransportDIB() const {
158 // requesting a TransportDIB (see also
160 // WebPluginDelegateProxy::CreateBitmap() for similar code). The TransportDIB
162 // TransportDIB's destructor.
163 TransportDIB::Handle dib_handle;
169 if (!TransportDIB::is_valid_handle(dib_handle))
172 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle);
175 TransportDIB* dib = TransportDIB::Create(buffer_size, next_dib_id++)
    [all...]

Completed in 326 milliseconds

1 2 3