Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
   Copyright (c) 2017 DIVIDE-Studio
   Copyright (c) 2009 Ionut Cava

   This file is part of DIVIDE Framework.

   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software
   and associated documentation files (the "Software"), to deal in the Software
   without restriction,
   including without limitation the rights to use, copy, modify, merge, publish,
   distribute, sublicense,
   and/or sell copies of the Software, and to permit persons to whom the
   Software is furnished to do so,
   subject to the following conditions:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED,
   INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
   PARTICULAR PURPOSE AND NONINFRINGEMENT.
   IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
   DAMAGES OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
   IN CONNECTION WITH THE SOFTWARE
   OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 */

#ifndef _PLATFORM_DEFINES_APPLE_H_
#define _PLATFORM_DEFINES_APPLE_H_

#include "Platform/File/Headers/FileWithPath.h"

#ifndef _RESTRICT_
#define _RESTRICT_ __restrict__
#endif

#ifndef NOINITVTABLE
#define NOINITVTABLE
#endif  //NOINITVTABLE

#ifndef FORCE_INLINE
#define FORCE_INLINE __attribute__((always_inline))
#endif //FORCE_INLINE

#include <limits>
#include <Carbon/Carbon.h>
void checkMacEvents();

namespace Divide {
    struct SysInfo {
        SysInfo() : _windowHandle(0),
                    _availableRam(0),
                    _systemResolutionWidth(0),
                    _systemResolutionHeight(0)
        {
        }

        id _windowHandle;
        size_t _availableRam;
        int _systemResolutionWidth;
        int _systemResolutionHeight;
        FileWithPath _pathAndFilename;
    };

}; //namespace Divide

#endif //_PLATFORM_DEFINES_APPLE_H_

Commits for Divide-Framework/trunk/Source Code/Platform/Headers/PlatformDefinesApple.h

Diff revisions: vs.
Revision Author Commited Message
893 Diff Diff IonutCava picture IonutCava Sun 18 Jun, 2017 17:33:07 +0000

[Ionut]
- Initial implementation of a PipelineStateObject (holds shader program, rasterizer state, etc)
- Rework PCH implementation a bit because VS2017 no longer has a /ZM option

890 Diff Diff IonutCava picture IonutCava Sun 14 May, 2017 20:54:59 +0000

[Ionut]
- Add pre-compiled header support
- Initial code for per-stage tessellation computation

837 Diff Diff IonutCava picture IonutCava Sun 29 Jan, 2017 15:45:58 +0000

[IonutCava]
- File system updates

836 Diff Diff IonutCava picture IonutCava Fri 27 Jan, 2017 14:59:56 +0000

[IonutCava]
- Update copyright notice

648 Diff Diff IonutCava picture IonutCava Sun 21 Feb, 2016 16:32:52 +0000

[IonutCava]
- Update copyright notice
- Move BoundingBox and BoundingSphere to a new BoundsComponent
— Add a temp hack in SceneGraphNode to update these

565 Diff Diff IonutCava picture IonutCava Fri 13 Nov, 2015 16:39:03 +0000

[IonutCava]
- Implemented SSE functionality to the float specializations of vec4 and mat4 (some scalar operations are still used for now)
- Cleaned up some redundant static casts

540 Diff Diff IonutCava picture IonutCava Wed 28 Oct, 2015 19:06:28 +0000

[IonutCava]
- Remove the “Platform” folder from the Platform project as the name is redundant. Move files one level up

489 Diff Diff IonutCava picture IonutCava Wed 12 Aug, 2015 19:44:53 +0000

[Ionut]
- Replace platform specific timing code with C++11’s new std::chrono library for better cross platform compatibility, performance and reliability (hopefully)

462 Diff Diff IonutCava picture IonutCava Wed 03 Jun, 2015 15:58:10 +0000

[Ionut]
- More Linux port work:
— Code compiles and links
— Executable launches and:
-— Failes to create a context (running on a virtual machine, so to be expected)
-— Time values are invalid (never debugged linux time code, so to be expected)
Code is now cross-platform Win32 <-> Unix

459 IonutCava picture IonutCava Tue 02 Jun, 2015 18:34:10 +0000

[Ionut]
- Windows compilation fixes for the previous commit