Jump to content

  • Log In with Google      Sign In   
  • Create Account

C0lumbo

Member Since 02 Nov 2012
Offline Last Active Yesterday, 11:49 PM

Posts I've Made

In Topic: Vulkan and mipmap generation

17 May 2016 - 11:19 PM

I think vkCmdBlitImage is likely to be a superior option for mipmap generation than using a render pass per mipmap level. Not sure how vkCmdBlitImage stacks up against a compute shader though.


In Topic: Android development best tool

13 May 2016 - 04:04 PM

If you're setting up a new project, I'd definitely skip Eclipse and go for Android Studio, otherwise every tutorial or set of guidelines you come across will be for the wrong tool.

 

From google's developer blog on the launch of Android Studio 2.0

 

 

If you are developing for Android, you should be using Android Studio 2.0.

 

(http://android-developers.blogspot.co.uk/2016/04/android-studio-2-0.html):

 

Edit: FWIW, I currently use https://developer.nvidia.com/codeworks-android which integrates with Visual Studio and builds are Ant based, I want to switch over to Android Studio, haven't got around to it yet.


In Topic: Pixel Shader Uniform Cannot be Found

02 May 2016 - 08:56 AM

Are you using the uniform? If not, then possibly it has been stripped out (not 100% sure DX9 will do this, but it's a quick thing to check)


In Topic: Generating command buffers each frame issue

27 April 2016 - 06:30 AM

I don't think there's an alternative to recording command lists per frame. Ideally, you want to use pre-recorded ones as much as possible, but too much stuff changes per frame in a real-world app to avoid recording some stuff on the fly.

The only time I saw a similar accumulating frame-rate drop was when my memory manager was leaking like crazy. I'd look into whether you are leaking anything.

Also, from what you've posted, it looks like you're re-recording ALL your command lists every frame. Surely you only want to be recording one command list per frame  as the others might still be being consumed by the GPU.


In Topic: KitKat 4.4 writing to external SD etc.

21 April 2016 - 02:02 PM

I dont use any fancy android local storage things, i need a clear way to write, read into internal/external memory as user chooses on which he wants to install it. Problem is kiktak (android 4.4) doesnt allow third party apps to write to external sd cards (and maybe to internal too) so what opportunities do i have?

 

Are you talking about your app reading/writing files in external storage?

Or are you talking about your users wanting to move your app to external storage in order to save space?

 

I think people think you're talking about the first one, in which case WRITE_EXTERNAL_STORAGE should do it as they have said.

 

But I think maybe you're asking for the latter. If so, then it's a simple change to the manifest.

<manifest xmlns:android="blah" 
		  package="blah" 
		  android:versionCode="1" 
		  android:versionName="1.0.0"
		  android:installLocation="auto"
		  >

Adding the android:installLocation="auto" allows users to move your app install to their SD card.


PARTNERS