/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | queryconversions.cpp | 22 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 CastFromStateValu [all...] |
H A D | VertexAttribute.cpp | 93 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()
|
H A D | Buffer.h | 45 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; 148 GLint64 getMapOffset() const { return mState.mMapOffset; } in getMapOffset() 149 GLint64 getMapLength() const { return mState.mMapLength; } in getMapLength() 150 GLint64 getSize() const { return mState.mSize; } in getSize() 151 GLint64 getMemorySiz in getSize() [all...] |
H A D | VertexAttribute.h | 82 GLint64 getCachedElementLimit() const { return mCachedElementLimit; } in getCachedElementLimit() 94 static constexpr GLint64 kIntegerOverflow = std::numeric_limits<GLint64>::min(); 98 GLint64 mCachedElementLimit;
|
H A D | Caps.h | 194 GLint64 maxElementIndex = 0; 219 GLint64 maxServerWaitTimeout = 0; 263 ShaderMap<GLint64> maxCombinedShaderUniformComponents = {}; 286 GLint64 maxUniformBlockSize = 0; 303 GLint64 maxShaderStorageBlockSize = 0;
|
H A D | Buffer.cpp | 284 mState.mMapOffset = static_cast<GLint64>(offset); in mapRange() 285 mState.mMapLength = static_cast<GLint64>(length); in mapRange() 356 GLint64 Buffer::getMemorySize() const in getMemorySize() 358 GLint64 implSize = mImpl->getMemorySize(); in getMemorySize()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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>::max()); in clampToGLint() 456 const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(reference); in verifyFloat() 457 const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(reference); in verifyFloat() 459 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloat() 480 const GLint64 expectedGLStateMa in verifyFloatExpanded() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A 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, minUniformBlockSize); in init() 495 LIMIT_CASE(max_combined_vertex_uniform_components, GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS, GLint64, minCombinedVertexUniformComponents); in init() 496 LIMIT_CASE(max_combined_fragment_uniform_components, GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS, GLint64, minCombinedFragmentUniformComponents); in init()
|
H A D | es3fBufferObjectQueryTests.cpp | 81 virtual void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) = DE_NULL; 108 void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference); 135 void GetBufferParameterIVerifier::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_limits<GLint>::max())) in verifyInteger64() 164 void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference); 176 StateQueryMemoryWriteGuard<GLint64> state; in verifyInteger() 191 void GetBufferParameterI64Verifier::verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) in verifyInteger64() 195 StateQueryMemoryWriteGuard<GLint64> state; in verifyInteger64()
|
H A 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>::max()); in clampToGLint() 510 const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(reference); in verifyFloat() 511 const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(reference); in verifyFloat() 513 StateQueryMemoryWriteGuard<GLint64> state; in verifyFloat() 534 StateQueryMemoryWriteGuard<GLint64> stat in verifyFloatExpanded() [all...] |
H A 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(referenc in verifyIntegerGreaterOrEqual() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferBufferParameters.cpp | 139 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()
|
H A D | esextcTextureBufferBufferParameters.hpp | 123 glw::GLboolean queryBufferParameteri64v(glw::GLenum target, glw::GLenum pname, glw::GLint64 expected_data);
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessQueriesTests.cpp | 577 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() 1388 /** @brief Template specialization of glGetQueryBufferObject* function for GLint64. 1397 void FunctionalTest::GetQueryBufferObject<glw::GLint64>(gl [all...] |
H A D | gl4cLimitsTests.cpp | 211 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.isMaximum, "450", limit.builtin )); in init()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | uniforms.c | 976 GLsizei bufSize, GLint64 *params) in _mesa_GetnUniformi64vARB() 982 _mesa_GetUniformi64vARB(GLuint program, GLint location, GLint64 *params) in _mesa_GetUniformi64vARB() 1785 _mesa_Uniform1i64ARB(GLint location, GLint64 v0) in _mesa_Uniform1i64ARB() 1792 _mesa_Uniform2i64ARB(GLint location, GLint64 v0, GLint64 v1) in _mesa_Uniform2i64ARB() 1802 _mesa_Uniform3i64ARB(GLint location, GLint64 v0, GLint64 v1, GLint64 v2) in _mesa_Uniform3i64ARB() 1813 _mesa_Uniform4i64ARB(GLint location, GLint64 v0, GLint64 v [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MemorySizeTest.cpp | 83 GLint64 result64; in TEST_P() 104 GLint64 result64; in TEST_P() 107 EXPECT_GT(result64, static_cast<GLint64>(kExpectedMinBufMemorySize)); in TEST_P() 110 // No way to easily test the GLint64 to GLint64 clamping behaviour of glGetBufferParameteriv in TEST_P()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/disjoint_timer_query/ |
H A D | esextcDisjointTimerQueryBase.hpp | 58 typedef void (*glGetQueryObjecti64vEXTFunc)(GLuint id, GLenum pname, GLint64* params); 60 typedef void (*glGetInteger64vEXTFunc)(GLenum pname, GLint64* data);
|
/third_party/vk-gl-cts/modules/glshared/ |
H A 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>(expecte in verifyFloat() [all...] |
H A D | glsStateQueryUtil.hpp | 329 typedef glw::GLint64 GLInt64Vec4[4]; 333 explicit QueriedState (glw::GLint64); 349 glw::GLint64& getInt64Access (void); 366 glw::GLint64 vInt64;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | BufferImpl.h | 81 virtual GLint64 getMemorySize() const; 89 inline GLint64 BufferImpl::getMemorySize() const in getMemorySize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | QueryGL.h | 49 angle::Result getResult(const gl::Context *context, GLint64 *params) override; 84 angle::Result getResult(const gl::Context *context, GLint64 *params) override;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_3_0_params.cpp | 280 GLint64 *params, in CaptureGetBufferParameteri64v_params() 309 GLint64 *data, in CaptureGetInteger64i_v_data() 312 CaptureGetParameter(glState, target, sizeof(GLint64), paramCapture); in CaptureGetInteger64i_v_data() 318 GLint64 *data, in CaptureGetInteger64v_data() 321 CaptureGetParameter(glState, pname, sizeof(GLint64), paramCapture); in CaptureGetInteger64v_data()
|
/third_party/vk-gl-cts/framework/opengl/wrapper/ |
H A D | glwDefs.cpp | 40 DE_STATIC_ASSERT(sizeof(GLint64) == 8);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
H A D | QueryNULL.h | 29 angle::Result getResult(const gl::Context *context, GLint64 *params) override;
|