Lines Matching defs:const

153 static const InternalFormat coreInternalformats[] =
303 static const PixelFormat coreFormats[] = {
325 static const PixelFormat esFormats[] = {
341 static const PixelType coreTypes[] = {
368 static const PixelType esTypes[] = {
387 static const EnumFormats esValidFormats[] = {
465 static const EnumFormats coreValidFormats[] = {
512 static const EnumFormats validformats_EXT_texture_type_2_10_10_10_REV[] = {
519 static const EnumFormats validformats_OES_required_internalformat[] = {
558 static const int NUM_FLOAT_PIXEL_COUNT = sizeof(FloatPixel) / sizeof(float);
731 bool isFormatValid(const PixelFormat& format, const PixelType& type, const struct InternalFormat& internalformat,
732 bool checkInput, bool checkOutput, int operation) const;
733 bool isUnsizedFormat(GLenum format) const;
734 bool isSRGBFormat(const InternalFormat& internalFormat) const;
735 bool isSNORMFormat(const InternalFormat& internalFormat) const;
736 bool isCopyValid(const InternalFormat& copyInternalFormat, const InternalFormat& internalFormat) const;
737 bool isFBOImageAttachValid(const InternalFormat& internalformat, GLenum format, GLenum type) const;
739 const PixelFormat& getPixelFormat(GLenum format) const;
740 const PixelType& getPixelType(GLenum type) const;
741 const EnumFormats* getCanonicalFormat(const InternalFormat& internalformat, GLenum format, GLenum type) const;
742 InternalFormatSamplerType getSampler(const PixelType& type, const PixelFormat& format) const;
744 GLenum readOutputData(const PixelFormat& outputFormat, const PixelType& outputType, int operation);
750 bool compare(GLvoid* gradient, GLvoid* data, const PixelFormat& outputFormat, const PixelType& outputType,
751 bool isCopy) const;
753 void getFloatBuffer(GLvoid* gradient, int samplerIsIntUintFloat, const PixelFormat& format, const PixelType& type,
754 int elementCount, std::vector<FloatPixel>& result) const;
756 void getBits(const PixelType& type, const PixelFormat& format, std::vector<int>& resultTable) const;
759 void makeBuffer(const GLvoid* gradient, const PixelFormat& format, int samplerIsIntUintFloat, int elementCount,
760 int componentCount, float (*pack)(Type), std::vector<FloatPixel>& result) const;
763 void makeBufferPackedInt(const GLvoid* gradient, const PixelFormat& format, int elementCount,
764 void (*pack)(rawIntPixel*, Type), std::vector<FloatPixel>& result) const;
767 void makeBufferPackedUint(const GLvoid* gradient, const PixelFormat& format, int elementCount,
768 void (*pack)(rawUintPixel*, Type), std::vector<FloatPixel>& result) const;
771 void makeBufferPackedFloat(const GLvoid* gradient, const PixelFormat& format, int elementCount,
772 void (*pack)(rawFloatPixel*, Type), std::vector<FloatPixel>& result) const;
774 FloatPixel orderComponentsInt(rawIntPixel values, const PixelFormat& format) const;
775 FloatPixel orderComponentsUint(rawUintPixel values, const PixelFormat& format) const;
776 FloatPixel orderComponentsFloat(rawFloatPixel values, const PixelFormat& format) const;
778 unsigned int getRealBitPrecision(int bits, bool isFloat) const;
780 bool stripBuffer(const PackedPixelsBufferProperties& props, const GLubyte* orginalBuffer,
781 std::vector<GLubyte>& newBuffer, bool validate) const;
783 int clampSignedValue(int bits, int value) const;
784 unsigned int clampUnsignedValue(int bits, unsigned int value) const;
836 bool getTexImageInner(const PixelFormat& outputFormat, const PixelType& outputType);
840 bool readPixelsInner(const PixelFormat& outputFormat, const PixelType& outputType, bool isCopy);
843 const InternalFormat m_internalFormat;
851 const GLubyte m_defaultFillValue;
916 const Functions& gl = renderContext.getFunctions();
982 const PixelFormat& RectangleTest::getPixelFormat(GLenum format) const
984 const PixelFormat* formats;
1008 const PixelType& RectangleTest::getPixelType(GLenum type) const
1010 const PixelType* types;
1033 const EnumFormats* RectangleTest::getCanonicalFormat(const InternalFormat& internalformat, GLenum format,
1034 GLenum type) const
1050 const glu::ContextInfo& contextInfo = m_context.getContextInfo();
1092 InternalFormatSamplerType RectangleTest::getSampler(const PixelType& type, const PixelFormat& format) const
1247 const Type defaultValue = unpack(0.5f);
1410 const int N = 9;
1411 const int B = 15;
1412 const int E_max = 31;
1466 bool RectangleTest::isFormatValid(const PixelFormat& format, const PixelType& type,
1467 const struct InternalFormat& internalformat, bool checkInput, bool checkOutput,
1468 int operation) const
1472 const glu::ContextInfo& contextInfo = m_context.getContextInfo();
1473 const Functions& gl = renderContext.getFunctions();
1554 const PixelFormat& inputFormat = getPixelFormat(internalformat.format);
1753 bool RectangleTest::isUnsizedFormat(GLenum format) const
1760 bool RectangleTest::isSRGBFormat(const InternalFormat& internalFormat) const
1765 bool RectangleTest::isSNORMFormat(const InternalFormat& internalFormat) const
1773 bool RectangleTest::isCopyValid(const InternalFormat& copyInternalFormat, const InternalFormat& internalFormat) const
1809 const glu::ContextInfo& contextInfo = m_context.getContextInfo();
1891 bool RectangleTest::isFBOImageAttachValid(const InternalFormat& internalformat, GLenum format, GLenum type) const
1893 const glu::ContextInfo& contextInfo = m_context.getContextInfo();
1897 const EnumFormats* validFormat = getCanonicalFormat(internalformat, format, type);
2005 const Functions& gl = renderContext.getFunctions();
2052 const PixelType* types;
2054 const PixelFormat* formats;
2075 const PixelFormat& outputFormat = formats[m];
2080 const PixelType& outputType = types[n];
2107 bool RectangleTest::readPixelsInner(const PixelFormat& outputFormat, const PixelType& outputType, bool isCopy)
2109 const char* copyStage = "Copy stage: ";
2171 GLenum RectangleTest::readOutputData(const PixelFormat& outputFormat, const PixelType& outputType, int operation)
2177 const Functions& gl = renderContext.getFunctions();
2210 const GLubyte defaultFillValue = 0xaa;
2271 const InternalFormat* copyInternalFormats;
2299 const Functions& gl = renderContext.getFunctions();
2302 const EnumFormats* copyFormatEnum =
2353 const PixelFormat& outputFormat = getPixelFormat(copyFormatEnum->format);
2354 const PixelType& outputType = getPixelType(copyFormatEnum->type);
2371 const PixelFormat& copyFormat = getPixelFormat(copyFormatEnum->format);
2420 bool RectangleTest::compare(GLvoid* gradient, GLvoid* data, const PixelFormat& outputFormat,
2421 const PixelType& outputType, bool isCopy) const
2439 if (!stripBuffer(m_unpackProperties, static_cast<const GLubyte*>(gradient), gradientStrip, false))
2442 if (!stripBuffer(m_packProperties, static_cast<const GLubyte*>(data), dataStrip, true))
2460 const int* internalformatBitTable = reinterpret_cast<const int*>(&m_internalFormat.bits);
2461 const int* copyFormatBitTable = m_copyInternalFormat.bits.array;
2621 void RectangleTest::getFloatBuffer(GLvoid* gradient, int samplerIsIntUintFloat, const PixelFormat& format,
2622 const PixelType& type, int elementCount, std::vector<FloatPixel>& result) const
2765 void RectangleTest::makeBuffer(const GLvoid* gradient, const PixelFormat& format, int samplerIsIntUintFloat,
2767 std::vector<FloatPixel>& result) const
2769 const Type* sourceData = static_cast<const Type*>(gradient);
2794 void RectangleTest::getBits(const PixelType& type, const PixelFormat& format, std::vector<int>& resultTable) const
2863 void RectangleTest::makeBufferPackedInt(const GLvoid* gradient, const PixelFormat& format, int elementCount,
2864 void (*pack)(rawIntPixel*, Type), std::vector<FloatPixel>& result) const
2866 const Type* sourceData = static_cast<const Type*>(gradient);
2877 void RectangleTest::makeBufferPackedUint(const GLvoid* gradient, const PixelFormat& format, int elementCount,
2878 void (*pack)(rawUintPixel*, Type), std::vector<FloatPixel>& result) const
2880 const Type* sourceData = static_cast<const Type*>(gradient);
2891 void RectangleTest::makeBufferPackedFloat(const GLvoid* gradient, const PixelFormat& format, int elementCount,
2892 void (*pack)(rawFloatPixel*, Type), std::vector<FloatPixel>& result) const
2894 const Type* sourceData = static_cast<const Type*>(gradient);
2904 FloatPixel RectangleTest::orderComponentsInt(rawIntPixel values, const PixelFormat& format) const
2926 FloatPixel RectangleTest::orderComponentsUint(rawUintPixel values, const PixelFormat& format) const
2948 FloatPixel RectangleTest::orderComponentsFloat(rawFloatPixel values, const PixelFormat& format) const
2970 unsigned int RectangleTest::getRealBitPrecision(int bits, bool isFloat) const
2988 bool RectangleTest::stripBuffer(const PackedPixelsBufferProperties& props, const GLubyte* orginalBuffer,
2989 std::vector<GLubyte>& newBuffer, bool validate) const
3058 int RectangleTest::clampSignedValue(int bits, int value) const
3077 unsigned int RectangleTest::clampUnsignedValue(int bits, unsigned int value) const
3426 const int B = 15;
3427 const int N = 9;
3450 const PixelFormat& outputFormat = coreFormats[m];
3455 const PixelType& outputType = coreTypes[n];
3471 bool RectangleTest::getTexImageInner(const PixelFormat& outputFormat, const PixelType& outputType)
3517 const Functions& gl = renderContext.getFunctions();
3522 const PixelType* types;
3524 const PixelFormat* formats;
3640 const Functions& gl = renderContext.getFunctions();
3741 const int IMAGE_WIDTH_1 = 10;
3742 const int IMAGE_WIDTH_2 = 15;
3743 const int IMAGE_HEIGHT_1 = 10;
3744 const int IMAGE_HEIGHT_2 = 15;
3870 const InternalFormat* internalFormats;
3891 const InternalFormat& internalFormat = internalFormats[internalFormatIndex];