| // SwiftShader Software Renderer
|
| // Copyright(c) 2005-2011 TransGaming Inc.
|
| // All rights reserved. No part of this software may be copied, distributed, transmitted,
|
| // transcribed, stored in a retrieval system, translated into any human or computer
|
| // language by any means, or disclosed to third parties without the explicit written
|
| // agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express
|
| // or implied, including but not limited to any patent rights, are granted to you.
|
| #include "Common/Types.hpp"
|
| #define PERF_HUD 0 // Display time spent on vertex, setup and pixel processing for each thread
|
| #define PERF_PROFILE 0 // Profile various pipeline stages and display the timing in SwiftConfig
|
| double cycles[PERF_TIMERS];
|
| int64_t ropOperationsTotal;
|
| int64_t ropOperationsFrame;
|
| int64_t texOperationsTotal;
|
| int64_t texOperationsFrame;
|
| int64_t compressedTexTotal;
|
| int64_t compressedTexFrame;
|
| extern Profiler profiler;
|
| OUTLINE_RESOLUTION = 4096, // Maximum vertical resolution of the render target
|