examples/eqPixelBench/configEvent.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EQ_PIXELBENCH_CONFIGEVENT_H
00019 #define EQ_PIXELBENCH_CONFIGEVENT_H
00020
00021 #include <eq/eq.h>
00022
00023 namespace eqPixelBench
00024 {
00025 struct ConfigEvent : public eq::ConfigEvent
00026 {
00027 public:
00028 enum Type
00029 {
00030 READBACK = eq::Event::USER,
00031 READBACK_PBO,
00032 ASSEMBLE,
00033 START_LATENCY
00034 };
00035
00036 ConfigEvent()
00037 {
00038 size = sizeof( ConfigEvent );
00039 }
00040
00041
00042 char formatType[64];
00043 eq::Vector2i area;
00044 float msec;
00045 };
00046
00047 std::ostream& operator << ( std::ostream& os, const ConfigEvent* event );
00048 }
00049
00050 #endif // EQ_PIXELBENCH_CONFIGEVENT_H
00051