Lines Matching defs:const
45 static const char* glErrorToString (deUint32 error)
74 static const float s_quadCoords[] =
82 static const GLubyte s_quadIndices[] =
103 static const char* s_vertexShaderGLES2;
104 static const char* s_fragmentShaderGLES2;
106 static const char* s_vertexShaderGLES3;
107 static const char* s_fragmentShaderGLES3;
109 static const char* s_vertexShaderGL3;
110 static const char* s_fragmentShaderGL3;
113 const char* TextureRenderer::s_vertexShaderGLES2 =
122 const char* TextureRenderer::s_fragmentShaderGLES2 =
130 const char* TextureRenderer::s_vertexShaderGLES3 =
140 const char* TextureRenderer::s_fragmentShaderGLES3 =
150 const char* TextureRenderer::s_vertexShaderGL3 =
160 const char* TextureRenderer::s_fragmentShaderGL3 =
177 const glu::ContextType ctxType = renderContext.getType();
265 static const char* s_vertexShaderGLES2;
266 static const char* s_fragmentShaderGLES2;
268 static const char* s_vertexShaderGLES3;
269 static const char* s_fragmentShaderGLES3;
271 static const char* s_vertexShaderGL3;
272 static const char* s_fragmentShaderGL3;
275 const char* BufferRenderer::s_vertexShaderGLES2 =
285 const char* BufferRenderer::s_fragmentShaderGLES2 =
292 const char* BufferRenderer::s_vertexShaderGLES3 =
303 const char* BufferRenderer::s_fragmentShaderGLES3 =
312 const char* BufferRenderer::s_vertexShaderGL3 =
323 const char* BufferRenderer::s_fragmentShaderGL3 =
339 const glu::ContextType ctxType = renderContext.getType();
431 MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemObjectType objectTypes, const MemObjectConfig& config, int seed);
435 Result getResult (void) const { return m_result; }
436 deUint32 getGLError (void) const { return m_glError; }
437 int getObjectCount (void) const { return m_objectCount; }
438 deUint32 getBytes (void) const { return m_bytesRequired; }
440 static const char* resultToString (Result result);
461 MemObjectAllocator::MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemObjectType objectTypes, const MemObjectConfig& config, int seed)
493 const deUint64 timeoutUs = 10000000; // 10s
535 catch (const std::bad_alloc&)
575 const int vectorBlockSize = 128;
637 catch (const glu::Error& err)
643 catch (const glu::OutOfMemoryError&)
666 const int vectorBlockSize = 128;
727 catch (const glu::Error& err)
733 catch (const glu::OutOfMemoryError&)
754 const char* MemObjectAllocator::resultToString (Result result)
800 MemoryStressCase::MemoryStressCase (tcu::TestContext& ctx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useUnusedData, bool clearAfterOOM, const char* name, const char* desc)
904 const float change = (float)(min - max) / (float)(max);