Home | History | Annotate | Download | only in common

Lines Matching refs:Format

43 sw::Format ConvertFormatType(GLenum format, GLenum type);
44 sw::Format SelectInternalFormat(GLenum format, GLenum type);
45 GLsizei ComputePitch(GLsizei width, GLenum format, GLenum type, GLint alignment);
46 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format);
47 size_t ComputePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, GLint alignment, GLint skipImages, GLint skipRows, GLint skipPixels);
53 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLenum format, GLenum type)
54 : sw::Surface(parentTexture->getResource(), width, height, 1, SelectInternalFormat(format, type), true, true),
55 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(1),
64 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type)
65 : sw::Surface(parentTexture->getResource(), width, height, depth, SelectInternalFormat(format, type), true, true),
66 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(depth),
75 Image(GLsizei width, GLsizei height, GLenum format, GLenum type, int pitchP)
76 : sw::Surface(nullptr, width, height, 1, SelectInternalFormat(format, type), true, true, pitchP),
77 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(1),
85 Image(GLsizei width, GLsizei height, sw::Format internalFormat, int multiSampleDepth, bool lockable)
87 width(width), height(height), format(0 /*GL_NONE*/), type(0 /*GL_NONE*/), internalFormat(internalFormat), depth(multiSampleDepth),
113 return format;
121 sw::Format getInternalFormat() const
163 void loadImageData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const UnpackInfo& unpackInfo, const void *input);
180 const GLenum format;
182 const sw::Format internalFormat;
242 GLPixelFormatFromAndroid(nativeBuffer->format),
243 GLPixelTypeFromAndroid(nativeBuffer->format),