blob: 61b043e94a91cf00eb52b75f300483f0ed53e98a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2011-2012 - DIGITEO - Pierre Lando
* Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
*/
#ifndef MATPLOT_DECOMPOSER_HXX
#define MATPLOT_DECOMPOSER_HXX
class MatPlotDecomposer
{
public:
static int getTextureWidth(int id);
static int getTextureHeight(int id);
static int fillTextureData(int id, unsigned char* buffer, int bufferLength);
static int fillTextureData(int id, unsigned char* buffer, int bufferLength, int x, int y, int width, int height);
static int getTextureData(int id, void ** address, unsigned int * size);
static void disposeTextureData(int id, unsigned char * buffer);
static int getTextureImageType(int id);
static int getTextureDataType(int id);
static int getTextureGLType(int id);
static int isTextureRowOrder(int id);
};
#endif
|