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

« back to all changes in this revision

Viewing changes to sct/common/modules/opengles1/sct_opengles1module.h

  • Committer: Alexandros Frantzis
  • Date: 2012-05-15 15:14:33 UTC
  • mfrom: (1.1.2)
  • Revision ID: alexandros.frantzis@linaro.org-20120515151433-n38jul7kscz9r05h
* New upstream snapshot 1.1.6+git20120514.402b6166.
* debian/control:
  - Update Standards-Version to 3.9.3.
* debian/patches/egl_extensions_header_fix.patch:
  - Fix compilation with EGL.
* debian/patches/linux_targets.patch:
  - Refresh patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#define SCT_MAX_OPENGLES1_DATAS                         4096
35
35
#define SCT_MAX_OPENGLES1_MESHES                        4096
36
36
 
37
 
#define SCT_MAX_OPENGLES1_SIMULTANEOUSLY_BOUND_BUFFERS  2
38
 
 
39
37
/*!
40
38
 *
41
39
 *
47
45
    SCTOpenGLES1CompressedTextureData*  compressedTextureDatas[ SCT_MAX_OPENGLES1_COMPRESSED_TEXTURE_DATAS ];
48
46
    SCTOpenGLES1Array*                  arrays[ SCT_MAX_OPENGLES1_ARRAYS ];
49
47
    SCTOpenGLES1Buffer*                 buffers[ SCT_MAX_OPENGLES1_BUFFERS ];
50
 
    int                                 boundBuffer[ SCT_MAX_OPENGLES1_SIMULTANEOUSLY_BOUND_BUFFERS ]; /* TODO: this is not thread-safe */
51
48
    SCTOpenGLES1Data*                   datas[ SCT_MAX_OPENGLES1_DATAS ];
52
49
    SCTOpenGLES1Mesh*                   meshes[ SCT_MAX_OPENGLES1_MESHES ];
53
50
} SCTOpenGLES1ModuleContext;
91
88
    SCTOpenGLES1Buffer*                 sctiOpenGLES1ModuleGetBuffer( SCTOpenGLES1ModuleContext* moduleContext, int index );
92
89
    void                                sctiOpenGLES1ModuleSetBuffer( SCTOpenGLES1ModuleContext* moduleContext, int index, SCTOpenGLES1Buffer* buffer );
93
90
    void                                sctiOpenGLES1ModuleDeleteBuffer( SCTOpenGLES1ModuleContext* moduleContext, int index );
94
 
    void                                sctiOpenGLES1ModuleSetBoundBuffer( SCTOpenGLES1ModuleContext* moduleContext, GLenum target, int index );
95
 
    SCTOpenGLES1Buffer*                 sctiOpenGLES1ModuleGetBoundBuffer( SCTOpenGLES1ModuleContext* moduleContext, GLenum target );
96
91
 
97
92
    /* Datas */
98
93
    SCTBoolean                          sctiOpenGLES1ModuleIsValidDataIndex( SCTOpenGLES1ModuleContext* moduleContext, int index );