~afrantzis/mir/reproduce-1444047

« back to all changes in this revision

Viewing changes to tests/mir_test_doubles/mock_gbm.cpp

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2015-04-15 16:35:56 UTC
  • mfrom: (2467.3.11 mesa-nested-buffer)
  • Revision ID: tarmac-20150415163556-dtiq4s49w5t3mg93
mesa: provide a way for a nested server to reconstruct a mgm::Buffer from a MirNativeBuffer.

Approved by Alexandros Frantzis, Alan Griffiths, PS Jenkins bot, Robert Carr, Chris Halse Rogers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
{
169
169
    return global_mock->gbm_bo_destroy(bo);
170
170
}
 
171
 
 
172
struct gbm_bo* gbm_bo_import(struct gbm_device* device, uint32_t type, void* data, uint32_t flags)
 
173
{
 
174
    return global_mock->gbm_bo_import(device, type, data, flags);
 
175
}