[cairo] [patch 1/2] gl: add nsgl test cases for rgb24
Henry (Yu) Song - SISA
hsong at sisa.samsung.com
Fri Jan 4 19:07:28 PST 2013
>From cee11d725228aab49d813c745617ef4fcf8dfc35 Mon Sep 17 00:00:00 2001
From: Henry Song <hsong at sisa.samsung.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130105/a873693a/attachment.html>
More information about the cairo
mailing list