Favorite Tags
View questions based on your favorite tags across the Stack Exchange network

0 answers

Android NDK-build process in Android Studio

I am trying to get the sample app of antidote running (source code). I am confused as to how I need to run my app in Android Studio. I put the C-source files in the /jni folder, installed Cygwin and ...

1 answer

50 MB Image uses 1 GB of RAM as Texture

I'm using LWJGL to create an OpenGL 3D application. For importing my images (for UV mapping) and converting them to Textures I use Slick2D: bufferedImage = ...

0 answers

Can't get __builtin_arm_get_fpscr() builtin to work

If you go look here: https://gcc.gnu.org/onlinedocs/gcc/ARM-Floating-Point-Status-and-Control-Intrinsics.html#ARM-Floating-Point-Status-and-Control-Intrinsics You'll see there are 2 documented ...

1 answer

Neon: isnan(val) intrinsics

I want to use isnan()functionality in NEON intrinsics .Below is my code :input1,input2 and output is of type float .These values are getting updated from ROI of input image/frame.(image processing ...

1 answers | 50 mins ago by user3476225 on Stack Overflow stackoverflow.com
0 answers

Android Studio JNI: Loop of ClassNotFoundException

I'm creating a C++ Android APP based of the book Pro Android NDK and this tutorial (http://www.swig.org/Doc2.0/Android.html#Android_example_class) I created a C++ class called Http that creates ...

0 answers

Is running ARM32 neon code on the iPhone 6 slow?

I have some neon optimized code that is compiled to armv7 assembly for the iPhone. Generation of arm64 code is not enabled. Does the neon code provide any speed benefit on the newer iPhones (like ...

1 answer

glsl shader to allow color change of skydome ogre3d

I'm still very new to all this but learning a lot. I'm putting together an application using Ogre3d as the rendering engine. So far I've got it running, with a simple scene, a day/night cycle system ...

0 answers

Sprites not being rendered on screen change - Android Libgdx

In my game over screen for my Libgdx Android game I've the following code which starts a new game upon a screen touch. if(Gdx.input.isTouched()) { ScreenManager.setScreen(new ...

2 answers

drawing a rectangle with min3d in android

I am using the 3d framework min3d and am trying to draw a rectangle that covers the whole screen. What parameters should I pass to the constructor of the Rectangle class?? It is declared this way: ...

2 answers | 1 hour ago by Rafa on Stack Overflow stackoverflow.com
1 answer

C++ Deleting EGL Opengles 2.0 properly

I've written a program that creates a window on WINCE and uses EGL to create the drawing surface and context. When this program quits, I have the following clean up routine: ...

0 answers

Sprite outline based on light position in UE4

I have simple sprite (for example black box) and I like to add to it outline (red line on example image) but based on light direction. I know UE4 use deffered renderer, so I cant access to lights, but ...

2 answers

OpenAL Invalid Operation

I'm getting an OpenAL "Invalid Operation" error when trying to delete a buffer. I've checked with alIsBuffer and alIsSource that my source and buffer are valid OpenAL objects, and that's the case. ...

2 answers | 2 hours ago by panicq on Stack Overflow stackoverflow.com
1 answer

NDK build error - LOCAL_SRC_FILES points to a missing file

I am getting below error while building. mobi@mobi-H81M-DS2:~$ cd workspace/MasterX/jni/ mobi@mobi-H81M-DS2:~workspace/MasterX/jni/$ "/home/mobi/Android/Ndk/android-ndk-r10d/ndk-build" Android NDK: ...

1 answers | 2 hours ago by Hitendra on Stack Overflow stackoverflow.com
0 answers

undefined reference to 'posix_fadvise'

I am using the Android NDK version: r9c I need the posix_fadvise() to advise OS do not cache the file, which I opened in order to bypass cache and force to I/O access the storage device when I need ...

1 answer

Qt5 QWidget::create() with Win32 HWND embedding not longer working after port from Qt4

the following code tries to embed a native Win32 HWND of a custom created OpenGL windows into a QWidget using the create method: viewer_widget::viewer_widget( QWidget* parent, const ...

1 answers | 3 hours ago by user1901361 on Stack Overflow stackoverflow.com
2 answers

Can GLSL perform a recursion formula calculation? Or how can I speed up this formular

I want to implement this formula in my iOS App. Is there any way to using GLSL to speed this formula up. Or can I use mental or something to speed this formula up? for (k = 0; k < imageSize; k++) ...

1 answer

Neon: maximum of four floating values inside float32x4_t vector

I want to find out maximum among the four values in one 32x4 vector. I have one vector of type float32x4_t: float32x4_t maxR = {10.21,10.25,23.5,24.86} //FOR EXAMPLE I want to find out among this ...

1 answers | 3 hours ago by user3476225 on Stack Overflow stackoverflow.com
0 answers

Which is the OpenCL library for NVIDIA K1 Shield Tablet?

I'm trying to build an Android Application that use OpenCL library. I compiled the application using 'libOpenCL.so' file but the application doesn't work. Which is the OpenCL library for NVIDIA Shield ...

1 answer

How to increase the refresh rate of directx 11?

I have searched a lot over the internet to find a solution for this one, but I cant find any solution. For one of my project to work, I need to increase the refresh rate of directx 11 running on ...

1 answers | 4 hours ago by Leoz on Stack Overflow stackoverflow.com
0 answers

NDK project with clang: linker errors

I have a perfectly working NDK project that uses the latest NDK r10d and GCC 4.9 toolchain. I've decided to try building it with clang instead. I've set NDK_TOOLCHAIN_VERSION := clang in ...

0 answers

Memory Leak in C# Video processing

I am trying to write some video stitching software that emulates the functionality of a car dashboard that has an all around camera system. The program uses HD video capture cards to stream from 5 ...

2 answers

Why would alSourceUnqueueBuffers fail with INVALID_OPERATION

Here's the code: ALint cProcessedBuffers = 0; ALenum alError = AL_NO_ERROR; alGetSourcei(m_OpenALSourceId, AL_BUFFERS_PROCESSED, &cProcessedBuffers); if((alError = alGetError()) != AL_NO_ERROR) ...

2 answers | 4 hours ago by Gerald on Stack Overflow stackoverflow.com
0 answers

Why strdup and strcat combination is not working in linux android ndk

Consider the following code. The task at hand is to concatenate "Primary" and "_Secondary._tcp.local" into "Primary._Secondary._tcp.local" The value of fqdn_global should be ...

0 answers

Shader building in Haskell

I'm making a rendering engine in Haskell, and am tackling the way I use shaders based off simple case statements and Maybe data types. I've got 4 different types of shaders at the moment: Simple ...

1 answer

Angle deflection in Brick Slayer game

So, this is my code: void Draw() { int x = 59; int y = 500; int temp = x; int colour; for (int i = 0; i < 9; ++i) { for (int j = 0; j < 10; ++j) { ...

1 answers | 4 hours ago by Adeel Ahmad on Stack Overflow stackoverflow.com
3 answers

Capturing stdout/stderr with NDK

I am porting some existing C code to run on Android. This C code writes lots of output to stdout/stderr. I need to capture this output, either in a memory buffer or a file, so I can then send it by ...

2 answers

What is necessary to toggle fullscreen in DirectX 11?

I've just started learning DX so I know almost nothing about it although I do know OpenGL (to certain extent). I'm follow a tutorial (http://www.rastertek.com/tutdx11.html) and I have a working window ...

2 answers | 5 hours ago by NPS on Stack Overflow stackoverflow.com
1 answer

Shader that draws just vertex points

The game I am developing is in unity and I want to make a shader which can be put on a mesh that only 'draws' color on each vertex point. I am not proficient with shaders, and out of all my searching ...

1 answer

LLVM missing linker and can't compile the lld (llvm linker)

I want to build a compiler to a new target and I choose llvm. As far as I understand, I can use the clang project as a front end and llvm as a back end. I can get .o files out of the llc (part of the ...

1 answers | 5 hours ago by yehudahs on Stack Overflow stackoverflow.com
0 answers

FBX Scene causing Visual Studio 2013 to crash with exception to NTDLL.DLL

I am Loading An FBX Scene and when all dependency are set, it seems there is a conflict with NTDLL.DLL, the debugger displays an apparent exception that is not caught, see below Unhandled exception ...

15 30 50 per page
1 2 3