| Age | Commit message (Collapse) | Author |
|
Cleanup Renderer::CalculateTargetSize(), and allow IRs higher than 4x to be set via INI.
|
|
It only ever did anything on 32-bit OS X.
Anyway, it wasn't even on the right functions, and these days
ABI_PushRegistersAndAdjustStack should handle maintaining the ABI
correctly.
|
|
This noticeably includes GL_ARB_get_program_binary, which was previously
thought unsupported on OS X. Well, actually, the OS X implementation is
trivial and reports 0 binary formats (as of 10.10; this is hardcoded in
GLEngine, by the way), but at least it'll work if it's fixed someday.
|
|
videoBuffer -> s_video_buffer
size -> s_video_buffer_write_ptr
g_pVideoData -> g_video_buffer_read_ptr (impl moved to Fifo.cpp)
This eradicates the wonderful use of 'size' as a global name, and makes
it clear that s_video_buffer_write_ptr and g_video_buffer_read_ptr are
the two ends of the FIFO buffer s_video_buffer.
Oh, and remove a useless namespace {}.
|
|
globals.
The next commit will add a separate copy of the struct and the ability
for LoadCPReg to work on it.
|
|
set via ini.
|
|
Fix some warnings on Linux
|
|
|
|
|
|
registers.
The other two components need not be valid upon write, hence loading them results in glitches.
Fixes issue 6783.
|
|
Fix build failing when disabling precompiled headers.
|
|
|
|
|
|
Still an ugly mess.
|
|
|
|
Include CommonTypes.h instead of Common.h.
|
|
Kill Core::g_CoreStartupParameter.
|
|
|
|
Also remove unused pow2/pow2f functions.
|
|
|
|
Work around Intel's failings with buffer_storage
|
|
|
|
JIT64: optimize CA calculations
|
|
Don't switch to a vertex array object of 0.
|
|
This removes the requirement for the TextureDecoder to have access to
global texture memory.
|
|
Quick code cleanup. The enum names and values come from libogc.
|
|
The D3D / OGL backends only ever used RGBA textures, and the Software
backend uses its own custom code for sampling. The ARGB path seems to
just be dead code.
Since ARGB and RGBA formats are similar, I don't think this will make
the code more difficult to read or unable to be used as
reference. Somebody who wants to use this code to output ARGB can simply
modify the MakeRGBA function to put the shift at the other end.
|
|
|
|
|
|
|
|
This causes glDrawArrays to fail in core profile, and thus on OS X, see:
http://renderingpipeline.com/2012/03/attribute-less-rendering/
There must be something bound, even though it is not used.
Fixes #7599. I'm not sure this is actually the best way to fix it,
since AFAICT it makes a nonobvious assumption that *something* will be
bound before the first attributeless rendering in
TextureConverter::DecodeToTexture, but it's what degasus suggested and
seems to work.
|
|
|
|
Also remove unused pow2/pow2f functions.
|
|
This is required to make packing consistent between compilers: with u32, MSVC
would not allocate a bitfield that spans two u32s (it would leave a "hole").
|
|
|
|
|
|
Fix PostProcessing shader garbage on screen.
|
|
We were generating a texture without ever setting the data to a known value.
This happened on the old code as well, just that PP shaders are receiving some love and people are using it and noticing some of its issues.
|
|
Common::Event and Common::Flag.
The only possible functionality change is that s_efbAccessRequested and
s_swapRequested are no longer reset at init and shutdown of the OGL
backend (only; this is the only interaction any files other than
MainBase.cpp have with them). I am fairly certain this was entirely
vestigial.
Possible performance implications: efbAccessReady now uses an Event
rather than spinning, which might be slightly slower, but considering
the slow loop the flags are being checked in from the GPU thread, I
doubt it's noticeable.
Also, this uses sequentially consistent rather than release/acquire
memory order, which might be slightly slower, especially on ARM...
something to improve in Event/Flag, really.
|
|
|
|
Rewrite GLInterface
|
|
|
|
|
|
This is effectively unused, as the window handles that we pass to the
GLInterface are window handles for the frame which isn't ever a real
toplevel window. Host_UpdateTitle is what actually sets the proper title
on the render window.
|
|
Now that MainNoGUI is properly architected and GLX doesn't need to
sometimes craft its own windows sometimes which we have to thread back
into MainNoGUI, we don't need to thread the window handle that GLX
creates at all.
This removes the reference to pass back here, and the g_pWindowHandle
always be the same as the window returned by Host_GetRenderHandle().
A future cleanup could remove g_pWindowHandle entirely.
|
|
Seems mesa has a quirk where
define THING(x) (#x)
is the same as
define THING(x) (##x)
Didn't realize I messed it up since it just worked since I only tested on Mesa.
|
|
Fixed depth matrix shaders in OpenGL and Direct3D to be more precise.
|
|
Small OGL cleanup
|
|
some graphical glitches in some games.
|
|
scrshotThread was also unused so that is removed as well.
Also added the algorithm header, since we use min and max here.
|