upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
|
@ -0,0 +1,42 @@
|
|||
#ifndef GLES_TEXTURE_UTILS_H
|
||||
#define GLES_TEXTURE_UTILS_H
|
||||
|
||||
#include <GLES3/gl31.h>
|
||||
|
||||
namespace GLESTextureUtils {
|
||||
|
||||
void computeTextureStartEnd(
|
||||
GLsizei width, GLsizei height, GLsizei depth,
|
||||
GLenum format, GLenum type,
|
||||
int unpackAlignment,
|
||||
int unpackRowLength,
|
||||
int unpackImageHeight,
|
||||
int unpackSkipPixels,
|
||||
int unpackSkipRows,
|
||||
int unpackSkipImages,
|
||||
int* start,
|
||||
int* end);
|
||||
|
||||
int computeTotalImageSize(
|
||||
GLsizei width, GLsizei height, GLsizei depth,
|
||||
GLenum format, GLenum type,
|
||||
int unpackAlignment,
|
||||
int unpackRowLength,
|
||||
int unpackImageHeight,
|
||||
int unpackSkipPixels,
|
||||
int unpackSkipRows,
|
||||
int unpackSkipImages);
|
||||
|
||||
int computeNeededBufferSize(
|
||||
GLsizei width, GLsizei height, GLsizei depth,
|
||||
GLenum format, GLenum type,
|
||||
int unpackAlignment,
|
||||
int unpackRowLength,
|
||||
int unpackImageHeight,
|
||||
int unpackSkipPixels,
|
||||
int unpackSkipRows,
|
||||
int unpackSkipImages);
|
||||
|
||||
|
||||
} // namespace GLESTextureUtils
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue