Lines Matching defs:depth
172 /** Initialization method that creates framebuffer with depth attachment
258 /** Testing method that verifies if depth values generated after polygon offset clamp are as expected.
297 // Prepare shader program for reading depth buffer indirectly
327 // Setup depth testing
380 // Get reference depth value
383 // Draw polygon with depth offset
411 // Draw polygon with depth offset
462 // OpenGL ES does not support reading pixels directly from depth buffer
492 // Convert read depth value to GLfloat normalized
528 /** Verification method that determines if depth values are as expected
531 * @param depth Reference depth value
535 bool PolygonOffsetClampMinMaxTestCase::verify(GLuint caseNo, GLfloat depth, GLfloat offsetDepth,
541 if (depth <= offsetDepth || depth <= offsetClampDepth || offsetDepth >= offsetClampDepth)
545 << "refDepth[" << depth << "] > "
555 if (depth >= offsetDepth || depth >= offsetClampDepth || offsetDepth <= offsetClampDepth)
559 << "refDepth[" << depth << "] < "
597 bool PolygonOffsetClampZeroInfinityTestCase::verify(GLuint caseNo, GLfloat depth, GLfloat offsetDepth,
602 if (depth == offsetDepth || depth == offsetClampDepth || offsetDepth != offsetClampDepth)
607 << "refDepth[" << depth << "] != "