/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.hpp | 50 const tcu::Mat3& coordTransform, 67 const tcu::Mat3 m_coordTransform;
|
/external/deqp/modules/gles3/ |
H A D | tes3Context.cpp | 37 Context::Context (tcu::TestContext& testCtx) 70 const tcu::RenderTarget& Context::getRenderTarget (void) const
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 43 using tcu::TestLog; 44 using tcu::Vec3; 45 using tcu::Vec4; 58 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) 71 tcu::Vec3 triW[2] = { wCoord.swizzle(0, 1, 2), wCoord.swizzle(3, 2, 1) }; 100 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 107 tcu::Vec3 m_min; 108 tcu 140 isValidFloatVec(glu::Precision precision, const tcu::Vector<float, Size>& vec) argument [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fMultisampleShaderRenderCase.cpp | 58 : tcu::Exception(message) 106 throw tcu::NotSupportedError("Test requires render target with size " + de::toString(m_renderSize) + "x" + de::toString(m_renderSize) + " or greater"); 116 throw tcu::NotSupportedError("Sample count not supported"); 126 throw tcu::NotSupportedError("Sample count not supported"); 148 static const tcu::Vec4 fullscreenQuad[] = 150 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f), 151 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), 152 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), 153 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f), 190 throw tcu [all...] |
H A D | es31fFramebufferDefaultStateQueryTests.cpp | 61 virtual void checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl) = 0; 62 virtual void checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl) = 0; 77 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); 85 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial"); 90 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Set", "Set"); 110 void checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl); 111 void checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl); 124 void FramebufferDimensionTest::checkInitial (tcu::ResultCollector& result, glu::CallLogWrapper& gl) 130 void FramebufferDimensionTest::checkSet (tcu::ResultCollector& result, glu::CallLogWrapper& gl) 144 void checkInitial (tcu [all...] |
H A D | es31fSSBOArrayLengthTests.cpp | 100 throw tcu::TestError("Failed to build shader"); 124 throw tcu::TestError("Failed to find outLength variable"); 129 throw tcu::TestError("Unexpected outLength location"); 137 throw tcu::TestError("Failed to find unused variable"); 142 throw tcu::TestError("Unexpected unused location"); 150 throw tcu::TestError("Failed to find array variable"); 155 throw tcu::TestError("Unexpected array stride"); 187 m_testCtx.getLog() << tcu::TestLog::Message << "Allocating float memory buffer with " << static_cast<int>(s_fixedBufferSize) << " elements." << tcu::TestLog::EndMessage; 196 m_testCtx.getLog() << tcu [all...] |
H A D | es31fProgramStateQueryTests.cpp | 94 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); 105 const tcu::ScopedLogSection section(m_testCtx.getLog(), "VtxShader", "Vertex shader"); 110 const tcu::ScopedLogSection section(m_testCtx.getLog(), "FrgShader", "Fragment shader"); 115 throw tcu::TestError("failed to build shaders"); 120 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Initial", "Initial"); 127 const tcu::ScopedLogSection section (m_testCtx.getLog(), "SetFalse", "SetFalse"); 141 throw tcu::TestError("failed to link program"); 147 const tcu::ScopedLogSection section (m_testCtx.getLog(), "SetTrue", "SetTrue"); 161 throw tcu::TestError("failed to link program"); 223 tcu [all...] |
/external/deqp/framework/platform/android/ |
H A D | tcuAndroidPlatformCapabilityQueryJNI.cpp | 46 class GLConfigParser : public tcu::CommandLine 66 tcu::print("failed to parse command line"); 109 tcu::print("minor and major version must be supplied"); 133 tcu::print("could not get default display"); 139 tcu::print("failed to initialize egl"); 142 tcu::print("EGL initialized, major=%d, minor=%d", eglMajor, eglMinor); 149 catch (const tcu::NotSupportedError&) 151 tcu::print("No matching config"); 185 tcu::print("no command line supplied"); 197 tcu [all...] |
/external/deqp/modules/gles2/ |
H A D | tes2CapabilityTests.cpp | 35 using tcu::TestLog; 44 class GetIntCase : public tcu::TestCase 48 : tcu::TestCase (context.getTestContext(), tcu::NODETYPE_CAPABILITY, name, description) 102 class ExtensionCase : public tcu::TestCase 105 ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName); 114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName) 115 : tcu::TestCase (testCtx, tcu::NODETYPE_CAPABILITY, name, desc) 141 tcu [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboColorbufferTests.cpp | 46 using tcu::Vec2; 47 using tcu::Vec3; 48 using tcu::Vec4; 49 using tcu::IVec2; 50 using tcu::IVec3; 51 using tcu::IVec4; 52 using tcu::UVec4; 53 using tcu::TestLog; 56 const tcu::RGBA MIN_THRESHOLD(12, 12, 12, 12); 59 static tcu argument [all...] |
H A D | es3fTextureSwizzleTests.cpp | 44 using tcu::TestLog; 48 static int swizzle (const tcu::RGBA& c, deUint32 swz) 64 static void swizzle (tcu::Surface& surface, deUint32 swzR, deUint32 swzG, deUint32 swzB, deUint32 swzA) 70 tcu::RGBA p = surface.getPixel(x, y); 71 surface.setPixel(x, y, tcu::RGBA(swizzle(p, swzR), swizzle(p, swzG), swizzle(p, swzB), swizzle(p, swzA))); 129 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 133 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); 149 tcu::Surface renderedFrame (viewport.width, viewport.height); 150 tcu [all...] |
H A D | es3fRandomFragmentOpTests.cpp | 55 using tcu::TestLog; 56 using tcu::Vec2; 57 using tcu::Vec4; 58 using tcu::IVec2; 59 using tcu::BVec4; 69 static const tcu::Vec4 CLEAR_COLOR (0.25f, 0.5f, 0.75f, 1.0f); 95 void translateState (const RenderState& src, rr::FragmentOperationState& dst, const tcu::RenderTarget& renderTarget) 125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); 222 tcu::UVec4 getCompareThreshold (void) const; 229 tcu [all...] |
H A D | es3fShaderFragDataTests.cpp | 50 using tcu::TestLog; 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 75 const tcu::RGBA resultColor = surface.getPixel(x, y); 185 throw tcu::NotSupportedError("Dynamic indexing of gl_FragData[] not supported"); 200 tcu::Surface result (viewportW, viewportH); 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fRandomFragmentOpTests.cpp | 55 using tcu::TestLog; 56 using tcu::Vec2; 57 using tcu::Vec4; 58 using tcu::IVec2; 59 using tcu::BVec4; 69 static const tcu::Vec4 CLEAR_COLOR (0.25f, 0.5f, 0.75f, 1.0f); 95 void translateState (const RenderState& src, rr::FragmentOperationState& dst, const tcu::RenderTarget& renderTarget) 125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); 222 tcu::UVec4 getCompareThreshold (void) const; 229 tcu [all...] |
/external/deqp/modules/gles3/stress/ |
H A D | es3sSpecialFloatTests.cpp | 116 bool checkResultImage (const tcu::Surface& result); 147 throw tcu::NotSupportedError(std::string("Render target size must be at least ") + de::toString(TEST_CANVAS_SIZE) + "x" + de::toString(TEST_CANVAS_SIZE)); 155 throw tcu::NotSupportedError(std::string("GL_MAX_TEXTURE_SIZE must be at least ") + de::toString(TEST_CANVAS_SIZE)); 162 m_testCtx.getLog() << tcu::TestLog::Message << "Creating test shader." << tcu::TestLog::EndMessage; 168 throw tcu::TestError("shader compile failed"); 180 bool RenderCase::checkResultImage (const tcu::Surface& result) 182 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); 185 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying output image." << tcu [all...] |
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 107 tcu::TestLog& m_log; 112 virtual void renderResource (tcu::Surface* screen, tcu::Surface* reference) { DE_UNREF(screen); DE_UNREF(reference); DE_ASSERT(false); } 156 tcu::TestLog& log = m_testCtx.getLog(); 181 m_log << tcu::TestLog::Message << "Create context A (share_context = EGL_NO_CONTEXT)" << tcu::TestLog::EndMessage; 184 m_log << tcu::TestLog::Message << "Create context B (share_context = context A)" << tcu::TestLog::EndMessage; 189 m_log << tcu::TestLog::Message << "Make current context A" << tcu [all...] |
/external/deqp/modules/internal/ |
H A D | ditFrameworkTests.cpp | 46 using tcu::TestLog; 67 class CaseListParserCase : public tcu::TestCase 70 CaseListParserCase (tcu::TestContext& testCtx, const char* name, const char* caseList, const MatchCase* subCases, int numSubCases) 71 : tcu::TestCase (testCtx, name, "") 81 tcu::CommandLine cmdLine; 133 class NegativeCaseListCase : public tcu::TestCase 136 NegativeCaseListCase (tcu::TestContext& testCtx, const char* name, const char* caseList) 137 : tcu::TestCase (testCtx, name, "") 145 tcu::CommandLine cmdLine; 170 class TrieParserTests : public tcu 564 ulpDiff(const tcu::Vector<float, Size>& a, const tcu::Vector<float, Size>& b) argument [all...] |
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.hpp | 101 const tcu::Sampler& getSampler (void) const { return m_sampler; } 102 tcu::Sampler& getSampler (void) { return m_sampler; } 109 tcu::Sampler m_sampler; 122 const tcu::PixelBufferAccess& getLevel (int level) { DE_ASSERT(hasLevel(level)); return m_access[level]; } 123 const tcu::ConstPixelBufferAccess& getLevel (int level) const { DE_ASSERT(hasLevel(level)); return m_access[level]; } 125 const tcu::ConstPixelBufferAccess* getLevels (void) const { return &m_access[0]; } 126 const tcu::ConstPixelBufferAccess* getEffectiveLevels (void) const { return &m_effectiveAccess[0]; } 128 void allocLevel (int level, const tcu::TextureFormat& format, int width, int height, int depth); 133 void updateSamplerMode (tcu::Sampler::DepthStencilMode); 137 tcu [all...] |
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.hpp | 28 namespace tcu namespace 52 } // tcu
|
H A D | tcuRenderTarget.cpp | 26 namespace tcu namespace 49 } // namespace tcu
|
H A D | tcuSurface.cpp | 26 using namespace tcu;
|
/external/deqp/framework/egl/ |
H A D | egluGLFunctionLoader.cpp | 21 * \brief glw::FunctionLoader using eglGetProcAddress() and tcu::Library. 32 GLFunctionLoader::GLFunctionLoader (const eglw::Library& egl, const tcu::FunctionLibrary* library) 48 GLLibraryCache::GLLibraryCache (const Platform& platform, const tcu::CommandLine& cmdLine) 60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType) 62 tcu::FunctionLibrary* library = DE_NULL;
|
H A D | egluNativePixmap.hpp | 31 namespace tcu namespace 53 //! Return EGLNativePixmapType that can be used with eglCreatePixmapSurface(). Default implementation throws tcu::NotSupportedError(). 56 //! Return native pointer that can be used with eglCreatePlatformPixmapSurfaceEXT(). Default implementation throws tcu::NotSupportedError(). 59 // Read pixels from pixmap. Default implementation throws tcu::NotSupportedError() 60 virtual void readPixels (tcu::TextureLevel* dst); 75 class NativePixmapFactory : public tcu::FactoryBase 98 typedef tcu::FactoryRegistry<NativePixmapFactory> NativePixmapFactoryRegistry;
|
/external/deqp/framework/opengl/ |
H A D | gluDefs.cpp | 36 : tcu::TestError (message, expr, file, line) 42 : tcu::TestError (message) 52 : tcu::ResourceError(message, expr, file, line) 57 : tcu::ResourceError(message)
|
H A D | gluFboRenderContext.cpp | 38 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) 40 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); 41 return tcu::PixelFormat(bits[0], bits[1], bits[2], bits[3]); 46 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(depthStencilFormat)); 68 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); 107 const tcu::IVec4 bits = tcu [all...] |