2014-01-15 11:27:57 +08:00
|
|
|
//
|
|
|
|
// PerformanceRendererTest.h
|
|
|
|
// cocos2d_samples
|
|
|
|
//
|
|
|
|
// Created by Huabing on 1/10/14.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __PERFORMANCE_RENDERER_TEST_H__
|
|
|
|
#define __PERFORMANCE_RENDERER_TEST_H__
|
|
|
|
|
|
|
|
#include "PerformanceTest.h"
|
|
|
|
|
|
|
|
class RenderTestLayer : public PerformBasicLayer
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
RenderTestLayer();
|
|
|
|
virtual ~RenderTestLayer();
|
|
|
|
|
|
|
|
virtual void onEnter() override;
|
|
|
|
virtual void showCurrentTest() override;
|
|
|
|
public:
|
2015-04-09 08:37:30 +08:00
|
|
|
static cocos2d::Scene* scene();
|
2014-01-15 11:27:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
void runRendererTest();
|
|
|
|
#endif
|