~alan-griffiths/mir/knee-jerk-mir_surface_state_automatic

« back to all changes in this revision

Viewing changes to src/client/mir_surface.cpp

  • Committer: Kevin DuBois
  • Date: 2012-11-13 01:36:29 UTC
  • mfrom: (245 trunk)
  • mto: This revision was merged to the branch mainline in revision 246.
  • Revision ID: kevin.dubois@canonical.com-20121113013629-q4496w4mp5e33auk
merge in base branch. move the demo clients to a new directory, examples/

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
MirSurface::~MirSurface()
56
56
{
 
57
    auto platform = connection->get_client_platform();
57
58
    release_cpu_region();
58
59
    platform->destroy_egl_window(accelerated_window);
59
60
}
161
162
{
162
163
    process_incoming_buffer();
163
164
 
164
 
    platform = mcl::create_client_platform();
 
165
    auto platform = connection->get_client_platform();
165
166
    accelerated_window = platform->create_egl_window(this);
166
167
 
167
168
    callback(this, context);