From bd909b0444dba273456d08d8ebf24a301efcf488 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 15 Nov 2016 09:30:15 +0900 Subject: [PATCH] Revert "[3.0] Renderer Depth UTCs + test-gl-abstraction update" This reverts commit b7e4651da3246ad0ce0be5462c7b59e5a4b57f0a. Change-Id: I2976563989ab6a32bfa915d8c24e93dd80f3971a --- .../dali-test-suite-utils/test-gl-abstraction.cpp | 3 --- .../dali-test-suite-utils/test-gl-abstraction.h | 18 ++++++------------ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.cpp b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.cpp index 6e9b9f0..d42a548 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.cpp +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.cpp @@ -70,7 +70,6 @@ void TestGlAbstraction::Initialize() mLastShaderIdUsed = 0; mLastProgramIdUsed = 0; mLastUniformIdUsed = 0; - mLastDepthMask = false; mUniforms.clear(); mProgramUniforms1i.clear(); @@ -80,10 +79,8 @@ void TestGlAbstraction::Initialize() mProgramUniforms4f.clear(); mCullFaceTrace.Reset(); - mDepthFunctionTrace.Reset(); mEnableDisableTrace.Reset(); mShaderTrace.Reset(); - mStencilFunctionTrace.Reset(); mTextureTrace.Reset(); mTexParamaterTrace.Reset(); mDrawTrace.Reset(); diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h index 10c3264..1f55977 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h @@ -1,8 +1,8 @@ -#ifndef TEST_GL_ABSTRACTION_H -#define TEST_GL_ABSTRACTION_H +#ifndef __TEST_GL_ABSTRACTION_H__ +#define __TEST_GL_ABSTRACTION_H__ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -468,12 +468,6 @@ public: inline void DepthMask(GLboolean flag) { - mLastDepthMask = flag; - } - - inline bool GetLastDepthMask() const - { - return mLastDepthMask; } inline void DepthRangef(GLclampf zNear, GLclampf zFar) @@ -2065,8 +2059,6 @@ private: GLenum mLastBlendFuncSrcAlpha; GLenum mLastBlendFuncDstAlpha; - GLboolean mLastDepthMask; - // Data for manipulating the IDs returned by GenTextures GLuint mLastAutoTextureIdUsed; std::vector mNextTextureIds; @@ -2266,4 +2258,6 @@ bool BlendEnabled(const Dali::TraceCallStack& callStack); bool BlendDisabled(const Dali::TraceCallStack& callStack); -#endif // TEST_GL_ABSTRACTION_H + + +#endif // __TEST_GL_ES_H__ -- 2.7.4