Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Altcore - not for merge #8110

Open
wants to merge 201 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
367a71b
simplify ifdefs with typedef
dimitre Jan 10, 2024
ed1baca
setWindowRectangle
dimitre Jan 10, 2024
fc8a20f
update
dimitre Jan 14, 2024
639b5da
vec2 to ivec2
dimitre Jan 14, 2024
9d9c4bc
orientation set and get on primitive now
dimitre Jan 14, 2024
7ac88ef
windowmode to primitive class
dimitre Jan 14, 2024
1bf4e4f
simplification of window settings
dimitre Jan 15, 2024
eec5842
more
dimitre Jan 15, 2024
3508e3a
more simplification
dimitre Jan 15, 2024
9902141
typedefs
dimitre Jan 15, 2024
2a80aa2
shared ptr fix
dimitre Jan 15, 2024
0082f44
emscripten
dimitre Jan 15, 2024
6d39dde
remove glut window
dimitre Jan 15, 2024
04990f0
remove glut window, ofGetWindowPosition
dimitre Jan 15, 2024
4fdeff7
up
dimitre Jan 15, 2024
140136c
Merge branch 'openframeworks:master' into glfw0
dimitre Jan 15, 2024
892f175
all monitors properties
dimitre Jan 15, 2024
ef9b37d
ios
dimitre Jan 16, 2024
63c0cd1
remove glut
dimitre Jan 16, 2024
907d286
up
dimitre Jan 16, 2024
4ad5189
real minimal fullscreen monitor handling
dimitre Jan 17, 2024
8253b25
multimonitor ok
dimitre Jan 17, 2024
fa5b4e1
more cleanup
dimitre Jan 17, 2024
81a4da4
setup simplification
dimitre Jan 17, 2024
14a4e39
simplify setup
dimitre Jan 17, 2024
9e9d64c
more cleanup
dimitre Jan 17, 2024
a7bfad4
more
dimitre Jan 17, 2024
6f5abfe
advancing
dimitre Jan 17, 2024
0d4b19f
fix ifdef osx
dimitre Jan 17, 2024
7f6cf0e
update img tests
dimitre Jan 17, 2024
2f4cc85
fix vector
dimitre Jan 17, 2024
fd7197f
vector fix
dimitre Jan 17, 2024
18a7496
emscripten ivec2 fix
dimitre Jan 17, 2024
86f4879
try to fix ios
dimitre Jan 17, 2024
d0a2672
more
dimitre Jan 17, 2024
3ae86ca
more changes
dimitre Jan 18, 2024
2b23530
crazy changes
dimitre Jan 18, 2024
07ac43c
updates
dimitre Jan 19, 2024
d7ed5ff
yess wkkrnnnggg
dimitre Jan 22, 2024
a454746
update fs code for windows
dimitre Jan 23, 2024
db5a9fd
egl
dimitre Jan 23, 2024
6fbcf17
try ios
dimitre Jan 24, 2024
e2049d2
egl fix?
dimitre Jan 24, 2024
6b5b169
ios
dimitre Jan 24, 2024
72ec1cc
linux arm 6l
dimitre Jan 24, 2024
26536b8
settings.fullscreenDisplays = { 0, 1, 2 }
dimitre Jan 24, 2024
e29e771
more
dimitre Jan 24, 2024
c13616d
make shared initializers
dimitre Jan 24, 2024
4e257c5
cleanup
dimitre Jan 24, 2024
7a61ff6
xim xic
dimitre Jan 24, 2024
46bd1be
Merge branch 'openframeworks:master' into glfw0
dimitre Jan 24, 2024
697c02b
xic xim
dimitre Jan 24, 2024
560a6e3
remove comments
dimitre Jan 24, 2024
ec98cae
glfw3native.h
dimitre Jan 24, 2024
c38d70f
all updates goodies cherry picked
dimitre Jan 25, 2024
55734e8
ofxCvContourFinder.h setAnchorPoint fix
dimitre Jan 25, 2024
cd62823
comment out ofRectangle using int parameters
dimitre Jan 25, 2024
d6d749a
windowsapps removal
dimitre Jan 25, 2024
a86b14f
resolve conflict
dimitre Jan 26, 2024
0b257b3
monitor callback fix
dimitre Jan 26, 2024
6b14732
Merge branch 'openframeworks:master' into glfw0
dimitre Jan 27, 2024
c8fc8c0
fix monitor
dimitre Jan 28, 2024
a905c6d
ofGetElapsedTimef with chrono
dimitre Jan 28, 2024
c721f70
testing glfw changes
dimitre Jan 28, 2024
46475cd
Merge branch 'openframeworks:master' into glfw0
dimitre Jan 31, 2024
17cd648
Merge branch 'openframeworks:master' into glfw0
dimitre Feb 1, 2024
1d52a78
changes for rpi
dimitre Feb 1, 2024
a435741
changes for rpi
dimitre Feb 1, 2024
904f852
some .h work
dimitre Feb 2, 2024
9a21014
revert vector
dimitre Feb 2, 2024
fba5373
includes back
dimitre Feb 2, 2024
e588f8d
Merge branch 'openframeworks:master' into glfw0
dimitre Feb 3, 2024
5709d72
rpi changes
dimitre Feb 3, 2024
9daf722
rpi changes
dimitre Feb 3, 2024
7526750
rpi changes
dimitre Feb 3, 2024
a9f85e3
rpi changes
dimitre Feb 3, 2024
ce2c1c5
revert keyboard back
dimitre Feb 3, 2024
7b61d15
kb
dimitre Feb 3, 2024
f0f5bd2
kbd
dimitre Feb 3, 2024
c45739c
kbd
dimitre Feb 3, 2024
bc5f1a1
up
dimitre Feb 3, 2024
7053980
up
dimitre Feb 3, 2024
74b91c6
fix
dimitre Feb 5, 2024
c3d364d
fix conflicts
dimitre Feb 5, 2024
4098a8e
.mk
dimitre Feb 5, 2024
994f35a
updates
dimitre Feb 5, 2024
608ee96
fix rpi
dimitre Feb 7, 2024
9c451bb
up test
dimitre Feb 12, 2024
2eea48e
Merge branch 'openframeworks:master' into glfw0
dimitre Feb 12, 2024
58b6a26
mk
dimitre Feb 13, 2024
07c0a62
up
dimitre Feb 13, 2024
dadbcd6
keyboard back working
dimitre Feb 13, 2024
a9bbbf8
Merge branch 'openframeworks:master' into glfw0
dimitre Feb 15, 2024
d2a1bd8
changes
dimitre Feb 15, 2024
9489579
Merge branch 'openframeworks:master' into glfw0
dimitre Feb 19, 2024
f400b15
updates
dimitre Feb 15, 2024
c682fd6
up
dimitre Feb 19, 2024
ae25320
updates glfw
dimitre Mar 3, 2024
3f73265
Merge branch 'openframeworks:master' into glfw0
dimitre Mar 3, 2024
398d495
update all
dimitre Mar 13, 2024
6a89f63
Merge branch 'openframeworks:master' into glfw0
dimitre Mar 13, 2024
a9e2f57
Merge branch 'openframeworks:master' into glfw0
dimitre Apr 24, 2024
b7cdc90
more unrelated changes
dimitre Apr 29, 2024
3739134
update rpi actions
dimitre May 6, 2024
b479484
up
dimitre May 6, 2024
80f4449
downloader
dimitre May 6, 2024
e788458
changes in fps
dimitre May 6, 2024
77b3128
up
dimitre May 11, 2024
4917e2e
up
dimitre May 11, 2024
71b2f90
updates
dimitre May 13, 2024
318ec25
Merge branch 'openframeworks:master' into glfw0
dimitre May 13, 2024
ba0a9c4
up
dimitre May 13, 2024
b181abb
up
dimitre May 13, 2024
3f069c2
fps counter back original
dimitre May 13, 2024
6a235af
ofxOpenCv
dimitre May 13, 2024
42c435c
remove A3 test
dimitre May 13, 2024
0641470
Merge branch 'openframeworks:master' into glfw0
dimitre May 15, 2024
a3f85e8
Merge branch 'openframeworks:master' into glfw0
dimitre May 15, 2024
b1d1e61
up
dimitre May 16, 2024
3942046
update conflicts, simplify PR
dimitre May 16, 2024
d98962b
Merge branch 'openframeworks:master' into glfw0
dimitre May 17, 2024
a7435f8
Merge branch 'openframeworks:master' into glfw0
dimitre May 18, 2024
1808eb6
Merge branch 'openframeworks:master' into glfw0
dimitre May 23, 2024
b1072af
Merge branch 'openframeworks:master' into glfw0
dimitre May 24, 2024
c1f733a
Merge branch 'openframeworks:master' into glfw0
dimitre May 24, 2024
77b7fff
Merge branch 'openframeworks:master' into glfw0
dimitre May 24, 2024
d36e20a
put back ofMath.h
dimitre May 24, 2024
3db0005
Merge branch 'openframeworks:master' into glfw0
dimitre May 27, 2024
617b0da
Merge branch 'openframeworks:master' into glfw0
dimitre May 28, 2024
5bbb41a
Merge branch 'openframeworks:master' into glfw0
dimitre May 28, 2024
68d6832
Merge branch 'openframeworks:master' into glfw0
dimitre May 28, 2024
ab0dffc
Merge branch 'openframeworks:master' into glfw0
dimitre May 28, 2024
eb70a82
Merge branch 'openframeworks:master' into glfw0
dimitre May 30, 2024
04f1f5d
Merge branch 'openframeworks:master' into glfw0
dimitre May 30, 2024
2d4a86e
Merge branch 'openframeworks:master' into glfw0
dimitre Jun 7, 2024
7ca8110
Merge branch 'openframeworks:master' into glfw0
dimitre Jun 17, 2024
ed69c1d
Merge branch 'openframeworks:master' into glfw0
dimitre Jun 25, 2024
77ad98a
merge latest. is this ok?
dimitre Jul 11, 2024
3552abf
fix conflicts and update
dimitre Jul 12, 2024
1fc2fdd
Merge branch 'openframeworks:master' into glfw0
dimitre Jul 16, 2024
3a075b7
Merge branch 'openframeworks:master' into glfw0
dimitre Jul 18, 2024
5800b31
Merge branch 'openframeworks:master' into glfw0
dimitre Jul 19, 2024
a62be90
fix linux GLXContext
dimitre Jul 19, 2024
cc92ce7
Merge branch 'openframeworks:master' into glfw0
dimitre Jul 27, 2024
e497f23
fix
dimitre Jul 28, 2024
dfb2134
Merge branch 'openframeworks:master' into glfw0
dimitre Jul 29, 2024
3463243
merge master
dimitre Aug 6, 2024
a2f3acf
Merge branch 'openframeworks:master' into glfw0
dimitre Aug 10, 2024
808f3ef
Merge branch 'openframeworks:master' into glfw0
dimitre Aug 15, 2024
64f7822
Merge branch 'openframeworks:master' into glfw0
dimitre Aug 16, 2024
1979e71
Merge branch 'openframeworks:master' into glfw0
dimitre Aug 17, 2024
de7d8bd
merge master
dimitre Aug 20, 2024
16dcb74
merge
dimitre Aug 21, 2024
4541a30
Merge branch 'openframeworks:master' into glfw0
dimitre Aug 21, 2024
3ab5b15
up
dimitre Aug 28, 2024
3ccb3f1
fix conflicts
dimitre Aug 29, 2024
02fd83e
revert glfwwindow
dimitre Aug 29, 2024
5393b61
ofShader setUniformBufferObject
dimitre Aug 29, 2024
f3609fd
updates
dimitre Aug 30, 2024
660839b
up
dimitre Sep 2, 2024
5f0b37d
test removing ifdef
dimitre Sep 2, 2024
1387559
less defines
dimitre Sep 2, 2024
91831e6
bindbase opengles
dimitre Sep 2, 2024
cd71996
archs
dimitre Sep 3, 2024
2bdcc20
archs in macos
dimitre Sep 3, 2024
08fa627
more defines commented out
dimitre Sep 3, 2024
5b7a775
up
dimitre Sep 3, 2024
40ba7dc
ONLY_ACTIVE_ARCH
dimitre Sep 3, 2024
5916c38
up
dimitre Sep 3, 2024
2a85e9d
Merge branch 'openframeworks:master' into glfw0
dimitre Sep 4, 2024
efc31da
project
dimitre Sep 4, 2024
c05ea0b
static strcut
dimitre Sep 5, 2024
aa78bb4
updates
dimitre Sep 5, 2024
4bc9a7e
updates
dimitre Sep 5, 2024
3c827fb
revert some
dimitre Sep 5, 2024
11c7fd0
update
dimitre Sep 5, 2024
c220f4b
buffer object
dimitre Sep 5, 2024
67a5d4f
fix
dimitre Sep 5, 2024
4791fa5
Merge branch 'openframeworks:master' into altcore
dimitre Sep 6, 2024
99d9927
Merge branch 'openframeworks:master' into altcore
dimitre Sep 7, 2024
0188a84
tests
dimitre Sep 9, 2024
0c377e6
ofGetMainLoop substitution
dimitre Sep 9, 2024
eab9a62
before changes
dimitre Sep 9, 2024
acbd035
more straightness
dimitre Sep 9, 2024
6854cf2
altcore tests
dimitre Sep 9, 2024
cb8b843
up
dimitre Sep 9, 2024
8915399
up
dimitre Sep 9, 2024
b4ae604
ofsa ios
dimitre Sep 9, 2024
795dcfc
std::set for linux
dimitre Sep 9, 2024
d431910
emscripten
dimitre Sep 9, 2024
224dd4c
fix set linux
dimitre Sep 9, 2024
f4688d3
emscripten fix
dimitre Sep 9, 2024
935a290
conflicts fix
dimitre Sep 10, 2024
3ab651f
ow, still issue with keys
dimitre Sep 10, 2024
3790a35
Merge branch 'openframeworks:master' into altcore
dimitre Sep 11, 2024
bb3a5ae
merge master
dimitre Feb 16, 2025
2160a7f
fix ofCore
dimitre Feb 16, 2025
159c09f
altcore
dimitre Feb 19, 2025
a0767d7
update test
dimitre Feb 19, 2025
213cd4a
openal <set>
dimitre Feb 19, 2025
10450cc
Merge branch 'openframeworks:master' into altcore
dimitre Feb 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions addons/ofxEmscripten/src/ofxAppEmscriptenWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,16 +487,16 @@ void ofxAppEmscriptenWindow::setWindowShape(int w, int h){
}

