#define DALI_INTEGRATION_GL_SYNC_ABSTRACTION_H
/*
- * Copyright (c) 2019 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