CmGLTimerQuery.cpp 500 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #include "CmGLTimerQuery.h"
  2. namespace CamelotFramework
  3. {
  4. GLTimerQuery::GLTimerQuery()
  5. :mQueryObj(0), mInitialized(false)
  6. {
  7. }
  8. GLTimerQuery::~GLTimerQuery()
  9. {
  10. if(mInitialized)
  11. {
  12. // TODO
  13. }
  14. }
  15. void GLTimerQuery::begin()
  16. {
  17. // TODO
  18. mInitialized = true;
  19. }
  20. void GLTimerQuery::end()
  21. {
  22. // TODO
  23. }
  24. bool GLTimerQuery::isReady() const
  25. {
  26. // TODO
  27. return false;
  28. }
  29. UINT64 GLTimerQuery::getTimeMs() const
  30. {
  31. // TODO
  32. return 0;
  33. }
  34. }