~linaro-graphics-wg/+junk/spandex-package

« back to all changes in this revision

Viewing changes to sct/common/modules/openvg/sct_openvgmovetodirectaction.h

  • Committer: Alexandros Frantzis
  • Date: 2011-05-04 08:50:52 UTC
  • Revision ID: alexandros.frantzis@linaro.org-20110504085052-88gps4jrg317s6lc
Tags: upstream-1.1.3~git20110502.0ae20368
ImportĀ upstreamĀ versionĀ 1.1.3~git20110502.0ae20368

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Spandex benchmark and test framework.
 
3
 *
 
4
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
 
5
 *
 
6
 * Contact: Kari J. Kangas <kari.j.kangas@nokia.com>
 
7
 *
 
8
 *   This framework is free software; you can redistribute it and/or modify it
 
9
 * under the terms of the GNU Lesser General Public License as published by the
 
10
 * Free Software Foundation, version 2.1 of the License.
 
11
 *
 
12
 *   This framework is distributed in the hope that it will be useful, but
 
13
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
14
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 
15
 * for more details.
 
16
 *
 
17
 *   You should have received a copy of the GNU Lesser General Public License
 
18
 * along with this framework; if not, see <http://www.gnu.org/licenses/>.
 
19
 *
 
20
 */
 
21
 
 
22
#if !defined( __SCT_OPENVGMOVETODIRECTACTION_H__ )
 
23
#define __SCT_OPENVGMOVETODIRECTACTION_H__
 
24
 
 
25
#include "sct_types.h"
 
26
#include "sct_openvgmodule.h"
 
27
#include "sct_openvgmodule_parser.h"
 
28
#include "sct_vg.h"
 
29
 
 
30
/*!
 
31
 *
 
32
 */
 
33
typedef struct
 
34
{
 
35
    VGPathDatatype                      pathType;
 
36
    SCTOpenVGModuleContext*             moduleContext;
 
37
    OpenVGMoveToDirectActionData        data;
 
38
    VGubyte                             pathSegments[ 1 ];
 
39
    VGfloat                             pathData[ 2 ];
 
40
} SCTOpenVGMoveToDirectActionContext;
 
41
 
 
42
#if defined( __cplusplus )
 
43
extern "C" {
 
44
#endif  /* defined( __cplusplus ) */
 
45
 
 
46
    void*                               sctiCreateOpenVGMoveToDirectActionContext( void* moduleContext, SCTAttributeList* attributes );
 
47
    void                                sctiDestroyOpenVGMoveToDirectActionContext( void* context );
 
48
 
 
49
    SCTBoolean                          sctiOpenVGMoveToDirectActionExecute( SCTAction* action, int frameNumber );
 
50
    void                                sctiOpenVGMoveToDirectActionDestroy( SCTAction* action );
 
51
 
 
52
#if defined( __cplusplus )
 
53
}
 
54
#endif  /* defined( __cplusplus ) */
 
55
 
 
56
#endif /* !defined( __SCT_OPENVGMOVETODIRECTACTION_H__ ) */