From patchwork Tue Feb 8 11:10:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 85 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:39:51 -0000 Delivered-To: patches@linaro.org Received: by 10.147.124.5 with SMTP id b5cs87027yan; Tue, 8 Feb 2011 03:10:21 -0800 (PST) Received: by 10.227.24.73 with SMTP id u9mr1165486wbb.168.1297163420730; Tue, 08 Feb 2011 03:10:20 -0800 (PST) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id j7si8442311wbj.25.2011.02.08.03.10.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 03:10:20 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of alexandros.frantzis@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of alexandros.frantzis@linaro.org) smtp.mail=alexandros.frantzis@linaro.org Received: by wyb42 with SMTP id 42so5651864wyb.37 for ; Tue, 08 Feb 2011 03:10:20 -0800 (PST) Received: by 10.227.143.148 with SMTP id v20mr17254599wbu.222.1297163420220; Tue, 08 Feb 2011 03:10:20 -0800 (PST) Received: from localhost ([194.219.210.40]) by mx.google.com with ESMTPS id y29sm4300626wbd.22.2011.02.08.03.10.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 03:10:19 -0800 (PST) From: alexandros.frantzis@linaro.org To: cairo@cairographics.org Subject: [PATCH 1/6] gl: Add entry for UniformMatrix4fv in the gl dispatch table Date: Tue, 8 Feb 2011 13:10:10 +0200 Message-Id: <1297163415-31035-2-git-send-email-alexandros.frantzis@linaro.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1297163415-31035-1-git-send-email-alexandros.frantzis@linaro.org> References: <1297163415-31035-1-git-send-email-alexandros.frantzis@linaro.org> From: Alexandros Frantzis --- src/cairo-gl-dispatch-private.h | 1 + src/cairo-gl-private.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/cairo-gl-dispatch-private.h b/src/cairo-gl-dispatch-private.h index f3245ed..bd444a5 100644 --- a/src/cairo-gl-dispatch-private.h +++ b/src/cairo-gl-dispatch-private.h @@ -83,6 +83,7 @@ cairo_private cairo_gl_dispatch_entry_t dispatch_shaders_entries[] = { DISPATCH_ENTRY_ARB (Uniform3f), DISPATCH_ENTRY_ARB (Uniform4f), DISPATCH_ENTRY_ARB (UniformMatrix3fv), + DISPATCH_ENTRY_ARB (UniformMatrix4fv), DISPATCH_ENTRY_ARB (Uniform1i), DISPATCH_ENTRY_LAST }; diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h index 6cea8c0..04322f2 100644 --- a/src/cairo-gl-private.h +++ b/src/cairo-gl-private.h @@ -210,6 +210,8 @@ typedef struct _cairo_gl_dispatch { GLfloat w); void (*UniformMatrix3fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); + void (*UniformMatrix4fv) (GLint location, GLsizei count, + GLboolean transpose, const GLfloat *value); void (*Uniform1i) (GLint location, GLint x); /* Framebuffer objects */