2012-07-23 00:08:58 -04:00
|
|
|
/*
|
2014-02-11 01:07:04 -05:00
|
|
|
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
|
2012-07-23 00:08:58 -04:00
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "bgfx_p.h"
|
|
|
|
|
|
|
|
#if BGFX_CONFIG_RENDERER_NULL
|
|
|
|
|
|
|
|
namespace bgfx
|
|
|
|
{
|
|
|
|
void ConstantBuffer::commit()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void TextVideoMemBlitter::setup()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void TextVideoMemBlitter::render(uint32_t /*_numIndices*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-10-05 21:07:44 -04:00
|
|
|
void Context::rendererFlip()
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererInit()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererShutdown()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateIndexBuffer(IndexBufferHandle /*_handle*/, Memory* /*_mem*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyIndexBuffer(IndexBufferHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateVertexDecl(VertexDeclHandle /*_handle*/, const VertexDecl& /*_decl*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyVertexDecl(VertexDeclHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateVertexBuffer(VertexBufferHandle /*_handle*/, Memory* /*_mem*/, VertexDeclHandle /*_declHandle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyVertexBuffer(VertexBufferHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateDynamicIndexBuffer(IndexBufferHandle /*_handle*/, uint32_t /*_size*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererUpdateDynamicIndexBuffer(IndexBufferHandle /*_handle*/, uint32_t /*_offset*/, uint32_t /*_size*/, Memory* /*_mem*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyDynamicIndexBuffer(IndexBufferHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateDynamicVertexBuffer(VertexBufferHandle /*_handle*/, uint32_t /*_size*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererUpdateDynamicVertexBuffer(VertexBufferHandle /*_handle*/, uint32_t /*_offset*/, uint32_t /*_size*/, Memory* /*_mem*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyDynamicVertexBuffer(VertexBufferHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateVertexShader(VertexShaderHandle /*_handle*/, Memory* /*_mem*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyVertexShader(VertexShaderHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererCreateFragmentShader(FragmentShaderHandle /*_handle*/, Memory* /*_mem*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyFragmentShader(FragmentShaderHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-09-16 20:36:08 -04:00
|
|
|
void Context::rendererCreateProgram(ProgramHandle /*_handle*/, VertexShaderHandle /*_vsh*/, FragmentShaderHandle /*_fsh*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-03-28 01:36:53 -04:00
|
|
|
void Context::rendererDestroyProgram(ProgramHandle /*_handle*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-20 01:34:53 -05:00
|
|
|
void Context::rendererCreateTexture(TextureHandle /*_handle*/, Memory* /*_mem*/, uint32_t /*_flags*/, uint8_t /*_skip*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-03-03 00:35:09 -05:00
|
|
|
void Context::rendererUpdateTextureBegin(TextureHandle /*_handle*/, uint8_t /*_side*/, uint8_t /*_mip*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-11-08 01:59:17 -05:00
|
|
|
void Context::rendererUpdateTexture(TextureHandle /*_handle*/, uint8_t /*_side*/, uint8_t /*_mip*/, const Rect& /*_rect*/, uint16_t /*_z*/, uint16_t /*_depth*/, uint16_t /*_pitch*/, const Memory* /*_mem*/)
|
2012-08-13 00:02:11 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-03-03 00:35:09 -05:00
|
|
|
void Context::rendererUpdateTextureEnd()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-23 00:08:58 -04:00
|
|
|
void Context::rendererDestroyTexture(TextureHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-06 02:07:11 -05:00
|
|
|
void Context::rendererCreateFrameBuffer(FrameBufferHandle /*_handle*/, uint8_t /*_num*/, const TextureHandle* /*_textureHandles*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-06 02:07:11 -05:00
|
|
|
void Context::rendererDestroyFrameBuffer(FrameBufferHandle /*_handle*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-10-28 00:34:41 -04:00
|
|
|
void Context::rendererCreateUniform(UniformHandle /*_handle*/, UniformType::Enum /*_type*/, uint16_t /*_num*/, const char* /*_name*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererDestroyUniform(UniformHandle /*_handle*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-06-09 18:28:25 -04:00
|
|
|
void Context::rendererSaveScreenShot(const char* /*_filePath*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererUpdateViewName(uint8_t /*_id*/, const char* /*_name*/)
|
2012-07-23 00:08:58 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Context::rendererUpdateUniform(uint16_t /*_loc*/, const void* /*_data*/, uint32_t /*_size*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-06-11 01:41:03 -04:00
|
|
|
void Context::rendererSetMarker(const char* /*_marker*/, uint32_t /*_size*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-23 00:08:58 -04:00
|
|
|
void Context::rendererSubmit()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BGFX_CONFIG_RENDERER_NULL
|