/external/deqp/modules/gles2/functional/ |
D | es2fFloatStateQueryTests.cpp | 54 GLint64 expandGLFloatToInteger (GLfloat f) in expandGLFloatToInteger() 56 const GLuint64 referenceValue = (GLint64)((f * double(0xFFFFFFFFULL) - 1) / 2); in expandGLFloatToInteger() 60 GLint clampToGLint (GLint64 val) in clampToGLint() 62 …return (GLint)de::clamp<GLint64>(val, std::numeric_limits<GLint>::min(), std::numeric_limits<GLint… in clampToGLint() 456 …const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(ref… in verifyFloat() 457 …const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(r… in verifyFloat() 459 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloat() 480 const GLint64 expectedGLStateMax = expandGLFloatToInteger(reference) + FLOAT_EXPANSION_E_64; in verifyFloatExpanded() 481 const GLint64 expectedGLStateMin = expandGLFloatToInteger(reference) - FLOAT_EXPANSION_E_64; in verifyFloatExpanded() 483 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloatExpanded() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFloatStateQueryTests.cpp | 54 GLint64 expandGLFloatToInteger (GLfloat f) in expandGLFloatToInteger() 56 const GLuint64 referenceValue = (GLint64)(f * 2147483647.0); in expandGLFloatToInteger() 60 GLint clampToGLint (GLint64 val) in clampToGLint() 62 …return (GLint)de::clamp<GLint64>(val, std::numeric_limits<GLint>::min(), std::numeric_limits<GLint… in clampToGLint() 510 …const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(ref… in verifyFloat() 511 …const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(r… in verifyFloat() 513 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloat() 534 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloatExpanded() 540 const GLint64 expectedGLStateMax = expandGLFloatToInteger(reference) + FLOAT_EXPANSION_E_64; in verifyFloatExpanded() 541 const GLint64 expectedGLStateMin = expandGLFloatToInteger(reference) - FLOAT_EXPANSION_E_64; in verifyFloatExpanded() [all …]
|
D | es3fImplementationLimitTests.cpp | 108 GLint64 query<GLint64> (const glw::Functions& gl, deUint32 param) in query() 110 GLint64 val = -1; in query() 118 GLint64 val = 0; in query() 216 template <> struct QueryTypeTraits<GLint64> { enum { CLASS = CLASS_VALUE }; }; 438 LIMIT_CASE(max_element_index, GL_MAX_ELEMENT_INDEX, GLint64, (1<<24)-1); in init() 492 …LIMIT_CASE(max_uniform_block_size, GL_MAX_UNIFORM_BLOCK_SIZE, GLint64, minUniformBlo… in init() 495 …ertex_uniform_components, GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS, GLint64, minCombinedVer… in init() 496 …gment_uniform_components, GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS, GLint64, minCombinedFra… in init()
|
D | es3fBufferObjectQueryTests.cpp | 81 …virtual void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 re… 108 …void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 refere… 135 …erifier::verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) in verifyInteger64() 146 …if (!de::inRange(reference, (GLint64)std::numeric_limits<GLint>::min(), (GLint64)std::numeric_limi… in verifyInteger64() 164 …void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference… 176 StateQueryMemoryWriteGuard<GLint64> state; in verifyInteger() 191 …erifier::verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) in verifyInteger64() 195 StateQueryMemoryWriteGuard<GLint64> state; in verifyInteger64()
|
D | es3fIndexedStateQueryTests.cpp | 54 void checkIntEquals (tcu::TestContext& testCtx, GLint64 got, GLint64 expected) in checkIntEquals() 218 GLint64 value; in testTransformFeedback() 229 StateQueryMemoryWriteGuard<GLint64> state; in testTransformFeedback() 389 GLint64 value; in testUniformBuffers() 400 StateQueryMemoryWriteGuard<GLint64> state; in testUniformBuffers()
|
D | es3fIntegerStateQueryTests.cpp | 568 StateQueryMemoryWriteGuard<GLint64> state; in verifyInteger() 574 if (state != GLint64(reference)) in verifyInteger() 591 StateQueryMemoryWriteGuard<GLint64[4]> intVector4; in verifyInteger4Mask() 597 if ((enableRef0 && (intVector4[0] != GLint64(reference0))) || in verifyInteger4Mask() 598 (enableRef1 && (intVector4[1] != GLint64(reference1))) || in verifyInteger4Mask() 599 (enableRef2 && (intVector4[2] != GLint64(reference2))) || in verifyInteger4Mask() 600 (enableRef3 && (intVector4[3] != GLint64(reference3)))) in verifyInteger4Mask() 617 StateQueryMemoryWriteGuard<GLint64> state; in verifyIntegerGreaterOrEqual() 623 if (state < GLint64(reference)) in verifyIntegerGreaterOrEqual() 625 …testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << GLint64(refer… in verifyIntegerGreaterOrEqual() [all …]
|
D | es3fBooleanStateQueryTests.cpp | 274 StateQueryMemoryWriteGuard<GLint64> state; in verifyBoolean() 280 const GLint64 expectedGLState = reference ? 1 : 0; in verifyBoolean() 294 StateQueryMemoryWriteGuard<GLint64[4]> boolVector4; in verifyBoolean4() 300 const GLint64 referenceAsGLint64[] = in verifyBoolean4()
|
D | es3fNegativeStateApiTests.cpp | 118 GLint64 params = -1; in init() 142 GLint64 data = (GLint64)-1;; in init() 813 GLint64 params = -1; in init()
|
/external/mesa3d/src/mesa/main/ |
D | get.h | 51 _mesa_GetInteger64v( GLenum pname, GLint64 *params ); 63 _mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params );
|
D | bufferobj.h | 134 _mesa_GetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params);
|
D | get.c | 80 #define BOOLEAN_TO_INT64(B) ( (GLint64) (B) ) 84 #define ENUM_TO_INT64(E) ( (GLint64) (E) ) 162 GLint64 value_int64; 2118 params[0] = INT64_TO_BOOLEAN(((GLint64 *) p)[0]); in _mesa_GetBooleanv() 2207 params[0] = ((GLint64 *) p)[0]; in _mesa_GetFloatv() 2302 params[0] = INT64_TO_INT(((GLint64 *) p)[0]); in _mesa_GetIntegerv() 2337 _mesa_GetInteger64v(GLenum pname, GLint64 *params) in _mesa_GetInteger64v() 2398 params[0] = ((GLint64 *) p)[0]; in _mesa_GetInteger64v() 2488 params[0] = ((GLint64 *) p)[0]; in _mesa_GetDoublev() 2705 _mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params ) in _mesa_GetInteger64Indexedv() [all …]
|
D | imports.h | 292 static inline GLint64 IROUND64(float f) in IROUND64() 294 return (GLint64) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F)); in IROUND64()
|
D | macros.h | 109 #define FLOAT_TO_INT64(X) ( (GLint64) (9223372036854775807.0 * (double)(X)) )
|
/external/deqp/modules/glshared/ |
D | glsStateQueryUtil.cpp | 65 QueriedState::QueriedState (glw::GLint64 v) in QueriedState() 164 glw::GLint64& QueriedState::getInt64Access (void) in getInt64Access() 323 StateQueryMemoryWriteGuard<glw::GLint64> value; in queryState() 404 StateQueryMemoryWriteGuard<glw::GLint64[4]> value; in queryIndexedState() 465 StateQueryMemoryWriteGuard<glw::GLint64> value; in queryIndexedState() 1010 const glw::GLint64 reference = expected ? 1 : 0; in verifyBoolean() 1069 const glw::GLint64 reference = (glw::GLint64)expected; in verifyInteger() 1278 const glw::GLint64 refValueMin = roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(expected); in verifyFloat() 1279 const glw::GLint64 refValueMax = roundGLfloatToNearestIntegerHalfUp<glw::GLint64>(expected); in verifyFloat() 1359 const glw::GLint64 refValue = roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(minValue); in verifyFloatMin() [all …]
|
D | glsStateQueryUtil.hpp | 331 typedef glw::GLint64 GLInt64Vec4[4]; 335 explicit QueriedState (glw::GLint64); 351 glw::GLint64& getInt64Access (void); 368 glw::GLint64 vInt64;
|
/external/deqp/framework/opengl/wrapper/ |
D | glwDefs.cpp | 40 DE_STATIC_ASSERT(sizeof(GLint64) == 8);
|
D | glwTypes.inl | 49 typedef deInt64 GLint64; typedef
|
D | glwApi.inl | 865 void glwGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); 883 void glwGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); 884 void glwGetInteger64v (GLenum pname, GLint64 *data); 887 …ati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 890 void glwGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params); 917 void glwGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); 952 void glwGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 963 void glwGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
|
D | glwFunctionTypes.inl | 205 … (GLW_APIENTRY* glGetBufferParameteri64vFunc) (GLenum target, GLenum pname, GLint64 *params); 223 …L void (GLW_APIENTRY* glGetInteger64i_vFunc) (GLenum target, GLuint index, GLint64 *data); 224 typedef GLW_APICALL void (GLW_APIENTRY* glGetInteger64vFunc) (GLenum pname, GLint64 *data… 227 …Func) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 230 …LW_APIENTRY* glGetNamedBufferParameteri64vFunc) (GLuint buffer, GLenum pname, GLint64 *params); 257 …L void (GLW_APIENTRY* glGetQueryObjecti64vFunc) (GLuint id, GLenum pname, GLint64 *params); 292 …RY* glGetTransformFeedbacki64_vFunc) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 303 …* glGetVertexArrayIndexed64ivFunc) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
|
D | glwImpl.inl | 1599 void glwGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params) 1743 void glwGetInteger64i_v (GLenum target, GLuint index, GLint64 *data) 1751 void glwGetInteger64v (GLenum pname, GLint64 *data) 1775 …alformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params) 1799 void glwGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params) 2015 void glwGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params) 2295 void glwGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param) 2383 void glwGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param)
|
/external/deqp/doc/ |
D | GLES3 Negative API Functions.txt | 102 o glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64* params); 106 o glGetInteger64i_v (GLenum target, GLuint index, GLint64* data); 108 o glGetInteger64v (GLenum pname, GLint64* params);
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeStateApiTests.cpp | 178 GLint64 params = -1; in get_integer64v() 205 GLint64 data = (GLint64)-1; in get_integer64i_v() 1113 GLint64 params = -1; in get_buffer_parameteri64v()
|
D | es31fPrimitiveBoundingBoxTests.cpp | 356 StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLint64[8]> state; in verifyState() 371 …if (state[ndx] != StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(bbox.getCompo… in verifyState() 372 …state[ndx] != StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<glw::GLint64>(bbox.getComponentAc… in verifyState() 384 …const glw::GLint64 roundDown = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(… in verifyState() 385 …const glw::GLint64 roundUp = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<glw::GLint64>(bbo… in verifyState()
|
/external/deqp/framework/opengl/ |
D | gluCallLogWrapperApi.inl | 205 void glGetBufferParameteri64v (glw::GLenum target, glw::GLenum pname, glw::GLint64 *params… 223 void glGetInteger64i_v (glw::GLenum target, glw::GLuint index, glw::GLint64 *data); 224 void glGetInteger64v (glw::GLenum pname, glw::GLint64 *data); 227 …target, glw::GLenum internalformat, glw::GLenum pname, glw::GLsizei bufSize, glw::GLint64 *params); 230 void glGetNamedBufferParameteri64v (glw::GLuint buffer, glw::GLenum pname, glw::GLint64 *pa… 257 void glGetQueryObjecti64v (glw::GLuint id, glw::GLenum pname, glw::GLint64 *params); 292 …ormFeedbacki64_v (glw::GLuint xfb, glw::GLenum pname, glw::GLuint index, glw::GLint64 *param); 303 …rayIndexed64iv (glw::GLuint vaobj, glw::GLuint index, glw::GLenum pname, glw::GLint64 *param);
|
/external/deqp/framework/platform/null/ |
D | tcuNullRenderContextFuncs.inl | 1602 GLW_APICALL void GLW_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *param… 1743 GLW_APICALL void GLW_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data) 1751 GLW_APICALL void GLW_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data) 1766 …alformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params) 1784 GLW_APICALL void GLW_APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *… 2018 GLW_APICALL void GLW_APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params) 2303 …d GLW_APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param) 2394 …GLW_APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param)
|