swr/rast: Clean up event types and remove BE events
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 31 Jan 2018 06:18:32 +0000 (00:18 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:53:59 +0000 (10:53 -0600)
Begin/End events not needed anymore.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
src/gallium/drivers/swr/rasterizer/archrast/events.proto

index cda161246bba08d73ce625147be05358e1eb1283..afea1d3ff1d71780790a167ad0f2ee83dd39aa01 100644 (file)
@@ -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
index 804222d9ad658938676b6231d8618a97f8a2eedd..68773270f3034ff8f6fe26df1e829ad881863372 100644 (file)
 #
 # 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
 {
 };