Moved public header files into bgfx subdirectory.

This commit is contained in:
Branimir Karadžić 2015-09-18 20:16:24 -07:00
parent d885f32a50
commit 2bbfe7e5d3
43 changed files with 43 additions and 43 deletions

View file

@ -4,7 +4,7 @@
*/
#include "common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/uint32_t.h>
#include "logo.h"

View file

@ -4,7 +4,7 @@
*/
#include "common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
// embedded shaders
#include "vs_metaballs.bin.h"

View file

@ -5,7 +5,7 @@
#include "common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/string.h>
#include <bx/fpumath.h>

View file

@ -6,7 +6,7 @@
#include "common.h"
#include "bgfx_utils.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/fpumath.h>

View file

@ -9,7 +9,7 @@
#include "common.h"
#include "bgfx_utils.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/readerwriter.h>
#include <bx/fpumath.h>

View file

@ -19,7 +19,7 @@ using namespace std::tr1;
#include "common.h"
#include "bgfx_utils.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/readerwriter.h>
#include <bx/allocator.h>

View file

@ -9,7 +9,7 @@
#include "common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/readerwriter.h>
#include <bx/fpumath.h>

View file

@ -10,7 +10,7 @@
#include "common.h"
#include "bgfx_utils.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/timer.h>
#include <bx/readerwriter.h>
#include <bx/fpumath.h>

View file

@ -3,7 +3,7 @@
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/uint32_t.h>
#include "common.h"

View file

@ -26,7 +26,7 @@
#include <stdio.h>
#include <math.h>
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/string.h>
#include <bx/timer.h>
#include "entry/entry.h"

View file

@ -12,7 +12,7 @@
#ifndef __VECTORDISPLAY_H__
#define __VECTORDISPLAY_H__
#include "bgfx.h"
#include <bgfx/bgfx.h>
#include <tinystl/allocator.h>
#include <tinystl/vector.h>

View file

