Home
last modified time | relevance | path

Searched refs:compareGlobalGlInt (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/host/tests/
DGLSnapshotPixelOperations_unittest.cpp131 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_FUNC, expected.func)); in stateCheck()
132 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_REF, expected.ref)); in stateCheck()
134 compareGlobalGlInt(gl, GL_STENCIL_VALUE_MASK, expected.mask)); in stateCheck()
136 compareGlobalGlInt(gl, GL_STENCIL_BACK_FUNC, expected.func)); in stateCheck()
137 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_BACK_REF, expected.ref)); in stateCheck()
138 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_BACK_VALUE_MASK, in stateCheck()
193 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_FAIL, expected.sfail)); in stateCheck()
194 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_PASS_DEPTH_FAIL, in stateCheck()
196 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_PASS_DEPTH_PASS, in stateCheck()
199 compareGlobalGlInt(gl, GL_STENCIL_BACK_FAIL, expected.sfail)); in stateCheck()
[all …]
DGLSnapshotTextures_unittest.cpp185 EXPECT_TRUE(compareGlobalGlInt(gl, GL_ACTIVE_TEXTURE, GL_TEXTURE0)); in defaultStateCheck()
189 EXPECT_TRUE(compareGlobalGlInt(gl, GL_ACTIVE_TEXTURE, in changedStateCheck()
231 EXPECT_TRUE(compareGlobalGlInt(gl, GL_TEXTURE_BINDING_2D, 0)); in defaultStateCheck()
232 EXPECT_TRUE(compareGlobalGlInt(gl, GL_TEXTURE_BINDING_CUBE_MAP, 0)); in defaultStateCheck()
244 EXPECT_TRUE(compareGlobalGlInt(gl, GL_TEXTURE_BINDING_2D, in changedStateCheck()
246 EXPECT_TRUE(compareGlobalGlInt(gl, GL_TEXTURE_BINDING_CUBE_MAP, in changedStateCheck()
323 EXPECT_TRUE(compareGlobalGlInt(gl, GL_ACTIVE_TEXTURE, GL_TEXTURE0)); in changedStateCheck()
324 EXPECT_TRUE(compareGlobalGlInt(gl, getTargetBindingName(m_state.target), in changedStateCheck()
DGLSnapshotPixels_unittest.cpp27 EXPECT_TRUE(compareGlobalGlInt(gl, GL_UNPACK_ALIGNMENT, expected)); in stateCheck()
47 EXPECT_TRUE(compareGlobalGlInt(gl, GL_PACK_ALIGNMENT, expected)); in stateCheck()
DGLSnapshotFramebufferControl_unittest.cpp54 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_WRITEMASK, expected)); in stateCheck()
56 compareGlobalGlInt(gl, GL_STENCIL_BACK_WRITEMASK, expected)); in stateCheck()
101 EXPECT_TRUE(compareGlobalGlInt(gl, GL_STENCIL_CLEAR_VALUE, expected)); in stateCheck()
DGLSnapshotRasterization_unittest.cpp55 EXPECT_TRUE(compareGlobalGlInt(gl, GL_CULL_FACE_MODE, expected)); in stateCheck()
72 EXPECT_TRUE(compareGlobalGlInt(gl, GL_FRONT_FACE, expected)); in stateCheck()
DGLSnapshotBuffers_unittest.cpp35 EXPECT_TRUE(compareGlobalGlInt(gl, bindTarget, 0)) in defaultStateCheck()
59 EXPECT_TRUE(compareGlobalGlInt(gl, boundTarget, it.second)) in changedStateCheck()
DGLSnapshotFramebuffers_unittest.cpp41 EXPECT_TRUE(compareGlobalGlInt(gl, GL_FRAMEBUFFER_BINDING, 0)); in defaultStateCheck()
46 EXPECT_TRUE(compareGlobalGlInt(gl, GL_FRAMEBUFFER_BINDING, in changedStateCheck()
DGLSnapshot_unittest.cpp67 EXPECT_TRUE(compareGlobalGlInt(gl, GL_GENERATE_MIPMAP_HINT, expected)); in stateCheck()
DGLSnapshotRenderbuffers_unittest.cpp65 EXPECT_TRUE(compareGlobalGlInt(gl, GL_RENDERBUFFER_BINDING, 0)); in defaultStateCheck()
70 EXPECT_TRUE(compareGlobalGlInt(gl, GL_RENDERBUFFER_BINDING, in changedStateCheck()
DGLSnapshotTesting.h113 testing::AssertionResult compareGlobalGlInt(const GLESv2Dispatch* gl,
DGLSnapshotPrograms_unittest.cpp89 EXPECT_TRUE(compareGlobalGlInt(gl, GL_CURRENT_PROGRAM, 0)); in defaultStateCheck()
96 compareGlobalGlInt(gl, GL_CURRENT_PROGRAM, m_current_program)); in changedStateCheck()
DGLSnapshotTesting.cpp80 testing::AssertionResult compareGlobalGlInt(const GLESv2Dispatch* gl, in compareGlobalGlInt() function