Home
last modified time | relevance | path

Searched refs:GLint64 (Results 1 – 25 of 193) sorted by relevance

12345678

/external/angle/src/libANGLE/
Dqueryconversions.cpp22 GLint64 ExpandFloatToInteger(GLfloat value) in ExpandFloatToInteger()
24 return static_cast<GLint64>((static_cast<double>(0xFFFFFFFFULL) * value - 1.0) / 2.0); in ExpandFloatToInteger()
73 return static_cast<NativeT>(static_cast<GLint64>(std::round(value))); in CastQueryValueToInt()
94 template GLint64 CastFromGLintStateValue<GLint64, GLenum>(GLenum pname, GLenum value);
125 template GLint CastFromStateValue<GLint, GLint64>(GLenum pname, GLint64 value);
126 template GLint64 CastFromStateValue<GLint64, GLint>(GLenum pname, GLint value);
127 template GLint64 CastFromStateValue<GLint64, GLint64>(GLenum pname, GLint64 value);
136 template GLint64 CastFromStateValue<GLint64, GLboolean>(GLenum pname, GLboolean value);
138 template GLint64 CastFromStateValue<GLint64, GLuint>(GLenum pname, GLuint value);
214 std::vector<GLint64> int64Params(numParams, 0); in CastStateValues()
[all …]
DVertexAttribute.cpp93 angle::CheckedNumeric<GLint64> bufferSize(buffer->getSize()); in updateCachedElementLimit()
94 angle::CheckedNumeric<GLint64> bufferOffset(binding.getOffset()); in updateCachedElementLimit()
95 angle::CheckedNumeric<GLint64> attribOffset(relativeOffset); in updateCachedElementLimit()
96 angle::CheckedNumeric<GLint64> attribSize(ComputeVertexAttributeTypeSize(*this)); in updateCachedElementLimit()
99 angle::CheckedNumeric<GLint64> elementLimit = in updateCachedElementLimit()
119 mCachedElementLimit = std::numeric_limits<GLint64>::max(); in updateCachedElementLimit()
123 angle::CheckedNumeric<GLint64> bindingStride(binding.getStride()); in updateCachedElementLimit()
129 angle::CheckedNumeric<GLint64> bindingDivisor(binding.getDivisor()); in updateCachedElementLimit()
DBuffer.h45 GLint64 getMapOffset() const { return mMapOffset; } in getMapOffset()
46 GLint64 getMapLength() const { return mMapLength; } in getMapLength()
47 GLint64 getSize() const { return mSize; } in getSize()
57 GLint64 mSize;
62 GLint64 mMapOffset;
63 GLint64 mMapLength;
151 GLint64 getMapOffset() const { return mState.mMapOffset; } in getMapOffset()
152 GLint64 getMapLength() const { return mState.mMapLength; } in getMapLength()
153 GLint64 getSize() const { return mState.mSize; } in getSize()
154 GLint64 getMemorySize() const;
DVertexAttribute.h82 GLint64 getCachedElementLimit() const { return mCachedElementLimit; } in getCachedElementLimit()
94 static constexpr GLint64 kIntegerOverflow = std::numeric_limits<GLint64>::min();
98 GLint64 mCachedElementLimit;
DCaps.h206 GLint64 maxElementIndex = 0;
231 GLint64 maxServerWaitTimeout = 0;
275 ShaderMap<GLint64> maxCombinedShaderUniformComponents = {};
298 GLint64 maxUniformBlockSize = 0;
315 GLint64 maxShaderStorageBlockSize = 0;
DBuffer.cpp291 mState.mMapOffset = static_cast<GLint64>(offset); in mapRange()
292 mState.mMapLength = static_cast<GLint64>(length); in mapRange()
363 GLint64 Buffer::getMemorySize() const in getMemorySize()
365 GLint64 implSize = mImpl->getMemorySize(); in getMemorySize()
/external/mesa3d/src/mesa/main/
Duniforms.h305 _mesa_GetUniformi64vARB(GLuint, GLint, GLint64 *);
310 _mesa_GetnUniformi64vARB(GLuint, GLint, GLsizei, GLint64 *);
386 _mesa_Uniform1i64ARB(GLint, GLint64);
388 _mesa_Uniform2i64ARB(GLint, GLint64, GLint64);
390 _mesa_Uniform3i64ARB(GLint, GLint64, GLint64, GLint64);
392 _mesa_Uniform4i64ARB(GLint, GLint64, GLint64, GLint64, GLint64);
395 _mesa_Uniform1i64vARB(GLint, GLsizei, const GLint64 *);
397 _mesa_Uniform2i64vARB(GLint, GLsizei, const GLint64 *);
399 _mesa_Uniform3i64vARB(GLint, GLsizei, const GLint64 *);
401 _mesa_Uniform4i64vARB(GLint, GLsizei, const GLint64 *);
[all …]
Duniforms.c973 GLsizei bufSize, GLint64 *params) in _mesa_GetnUniformi64vARB()
979 _mesa_GetUniformi64vARB(GLuint program, GLint location, GLint64 *params) in _mesa_GetUniformi64vARB()
1774 _mesa_Uniform1i64ARB(GLint location, GLint64 v0) in _mesa_Uniform1i64ARB()
1781 _mesa_Uniform2i64ARB(GLint location, GLint64 v0, GLint64 v1) in _mesa_Uniform2i64ARB()
1791 _mesa_Uniform3i64ARB(GLint location, GLint64 v0, GLint64 v1, GLint64 v2) in _mesa_Uniform3i64ARB()
1802 _mesa_Uniform4i64ARB(GLint location, GLint64 v0, GLint64 v1, GLint64 v2, GLint64 v3) in _mesa_Uniform4i64ARB()
1814 _mesa_Uniform1i64vARB(GLint location, GLsizei count, const GLint64 *value) in _mesa_Uniform1i64vARB()
1821 _mesa_Uniform2i64vARB(GLint location, GLsizei count, const GLint64 *value) in _mesa_Uniform2i64vARB()
1828 _mesa_Uniform3i64vARB(GLint location, GLsizei count, const GLint64 *value) in _mesa_Uniform3i64vARB()
1835 _mesa_Uniform4i64vARB(GLint location, GLsizei count, const GLint64 *value) in _mesa_Uniform4i64vARB()
[all …]
Dget.h51 _mesa_GetInteger64v( GLenum pname, GLint64 *params );
66 _mesa_GetInteger64i_v( GLenum pname, GLuint index, GLint64 *params );
Dformatquery.h44 GLenum pname, GLsizei bufSize, GLint64 *params);
/external/deqp/modules/gles2/functional/
Des2fFloatStateQueryTests.cpp54 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/
Des3fFloatStateQueryTests.cpp54 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 …]
Des3fImplementationLimitTests.cpp108 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()
Des3fBufferObjectQueryTests.cpp81 …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()
Des3fIntegerStateQueryTests.cpp568 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 …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessQueriesTests.cpp577 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(glw::GLint64), DE_NULL, GL_DYNAMIC_COPY); in testInvalidQueryName()
898 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(glw::GLint64), DE_NULL, GL_DYNAMIC_COPY); in testInvalidParameterName()
1023 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(glw::GLint64), DE_NULL, GL_DYNAMIC_COPY); in testBufferOverflow()
1031 m_pGetQueryBufferObjectiv(query, buffer, GL_QUERY_RESULT_AVAILABLE, sizeof(glw::GLint64)); in testBufferOverflow()
1047 m_pGetQueryBufferObjectuiv(query, buffer, GL_QUERY_RESULT_AVAILABLE, sizeof(glw::GLint64)); in testBufferOverflow()
1063 m_pGetQueryBufferObjecti64v(query, buffer, GL_QUERY_RESULT_AVAILABLE, sizeof(glw::GLint64)); in testBufferOverflow()
1079 m_pGetQueryBufferObjectui64v(query, buffer, GL_QUERY_RESULT_AVAILABLE, sizeof(glw::GLint64)); in testBufferOverflow()
1150 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(glw::GLint64), DE_NULL, GL_DYNAMIC_COPY); in testBufferNegativeOffset()
1397 void FunctionalTest::GetQueryBufferObject<glw::GLint64>(glw::GLuint id, glw::GLuint buffer, glw::GL… in GetQueryBufferObject()
1529 is_ok &= checkQueryBufferObject<glw::GLint64>(m_qo[i], GL_QUERY_TARGET, s_targets[i], in iterate()
[all …]
Dgl4cLimitsTests.cpp211 static const Limit<GLint64> int64Limits[] = in init()
243 const Limit<GLint64>& limit = int64Limits[idx]; in init()
244 …addChild(new glcts::LimitCase<GLint64>(m_context, limit.name, limit.token, limit.boundry, limit.is… in init()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferBufferParameters.cpp139 glw::GLint64 expected_data) in queryBufferParameteri64v()
144 glw::GLint64 result = -1; in queryBufferParameteri64v()
225 (glw::GLint64)m_bo_size /* expected size */) && in iterate()
265 (glw::GLint64)m_bo_size /* expected size */) && in iterate()
292 (glw::GLint64)(m_bo_size / 2) /* expected offset */) && in iterate()
299 (glw::GLint64)(m_bo_size / 2) /* expected size */) && in iterate()
/external/angle/src/tests/gl_tests/
DMemorySizeTest.cpp83 GLint64 result64; in TEST_P()
104 GLint64 result64; in TEST_P()
107 EXPECT_GT(result64, static_cast<GLint64>(kExpectedMinBufMemorySize)); in TEST_P()
/external/deqp/external/openglcts/modules/glesext/disjoint_timer_query/
DesextcDisjointTimerQueryBase.hpp58 typedef void (*glGetQueryObjecti64vEXTFunc)(GLuint id, GLenum pname, GLint64* params);
60 typedef void (*glGetInteger64vEXTFunc)(GLenum pname, GLint64* data);
/external/angle/src/libANGLE/renderer/
DBufferImpl.h83 virtual GLint64 getMemorySize() const;
91 inline GLint64 BufferImpl::getMemorySize() const in getMemorySize()
/external/deqp/modules/glshared/
DglsStateQueryUtil.cpp65 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 …]
/external/angle/src/libANGLE/renderer/gl/
DQueryGL.h49 angle::Result getResult(const gl::Context *context, GLint64 *params) override;
84 angle::Result getResult(const gl::Context *context, GLint64 *params) override;
/external/deqp/external/openglcts/modules/common/
DglcLimitTest.inl312 GLint64 LimitCase<GLint64>::getLimitValue(const Functions& gl) const
314 GLint64 value = -1;
323 GLint64 value = -1;
/external/deqp/framework/opengl/wrapper/
DglwDefs.cpp40 DE_STATIC_ASSERT(sizeof(GLint64) == 8);

12345678