{"ref":"refs/heads/xf-queries","push_id":54760072,"commits":[{"sha":"4271995611fd78d4e0933dceb085c63817e65cc0","author":{"email":"de21b9f22e6dd0bdf7890875d6e07ef4967c44ce@gmail.com","name":"Paul Berry"},"url":"https://api.github.com/repos/stereotype441/mesa/commits/4271995611fd78d4e0933dceb085c63817e65cc0","message":"i965 gen6: Implement transform feedback queries.\n\nThis patch adds software-based PRIMITIVES_GENERATED and\nTRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries that work by keeping\ntrack of the number of primitives that are sent down the pipeline, and\nadjusting as necessary to account for the way each primitive type is\ntessellated.\n\nIn the long run we'll want to replace this with a hardware-based\nimplementation, because the software approach won't work with geometry\nshaders or primitive restart.  However, at the moment, we don't have\nthe necessary kernel support to implement a hardware-based query (we\nwould need the kernel to save GPU registers when context switching, so\nthat drawing performed by another process doesn't get counted).\n\nFixes Piglit tests EXT_transform_feedback/query-primitives_generated-*\nand EXT_transform_feedback/query-primitives-written-*."},{"sha":"ae630e137d1c3c3e8eefad62d539aa88d3ce0a40","author":{"email":"de21b9f22e6dd0bdf7890875d6e07ef4967c44ce@gmail.com","name":"Paul Berry"},"url":"https://api.github.com/repos/stereotype441/mesa/commits/ae630e137d1c3c3e8eefad62d539aa88d3ce0a40","message":"i965 gen6: Turn on transform feedback extension unconditionally.\n\nPreviously, we only enabled transform feedback when\nMESA_GL_VERSION_OVERRIDE was 3.0 or greater, since transform feedback\nsupport was not completely finished, so it didn't make sense to\nadvertise support for it unless absolutely necessary.\n\nNow that transform feedback is fully implemented on gen6, we can\nenable this extension unconditionally."}],"head":"ae630e137d1c3c3e8eefad62d539aa88d3ce0a40","size":2}