#include <GLTexImage.h>
|
| | GLTexInput () |
| |
| int | SetImageData (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type) |
| |
| int | LoadImageFile (char *imagepath, int &w, int &h) |
| |
| void | VerifyTexture () |
| |
| virtual | ~GLTexInput () |
| |
| virtual void | DrawQuadUS (int scale) |
| |
| virtual void | DrawQuadDS (int scale) |
| |
| virtual void | DrawImage () |
| |
| virtual void | TexConvertRGB () |
| |
| virtual void | ZeroHistoMargin () |
| |
| virtual void | SetImageSize (int width, int height) |
| |
| virtual void | InitTexture (int width, int height, int clamp_to_edge=1) |
| |
| void | InitTexture (int width, int height, int clamp_to_edge, GLuint format) |
| |
| virtual void | FillMargin (int marginx, int marginy) |
| |
| void | DrawScaledQuad (float scale) |
| |
| int | CopyToPBO (GLuint pbo, int width, int height, GLenum format=GL_RGBA) |
| |
| void | CopyFromPBO (GLuint pbo, int width, int height, GLenum format=GL_RGBA) |
| |
| void | FitRealTexViewPort () |
| |
| void | DrawQuadMT8 () |
| |
| void | DrawQuadMT4 () |
| |
| void | DrawQuadReduction () |
| |
| void | DrawQuadReduction (int w, int h) |
| |
| void | DrawMargin (int right, int bottom) |
| |
| void | DrawQuad () |
| |
| void | FitTexViewPort () |
| |
| void | ZeroHistoMargin (int hw, int hh) |
| |
| int | CheckTexture () |
| |
| void | SaveToASCII (const char *path) |
| |
| void | AttachToFBO (int i) |
| |
| void | BindTex () |
| |
| | operator GLuint () |
| |
| GLuint | GetTexID () |
| |
| int | GetImgPixelCount () |
| |
| int | GetTexPixelCount () |
| |
| int | GetImgWidth () |
| |
| int | GetImgHeight () |
| |
| int | GetTexWidth () |
| |
| int | GetTexHeight () |
| |
| int | GetDrawWidth () |
| |
| int | GetDrawHeight () |
| |
| int | IsTexPacked () |
| |
| | GLTexImage () |
| |
| virtual | ~GLTexImage () |
| |
|
| static int | IsSimpleGlFormat (unsigned int gl_format, unsigned int gl_type) |
| |
| template<class Uint > |
| static int | DownSamplePixelDataI (unsigned int gl_format, int width, int height, int ds, const Uint *pin, Uint *pout) |
| |
| template<class Uint > |
| static int | DownSamplePixelDataI2F (unsigned int gl_format, int width, int height, int ds, const Uint *pin, float *pout, int skip=0) |
| |
| static int | DownSamplePixelDataF (unsigned int gl_format, int width, int height, int ds, const float *pin, float *pout, int skip=0) |
| |
| static int | TruncateWidthCU (int w) |
| |
| static void | DetachFBO (int i) |
| |
| static void | UnbindTex () |
| |
| static void | UnbindMultiTex (int n) |
| |
| static void | DrawQuad (float x1, float x2, float y1, float y2) |
| |
| static double | CLOCK () |
| |
| static void | StopTimer () |
| |
| static void | StartTimer (const char *event) |
| |
| static float | GetElapsedTime () |
| |
| static void | FitViewPort (int width, int height) |
| |
| static void | SetTextureParameter () |
| |
| static void | SetTextureParameterUS () |
| |
| static void | CheckErrorsGL (const char *location=NULL) |
| |
| static bool | CheckFramebufferStatus () |
| |
| static void | SelectDisplay () |
| |
| static void | InitGLParam (int NotTargetGL=0) |
| |
| static void | SetGLParam () |
| |
| static int | CreateWindowEZ () |
| |
| static void | CleanupOpenGL () |
| |
| static void | SetDeviceParam (int argc, char **argv) |
| |
| static int | CreateWindowEZ (LiteWindow *window) |
| |
Definition at line 95 of file GLTexImage.h.
◆ GLTexInput()
| GLTexInput::GLTexInput |
( |
| ) |
|
|
inline |
◆ ~GLTexInput()
| GLTexInput::~GLTexInput |
( |
| ) |
|
|
virtual |
◆ DownSamplePixelDataF()
| int GLTexInput::DownSamplePixelDataF |
( |
unsigned int |
gl_format, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
ds, |
|
|
const float * |
pin, |
|
|
float * |
pout, |
|
|
int |
skip = 0 |
|
) |
| |
|
static |
◆ DownSamplePixelDataI()
template<class Uint >
| int GLTexInput::DownSamplePixelDataI |
( |
unsigned int |
gl_format, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
ds, |
|
|
const Uint * |
pin, |
|
|
Uint * |
pout |
|
) |
| |
|
static |
◆ DownSamplePixelDataI2F()
template<class Uint >
| int GLTexInput::DownSamplePixelDataI2F |
( |
unsigned int |
gl_format, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
ds, |
|
|
const Uint * |
pin, |
|
|
float * |
pout, |
|
|
int |
skip = 0 |
|
) |
| |
|
static |
◆ IsSimpleGlFormat()
| static int GLTexInput::IsSimpleGlFormat |
( |
unsigned int |
gl_format, |
|
|
unsigned int |
gl_type |
|
) |
| |
|
inlinestatic |
◆ LoadImageFile()
| int GLTexInput::LoadImageFile |
( |
char * |
imagepath, |
|
|
int & |
w, |
|
|
int & |
h |
|
) |
| |
◆ SetImageData()
| int GLTexInput::SetImageData |
( |
int |
width, |
|
|
int |
height, |
|
|
const void * |
data, |
|
|
unsigned int |
gl_format, |
|
|
unsigned int |
gl_type |
|
) |
| |
◆ TruncateWidthCU()
| static int GLTexInput::TruncateWidthCU |
( |
int |
w | ) |
|
|
inlinestatic |
◆ VerifyTexture()
| void GLTexInput::VerifyTexture |
( |
| ) |
|
◆ _converted_data
| float* GLTexInput::_converted_data |
◆ _data_modified
| int GLTexInput::_data_modified |
◆ _down_sampled
| int GLTexInput::_down_sampled |
◆ _pixel_data
| const void* GLTexInput::_pixel_data |
◆ _rgb_converted
| int GLTexInput::_rgb_converted |
The documentation for this class was generated from the following files: