// // Copyright 2014 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. //
// BufferImpl.h: Defines the abstract rx::BufferImpl class.
namespace gl
{ class BufferState; class Context;
} // namespace gl
namespace rx
{ // We use two set of Subject messages. The CONTENTS_CHANGED message is signaled whenever data // changes, to trigger re-translation or other events. Some buffers only need to be updated when the // underlying driver object changes - this is notified via the STORAGE_CHANGED message. class BufferImpl : public angle::Subject
{ public:
BufferImpl(const gl::BufferState &state) : mState(state) {}
~BufferImpl() override {} virtualvoid destroy(const gl::Context *context) {}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.