-#ifndef __DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H__
-#define __DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H__
+#ifndef DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H
+#define DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
{
namespace Integration
{
-
/**
* This abstraction defines an API for syncing CPU with GPU.
* A typical use case is to determine when GL draw calls have finished drawing
/**
* Virtual protected destructor, no deletion through this interface
*/
- virtual ~GlSyncAbstraction() {}
+ virtual ~GlSyncAbstraction() = default;
public:
-
class SyncObject
{
protected:
* Core from deleting SyncObjects - only Adaptor implementation is able to delete
* them.
*/
- virtual ~SyncObject() {}
+ virtual ~SyncObject() = default;
public:
-
/**
* Determine if the synchronisation object has been signalled.
* @return false if the sync object has not been signalled, true if it has been signalled (and
} // namespace Integration
} // namespace Dali
-#endif // __DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H__
+#endif // DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H