~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to tests/integration-tests/client/test_client_render.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-02-04 14:49:07 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20140204144907-o3ruhix0ey26lchl
Tags: upstream-0.1.4+14.04.20140204
ImportĀ upstreamĀ versionĀ 0.1.4+14.04.20140204

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    {
121
121
        process_sync.wait_for_signal_ready_for();
122
122
 
123
 
        MirSurfaceParameters surface_parameters
124
 
        {
125
 
            "testsurface", test_width, test_height, mir_pixel_format_abgr_8888,
126
 
            mir_buffer_usage_hardware, mir_display_output_id_invalid
127
 
        };
128
123
        auto connection = mir_connect_sync(socket_file, "test_renderer");
129
 
        auto surface = mir_connection_create_surface_sync(connection, &surface_parameters);
130
124
 
131
125
        /* set up egl context */
132
126
        int major, minor, n;
173
167
            eglSwapBuffers(egl_display, egl_surface);
174
168
        }
175
169
 
176
 
        mir_surface_release_sync(surface);
 
170
        mir_surface_release_sync(mir_surface);
177
171
        mir_connection_release(connection);
178
172
        return 0;
179
173
    }