2012-04-03 23:30:07 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "bgfx_p.h"
|
|
|
|
|
|
|
|
#if BGFX_CONFIG_RENDERER_NULL
|
|
|
|
|
|
|
|
namespace bgfx
|
|
|
|
{
|
2012-07-02 23:53:12 -04:00
|
|
|
void ConstantBuffer::commit()
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void TextVideoMemBlitter::setup()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void TextVideoMemBlitter::render(uint32_t /*_numIndices*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::flip()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererInit()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererShutdown()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateIndexBuffer(IndexBufferHandle /*_handle*/, Memory* /*_mem*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyIndexBuffer(IndexBufferHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateVertexDecl(VertexDeclHandle /*_handle*/, const VertexDecl& /*_decl*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyVertexDecl(VertexDeclHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateVertexBuffer(VertexBufferHandle /*_handle*/, Memory* /*_mem*/, VertexDeclHandle /*_declHandle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyVertexBuffer(VertexBufferHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateDynamicIndexBuffer(IndexBufferHandle /*_handle*/, uint32_t /*_size*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererUpdateDynamicIndexBuffer(IndexBufferHandle /*_handle*/, uint32_t /*_offset*/, uint32_t /*_size*/, Memory* /*_mem*/)
|
2012-06-23 14:44:22 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyDynamicIndexBuffer(IndexBufferHandle /*_handle*/)
|
2012-06-23 14:44:22 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateDynamicVertexBuffer(VertexBufferHandle /*_handle*/, uint32_t /*_size*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererUpdateDynamicVertexBuffer(VertexBufferHandle /*_handle*/, uint32_t /*_offset*/, uint32_t /*_size*/, Memory* /*_mem*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyDynamicVertexBuffer(VertexBufferHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateVertexShader(VertexShaderHandle /*_handle*/, Memory* /*_mem*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyVertexShader(VertexShaderHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateFragmentShader(FragmentShaderHandle /*_handle*/, Memory* /*_mem*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyFragmentShader(FragmentShaderHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateMaterial(MaterialHandle /*_handle*/, VertexShaderHandle /*_vsh*/, FragmentShaderHandle /*_fsh*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyMaterial(FragmentShaderHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateTexture(TextureHandle /*_handle*/, Memory* /*_mem*/, uint32_t /*_flags*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyTexture(TextureHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateRenderTarget(RenderTargetHandle /*_handle*/, uint16_t /*_width*/, uint16_t /*_height*/, uint32_t /*_flags*/, uint32_t /*_textureFlags*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyRenderTarget(RenderTargetHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererCreateUniform(UniformHandle /*_handle*/, ConstantType::Enum /*_type*/, uint16_t /*_num*/, const char* /*_name*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererDestroyUniform(UniformHandle /*_handle*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-02 23:53:12 -04:00
|
|
|
void Context::rendererSaveScreenShot(Memory* /*_mem*/)
|
2012-04-03 23:30:07 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererSubmit()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BGFX_CONFIG_RENDERER_NULL
|