Toad King
fbafdb4e35
add ability to create opaque FBO objects from native opengl FBOs
2014-08-05 17:43:25 -04:00
Henrik Rydgard
6f476520c5
Fix fbo_bind_for_read on Tegra
2014-06-05 21:28:49 +02:00
raven02
9ce30b33c3
Always restore viewport after render target binding
2014-04-23 23:07:09 +08:00
raven02
803c5a1ba6
Add comment and specify to use ARM/ADERNO
2014-04-23 22:45:38 +08:00
raven02
29193f0f2a
Restore viewport natively in fbo_bind_as_render_target()
2014-04-23 22:38:56 +08:00
Unknown W. Brackets
989a4cbf3c
Avoid leaking depth/stencil renderbuffers.
...
Only matters on devices without packed depth/stencil support, not sure how many such devices exist?
2014-02-23 17:03:24 -08:00
Henrik Rydgard
5ca590b746
Add a way to override the framebuffer bound with "unbind".
...
Allows capturing the output properly if needed to redisplay in strange ways, such as duplicating the screen for VR headsets and similar. This code will be committed later.
For true stereo, will need a lot more changes.
2014-02-12 10:21:28 +01:00
Unknown W. Brackets
ed8df1005d
Use GL_READ/DRAW_FRAMEBUFFER on desktop GL.
...
Even for < OpenGL 4.3 (GLES3 = false.)
2014-01-04 11:13:44 -08:00
raven02
3cd4fcb03d
Add fbo_get_depth_buffer & fbo_get_stencil_buffer
2013-12-27 22:41:58 +08:00
Henrik Rydgard
d48c3570fe
Fix the warnings in fbo.cpp without breaking things, hopefully.
...
Now only using GL_READ_FRAMEBUFFER and GL_DRAW_FR... when there's support.
2013-11-17 23:41:58 +01:00
Henrik Rydgard
ecc62f65b6
Revert "Fix a redeclaration warning."
...
This reverts commit 1e262d1699 .
2013-11-17 23:20:38 +01:00
Unknown W. Brackets
1e262d1699
Fix a redeclaration warning.
2013-11-15 08:21:00 -08:00
Henrik Rydgard
c3247cfdc7
Revert "Fix nasty bug in one FBO setup. Must be a common mistake that some drivers work around?"
...
Doesn't seem to have been a bug. But at least we got a test build out of it :P
This reverts commit 1b46a9ce6b .
2013-10-31 02:08:46 +01:00
Henrik Rydgard
1b46a9ce6b
Fix nasty bug in one FBO setup. Must be a common mistake that some drivers work around?
2013-10-31 01:44:59 +01:00
Sacha
404652ab0b
Clean up all the #ifdef's and GLES3 mess. Only Android and Blackberry (and later IOS) can run GLES3, so we'll just define those.
2013-10-23 14:55:20 +10:00
Henrik Rydgard
b1065271c9
Add a couple of NV gl extensions
2013-10-01 16:19:12 +02:00
Henrik Rydgard
f1b7580be8
Workaround some obscure crashes reported through Android crash reporting
2013-09-11 22:16:07 +02:00
tpu
6a014ab92d
add condition define for USING_GLES2
2013-03-30 15:34:13 +08:00
tpu
9c23f85058
mix FBO_ARB and FBO_EXT code.
2013-03-30 01:03:25 +08:00
tpu
c6e8a64684
using GL_EXT_framebuffer_objects instead of GL_ARB_framubuffer_objects.
2013-03-29 14:16:16 +08:00
Sacha
318e75a665
Fix for FBO on iOS devices (from rock88).
2013-02-24 13:45:48 +10:00
Henrik Rydgard
a9a067ef84
Set depth and color mask before clearing.
2013-02-22 22:11:26 +01:00
Unknown W. Brackets
70a56b4887
Delete FBOs in fbo_destroy().
2013-02-09 00:33:41 -08:00
Henrik Rydgard
f22ad17d40
Add way to query the size of an FBO
2013-02-02 12:37:17 +01:00
Henrik Rydgard
09a37c4e28
Don't log when framebuffer creation succeeds.
2013-02-02 12:37:13 +01:00
Henrik Rydgard
f315424c42
Add dither to state. Allow choosing FBO color depth. Disable VBO for draw_buffer but keep code.
2013-01-23 23:02:32 +01:00
Henrik Rydgard
7ceecd22b4
Check for EXT_discard_framebuffer
2013-01-10 23:48:28 +01:00
Sacha
965c93411f
Symbian support for project.
...
Also, check if 24-bit depth is supported and use it (when packed stencil isn't provided). VideoCore III and VideoCore IV used in Symbian, Android and Raspberry Pi require this as they only support 24-bit depth, 8-bit stencil.
2012-12-13 14:39:44 +10:00
Sacha
640cce9b88
Use new defines: USING_GLES2, ARM and add iOS support.
2012-11-26 20:27:35 +10:00
Henrik Rydgard
41b4cf836c
Add stencil support to FBO code. Attempt to make it work on Tegra (not tested)
2012-11-25 17:19:17 +01:00
Sacha
d968675273
Defines only set for devices using GLES2. Add a missing include for QNX/BSD.
2012-11-22 01:55:04 +10:00
Sacha
0bed6a94f0
Remove redundant Blackberry code in FBO and Main
2012-11-21 23:08:14 +10:00
Henrik Rydgard
0598fc425c
Fix fbo.cpp for android, add to build
2012-11-19 23:28:42 +01:00
Sacha
0c77415df1
Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.
...
Video: http://www.youtube.com/watch?v=CdUL1DalYrw
2012-11-08 03:29:35 +10:00
Sacha
b52bd57aa1
PPSSPP ported to Blackberry 10
...
Now builds for Playbook and Dev Alpha
Android's GLES2 backend is used.
2012-11-05 23:22:10 +10:00
Henrik Rydgård
5a5f599e1b
Reindent (->tabs)
2012-10-30 13:20:55 +01:00
Henrik Rydgard
caf0580c38
Tabs unification
2012-05-08 22:04:24 +02:00
Henrik Rydgard
22dfdd2832
Initial commit
2012-03-24 23:39:19 +01:00