[Mesa-dev] [PATCH 08/31] swr/rast: Clean up event types and remove BE events
George Kyriazis
george.kyriazis at intel.com
Tue Feb 13 22:42:26 UTC 2018
Begin/End events not needed anymore.
---
.../drivers/swr/rasterizer/archrast/archrast.cpp | 4 --
.../drivers/swr/rasterizer/archrast/events.proto | 76 ----------------------
2 files changed, 80 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
index cda1612..afea1d3 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 804222d..6877327 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
{
};
--
2.7.4
More information about the mesa-dev
mailing list