//------------------------------------------------------------
glm::vec2 ofxAppEmscriptenWindow::getWindowPosition(){
return glm::vec2(0,0);
glm::ivec2 ofxAppEmscriptenWindow::getWindowPosition(){
return { 0, 0 };
}

//------------------------------------------------------------
glm::vec2 ofxAppEmscriptenWindow::getWindowSize(){
glm::ivec2 ofxAppEmscriptenWindow::getWindowSize(){
if(mCurrentWindowMode == OF_GAME_MODE) {
double twidth, theight;
emscripten_get_element_css_size("canvas", &twidth, &theight);
return glm::vec2((int)twidth,(int)theight);
return { (int)twidth, (int)theight };
}
int width;
int height;
Expand All @@ -509,7 +509,7 @@ glm::vec2 ofxAppEmscriptenWindow::getWindowSize(){
}

//------------------------------------------------------------
glm::vec2 ofxAppEmscriptenWindow::getScreenSize(){
glm::ivec2 ofxAppEmscriptenWindow::getScreenSize(){
return getWindowSize();
}

Expand Down
10 changes: 5 additions & 5 deletions addons/ofxEmscripten/src/ofxAppEmscriptenWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <emscripten/html5.h>
#include <webgl/webgl1.h> // For Emscripten WebGL API headers (see also webgl/webgl1_ext.h and webgl/webgl2.h)

class ofxAppEmscriptenWindow: public ofAppBaseGLESWindow {
class ofxAppEmscriptenWindow: public ofAppBaseWindow {
public:
ofxAppEmscriptenWindow();
~ofxAppEmscriptenWindow();
Expand All @@ -30,17 +30,17 @@ class ofxAppEmscriptenWindow: public ofAppBaseGLESWindow {
static void loop();


void setup(const ofGLESWindowSettings & settings);
void setup(const ofWindowSettings & settings);

void hideCursor();
// void showCursor();

// void setWindowPosition(int x, int y);
void setWindowShape(int w, int h);

glm::vec2 getWindowPosition();
glm::vec2 getWindowSize();
glm::vec2 getScreenSize();
glm::ivec2 getWindowPosition();
glm::ivec2 getWindowSize();
glm::ivec2 getScreenSize();


ofOrientation getOrientation();
Expand Down
45 changes: 5 additions & 40 deletions addons/ofxiOS/src/app/ofAppiOSWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "ofxiOSConstants.h"
#include "ofEvents.h"

class ofiOSWindowSettings: public ofGLESWindowSettings{
class ofiOSWindowSettings: public ofWindowSettings{
public:
ofiOSWindowSettings()
:enableRetina(true)
Expand Down Expand Up @@ -112,40 +112,6 @@ class ofiOSWindowSettings: public ofGLESWindowSettings{
}
}

ofiOSWindowSettings(const ofGLESWindowSettings & settings)
:ofGLESWindowSettings(settings)
,enableRetina(true)
,retinaScale(0)
,enableDepth(false)
,enableAntiAliasing(false)
,numOfAntiAliasingSamples(0)
,enableHardwareOrientation(false)
,enableHardwareOrientationAnimation(false)
,enableSetupScreen(true)
,windowControllerType(ofxiOSWindowControllerType::CORE_ANIMATION)
,colorType(ofxiOSRendererColorFormat::RGBA8888)
,depthType(ofxiOSRendererDepthFormat::DEPTH_NONE)
,stencilType(ofxiOSRendererStencilFormat::STENCIL_NONE)
,enableMultiTouch(false){
const ofiOSWindowSettings * iosSettings = dynamic_cast<const ofiOSWindowSettings*>(&settings);
if(iosSettings){
enableRetina = iosSettings->enableRetina;
retinaScale = iosSettings->retinaScale;
enableDepth = iosSettings->enableDepth;
enableAntiAliasing = iosSettings->enableAntiAliasing;
numOfAntiAliasingSamples = iosSettings->numOfAntiAliasingSamples;
enableHardwareOrientation = iosSettings->enableHardwareOrientation;
enableHardwareOrientationAnimation = iosSettings->enableHardwareOrientationAnimation;
enableSetupScreen = iosSettings->enableSetupScreen;
setupOrientation = iosSettings->setupOrientation;
windowControllerType = iosSettings->windowControllerType;
colorType = iosSettings->colorType;
depthType = iosSettings->depthType;
stencilType = iosSettings->stencilType;
enableMultiTouch = iosSettings->enableMultiTouch;
}
}

virtual ~ofiOSWindowSettings(){};

bool enableRetina;
Expand All @@ -166,7 +132,7 @@ class ofiOSWindowSettings: public ofGLESWindowSettings{
};


class ofAppiOSWindow : public ofAppBaseGLESWindow {
class ofAppiOSWindow : public ofAppBaseWindow {
public:

static ofAppiOSWindow * getInstance();
Expand All @@ -181,7 +147,6 @@ class ofAppiOSWindow : public ofAppBaseGLESWindow {
static void pollEvents(){ }

void setup(const ofWindowSettings & _settings);
void setup(const ofGLESWindowSettings & _settings);
void setup(const ofiOSWindowSettings & _settings);
void setup();

Expand All @@ -200,9 +165,9 @@ class ofAppiOSWindow : public ofAppBaseGLESWindow {
virtual void setWindowPosition(int x, int y);
virtual void setWindowShape(int w, int h);

virtual glm::vec2 getWindowPosition();
virtual glm::vec2 getWindowSize();
virtual glm::vec2 getScreenSize();
virtual glm::ivec2 getWindowPosition();
virtual glm::ivec2 getWindowSize();
virtual glm::ivec2 getScreenSize();

#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)
virtual void setOrientation(ofOrientation orientation);
Expand Down
Loading