Jump to content

  • Log In with Google      Sign In   
  • Create Account

Josh Klint

Member Since 09 Jan 2011
Offline Last Active Jul 24 2014 09:50 PM

Posts I've Made

In Topic: SteamOS, Steam Machines, & Steam Controller

23 September 2013 - 03:13 PM

They're waiting for you, Gordon...in the test chamber.

 

And by "They" I mean "I", and by "Gordon" I mean "SteamOS", and by "test chamber" I mean "northern California".

 

Okay then. :D


In Topic: Music While Developing

29 August 2013 - 11:52 PM

This is all you need:


In Topic: Android - Where to call surfaceView.getHolder().setFixedSize()?

28 August 2013 - 01:20 AM

It's rather pointless to debug this code if I (and apparently no one else) don't even know the correct place to call the function in question.


In Topic: Android - Where to call surfaceView.getHolder().setFixedSize()?

27 August 2013 - 02:45 PM

I tried in my class that extends glSurfaceView.Renderer, results in a crash:
    public void onSurfaceChanged(GL10 gl, int width, int height) {
    	if(!initRun) {
    		mView.getHolder().setFixedSize(width/2,height/2);
    		init(width/2, height/2);
    		initRun = true;
    	}
    	else
    	{
    		mView.getHolder().setFixedSize(width/2,height/2);
        	recreateSurface(width,height);
    	}
    }

I tried in AndroidActivity.onCreate() just after creating an AndroidSurfaceView (extends the GLSurfaceView class) and it has no effect:
		mView = new AndroidSurfaceView(this);
		mView.getHolder().setFixedSize(1920/2,1200/2);

In Topic: Tessellation Trouble

01 June 2013 - 08:02 PM

When all else fails, make sure you are attaching your shader objects to your program.  :P


PARTNERS