[patch 1/2] gl: add nsgl test cases for rgb24
"Henry (Yu) Song - SISA" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <3955FA337689574EB32F94B12A7E6E9E248481F0@sisaex01sj> |
From cee11d725228aab49d813c745617ef4fcf8dfc35 Mon Sep 17 00:00:00 2001 From: Henry Song <[email protected]> Date: Fri, 4 Jan 2013 18:17:45 -0800 Subject: [PATCH 1/2] gl: add rgb24 test cases for nsgl --- boilerplate/cairo-boilerplate-nsgl.m | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/boilerplate/cairo-boilerplate-nsgl.m b/boilerplate/cairo-boilerplate-nsgl.m index 2247886..aea5c75 100644 --- a/boilerplate/cairo-boilerplate-nsgl.m +++ b/boilerplate/cairo-boilerplate-nsgl.m @@ -263,6 +263,20 @@ static const cairo_boilerplate_target_t targets[] = { TRUE, FALSE, FALSE }, { + "nsgl", "gl", NULL, NULL, + CAIRO_SURFACE_TYPE_GL, CAIRO_CONTENT_COLOR, 1, + "cairo_nsgl_surface_create", + _cairo_boilerplate_nsgl_create_surface, + cairo_surface_create_similar, + NULL, NULL, + _cairo_boilerplate_get_image_surface, + cairo_surface_write_to_png, + _cairo_boilerplate_nsgl_cleanup, + _cairo_boilerplate_nsgl_synchronize, + NULL, + TRUE, FALSE, FALSE + }, + { "nsgl-window", "gl", NULL, NULL, CAIRO_SURFACE_TYPE_GL, CAIRO_CONTENT_COLOR_ALPHA, 1, "cairo_nsgl_surface_create_for_window", -- 1.8.0.1 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo