Questions tagged [powervr-sgx]

37 questions
6
votes
4 answers

is it possible to read data from vertex shader?

I am trying to write a simple GPGPU benchmark. To load the data into vertex buffer array, do some computation in the vertex shader, and read the data back. Is it possible? I am planning to run this on SGX GPUs. Is there any way to do that? I dont…
sai pallavi
  • 147
  • 3
  • 10
4
votes
3 answers

OpenGL ES rendering to user-space memory

I need to implement off-screen rendering to texture on an ARM device with PowerVR SGX hardware. Everything is done (pixelbuffers and OpenGL ES 2.0 API were used). The only problem unsolved is very slow glReadPixels function. I'm not an expert in …
qehgt
  • 2,972
  • 1
  • 22
  • 36
4
votes
1 answer

How to determine if a texture upload was successful in OpenGL ES 2?

In the good old days of regular OpenGL, it was fairly easy to determine if a texture upload was successful - after calling glTexImage2D you could use glGetTexLevelParameteriv with GL_TEXTURE_WIDTH and GL_TEXTURE_HEIGHT as parameters. GLES, however,…
fluffy
  • 5,212
  • 2
  • 37
  • 67
4
votes
0 answers

Crash at glDrawElements on PowerVR SGX530 GPU

I'm writing a game on Android, use OpenGL ES 2.0, native code (Android NDK). At a certain point in my game, it crashes at glDrawElements() function. After debugging, I can make sure that: The mode is GL_TRIANGLES. No VBO (array or element) is…
Nghia Bui
  • 3,694
  • 14
  • 21
4
votes
1 answer

calling android_main(struct android_app* state) manually?

I am using powervr sdk to draw 3d models on top of my camera view which is created using the vuforia engine. the entire powervr code is completely native and is called by the android_app_glue. To begin rendering, android_main(struct android_app*…
4
votes
1 answer

how to restore my android game's nativeactivity (GLES layer) after phone call ends?

I am running GLES2 using native activity in my android app. When a call ends, I return to my app but the screen remains blank. I check the task manager, and I see that the app is still running. Can someone point me if 1) I have to write code to…
madan kandula
  • 460
  • 5
  • 22
4
votes
3 answers

How do PowerVR GPUs provide a depth buffer?

iOS devices use a PowerVR graphics architecture. The PowerVR architecture is a tile-based deferred rendering model. The primary benefit of this model is that it does not use a depth buffer. However, I can access the depth buffer on my iOS device.…
OldPeculier
  • 11,049
  • 13
  • 50
  • 76
3
votes
2 answers

pvrtextool cl not generating standard header

I'm using the lastest pvrtextoolCL that I downloaded today. The issue is that it's not producing the same header as apple's texturetool or the one in it's online documentation. If I use the legacy save out in the gui tool, it works, but I need the…
Nico
  • 3,826
  • 1
  • 21
  • 31
3
votes
2 answers

What exactly constitutes swizzling in OpenGL ES 2.0? (PowerVR SGX specifically.)

PowerVR says Swizzling the components of lowp vectors is expensive and should be avoided. What exactly is swizzling? color.brg // This fits the definition I'm familiar with. But what about vec3(color.b, color.r, color.g), or vec3(color),…
user652038
3
votes
0 answers

Android OpenGL ES Issue only with a specific GPU without any Error in LogCat

I have accurately tested my app before release it, on Emulator set with different screen size (and with different Android SDK and CPU emulations), and many real devices. No problems, everything works fine. Now an user has reported a bug with his…
AndreaF
  • 11,975
  • 27
  • 102
  • 168
3
votes
2 answers

how do I make an objective-c delegate for a cpp class?

I'm stuck trying to combine openGL-es (xcode openGL game template with the ogles2tools library from powervr 3.0 sdk. My problem is the line of code where I load the effect file: /* Load the effect. We pass 'this' as an argument as we wish to…
Valerie
  • 659
  • 6
  • 14
2
votes
3 answers

OpenGL ES problem with PowerVR SGX GPU

I have an OpenGL Live wallpaper that works fine on all phones except those with the PowerVR SGX series. This includes almost all Samsung phones and the Motorola Droid series. The wallpaper is nothing but a black screen on the PowerVR GPU phones. I…
2
votes
1 answer

Using PVRTexTool to build texture data on PC for use on iOS OpenGL ES

Apple provides the texturetool tool to cook textures into the PowerVR compressed texture format. My toolchain runs on Windows so I would like to create this texture data on a Windows PC. It looks like this will be simple because Imagination provides…
Namaste
  • 203
  • 1
  • 10
2
votes
1 answer

eglSwapBuffer on SGX 530 is slow

We have an embedded system that uses TI 8168 based h/w. This SOC has SGX 530 as its GPU. We are running Android 4.0.3 on this platform. We found the frame rate of Android apps seem to be low compared to same app running on similarly powered…
videoguy
  • 1,732
  • 2
  • 24
  • 49
2
votes
1 answer

PowerVR SGX540 Android texture issue

I am trying to load some textures in my android application. It works well on all the devices like samsung galaxy ace, s2 but any device using PowerVR SGX540 gpu, e.g. samsung galaxy S-gti9000 will have some weird artifacts.... Some textures are…
revolutionary
  • 3,314
  • 4
  • 36
  • 53
1
2 3