HomeSort by relevance Sort by last modified time
    Searched refs:tcu (Results 201 - 225 of 666) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/deqp/modules/gles2/functional/
es2fBooleanStateQueryTests.cpp 48 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
53 virtual void verifyBoolean (tcu::TestContext& testCtx, GLenum name, bool reference) = DE_NULL;
54 virtual void verifyBoolean4 (tcu::TestContext& testCtx, GLenum name, bool reference0, bool reference1, bool reference2, bool reference3) = DE_NULL;
55 virtual void verifyBooleanAnything (tcu::TestContext& testCtx, GLenum name) = DE_NULL;
60 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix)
81 IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log);
82 void verifyBoolean (tcu::TestContext& testCtx, GLenum name, bool reference);
83 void verifyBoolean4 (tcu::TestContext& testCtx, GLenum name, bool reference0, bool reference1, bool reference2, bool reference3);
84 void verifyBooleanAnything (tcu::TestContext& testCtx, GLenum name);
87 IsEnabledVerifier::IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log
    [all...]
es2fDepthRangeTests.cpp 51 using tcu::Vec2;
52 using tcu::Vec3;
53 using tcu::Vec4;
54 using tcu::TestLog;
96 inline float triQuadInterpolate (const float x, const float y, const tcu::Vec4& quad)
115 DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc);
121 const tcu::Vec4 m_depthCoord;
127 DepthRangeCompareCase::DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc)
144 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget();
149 tcu::Surface renderedFrame (viewportW, viewportH)
    [all...]
es2fPolygonOffsetTests.cpp 73 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
74 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
75 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f);
77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold)
79 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - b), threshold))
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureMultisampleTests.cpp 138 void drawSample (tcu::Surface& dst, int sampleNdx);
139 void convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const;
143 tcu::Vec4 p1;
144 tcu::Vec4 p2;
145 tcu::Vec4 p3;
158 std::vector<tcu::Vec2> m_samplePositions;
197 throw tcu::NotSupportedError("render target size must be at least " + de::toString(m_canvasSize) + "x" + de::toString(m_canvasSize));
201 throw tcu::NotSupportedError("Requested sample count is greater than GL_MAX_COLOR_TEXTURE_SAMPLES");
203 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << tcu::TestLog::EndMessage
    [all...]
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::TestError("fbo not complete")
    [all...]
es31fTextureLevelStateQueryTests.cpp 104 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage;
115 gl.getLog() << tcu::TestLog::Message << "Error: Get* did not write a value." << tcu::TestLog::EndMessage;
120 gl.getLog() << tcu::TestLog::Message << "Error: detected illegal memory write." << tcu::TestLog::EndMessage;
127 gl.getLog() << tcu::TestLog::Message << "Error: Expected " << Printer::getIntegerName(refValue) << ", got " << Printer::getIntegerName(result) << tcu::TestLog::EndMessage;
139 gl.getLog() << tcu::TestLog::Message << "Error: Get* did not write a value." << tcu::TestLog::EndMessage
    [all...]
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::TestLog::Message << "Running compute shader." << tcu::TestLog::EndMessage
    [all...]
es31fProgramInterfaceQueryTests.cpp 770 static void checkAndLogProgram (const glu::ShaderProgram& program, const ProgramInterfaceDefinition::Program* programDefinition, const glw::Functions& gl, tcu::TestLog& log)
772 const tcu::ScopedLogSection section(log, "Program", "Program");
777 log << tcu::TestLog::Message << "Program build failed, checking if program exceeded implementation limits" << tcu::TestLog::EndMessage;
781 throw tcu::TestError("could not build program");
837 const tcu::ScopedLogSection section (m_testCtx.getLog(), "ResourceList", "Resource list");
870 m_testCtx.getLog() << tcu::TestLog::Message << "Querying " << glu::getProgramInterfaceName(programInterface) << " interface:" << tcu::TestLog::EndMessage;
876 m_testCtx.getLog() << tcu::TestLog::Message
879 << tcu::TestLog::EndMessage
    [all...]
  /external/deqp/modules/gles3/functional/
es3fPolygonOffsetTests.cpp 76 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
77 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
78 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f);
80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold)
82 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - b), threshold))
    [all...]
es3fShaderPackingFunctionTests.cpp 41 using tcu::TestLog;
49 const deUint32 aBits = tcu::Float32(a).bits();
50 const deUint32 bBits = tcu::Float32(b).bits();
62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits());
109 throw tcu::TestError("Compile failed");
160 std::vector<tcu::Vec2> inputs;
167 inputs.push_back(tcu::Vec2(0.0f, 0.0f));
168 inputs.push_back(tcu::Vec2(-1.0f, 1.0f));
169 inputs.push_back(tcu::Vec2(0.5f, -0.5f))
    [all...]
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::Surface referenceFrame (viewport.width, viewport.height)
    [all...]
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::RGBA(1,1,1,1)
    [all...]
  /external/deqp/modules/egl/
