Commit Graph

72 Commits

Author SHA1 Message Date
Henrik Rydgard
7d7bd3a998 Basic UTF-8 support in atlastool / draw_buffer. 2013-04-17 13:15:18 +02:00
Henrik Rydgard
d032f659aa Change AtlasFont format to support disjoint char ranges 2013-04-17 12:18:49 +02:00
Henrik Rydgard
c0963ec11f Increase drawbuffer size, fix potential utf8 issue 2013-04-07 23:30:25 +02:00
Henrik Rydgard
f71f3183b2 Enforce the drawbuffer overflow check in release too. 2013-04-07 22:56:38 +02:00
Henrik Rydgard
36a6c179a0 Some drawing refactoring 2013-03-30 19:23:02 +01:00
Henrik Rydgård
8aaa92bf26 Merge pull request #58 from tpunix/fbo_ext
Fbo ext
2013-03-30 00:39:36 -07: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
Henrik Rydgard
ede99eecb4 Add warn log when falling back to xor texture 2013-03-29 16:55:45 +01:00
tpu
c6e8a64684 using GL_EXT_framebuffer_objects instead of GL_ARB_framubuffer_objects. 2013-03-29 14:16:16 +08:00
Henrik Rydgard
21a7ee80fb Add scissor rect to gl state 2013-03-15 22:23:41 +01:00
Henrik Rydgard
4fb2e97afa Fix bugs causing infinite loop in gllost, add more logging. 2013-03-10 17:49:01 +01: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
Sacha
0578607c84 Pandora buildfix and joystick support. 2013-01-14 21:32:39 +10:00
Henrik Rydgard
de36ea9f34 Add state caching for stencil test. 2013-01-12 17:19:01 +01:00
Henrik Rydgard
c60bda83b6 Don't try to register/unregister too early. 2013-01-11 23:46:38 +01:00
Florent Castelli
7b9daa28c4 Properly restore all the OpenGL states properly and added a sanity check.
Also set the proper viewport value at startup.
2013-01-11 19:02:56 +01:00
Henrik Rydgard
7ceecd22b4 Check for EXT_discard_framebuffer 2013-01-10 23:48:28 +01:00
Henrik Rydgård
20c37d8d0e Use VBO to draw UI, just because that's how it's supposed to be done. 2013-01-10 10:14:39 +01:00
Henrik Rydgård
54fdd6ea00 Retab drawbuffer before changing it 2013-01-10 09:42:02 +01:00
Henrik Rydgard
8f7fa5e4e2 Add glViewport to tracked state. 2013-01-06 23:22:30 +01:00
Henrik Rydgard
74057385bf Initial UTF-8 support 2013-01-02 20:56:09 +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
Henrik Rydgård
7ed5811db3 Restore a few missing pieces of glstate. Cleanup. 2012-12-05 10:41:47 +07:00
Henrik Rydgard
e626047409 Add glColorMask to glstate 2012-11-29 14:38:50 +01:00
Henrik Rydgard
8b6adf4cd6 Add glDepthMask caching 2012-11-26 17:34:13 +01:00
Sacha
640cce9b88 Use new defines: USING_GLES2, ARM and add iOS support. 2012-11-26 20:27:35 +10:00
Henrik Rydgard
3837eb1065 Fix glDepthRangef crash 2012-11-25 20:06:29 +01: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
Henrik Rydgard
f4278247ed glstate: Support glBlendColor 2012-11-25 15:47:26 +01:00
Henrik Rydgård
41e5a5f367 proper tabs 2012-11-25 12:38:44 +01:00
Florent Castelli
62b5bc46d0 Add glDepthRange caching 2012-11-25 00:13:08 +01:00
Florent Castelli
2680dfe10c Linux fixup 2012-11-24 17:38:19 +01:00
Florent Castelli
8900d99779 Add OpenGL state cache to save some redundant state change. 2012-11-24 15:19:08 +01:00
Henrik Rydgard
8677fac72c Some UI code cleanup. Another variant of ease curve function. RebindTexture. 2012-11-22 18:41:04 +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
MrOrdinaire
a13616e684 fix missing #include's and missing CMake linking directives 2012-11-03 10:34:06 +08:00
Henrik Rydgard
1ea568990d Colored touchbuttons, portafixes 2012-10-30 16:23:08 +01:00
Henrik Rydgård
5a5f599e1b Reindent (->tabs) 2012-10-30 13:20:55 +01:00
Henrik Rydgard
da61ce3950 Various work on surviving the Android activity life cycle 2012-10-27 12:36:25 +02:00
Henrik Rydgård
748bdb3101 Virtual input code now working 2012-10-26 18:42:32 +02:00