VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/cr_pixeldata.h@ 24783

Last change on this file since 24783 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved.
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#ifndef CR_PIXELDATA_H
8#define CR_PIXELDATA_H
9
10#include "chromium.h"
11#include "state/cr_client.h"
12
13#include <iprt/cdefs.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19DECLEXPORT(int) crPixelSize( GLenum format, GLenum type );
20
21DECLEXPORT(unsigned int) crImageSize( GLenum format, GLenum type,
22 GLsizei width, GLsizei height );
23
24DECLEXPORT(unsigned int) crTextureSize( GLenum format, GLenum type, GLsizei width, GLsizei height, GLsizei depth );
25
26DECLEXPORT(void) crPixelCopy1D( GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
27 const GLvoid *srcPtr, GLenum srcFormat, GLenum srcType,
28 GLsizei width, const CRPixelPackState *srcPacking );
29
30DECLEXPORT(void) crPixelCopy2D( GLsizei width, GLsizei height,
31 GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
32 const CRPixelPackState *dstPacking,
33 const GLvoid *srcPtr, GLenum srcFormat, GLenum srcType,
34 const CRPixelPackState *srcPacking );
35
36DECLEXPORT(void) crPixelCopy3D( GLsizei width, GLsizei height, GLsizei depth,
37 GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
38 const CRPixelPackState *dstPacking, const GLvoid *srcPtr,
39 GLenum srcFormat, GLenum srcType,
40 const CRPixelPackState *srcPacking );
41
42DECLEXPORT(void) crBitmapCopy( GLsizei width, GLsizei height, GLubyte *dstPtr,
43 const GLubyte *srcPtr, const CRPixelPackState *srcPacking );
44
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* CR_PIXELDATA_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette