56 lines
1.3 KiB
C++
56 lines
1.3 KiB
C++
|
|
/*
|
|||
|
|
BufferProxyProvider - Adapt existing allocation for access through the Buffer protocol
|
|||
|
|
|
|||
|
|
Copyright (C)
|
|||
|
|
2024, Hermann Vosseler <Ichthyostega@web.de>
|
|||
|
|
|
|||
|
|
**Lumiera** is free software; you can redistribute it and/or modify it
|
|||
|
|
under the terms of the GNU General Public License as published by the
|
|||
|
|
Free Software Foundation; either version 2 of the License, or (at your
|
|||
|
|
option) any later version. See the file COPYING for further details.
|
|||
|
|
|
|||
|
|
* *****************************************************************/
|
|||
|
|
|
|||
|
|
|
|||
|
|
/** @file buffer-proxy-provider.cpp
|
|||
|
|
** Implementation details of a forwarding BufferProvider stub implementation.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
|
|||
|
|
#include "lib/error.hpp"
|
|||
|
|
#include "steam/engine/buffer-proxy-provider.hpp"
|
|||
|
|
//#include "steam/engine/buffer-metadata.hpp"
|
|||
|
|
//#include "lib/util.hpp"
|
|||
|
|
|
|||
|
|
//using util::isSameAdr;
|
|||
|
|
|
|||
|
|
namespace steam {
|
|||
|
|
namespace engine {
|
|||
|
|
|
|||
|
|
// storage for the default-marker constants
|
|||
|
|
// const TypeHandler TypeHandler::RAW{};
|
|||
|
|
|
|||
|
|
|
|||
|
|
namespace { // impl. details and definitions
|
|||
|
|
|
|||
|
|
// const uint DEFAULT_DESCRIPTOR = 0;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/** build a new
|
|||
|
|
*/
|
|||
|
|
// BufferProvider::BufferProvider (Literal implementationID)
|
|||
|
|
// : meta_(new BufferMetadata (implementationID))
|
|||
|
|
// { }
|
|||
|
|
//
|
|||
|
|
// BufferProvider::~BufferProvider() { }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/** @internal verify the given descriptor.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}} // namespace engine
|