/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrFragmentOperations.hpp | 83 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::Vec4& value, const WindowRectangle& rect); 84 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::IVec4& value, const WindowRectangle& rect); 85 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::UVec4& value, const WindowRectangle& rect); 86 void clearMultisampleDepthBuffer (const tcu::PixelBufferAccess& dst, float value, const WindowRectangle& rect); 87 void clearMultisampleStencilBuffer (const tcu::PixelBufferAccess& dst, int value, const WindowRectangle& rect); 134 void executeScissorTest (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const WindowRectangle& scissorRect);
|
H A D | rrRenderState.hpp | 221 struct WindowRectangle struct 228 WindowRectangle (int left_, int bottom_, int width_, int height_) in WindowRectangle() function 242 WindowRectangle scissorRectangle; 337 WindowRectangle rect; 341 explicit ViewportState (const WindowRectangle& rect_) in ViewportState()
|
H A D | rrFragmentOperations.cpp | 50 static inline bool isInsideRect (const IVec2& point, const WindowRectangle& rect) in isInsideRect() 67 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const Vec4& v, const WindowRectangle& r) { tcu::clear(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v); } in clearMultisampleColorBuffer() 68 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const IVec4& v, const WindowRectangle& r) { tcu::clear(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v); } in clearMultisampleColorBuffer() 69 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const UVec4& v, const WindowRectangle& r) { tcu::clear(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v.cast<int>()); } in clearMultisampleColorBuffer() 70 void clearMultisampleDepthBuffer (const tcu::PixelBufferAccess& dst, float v, const WindowRectangle& r) { tcu::clearDepth(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v); } in clearMultisampleDepthBuffer() 71 void clearMultisampleStencilBuffer (const tcu::PixelBufferAccess& dst, int v, const WindowRectangle& r) { tcu::clearStencil(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v); } in clearMultisampleStencilBuffer() 78 void FragmentProcessor::executeScissorTest (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const WindowRectangle& scissorRect) in executeScissorTest()
|
H A D | rrRenderer.cpp | 824 const WindowRectangle& viewport = state.viewport.rect; in transformVertexClipCoordsToWindowCoords()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fClippingTests.cpp | 59 const rr::WindowRectangle VIEWPORT_WHOLE (0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); 60 const rr::WindowRectangle VIEWPORT_CENTER (TEST_CANVAS_SIZE/4, TEST_CANVAS_SIZE/4, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2); 61 const rr::WindowRectangle VIEWPORT_CORNER (TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2); 483 PointCase (Context& context, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* pointsEnd, float pointSize, const rr::WindowRectangle& viewport); 491 const rr::WindowRectangle m_viewport; 494 PointCase::PointCase (Context& context, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* pointsEnd, float pointSize, const rr::WindowRectangle& viewport) in PointCase() 605 LineRenderTestCase (Context& context, const char* name, const char* description, const ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::WindowRectangle& viewport); 606 LineRenderTestCase (Context& context, const char* name, const char* description, const ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::WindowRectangle& viewport); 619 const rr::WindowRectangle m_viewport; 622 LineRenderTestCase::LineRenderTestCase (Context& context, const char* name, const char* description, const ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::WindowRectangle [all...] |
H A D | es2fDepthStencilTests.cpp | 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 266 clearCommands.push_back(ClearCommand(rr::WindowRectangle(0, 0, target.width, target.height), GL_COLOR_BUFFER_BIT, Vec4(0.0f, 0.0f, 0.0f, 1.0f), 0)); in generateBaseClearAndDepthCommands() 292 rr::WindowRectangle cellL1Rect (x, y, cellL1Width, cellL1Height); in generateBaseClearAndDepthCommands() 324 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateDepthVisualizeCommands() 349 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateStencilVisualizeCommands() 625 testCmd.rect = rr::WindowRectangle(0, 0, m_renderTarget.width, m_renderTarget.height); in iterate()
|
H A D | es2fPolygonOffsetTests.cpp | 421 rr::RenderState state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset() 687 rr::RenderState state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fClippingTests.cpp | 59 const rr::WindowRectangle VIEWPORT_WHOLE (0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); 60 const rr::WindowRectangle VIEWPORT_CENTER (TEST_CANVAS_SIZE/4, TEST_CANVAS_SIZE/4, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2); 61 const rr::WindowRectangle VIEWPORT_CORNER (TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2, TEST_CANVAS_SIZE/2); 486 PointCase (Context& context, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* pointsEnd, float pointSize, const rr::WindowRectangle& viewport); 494 const rr::WindowRectangle m_viewport; 497 PointCase::PointCase (Context& context, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* pointsEnd, float pointSize, const rr::WindowRectangle& viewport) in PointCase() 608 LineRenderTestCase (Context& context, const char* name, const char* description, const ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::WindowRectangle& viewport); 609 LineRenderTestCase (Context& context, const char* name, const char* description, const ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::WindowRectangle& viewport); 622 const rr::WindowRectangle m_viewport; 625 LineRenderTestCase::LineRenderTestCase (Context& context, const char* name, const char* description, const ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::WindowRectangle [all...] |
H A D | es3fDepthStencilTests.cpp | 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 266 clearCommands.push_back(ClearCommand(rr::WindowRectangle(0, 0, target.width, target.height), GL_COLOR_BUFFER_BIT, Vec4(0.0f, 0.0f, 0.0f, 1.0f), 0)); in generateBaseClearAndDepthCommands() 292 rr::WindowRectangle cellL1Rect (x, y, cellL1Width, cellL1Height); in generateBaseClearAndDepthCommands() 324 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateDepthVisualizeCommands() 349 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateStencilVisualizeCommands() 625 testCmd.rect = rr::WindowRectangle(0, 0, m_renderTarget.width, m_renderTarget.height); in iterate()
|
H A D | es3fPolygonOffsetTests.cpp | 424 rr::RenderState state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset() 689 rr::RenderState state((rr::ViewportState)(rr::WindowRectangle(0, 0, m_targetSize, m_targetSize)), subpixelBits); in testPolygonOffset()
|
H A D | es3fDrawBuffersIndexedTests.cpp | 666 rr::RenderState state (rr::ViewportState(rr::WindowRectangle(0, 0, size.x(), size.y())), subpixelBits); in createRenderState()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsInteractionTestUtil.hpp | 84 rr::WindowRectangle scissorRectangle;
|
H A D | glsInteractionTestUtil.cpp | 167 state.scissorRectangle = rr::WindowRectangle(scissorX, scissorY, scissorW, scissorH); in computeRandomRenderState()
|
H A D | glsTextureBufferCase.cpp | 675 const rr::RenderState renderState(rr::ViewportState(rr::WindowRectangle(0, 0, target.getWidth(), target.getHeight())), subpixelBits); in renderReference()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglRenderTests.cpp | 444 rr::clearMultisampleColorBuffer(colorBuffer, CLEAR_COLOR, rr::WindowRectangle(0, 0, width, height)); in renderReference() 449 rr::clearMultisampleDepthBuffer(depthBuffer, CLEAR_DEPTH, rr::WindowRectangle(0, 0, width, height)); in renderReference() 455 rr::clearMultisampleStencilBuffer(stencilBuffer, CLEAR_STENCIL, rr::WindowRectangle(0, 0, width, height)); in renderReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineReferenceRenderer.cpp | 382 return rr::ViewportState(rr::WindowRectangle(0, 0, m_surfaceWidth, m_surfaceHeight)); in getViewportState()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineReferenceRenderer.cpp | 382 return rr::ViewportState(rr::WindowRectangle(0, 0, m_surfaceWidth, m_surfaceHeight)); in getViewportState()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.cpp | 4345 state.fragOps.scissorRectangle = rr::WindowRectangle(m_scissorBox.x(), m_scissorBox.y(), m_scissorBox.z(), m_scissorBox.w()); 4380 state.viewport.rect = rr::WindowRectangle(m_viewport.x(), m_viewport.y(), m_viewport.z(), m_viewport.w());
|