teglImageFormatTests.cpp 201 ImageApi (int contextId, tcu::TestLog& log, tcu::egl::Display& display, tcu::egl::Surface* surface);
204 virtual EGLImageKHR create (int operationNdx, tcu::Texture2D& ref) = 0;
205 virtual bool render (int operationNdx, EGLImageKHR img, const tcu::Texture2D& reference) = 0;
206 virtual void modify (int operationNdx, EGLImageKHR img, tcu::Texture2D& reference) = 0;
212 tcu::TestLog& m_log;
213 tcu::egl::Display& m_display;
214 tcu::egl::Surface* m_surface;
217 ImageApi::ImageApi (int contextId, tcu::TestLog& log, tcu::egl::Display& display, tcu::egl::Surface* surface
    [all...]
teglRenderTests.cpp 79 using tcu::Vec4;
81 using tcu::TestLog;
83 static const tcu::Vec4 CLEAR_COLOR = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f);
171 tcu::Vec4& position = drawOp.positions[triNdx*3 + coordNdx];
172 tcu::Vec4& color = drawOp.colors[triNdx*3 + coordNdx];
296 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits)
298 using tcu::TextureFormat;
323 tcu::TextureFormat getDepthFormat (const int depthBits
    [all...]
teglTestCase.cpp 73 tcu::print("Warning: Unknown API '%s'", api.c_str());
80 EglTestContext::EglTestContext (tcu::TestContext& testCtx, const eglu::NativeDisplayFactory& displayFactory, const eglu::NativeWindowFactory* windowFactory, const eglu::NativePixmapFactory* pixmapFactory)
100 m_defaultEGLDisplay = new tcu::egl::Display(eglDisplay, majorVersion, minorVersion);
116 tcu::print("Warning: Duplicate config ID %d\n", id);
176 m_defaultEGLDisplay = new tcu::egl::Display(eglDisplay, majorVersion, minorVersion);
193 throw tcu::NotSupportedError("No default native window factory available", "", __FILE__, __LINE__);
201 throw tcu::NotSupportedError("No default native pixmap factory available", "", __FILE__, __LINE__);
219 throw tcu::NotSupportedError("Windows not supported", "", __FILE__, __LINE__);
227 throw tcu::NotSupportedError("Pixmaps not supported", "", __FILE__, __LINE__);
238 const tcu::FunctionLibrary* EglTestContext::getGLLibrary (glu::ApiType apiType) cons
    [all...]
  /external/deqp/framework/opengl/
gluTexture.cpp 41 static inline int computePixelStore (const tcu::TextureFormat& format)
96 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx);
129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::CompressedTexture::DecompressionParams& decompressionParams)
139 throw tcu::NotSupportedError("Compressed texture format not supported", "", __FILE__, __LINE__);
179 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx);
187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::CompressedTexture::DecompressionParams& decompressionParams)
197 const tcu::CompressedTexture& level = levels[levelNdx];
201 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx)
    [all...]
  /external/deqp/modules/gles2/accuracy/
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::Vec3 m_max
    [all...]
  /external/deqp/modules/gles2/
tes2Context.cpp 40 Context::Context (tcu::TestContext& testCtx)
73 const tcu::RenderTarget& Context::getRenderTarget (void) const
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::TestCaseGroup* group
    [all...]
  /external/deqp/modules/gles3/performance/
es3pTextureCases.hpp 50 const tcu::Mat3& coordTransform,
67 const tcu::Mat3 m_coordTransform;
  /external/deqp/modules/gles3/
tes3Context.cpp 37 Context::Context (tcu::TestContext& testCtx)
70 const tcu::RenderTarget& Context::getRenderTarget (void) const
  /external/deqp/framework/platform/android/
tcuAndroidNativeActivity.cpp 31 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStart();
36 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onResume();
41 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onSaveInstanceState(outSize);
46 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onPause();
51 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStop();
56 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onDestroy();
61 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onWindowFocusChanged(hasFocus);
66 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowCreated(window);
71 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowResized(window);
76 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowRedrawNeeded(window)
111 namespace tcu namespace
    [all...]
  /external/deqp/modules/gles3/stress/
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::TestLog::EndMessage
    [all...]
  /external/deqp/modules/gles31/stress/
es31sVertexAttributeBindingTests.cpp 72 static bool verifyImageYellowGreen (const tcu::Surface& image, tcu::TestLog& log, bool logImageOnSuccess)
74 using tcu::TestLog;
76 const tcu::RGBA green (0, 255, 0, 255);
77 const tcu::RGBA yellow (255, 255, 0, 255);
80 tcu::Surface error (image.getWidth(), image.getHeight());
88 const tcu::RGBA pixel = image.getPixel(x, y);
99 error.setPixel(x, y, (pixelOk) ? (tcu::RGBA(0, 255, 0, 255)) : (tcu::RGBA(255, 0, 0, 255)));
140 virtual void renderTo (tcu::Surface& dst) = 0
    [all...]
  /external/deqp/framework/common/
tcuFuzzyImageCompare.hpp 28 namespace tcu namespace
52 } // tcu

Completed in 580 milliseconds

1 2 3 4 5 6 7 891011>>