twinaphex
54bfe360c6
Move ifndef HAVE_GCMGL checks outside of gl.c and into
...
shader_gl_cg.c - also implement stub glGenerateMipmapOES
for GCMGL
2014-10-02 21:09:34 +02:00
twinaphex
a844c3997a
(GL) Get rid of some more _func macros
2014-10-02 15:43:11 +02:00
twinaphex
b22cf18228
(GL/Shaders) Put fixed-function vertex/matrix coord code inside shader
...
backend files as fallback routines
2014-10-02 15:17:21 +02:00
twinaphex
53c7bf65ed
Turn fixed-function vertex coord/matrix code into macros
2014-10-02 14:50:24 +02:00
twinaphex
6c675e6580
Create gfx/gl_common.c
2014-10-02 13:32:42 +02:00
twinaphex
6b054da299
Rename shader_common to shader_context
2014-10-02 13:21:45 +02:00
twinaphex
75be6ccec9
(GL) Turn gl_set_projection into a static function too
2014-10-02 12:57:01 +02:00
twinaphex
c574025370
(GL) Make gl_deinit_fbo a static function again
2014-10-02 12:55:19 +02:00
twinaphex
f1c9343285
(GL) Make gl_init_fbo a static function again
2014-10-02 12:14:12 +02:00
twinaphex
89e449cc86
Get rid of header dependencies on GL in shader_common.h
2014-10-02 11:27:11 +02:00
twinaphex
039a5d7ab3
Create shader_null.c and make shader_backend less dependent
...
on GL
2014-10-02 11:11:34 +02:00
twinaphex
cc174d041c
(GL) Get rid of context_destroy_func macro
2014-10-02 10:24:41 +02:00
twinaphex
2637c45b9a
(GL) gl_common.h - get rid of some macros
2014-10-02 10:21:36 +02:00
twinaphex
1b45023528
Move get_alignment inlined function to gfx/gl.c
2014-10-02 01:11:01 +02:00
twinaphex
c861b4f994
Move gl_wrap_type_to_enum to gfx/gl.c
2014-10-02 01:02:13 +02:00
twinaphex
306d1f8809
(GL/Gfx) Cleanup
2014-10-02 00:49:38 +02:00
twinaphex
ca12482af0
Move shader files to gfx/shader/
2014-10-02 00:45:11 +02:00
twinaphex
43c9948087
(GL) Prevent memcpy on gl->tex_coords
2014-10-01 20:37:52 +02:00
twinaphex
a01d349227
Add note to gl_wrap_type_to_enum
2014-09-28 17:19:54 +02:00
twinaphex
9c67b3f39c
Indenting/style nits
2014-09-12 02:51:47 +02:00
twinaphex
fcbbf08109
(Recording) Bake in HAVE_RECORD implicitly
2014-08-12 05:28:43 +02:00
Themaister
20f37f20e8
De-opaque gl.c.
2014-06-17 17:08:46 +02:00
Themaister
02f2129dd8
Optimize overlay rendering a bit.
...
Dump all overlay vertex data into one VBO.
2014-06-13 17:47:32 +02:00
twinaphex
4a4822e187
(Menu) Replace more rgui_ references to menu_
2014-06-10 02:15:29 +02:00
Themaister
e545d695ec
Begin big rewrite of GL/raster font rendering path.
2014-06-08 14:08:26 +02:00
Themaister
ba40be9099
Use correct arguments if sRGB and GLES3.
2014-06-05 17:41:10 +02:00
twinaphex
961c1189fd
(PSGL) More PSGL ifdefs
2014-05-27 22:27:16 +02:00
twinaphex
c5f43963c0
(PS3) Add raw PSGL ifdefs
2014-05-27 22:15:25 +02:00
twinaphex
d636d4a10a
(GL) Add RARCH_GL_MAX_RENDERBUFFER_SIZE
2014-05-22 21:00:17 +02:00
twinaphex
194f90f3f9
(GL) Add custom versions of RARCH_GL_DEPTH_ATTACHMENT and RARCH_GL_STENCIL_ATTACHMENT
2014-05-22 20:58:32 +02:00
twinaphex
7378f21a36
(OSX PPC) Add _EXT versions of GL_RENDERBUFFER and GL_DEPTH24_STENCIL8
2014-05-22 20:45:41 +02:00
twinaphex
9fd55c301c
(GL) Define RARCH_GL_RENDERBUFFER and RARCH_GL_DEPTH24_STENCIL8
2014-05-22 20:44:33 +02:00
twinaphex
2eea12e17e
COLOR_ATTACHMENT_0 and GL_FRAMEBUFFER_COMPLETE are defined differently
...
for PSGL and OSX PPC as well
2014-05-22 20:32:51 +02:00
twinaphex
6c87c2494c
(OSX PPC) Add OSX PPC define
2014-05-22 20:30:21 +02:00
twinaphex
9cbdb708c9
(GL) Turn GL_FRAMEBUFFER into manual define (PSGL needs different
...
define, so does Mac PPC)
2014-05-22 20:23:02 +02:00
Themaister
bc8bb13050
Add mipmapping and sRGB FBO support.
2014-05-11 13:39:04 +02:00
twinaphex
08965cfa0d
Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
...
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
Themaister
e9161f67fe
Avoid reading back random RGUI frames in async recording.
2014-04-27 10:40:24 +02:00
Themaister
c39d27fd8d
Add async readback to GLES3.
...
Have support for PBOs and glMapBufferRange.
2014-04-19 17:22:25 +02:00
Themaister
095718c855
Only bind shared context if necessary.
2014-04-19 16:59:26 +02:00
Themaister
f658112756
Add experimental support for separate HW contexts.
2014-04-19 15:37:00 +02:00
Themaister
d0302c9800
Begin adding opaque interface to gfx_context.
2014-03-09 16:50:18 +01:00
twinaphex
fcf30143b4
(PS3) Change HAVE_RGL to HAVE_GCMGL
2014-02-25 22:01:46 +01:00
Themaister
032ba14d3b
Properly implement GPU screenshot for GLES.
...
Have to use GL_RGBA/GL_UNSIGNED_BYTE as well as reading from back buffer
only.
2014-02-06 21:35:57 +01:00
twinaphex
e9ce0aaaa4
(PS3) Custom aspect ratio works now
2014-01-05 18:48:09 +01:00
Themaister
08ba1ad14e
Use GL_RGB565 internal format when available.
...
This is a feature from ES2_compat extension.
It fixes the speed issue associated with using 16-bit textures on
desktop GL. Improves performance a bit as well as there's less bandwidth
usage during shading.
On my HD3000 laptop, performance improved with ~10%.
2014-01-01 21:58:02 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
46c3dd6d20
Clean up float FBO handling a bit.
...
Fallback to UNORM if not supported.
2013-12-04 12:55:51 +01:00
twinaphex
f8c37fc933
(Menu) Simplify menu preprocessor conditionals - there is now
...
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex
bef038e73e
(RGL PS3) Optimizations for glBufferSubData
2013-11-02 14:44:13 +01:00