Steve Checkoway
|
74a2028160
|
If glGetError is slow on a platform, define GL_GET_ERROR_IS_SLOW. Define this on OS X only for now. It's fast on Windows.
|
2008-01-03 02:45:00 +00:00 |
|
Steve Checkoway
|
7c5853292b
|
Only check for openGL errors in debug builds or when initializing. Calling glGet*() or any other synchronizing function is very slow (at least for Mac OS X).
|
2008-01-02 12:17:49 +00:00 |
|
Glenn Maynard
|
38e43aa1f7
|
If width and height are different than img->w and img->h, it specifies the
active region in the surface--the region that needs to be copied, if the
surface is converted. However, the surface should remain the same
size.
|
2007-07-24 18:37:12 +00:00 |
|
Glenn Maynard
|
d56e4e5d9f
|
make error on old AMD drivers non-fatal
|
2007-07-22 18:43:55 +00:00 |
|
Glenn Maynard
|
8883cd8579
|
log this normally
|
2007-05-06 02:43:05 +00:00 |
|
Glenn Maynard
|
a8e02fc40e
|
GL_ARB_pixel_buffer_object check
|
2007-03-27 00:24:56 +00:00 |
|
Glenn Maynard
|
899735538b
|
implement SetTextureFiltering
|
2007-03-23 07:59:33 +00:00 |
|
Glenn Maynard
|
5d0d26164c
|
implement RageTextureLock with PBOs
|
2007-03-22 19:03:31 +00:00 |
|
Glenn Maynard
|
4d9a2cbb86
|
reusable invalidation
|
2007-03-22 18:55:49 +00:00 |
|
Glenn Maynard
|
bf16705d1e
|
handle BGRA8; nVidia cards prefer this format
|
2007-03-22 05:30:19 +00:00 |
|
Steve Checkoway
|
468ceae283
|
Sort the extensions.
|
2007-03-21 12:01:54 +00:00 |
|
Glenn Maynard
|
504866debb
|
Allow passing a surface with no data and non-power-of-two dimensions.
A power-of-two texture will be created and not initialized.
|
2007-03-21 04:51:47 +00:00 |
|
Glenn Maynard
|
a4fbd6f19b
|
implement EffectMode_YUYV422
|
2007-03-21 04:38:17 +00:00 |
|
Glenn Maynard
|
5dc6e79d3c
|
X1R5G5B5 format
|
2007-03-20 07:51:56 +00:00 |
|
Glenn Maynard
|
bcb431f244
|
fix comments
|
2007-03-20 07:48:18 +00:00 |
|
Glenn Maynard
|
d2033b110b
|
fix comments
|
2007-03-20 07:47:14 +00:00 |
|
Glenn Maynard
|
141395e1d5
|
fix RageDisplay_OGL::GetTexture
|
2007-03-20 07:46:05 +00:00 |
|
Glenn Maynard
|
7f18ab6333
|
always pair AssertNoGLError with FlushGLErrors. Otherwise,
AssertNoGLError can trigger for an error that happened a long
time ago, and there's no way of knowing where the real error
was.
|
2007-03-07 20:08:55 +00:00 |
|
Glenn Maynard
|
201cb80965
|
matrix fix
|
2007-02-28 05:03:15 +00:00 |
|
Glenn Maynard
|
c072f6e98b
|
masking blend modes
|
2007-02-25 00:32:39 +00:00 |
|
Glenn Maynard
|
8ae6f53bfb
|
CopySrc blend mode
|
2007-02-24 23:30:29 +00:00 |
|
Glenn Maynard
|
138b96a3b0
|
Unpremultiply shader
|
2007-02-24 23:20:25 +00:00 |
|
Glenn Maynard
|
45cff83b71
|
glBlendFuncSeparateEXT (since that's waht we test for)
|
2007-02-24 23:19:07 +00:00 |
|
Glenn Maynard
|
4af53a0de9
|
RageDisplay::GetTexture, mostly for debugging for now
|
2007-02-24 23:17:34 +00:00 |
|
Glenn Maynard
|
d5542f24cf
|
use glBlendFuncSeparate for 50% correct dest alpha
|
2007-02-24 13:03:35 +00:00 |
|
Glenn Maynard
|
d866e18ca3
|
support GL_ARB_texture_float
|
2007-02-24 12:33:16 +00:00 |
|
Glenn Maynard
|
ebf4bc5c0e
|
more sensible shader handling, incomplete but functional
add mixing modes
|
2007-02-19 23:40:19 +00:00 |
|
Glenn Maynard
|
34b29827d0
|
Prefer to let OpenGL assign attribute locations, as in
http://developer.download.nvidia.com/opengl/glsl/glsl_release_notes.pdf
"Vertex Attribute Aliasing"
|
2007-02-18 10:37:06 +00:00 |
|
Steve Checkoway
|
dc56558137
|
Sort extension list.
|
2007-02-18 07:30:58 +00:00 |
|
Glenn Maynard
|
b67e19b09d
|
print the extension string more intelligently. I'm tired of a two-page long line in every info.txt.
|
2007-02-17 14:14:44 +00:00 |
|
Glenn Maynard
|
3979202ce0
|
add EffectMode_ColorBurn
|
2007-02-14 01:59:41 +00:00 |
|
Glenn Maynard
|
abd0f83cc8
|
short circuit on delete default texture
|
2007-02-14 00:07:55 +00:00 |
|
Glenn Maynard
|
7561b3b630
|
unneeded; done in TryVideoMode
|
2007-02-13 06:11:35 +00:00 |
|
Glenn Maynard
|
5600e93d3a
|
add TextureUnit param to SetSphereEnvironmentMapping
|
2007-02-13 06:04:30 +00:00 |
|
Glenn Maynard
|
a9fd52cce0
|
add TextureUnit param to SetTextureWrapping
|
2007-02-13 05:56:24 +00:00 |
|
Glenn Maynard
|
863062f7d1
|
add TextureUnit param to SetTextureFiltering
|
2007-02-13 05:09:54 +00:00 |
|
Glenn Maynard
|
4acd7f3971
|
pull out glBlendFunc call
|
2007-02-13 05:01:25 +00:00 |
|
Glenn Maynard
|
ebb7189b88
|
add TextureUnit param to SetTextureMode
|
2007-02-13 04:59:05 +00:00 |
|
Glenn Maynard
|
256a737d25
|
fix ShaderType not used
|
2007-02-13 04:03:17 +00:00 |
|
Glenn Maynard
|
4b707da08b
|
merge SetTextureMode functions
|
2007-02-13 04:02:08 +00:00 |
|
Glenn Maynard
|
2cebe3ef34
|
fix crash with empty models
|
2007-02-07 05:54:13 +00:00 |
|
Glenn Maynard
|
74aaecc2b9
|
add RageDisplay::DrawSymmetricQuadStrip
|
2007-01-15 08:08:57 +00:00 |
|
Steve Checkoway
|
4517499f0f
|
lroundf -> lrintf.
|
2007-01-03 05:05:28 +00:00 |
|
Steve Checkoway
|
eb0b26cd82
|
Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower.
|
2007-01-02 23:36:44 +00:00 |
|
Glenn Maynard
|
17c32b90c2
|
Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
|
2006-12-17 07:41:21 +00:00 |
|
Steve Checkoway
|
30d9410b65
|
Unneeded.
|
2006-11-01 10:45:51 +00:00 |
|
Glenn Maynard
|
617e8b5335
|
FOREACH_ENUM2 -> FOREACH_ENUM
|
2006-10-07 08:56:58 +00:00 |
|
Glenn Maynard
|
2ce839e4eb
|
Invalid
|
2006-10-07 04:25:28 +00:00 |
|
Steve Checkoway
|
9df54e925c
|
DEFAULT_FAIL.
|
2006-10-01 04:01:37 +00:00 |
|
Glenn Maynard
|
91e0961958
|
fix depth buffer cleared when it shouldn't be
|
2006-08-15 00:39:41 +00:00 |
|