#ifndef LIBANGLE_CONTEXT_INL_H_
#define LIBANGLE_CONTEXT_INL_H_
#include "libANGLE/Context.h"
#include "libANGLE/GLES1Renderer.h"
#include "libANGLE/renderer/ContextImpl.h"
#define ANGLE_HANDLE_ERR(X) …
#define ANGLE_CONTEXT_TRY(EXPR) …
namespace gl
{
constexpr angle::PackedEnumMap<PrimitiveMode, GLsizei> kMinimumPrimitiveCounts = …;
ANGLE_INLINE void MarkTransformFeedbackBufferUsage(const Context *context,
GLsizei count,
GLsizei instanceCount)
{ … }
ANGLE_INLINE void MarkShaderStorageUsage(const Context *context)
{ … }
ANGLE_INLINE bool Context::noopDraw(PrimitiveMode mode, GLsizei count) const
{ … }
ANGLE_INLINE bool Context::noopMultiDraw(GLsizei drawcount) const
{ … }
ANGLE_INLINE angle::Result Context::syncAllDirtyBits(Command command)
{ … }
ANGLE_INLINE angle::Result Context::syncDirtyBits(const state::DirtyBits bitMask,
const state::ExtendedDirtyBits extendedBitMask,
Command command)
{ … }
ANGLE_INLINE angle::Result Context::syncDirtyObjects(const state::DirtyObjects &objectMask,
Command command)
{ … }
ANGLE_INLINE angle::Result Context::prepareForDraw(PrimitiveMode mode)
{ … }
ANGLE_INLINE void Context::drawArrays(PrimitiveMode mode, GLint first, GLsizei count)
{ … }
ANGLE_INLINE void Context::drawElements(PrimitiveMode mode,
GLsizei count,
DrawElementsType type,
const void *indices)
{ … }
ANGLE_INLINE void StateCache::onBufferBindingChange(Context *context)
{ … }
ANGLE_INLINE void Context::bindBuffer(BufferBinding target, BufferID buffer)
{ … }
}
#endif