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

1 2 3

  /external/chromium_org/ui/surface/
transport_dib_posix.cc 18 TransportDIB::TransportDIB()
22 TransportDIB::TransportDIB(TransportDIB::Handle dib)
27 TransportDIB::~TransportDIB() {
31 TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
32 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 25 // A TransportDIB is a block of memory that is used to transport pixels
29 class SURFACE_EXPORT TransportDIB {
31 ~TransportDIB();
133 // Create a new TransportDIB, returning NULL on failure.
142 static TransportDIB* Create(size_t size, uint32 sequence_num);
146 static TransportDIB* Map(Handle transport_dib);
148 // Create a new |TransportDIB| with a handle to the shared memory. This
150 static TransportDIB* CreateWithHandle(Handle handle);
158 // Returns a canvas using the memory of this TransportDIB. The returned
162 // 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 127 TransportDIB* RenderProcessImpl::CreateTransportDIB(size_t size) {
130 // get one. The TransportDIB is cached in the browser.
131 TransportDIB::Handle handle;
137 return TransportDIB::Map(handle);
141 return TransportDIB::Create(size, transport_dib_next_sequence_number_++);
145 void RenderProcessImpl::FreeTransportDIB(TransportDIB* dib) {
163 TransportDIB** memory, const gfx::Rect& rect) {
190 void RenderProcessImpl::ReleaseTransportDIB(TransportDIB* mem) {
203 bool RenderProcessImpl::GetTransportDIBFromCache(TransportDIB** mem,
246 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) {
test_backing_store.cc 19 TransportDIB::Id bitmap,
test_backing_store.h 22 TransportDIB::Id bitmap,
  /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_;
backing_store_manager.h 56 TransportDIB::Id bitmap,
backing_store_gtk.h 61 TransportDIB::Id bitmap,
76 void PaintRectWithoutXrender(TransportDIB* bitmap,
backing_store.h 58 TransportDIB::Id bitmap,
backing_store_aura.h 43 TransportDIB::Id bitmap,
  /external/chromium_org/content/public/test/
mock_render_process_host.h 16 class TransportDIB;
58 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
59 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
101 TransportDIB* transport_dib_;
mock_render_process_host.cc 145 TransportDIB* MockRenderProcessHost::MapTransportDIB(TransportDIB::Id dib_id) {
150 return TransportDIB::Map(duped);
152 return TransportDIB::Map(dib_id.shmkey);
155 return TransportDIB::Map(dib_id);
159 return TransportDIB::Create(100 * 100 * 4, 0);
163 TransportDIB* MockRenderProcessHost::GetTransportDIB(TransportDIB::Id dib_id) {
  /external/chromium_org/content/plugin/
webplugin_proxy.h 83 const TransportDIB::Handle& windowless_buffer0,
84 const TransportDIB::Handle& windowless_buffer1,
151 explicit SharedTransportDIB(TransportDIB* dib);
152 TransportDIB* dib() { return dib_.get(); }
157 scoped_ptr<TransportDIB> dib_;
164 void CreateCanvasFromHandle(const TransportDIB::Handle& dib_handle,
169 const TransportDIB::Handle& dib_handle,
171 scoped_ptr<TransportDIB>* dib_out,
175 const TransportDIB::Handle& dib_handle,
181 TransportDIB* dib
    [all...]
webplugin_proxy.cc 48 WebPluginProxy::SharedTransportDIB::SharedTransportDIB(TransportDIB* dib)
422 const TransportDIB::Handle& windowless_buffer0,
423 const TransportDIB::Handle& windowless_buffer1,
431 if (TransportDIB::is_valid_handle(windowless_buffer0)) {
462 const TransportDIB::Handle& dib_handle,
476 const TransportDIB::Handle& windowless_buffer0,
477 const TransportDIB::Handle& windowless_buffer1,
498 const TransportDIB::Handle& dib_handle,
500 scoped_ptr<TransportDIB>* dib_out,
504 TransportDIB* dib = TransportDIB::Map(dib_handle)
    [all...]
  /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;
81 TransportDIB* GetTransportDIB() const;
119 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
132 scoped_ptr<TransportDIB> dib_;
151 virtual TransportDIB* GetTransportDIB() const OVERRIDE;
ppb_image_data_impl.cc 110 TransportDIB* PPB_ImageData_Impl::GetTransportDIB() const {
180 TransportDIB* dib = NULL;
184 // TransportDIB (see also chrome/renderer/webplugin_delegate_proxy.cc,
186 // TransportDIB is cached in the browser, and is freed (in typical cases) by
187 // the TransportDIB's destructor.
188 TransportDIB::Handle dib_handle;
194 if (!TransportDIB::is_valid_handle(dib_handle))
197 dib = TransportDIB::CreateWithHandle(dib_handle);
201 dib = TransportDIB::Create(buffer_size, next_dib_id++);
214 TransportDIB* ImageDataPlatformBackend::GetTransportDIB() const
    [all...]
  /external/chromium_org/content/public/browser/
render_process_host.h 135 // Return the TransportDIB for the given id. On Linux, this can involve
140 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) = 0;
142 // Return the TransportDIB for the given id. In contrast to GetTransportDIB,
143 // the caller owns the resulting TransportDIB.
144 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) = 0;

Completed in 2586 milliseconds

1 2 3