/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSyncTest.cpp | 108 EGLint attribValue = kSentinelAttribValue; in TEST_P() local 110 EGL_SYNC_TYPE_KHR, &attribValue)); in TEST_P() 112 EXPECT_EQ(attribValue, kSentinelAttribValue); in TEST_P() 116 EXPECT_EGL_FALSE(eglGetSyncAttribKHR(display, sync, EGL_CL_EVENT_HANDLE, &attribValue)); in TEST_P() 118 EXPECT_EQ(attribValue, kSentinelAttribValue); in TEST_P() 180 EGLint attribValue = kSentinelAttribValue; in TEST_P() local 181 EXPECT_EGL_TRUE(eglGetSyncAttribKHR(display, sync, EGL_SYNC_TYPE_KHR, &attribValue)); in TEST_P() 182 EXPECT_EQ(attribValue, EGL_SYNC_FENCE_KHR); in TEST_P() 184 attribValue = kSentinelAttribValue; in TEST_P() 185 EXPECT_EGL_TRUE(eglGetSyncAttribKHR(display, sync, EGL_SYNC_CONDITION_KHR, &attribValue)); in TEST_P() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 141 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local 142 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf() 144 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf() 146 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf() 150 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf() 161 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribIi() local 162 gl.glGetVertexAttribIiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribIi() 164 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribIi() 166 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribIi() 170 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribIi() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 122 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local 123 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf() 125 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf() 127 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf() 131 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf() 142 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribConversion() local 143 gl.glGetVertexAttribiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribConversion() 145 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribConversion() 162 if (attribValue[0] < referenceAsGLintMin[0] || attribValue[0] > referenceAsGLintMax[0] || in verifyCurrentVertexAttribConversion() 163 attribValue[1] < referenceAsGLintMin[1] || attribValue[1] > referenceAsGLintMax[1] || in verifyCurrentVertexAttribConversion() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 716 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 721 case 1: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 722 case 2: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 723 …case 3: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y())… in calcShaderColorCoord() 724 …case 4: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y() … in calcShaderColorCoord() 734 color = color * (float)attribValue.x(); in calcShaderColorCoord() 738 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 739 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() 743 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 744 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() [all …]
|
D | glsRandomShaderProgram.cpp | 194 …const tcu::Vec4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, … in shadeVertices() local 196 access.component(0).asFloat(ndx) = attribValue[0]; in shadeVertices() 197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1]; in shadeVertices() 198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2]; in shadeVertices() 199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3]; in shadeVertices()
|
D | glsDrawTest.cpp | 1175 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 1180 case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 1181 case 2: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 1182 …case 3: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord() 1183 …case 4: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord() 1193 color = color * (float)attribValue.x(); in calcShaderColorCoord() 1197 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 1198 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() 1202 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 1203 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() [all …]
|
/third_party/glfw/src/ |
D | wgl_context.c | 463 #define setWGLattrib(attribName, attribValue) \ argument 466 attribs[index++] = attribValue; \
|
D | egl_context.c | 423 #define setEGLattrib(attribName, attribValue) \ argument 426 attribs[index++] = attribValue; \
|
D | glx_context.c | 420 #define setGLXattrib(attribName, attribValue) \ argument 423 attribs[index++] = attribValue; \
|