From: George Kyriazis Date: Wed, 31 Jan 2018 06:18:32 +0000 (-0600) Subject: swr/rast: Clean up event types and remove BE events X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e48dd2489c646745720610bfde6c9f803d9297ed;p=mesa.git swr/rast: Clean up event types and remove BE events Begin/End events not needed anymore. Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp index cda161246bb..afea1d3ff1d 100644 --- a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp +++ b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp @@ -74,10 +74,6 @@ namespace ArchRast public: EventHandlerStatsFile(uint32_t id) : EventHandlerFile(id), mNeedFlush(false) {} - // These are events that we're not interested in saving in stats event files. - virtual void Handle(const Start& event) {} - virtual void Handle(const End& event) {} - virtual void Handle(const EarlyDepthStencilInfoSingleSample& event) { //earlyZ test compute diff --git a/src/gallium/drivers/swr/rasterizer/archrast/events.proto b/src/gallium/drivers/swr/rasterizer/archrast/events.proto index 804222d9ad6..68773270f30 100644 --- a/src/gallium/drivers/swr/rasterizer/archrast/events.proto +++ b/src/gallium/drivers/swr/rasterizer/archrast/events.proto @@ -21,82 +21,6 @@ # # Provides definitions for events. -enum GroupType -{ - APIClearRenderTarget, - APIDraw, - APIDrawWakeAllThreads, - APIDrawIndexed, - APIDispatch, - APIStoreTiles, - APIGetDrawContext, - APISync, - APIWaitForIdle, - FEProcessDraw, - FEProcessDrawIndexed, - FEFetchShader, - FEVertexShader, - FEHullShader, - FETessellation, - FEDomainShader, - FEGeometryShader, - FEStreamout, - FEPAAssemble, - FEBinPoints, - FEBinLines, - FEBinTriangles, - FETriangleSetup, - FEViewportCull, - FEGuardbandClip, - FEClipPoints, - FEClipLines, - FEClipTriangles, - FECullZeroAreaAndBackface, - FECullBetweenCenters, - FEProcessStoreTiles, - FEProcessInvalidateTiles, - WorkerWorkOnFifoBE, - WorkerFoundWork, - BELoadTiles, - BEDispatch, - BEClear, - BERasterizeLine, - BERasterizeTriangle, - BETriangleSetup, - BEStepSetup, - BECullZeroArea, - BEEmptyTriangle, - BETrivialAccept, - BETrivialReject, - BERasterizePartial, - BEPixelBackend, - BESetup, - BEBarycentric, - BEEarlyDepthTest, - BEPixelShader, - BESingleSampleBackend, - BEPixelRateBackend, - BESampleRateBackend, - BENullBackend, - BELateDepthTest, - BEOutputMerger, - BEStoreTiles, - BEEndTile, - WorkerWaitForThreadEvent, -}; - -event Start -{ - GroupType type; - uint32_t id; -}; - -event End -{ - GroupType type; - uint32_t count; -}; - event ThreadStartApiEvent { };