@ -7,7 +7,7 @@
#include "bgfx_utils.h"
#include "imgui/imgui.h"
#include "camera.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
struct u_paramsDataStruct
{

View file

@ -3,7 +3,7 @@
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <bgfx.c99.h>
#include <bgfx/c99/bgfx.h>
#include "../00-helloworld/logo.h"
extern bool entry_process_events(uint32_t* _width, uint32_t* _height, uint32_t* _debug, uint32_t* _reset);

View file

@ -12,7 +12,7 @@
#include <tinystl/string.h>
namespace stl = tinystl;
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/readerwriter.h>
#include <bx/fpumath.h>
#include <bx/string.h>

View file

@ -6,7 +6,7 @@
#ifndef BGFX_UTILS_H_HEADER_GUARD
#define BGFX_UTILS_H_HEADER_GUARD
#include <bgfx.h>
#include <bgfx/bgfx.h>
void* load(const char* _filePath, uint32_t* _size = NULL);
void unload(void* _ptr);

View file

@ -4,7 +4,7 @@
*/
#include "common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <limits.h> // INT_MAX
#include <memory.h> // memset

View file

@ -15,7 +15,7 @@
/// algorithm based on C++ sources provided by Jukka Jylänki at:
/// http://clb.demon.fi/files/RectangleBinPack/
#include <bgfx.h>
#include <bgfx/bgfx.h>
struct AtlasRegion
{

View file

@ -3,7 +3,7 @@
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/string.h>
#include <bx/readerwriter.h>

View file

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_ANDROID
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <stdio.h>
#include <bx/thread.h>

View file

@ -9,7 +9,7 @@
#define GLFW_DLL
#include <GLFW/glfw3.h>
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include "dbg.h"
// This is just trivial implementation of GLFW3 integration.

View file

@ -17,7 +17,7 @@
//# define HAS_METAL_SDK
#endif
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View file

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_NACL
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <stdio.h>
#include <string.h>
@ -29,7 +29,7 @@
#include <ppapi/c/ppp_instance.h>
#include <ppapi/gles2/gl2ext_ppapi.h>
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <bx/thread.h>
#include "entry.h"

View file

@ -9,7 +9,7 @@
#import <Cocoa/Cocoa.h>
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View file

@ -13,7 +13,7 @@
#include <SDL2/SDL.h>
#include <SDL2/SDL_syswm.h>
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <stdio.h>
#include <bx/thread.h>

View file

@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_NATIVE && BX_PLATFORM_WINDOWS
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <bx/uint32_t.h>
#include <bx/thread.h>

View file

@ -7,7 +7,7 @@
#if BX_PLATFORM_WINRT
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#include <bx/thread.h>
using namespace Windows::ApplicationModel;

View file

@ -11,7 +11,7 @@
#define XK_LATIN1
#include <X11/keysymdef.h>
#include <X11/Xlib.h> // will include X11 which #defines None... Don't mess with order of includes.
#include <bgfxplatform.h>
#include <bgfx/bgfxplatform.h>
#undef None
#include <bx/thread.h>

View file

@ -25,7 +25,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
#include "../common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <math.h>
#if USE_EDTAA3

View file

@ -7,7 +7,7 @@
#define FONT_MANAGER_H_HEADER_GUARD
#include <bx/handlealloc.h>
#include <bgfx.h>
#include <bgfx/bgfx.h>
class Atlas;

View file

@ -5,7 +5,7 @@
#include "../common.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <stddef.h> // offsetof
#include <memory.h> // memcpy
#include <wchar.h> // wcslen

View file

@ -26,7 +26,7 @@
#ifndef IMGUI_H_HEADER_GUARD
#define IMGUI_H_HEADER_GUARD
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <ocornut-imgui/imgui.h>
#define IMGUI_MBUT_LEFT 0x01

View file

@ -3,7 +3,7 @@
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/allocator.h>
#include <bx/fpumath.h>
#include <bx/timer.h>

View file

@ -28,7 +28,7 @@
#include <math.h>
#include "nanovg.h"
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/bx.h>

View file

@ -10,7 +10,7 @@
#include <stdint.h> // uint32_t
#include <stdlib.h> // size_t
#include "bgfxdefines.h"
#include <bgfx/bgfxdefines.h>
///
#define BGFX_HANDLE(_name) \

View file

@ -13,7 +13,7 @@
#include <stdint.h> // uint32_t
#include <stdlib.h> // size_t
#include "bgfxdefines.h"
#include <bgfx/bgfxdefines.h>
typedef enum bgfx_renderer_type
{

View file

@ -3217,8 +3217,8 @@ again:
}
} // namespace bgfx
#include <bgfx.c99.h>
#include <bgfxplatform.c99.h>
#include <bgfx/c99/bgfx.h>
#include <bgfx/c99/bgfxplatform.h>
BX_STATIC_ASSERT(bgfx::Fatal::Count == bgfx::Fatal::Enum(BGFX_FATAL_COUNT) );
BX_STATIC_ASSERT(bgfx::RendererType::Count == bgfx::RendererType::Enum(BGFX_RENDERER_TYPE_COUNT) );

View file

@ -19,7 +19,7 @@
# define BX_CONFIG_ALLOCATOR_DEBUG 1
#endif // BGFX_CONFIG_DEBUG
#include "bgfx.h"
#include <bgfx/bgfx.h>
#include "config.h"
#include <inttypes.h>
@ -108,7 +108,7 @@ namespace bgfx
#include <bx/string.h>
#include <bx/os.h>
#include "bgfxplatform.h"
#include <bgfx/bgfxplatform.h>
#include "image.h"
#define BGFX_CHUNK_MAGIC_CSH BX_MAKEFOURCC('C', 'S', 'H', 0x2)

View file

@ -6,7 +6,7 @@
#include "bgfx_p.h"
#if BX_PLATFORM_NACL && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
# include <bgfxplatform.h>
# include <bgfx/bgfxplatform.h>
# include "renderer_gl.h"
namespace bgfx { namespace gl

View file

@ -6,7 +6,7 @@
#ifndef BGFX_VERTEXDECL_H_HEADER_GUARD
#define BGFX_VERTEXDECL_H_HEADER_GUARD
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include <bx/readerwriter.h>
namespace bgfx

View file

@ -10,7 +10,7 @@
#include <stdlib.h>
#include <string.h>
#include <bgfx.h>
#include <bgfx/bgfx.h>
#include "../../src/vertexdecl.h"
#include <tinystl/allocator.h>