summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shaders: Expose hints about used const buffers.bunnei2018-04-155-31/+146
|
* GPU: Upload the entirety of each constbuffer for each shader stage as SSBOs.Subv2018-04-154-14/+48
| | | | We're going to need the shader generator to give us a mapping of the actual used const buffers to properly bind them to the shader.
* GPU: Allow configuring ssbos in the opengl state manager.Subv2018-04-154-0/+30
|
* GPU: Added a function to determine whether a shader stage is enabled or not.Subv2018-04-151-3/+3
|
* shaders: Add NumTextureSamplers const, remove unused #pragma.bunnei2018-04-153-2/+5
|
* shaders: Address PR review feedback.bunnei2018-04-141-6/+8
|
* gl_shader_decompiler: Cleanup log statements.bunnei2018-04-141-15/+15
|
* shaders: Fix GCC and clang build issues.bunnei2018-04-142-2/+2
|
* gl_shader_decompiler: Implement negate, abs, etc. and lots of cleanup.bunnei2018-04-141-20/+57
|
* gl_shader_decompiler: Add shader stage hint.bunnei2018-04-142-5/+12
|
* renderer_opengl: Fix Morton copy byteswap, etc.bunnei2018-04-141-5/+5
|
* gl_shader_manager: Implement SetShaderSamplerBindings.bunnei2018-04-141-0/+8
|
* gl_rasterizer: Generate shaders and upload uniforms.bunnei2018-04-142-32/+77
|
* gl_shader_decompiler: Basic impl. for very simple vertex shaders.bunnei2018-04-142-16/+311
| | | | - Tested with Puyo Puyo Tetris and Cave Story+
* gl_shader_manager: Cleanup and consolidate uniform handling.bunnei2018-04-142-26/+24
|
* gl_rasterizer: Use shader program manager, remove test shader.bunnei2018-04-142-196/+31
|
* renderer_opengl: Add gl_shader_manager class.bunnei2018-04-142-0/+207
|
* maxwell_to_gl: Add a few types, etc.bunnei2018-04-141-0/+10
|
* gl_shader_gen: Add hashable setup/config structs.bunnei2018-04-142-29/+50
|
* gl_shader_util: Add missing includes.bunnei2018-04-141-0/+2
|
* renderer_opengl: Use OGLProgram instead of OGLShader.bunnei2018-04-146-6/+6
|
* gl_shader_util: Grab latest upstream.bunnei2018-04-142-149/+74
|
* gl_resource_manager: Grab latest upstream.bunnei2018-04-141-30/+86
|
* gl_shader_decompiler: Add skeleton code from Citra for shader analysis.bunnei2018-04-142-44/+142
|
* Fix clang format issuesJames Rowe2018-04-071-1/+1
|
* GL: Set up the textures used for each draw call.Subv2018-04-072-2/+39
| | | | | Each Maxwell shader stage can have an arbitrary number of textures, but we're limited to a certain number in OpenGL. We try to only use the minimum amount of host textures by not keeping a 1:1 relation between guest texture ids and host texture ids, ie, guest texture id 8 can be host texture id 0 if it's the only texture used in the guest shader program. This mapping will have to be passed to the shader decompiler so it can rewrite the texture accesses.
* GL: Bind the textures to the shaders used for drawing.Subv2018-04-071-2/+11
|
* GLCache: Specialize the MortonCopy function for the DXT1 texture format.Subv2018-04-071-1/+15
| | | | It will now use the UnswizzleTexture function instead of the MortonCopyPixels128, which doesn't seem to work for textures.
* GLCache: Implemented GetTextureSurface.Subv2018-04-071-3/+28
|
* GLCache: Support uploading compressed textures to the GPU.Subv2018-04-071-5/+17
| | | | Compressed texture formats like DXT1, DXT2, DXT3, etc will use this to ease the load on the CPU.
* GL: Remove remaining references to 3DS-specific pixel formatsSubv2018-04-071-83/+22
|
* RasterizerCache: Remove 3DS-specific pixel formats.Subv2018-04-072-71/+32
| | | | We're only left with RGB8 and DXT1 for now. More will be added as they are needed.
* GL: Create the sampler objects when starting up the GL rasterizer.Subv2018-04-071-0/+6
|
* GL: Ported the SamplerInfo struct from citra.Subv2018-04-072-1/+59
|
* GL: Rename PicaTexture to MaxwellTexture.Subv2018-04-072-2/+2
|
* GL: Added functions to convert Maxwell tex filters and wrap modes to OpenGL.Subv2018-04-071-0/+23
|
* gl_rasterizer_cache.cpp: Update from citra to yuzuN00byKing2018-04-041-1/+1
|
* gl_rasterizer_cache.h: Update from citra to yuzuN00byKing2018-04-041-3/+3
|
* renderer_opengl.h: Update from citra to yuzuN00byKing2018-04-041-2/+2
|
* renderer_opengl: Use better naming for DrawScreens and DrawSingleScreen.bunnei2018-03-272-8/+8
|
* gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function.bunnei2018-03-272-22/+31
|
* gl_rasterizer: Add a SyncViewport method.bunnei2018-03-272-18/+20
|
* gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL.bunnei2018-03-272-11/+12
|
* gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray.bunnei2018-03-271-1/+1
|
* gl_rasterizer: Normalize vertex array data as appropriate.bunnei2018-03-271-1/+1
|
* maxwel_to_gl: Fix string formatting in log statements.bunnei2018-03-271-2/+2
|
* rasterizer: Rename DrawTriangles to DrawArrays.bunnei2018-03-272-3/+3
|
* gl_rasterizer: Use passthrough shader for SetupVertexShader.bunnei2018-03-271-1/+2
|
* renderer_opengl: Logging, etc. cleanup.bunnei2018-03-275-32/+33
|
* renderer_opengl: Remove framebuffer RasterizerFlushVirtualRegion hack.bunnei2018-03-271-5/+0
|
* gl_rasterizer_cache: Implement UpdatePagesCachedCount.bunnei2018-03-272-8/+37
|
* gl_rasterizer: Implement SetupVertexArray.bunnei2018-03-271-20/+38
|
* gl_rasterizer_cache: Fix an ASSERT_MSG.bunnei2018-03-271-1/+1
|
* maxwell_to_gl: Add module and function for decoding VertexType.bunnei2018-03-271-0/+40
|
* gl_rasterizer: Use 32 texture units instead of 3.bunnei2018-03-273-2/+3
|
* gl_rasterizer: Implement DrawTriangles.bunnei2018-03-271-1/+194
|
* gl_rasterizer: Implement AnalyzeVertexArray.bunnei2018-03-271-1/+21
|
* gl_rasterizer_cache: MortonCopy Switch-style.bunnei2018-03-271-72/+32
|
* gl_rasterizer_cache: Implement GetFramebufferSurfaces.bunnei2018-03-272-4/+104
|
* renderer_opengl: Only draw the screen if a framebuffer is specified.bunnei2018-03-271-6/+7
|
* gl_rasterizer: Fake render in green, because it's cooler.bunnei2018-03-241-1/+1
|
* gl_rasterizer: Log warning instead of sync'ing unimplemented funcs.bunnei2018-03-241-7/+1
|
* gl_rasterizer_cache: Add missing include for vm_manager.bunnei2018-03-231-0/+1
|
* renderer_opengl: Only invalidate the framebuffer region, not flush.bunnei2018-03-231-4/+3
|
* renderer_opengl: Fixes for properly flushing & rendering the framebuffer.bunnei2018-03-231-6/+12
|
* RasterizerCacheOpenGL: FlushAll should flush full memory region.bunnei2018-03-231-1/+1
|
* rasterizer: Flush and invalidate regions should be 64-bit.bunnei2018-03-232-6/+6
|
* renderer_opengl: Add framebuffer_transform_flags member variable.bunnei2018-03-231-2/+2
|
* renderer_opengl: Better handling of framebuffer transform flags.bunnei2018-03-231-2/+16
|
* renderer_opengl: Use accelerated framebuffer load with LoadFBToScreenInfo.bunnei2018-03-231-31/+25
|
* gl_rasterizer: Implement AccelerateDisplay method from Citra.bunnei2018-03-232-2/+44
|
* LoadGLBuffer: Use bytes_per_pixel, not bits.bunnei2018-03-231-1/+2
|
* gl_rasterizer_cache: LoadGLBuffer should do a morton copy.bunnei2018-03-231-16/+5
|
* video_core: Move MortonCopyPixels128 to utils header.bunnei2018-03-231-111/+1
|
* video_core: Remove usage of PAddr and replace with VAddr.bunnei2018-03-234-35/+35
|
* video_core: Move FramebufferInfo to FramebufferConfig in GPU.bunnei2018-03-234-34/+40
|
* gl_rasterizer: Replace a bunch of UNIMPLEMENTED with ASSERT.bunnei2018-03-232-20/+20
|
* gl_rasterizer: Add a simple passthrough shader in lieu of shader generation.bunnei2018-03-232-5/+68
|
* renderer: Create rasterizer and cleanup.bunnei2018-03-231-2/+2
|
* renderer_gl: Port boilerplate rasterizer code over from Citra.bunnei2018-03-203-1/+431
|
* gl_shader_util: Sync latest version with Citra.bunnei2018-03-203-46/+116
|
* renderer_gl: Port over gl_shader_gen module from Citra.bunnei2018-03-202-0/+86
|
* renderer_gl: Port over gl_shader_decompiler module from Citra.bunnei2018-03-202-0/+85
|
* renderer_gl: Port over gl_rasterizer_cache module from Citra.bunnei2018-03-202-0/+1712
|
* gl_resource_manager: Sync latest version with Citra.bunnei2018-03-201-8/+77
|
* renderer_gl: Port over gl_stream_buffer module from Citra.bunnei2018-03-202-0/+216
|
* gl_state: Sync latest version with Citra.bunnei2018-03-202-47/+111
|
* renderer_opengl: Support framebuffer flip vertical.bunnei2018-02-122-5/+12
|
* memory: Replace all memory hooking with Special regionsMerryMage2018-01-271-1/+1
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* clang-formatMerryMage2018-01-161-1/+2
|
* renderer_gl: Clear screen to black before rendering framebuffer.bunnei2018-01-152-5/+8
|
* renderer: Render previous frame when no new one is available.bunnei2018-01-152-15/+16
|
* Fix build on macOS and linuxMerryMage2018-01-131-0/+1
|
* Remove references to PICA and rasterizers in video_coreJames Rowe2018-01-139-4676/+0
|
* renderer_opengl: Fix LOG_TRACE in LoadFBToScreenInfo.bunnei2018-01-121-1/+1
|
* renderer_opengl: Support rendering Switch framebuffer.bunnei2018-01-112-136/+78
|
* renderer_opengl: Add MortonCopyPixels function for Switch framebuffer.bunnei2018-01-111-0/+111
|
* renderer_opengl: Update DrawScreens for Switch.bunnei2018-01-112-23/+11
|
* core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei2018-01-012-4/+4
|
* Fixed type conversion ambiguityHuw Pascoe2017-09-301-2/+2
|
* Fixed framebuffer warningHuw Pascoe2017-09-171-7/+18
|
* Merge pull request #2900 from wwylele/clip-2Yuri Kunde Schlesner2017-09-163-34/+83
|\ | | | | PICA: implement custom clip plane
| * gl_rasterizer: implement custom clip planewwylele2017-08-253-34/+83
| |
* | Merge pull request #2914 from wwylele/fresnel-fixbunnei2017-09-051-4/+5
|\ \ | | | | | | pica/lighting: only apply Fresnel factor for the last light
| * | pica/lighting: only apply Fresnel factor for the last lightwwylele2017-09-031-4/+5
| | |
* | | video_core: report telemetry for gas modewwylele2017-08-311-0/+6
|/ /
* | Merge pull request #2891 from wwylele/sw-bumpbunnei2017-08-311-2/+2
|\ \ | |/ |/| SwRasterizer/Lighting: implement bump mapping
| * gl_rasterizer/lighting: more accurate CP formulawwylele2017-08-221-2/+2
| |
* | gl_shader_gen: simplify and clarify the depth transformation between vertex shader and fragment shaderwwylele2017-08-211-2/+5
| |
* | gl_rasterizer: add clipping plane z<=0 defined in PICAwwylele2017-08-214-0/+21
|/
* gl_shader_gen: don't call SampleTexture when bump map is not usedwwylele2017-08-111-4/+5
|
* Merge pull request #2816 from wwylele/proctex-lutlutlutSebastian Valle2017-07-235-70/+80
|\ | | | | gl_rasterizer: use texture buffer for proctex LUT
| * gl_rasterizer: use texture buffer for proctex LUTwwylele2017-07-015-70/+80
| |
* | Merge pull request #2834 from wwylele/depth-enable-fixSebastian Valle2017-07-231-4/+5
|\ \ | | | | | | gl_rasterizer_cache: fix using_depth_fb
| * | gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is falsewwylele2017-06-101-4/+5
| | |
* | | telemetry: Log performance, configuration, and system data.bunnei2017-07-182-6/+16
| |/ |/|
* | gl_rasterizer: use texture buffer for fog LUTwwylele2017-06-225-27/+23
| |
* | gl_rasterizer: create the texture before applying the statewwylele2017-06-221-2/+2
| | | | | | | | this is a rebasing error from #2792. It doesn't affect much though, because the later more Apply() call fixes/hides it
* | gl_state: reset 1d textureswwylele2017-06-211-0/+14
| |
* | gl_rasterizer: fix glGetUniformLocation typewwylele2017-06-211-8/+8
| |
* | gl_rasterizer: manage texture ids in one placewwylele2017-06-213-31/+55
| |
* | gl_rasterizer/lighting: fix LUT interpolationwwylele2017-06-215-113/+91
| |
* | gl_rasterizer/lighting: use the formula from the paper for germetic factorwwylele2017-06-181-8/+8
| |
* | gl_rasterizer/lighting: implement geometric factorwwylele2017-06-152-1/+18
| |
* | Merge pull request #2762 from wwylele/light-cp-tangentYuri Kunde Schlesner2017-06-151-9/+37
|\ \ | | | | | | Fragment lighting: implement lut input 5 (CP) and tangent mapping
| * | gl_rasterizer/lighting: Implement tangent mappingwwylele2017-06-111-7/+12
| | |
| * | gl_rasterizer/lighting: implement lut input 5 (CP)wwylele2017-06-111-2/+25
| | |
* | | Merge pull request #2743 from wwylele/wrap-fixYuri Kunde Schlesner2017-06-141-0/+13
|\ \ \ | | | | | | | | pica/rasterizer: implement/stub texture wrap mode 4-7
| * | | pica/rasterizer: implement/stub texture wrap mode 4-7wwylele2017-06-041-0/+13
| | |/ | |/|
* | | Merge pull request #2767 from yuriks/quaternion-flip-commentYuri Kunde Schlesner2017-06-131-8/+11
|\ \ \ | |_|/ |/| | OpenGL: Update comment on AreQuaternionsOpposite with new information
| * | OpenGL: Update comment on AreQuaternionsOpposite with new informationYuri Kunde Schlesner2017-06-101-8/+11
| |/ | | | | | | | | | | | | While debugging the software renderer implementation, it was noticed that this is actually exactly what the hardware does, upgrading the status of this "hack" to being a proper implementation. And there was much rejoicing.
* | Merge pull request #2727 from wwylele/spot-lightSebastian Valle2017-06-114-8/+85
|\ \ | |/ |/| Fragment lighting: implement spot light
| * gl_rasterizer: implement spot lightwwylele2017-05-301-6/+24
| |
| * gl_rasterizer: sync spot light statuswwylele2017-05-304-2/+61
| |
* | Merge pull request #2729 from yuriks/quaternion-fixYuri Kunde Schlesner2017-05-281-3/+5
|\ \ | | | | | | OpenGL: Improve accuracy of quaternion interpolation
| * | OpenGL: Improve accuracy of quaternion interpolationYuri Kunde Schlesner2017-05-271-3/+5
| |/ | | | | | | | | | | | | Current order of operations (rotate then normalize) seems to produce a lot more distortion than normalizing and then rotating. This makes Citra results match pretty closesly with hardware, and indicates that hardware may also be using lerp instead of slerp to interpolate the quaternions.
* | Move screen size constants from video_core to coreYuri Kunde Schlesner2017-05-281-12/+8
| | | | | | | | | | video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
* | OpenGL: Remove unused RendererOpenGL fieldsYuri Kunde Schlesner2017-05-282-11/+2
| |
* | gl_shader: refactor texture sampler into its own functionwwylele2017-05-271-40/+39
|/
* gl_rasterizer: implement procedural texturewwylele2017-05-206-7/+600
|
* pica: shader_dirty if texture2 coord changedwwylele2017-05-052-1/+5
|
* pica: use correct coordinates for texture 2wwylele2017-05-032-3/+15
|
* Merge pull request #2671 from wwylele/dot3-rgbabunnei2017-04-211-13/+20
|\ | | | | rasterizer: implement combiner operation 7 (Dot3_RGBA)
| * gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardwarewwylele2017-04-201-2/+0
| |
| * rasterizer: implement combiner operation 7 (Dot3_RGBA)wwylele2017-04-191-11/+20
| |
* | OpenGL: Pass Pica regs via parameterYuri Kunde Schlesner2017-04-173-7/+5
| |
* | OpenGL: Move PicaShaderConfig to gl_shader_gen.hYuri Kunde Schlesner2017-04-174-202/+206
| | | | | | | | Also move the implementation of CurrentConfig to the cpp file.
* | OpenGL: Move Attributes enum to a more appropriate fileYuri Kunde Schlesner2017-04-173-12/+11
|/
* Input: remove unused stuff & clean upwwylele2017-03-011-0/+1
| | | | | | | 1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include
* Core: Re-write frame limiterYuri Kunde Schlesner2017-02-271-3/+3
| | | | | | | | | Now based on std::chrono, and also works in terms of emulated time instead of frames, so we can in the future frame-limit even when the display is disabled, etc. The frame limiter can also be enabled along with v-sync now, which should be useful for those with displays running at more than 60 Hz.
* Core: Make PerfStats internally lockedYuri Kunde Schlesner2017-02-271-8/+2
| | | | More ergonomic to use and will be required for upcoming changes.
* Remove built-in (non-Microprofile) profilerYuri Kunde Schlesner2017-02-271-8/+0
|
* Add performance statistics to status barYuri Kunde Schlesner2017-02-271-0/+9
|
* OpenGL: Check if uniform block exists before updating it (#2581)Jannik Vogel2017-02-181-29/+30
|
* OpenGL: Remove unused duplicate of IsPassThroughTevStageYuri Kunde Schlesner2017-02-091-12/+0
| | | | | This copy was left behind when the shader generation code was moved to a separate file.
* VideoCore: Split regs.h inclusionsYuri Kunde Schlesner2017-02-095-17/+29
|
* VideoCore: Move Regs to its own fileYuri Kunde Schlesner2017-02-045-5/+5
|
* VideoCore: Split lighting regs from Regs structYuri Kunde Schlesner2017-02-043-37/+45
|
* VideoCore: Split framebuffer regs from Regs structYuri Kunde Schlesner2017-02-046-70/+84
|
* VideoCore: Split texturing regs from Regs structYuri Kunde Schlesner2017-02-046-85/+91
|
* VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner2017-02-043-32/+37
|
* Merge pull request #2476 from yuriks/shader-refactor3Yuri Kunde Schlesner2017-02-042-2/+2
|\ | | | | Oh No! More shader changes!
| * VideoCore: Change misleading register namesYuri Kunde Schlesner2017-01-302-2/+2
| | | | | | | | | | | | A few registers had names such as "count" or "number" when they actually contained the maximum (that is, count - 1). This can easily lead to hard to notice off by one errors.
* | Pica/Texture: Simplify/cleanup texture tile addressingYuri Kunde Schlesner2017-02-041-2/+1
| |
* | VideoCore: Move LookupTexture out of debug_utils.hYuri Kunde Schlesner2017-02-041-5/+6
| |
* | video_core: gl_rasterizer_cache.cpp removed unused type aliasKloen2017-01-301-1/+0
| |
* | video_core: gl_rasterizer.cpp removed unused type aliasKloen2017-01-301-2/+0
|/
* video_core: silence unused-local-typedef boost related warning on GCCKloen2017-01-291-0/+7
|
* video_core: gl_rasterizer float to int warningKloen2017-01-231-1/+2
|
* video_core: fix gl_rasterizer warning on MSVCKloen2017-01-231-1/+1
|
* config: Add option for specifying screen resolution scale factor.bunnei2017-01-071-3/+10
|
* Merge pull request #2367 from JayFoxRox/lighting-lut-quickfixbunnei2016-12-291-10/+9
|\ | | | | Lighting LUT Quickfix
| * Minor cleanup in GLSL codeJannik Vogel2016-12-251-3/+2
| |
| * Offset lighting LUT samples correctlyJannik Vogel2016-12-251-7/+7
| |
* | core: Move emu_window and key_map into coreMerryMage2016-12-232-2/+2
|/ | | | * Removes circular dependences (common should not depend on core)
* Merge pull request #2319 from yuriks/profile-scopesbunnei2016-12-211-0/+12
|\ | | | | VideoCore: Make profiling scope more representative
| * VideoCore: Make profiling scope more representativeYuri Kunde Schlesner2016-12-151-0/+12
| |
* | Use GL_TRUE when setting color_maskAlbin Bernhardsson2016-12-191-4/+4
|/
* OpenGL: Drop framebuffer completeness check.Markus Wick2016-12-075-47/+8
| | | | | | | This OpenGL call synchronize the worker thread of the nvidia blob. It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable. Those errors should not happen on tested drivers. It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148
* ASSERT that shader was linked successfullyJannik Vogel2016-12-051-0/+2
|
* Report shader uniform block size in case of mismatchJannik Vogel2016-12-051-1/+3
|
* Print broken shader code to logJannik Vogel2016-12-051-3/+9
|
* OpenGL: Non-zero stride only makes sense for linear buffersYuri Kunde Schlesner2016-12-043-7/+11
|
* OpenGL: Ensure framebuffer binding is restored if completion check failsYuri Kunde Schlesner2016-12-041-10/+7
|
* OpenGL: Fix DisplayTransfer accel when input width != output widthYuri Kunde Schlesner2016-12-041-1/+10
| | | | Fixes #2246, #2261
* ClangFormat: Fixed the clang-format errorsSubv2016-11-301-4/+8
|
* Build: Fixed a few warnings.Subv2016-11-291-4/+4
|
* RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1Subv2016-11-272-4/+4
|
* Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.Subv2016-11-271-1/+1
|
* Add default hotkey to swap primary screens.James Rowe2016-11-051-3/+2
| | | | Also minor style changes
* Support additional screen layouts.James Rowe2016-11-051-6/+12
| | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* Merge pull request #2103 from wwylele/gpu-reg-cleanupbunnei2016-10-042-5/+6
|\ | | | | GPU: DisplayTransfer & MemoryFill cleanup and param check
| * rasterizer: separate TextureCopy from DisplayTransferwwylele2016-09-292-5/+6
| |
* | OpenGL: Take cached viewport sub-rect into account for scissorYuri Kunde Schlesner2016-09-303-29/+25
|/ | | | Fixes #1938
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-216-6/+6
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-2111-42/+6
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-198-46/+40
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-1812-486/+789
|
* OpenGL: Avoid error on unsupported lighting LUTJannik Vogel2016-08-301-0/+1
|
* OpenGL: Add scaled resolution support to scissorYuri Kunde Schlesner2016-06-284-3/+16
|
* PICA: Scissor fixes and cleanupsYuri Kunde Schlesner2016-06-283-21/+22
|
* PICA: Implement scissor testSubv2016-06-283-1/+53
|
* OpenGL: Implement fogJannik Vogel2016-06-075-7/+124
|
* OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZEJannik Vogel2016-06-072-6/+8
|
* gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueuemailwl2016-06-011-1/+1
|
* OpenGL: Set shader_dirty on lighting changesJannik Vogel2016-05-231-0/+23
|
* Pica: Name LightSrc.config registerJannik Vogel2016-05-231-2/+2
|
* Pica: Name lighting.config0 and .config1 registersJannik Vogel2016-05-231-12/+12
|
* OpenGL: Use uniforms for dist_atten_bias and dist_atten_scaleJannik Vogel2016-05-233-8/+84
|
* Merge pull request #1786 from JayFoxRox/blend-equationbunnei2016-05-174-0/+31
|\ | | | | OpenGL: Support blend equation
| * OpenGL: Support blend equationJannik Vogel2016-05-124-0/+31
| |
* | OpenGL: Only update depth uniforms if the depth changedJannik Vogel2016-05-142-9/+22
| |
* | OpenGL: value-initialize variables which cause uninitialised access otherwiseJannik Vogel2016-05-141-2/+2
|/
* OpenGL: Implement texture type 3Jannik Vogel2016-05-114-35/+67
|
* Merge pull request #1621 from JayFoxRox/w-bufferbunnei2016-05-113-5/+24
|\ | | | | Implement W-buffer and fix depth-mapping
| * OpenGL: Implement W-Buffers and fix depth-mappingJannik Vogel2016-05-103-4/+23
| |
| * Pica: Implement W-Buffer in SW rasterizerJannik Vogel2016-05-101-2/+2
| |
* | gl_rasterizer: Fix compilation for debug buildsLioncash2016-05-101-1/+1
|/
* Merge pull request #1704 from JayFoxRox/pod-configlinkmauve2016-05-103-122/+164
|\ | | | | Pica: PicaShaderConfig is TC and cleared before use
| * Pica: Use a union for PicaShaderConfigJannik Vogel2016-05-033-125/+139
| |
| * Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)Jannik Vogel2016-05-032-2/+23
| |
| * Pica: Make PicaShaderConfig trivially_copyable and clear it before useJannik Vogel2016-05-031-21/+28
| |
* | fixup simple type conversions where possibleAlexander Laties2016-05-072-2/+2
| |
* | Frontends, VideoCore: Move glad initialisation to the frontendEmmanuel Gil Peyrot2016-05-061-6/+0
|/ | | | | | | | | | On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the default function loader, and fixes a crash when using apitrace with an EGL context. On Qt we will need to migrate from QGLWidget to QOpenGLWidget and QOpenGLContext before we can use gladLoadGLLoader() instead of gladLoadGL(), since the former doesn’t expose a function loader.
* OpenGL: Don't copy const_color (Reverts #1745)Jannik Vogel2016-05-031-2/+3
|
* Merge pull request #1741 from linkmauve/iwyu-video_corebunnei2016-05-0112-24/+76
|\ | | | | Fix video_core includes (and dependencies) using include-what-you-use
| * VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-3012-24/+76
| |
* | OpenGL: Copy TevStageConfig using a loop. Fixes bug: const_color not copiedJannik Vogel2016-05-011-30/+11
| |
* | OpenGL: border_color was never set. Fixed. (#1740)Jannik Vogel2016-04-301-0/+1
|/
* Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner2016-04-291-1/+0
| | | | This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI.
* HWRasterizer: reorder declarations to match defstfarley2016-04-221-9/+9
|
* HWRasterizer: sync specular uniform for new shaderstfarley2016-04-221-0/+2
|
* Merge pull request #1436 from tfarley/hw-tex-forwardingbunnei2016-04-228-738/+1347
|\ | | | | Hardware Renderer Texture Forwarding
| * HWRasterizer: Texture forwardingtfarley2016-04-218-738/+1347
| |
* | OpenGL: Implement color combiner Operation::Dot3_RGBJannik Vogel2016-04-101-0/+3
|/
* OpenGL: Respect buffer-write allow registersJannik Vogel2016-04-081-6/+28
|
* OpenGL: Split buffer-write mask sync into seperate functionsJannik Vogel2016-04-082-8/+39
|
* OpenGL: Keep stencil-test and framebuffer.depth_format in syncJannik Vogel2016-04-081-0/+1
|
* Merge pull request #1639 from linkmauve/fix-double-framebuffer-checkbunnei2016-04-081-4/+6
|\ | | | | OpenGL: Fix a double framebuffer completeness checks.
| * OpenGL: Fix a double framebuffer completeness checks.Emmanuel Gil Peyrot2016-04-031-4/+6
| |
* | Merge pull request #1643 from MerryMage/make_uniqueMathew Maidment2016-04-062-4/+4
|\ \ | |/ |/| Common: Remove Common::make_unique, use std::make_unique
| * Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-052-4/+4
| |
* | OpenGL: Check for framebuffer completenessJannik Vogel2016-04-031-0/+3
| |
* | Avoid warnings by casting to size_t for ARRAY_SIZE() comparisonsJannik Vogel2016-04-011-6/+6
| |
* | OpenGL: Don't attempt to draw empty triangle batchesYuri Kunde Schlesner2016-03-241-0/+3
|/ | | | | Our code did not handle this well, causing random crashes in some situations.
* Merge pull request #1344 from LittleWhite-tb/error-outputbunnei2016-03-092-2/+8
|\ | | | | Output errors in GUI
| * Improve error report from Init() functionsLittleWhite2016-03-082-2/+8
| | | | | | | | Add error popup when citra initialization failed
* | Pica: Write depth value even when depth test is disabledYuri Kunde Schlesner2016-03-061-2/+4
|/ | | | This has been confirmed on hardware. Fixes Etrian Odyssey IV.
* Add immediate mode vertex submissionDwayne Slater2016-03-032-0/+2
|
* renderer_opengl: Initalise fragment shader LUT texturesMerryMage2016-02-261-0/+4
|
* pica: Cleanup lighting register definitions and documentation.bunnei2016-02-051-15/+15
|
* gl_rasterizer: Use alignas(16) instead of explicit padding.bunnei2016-02-051-13/+6
|
* renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.bunnei2016-02-054-14/+18
|
* gl_rasterizer: Fix issue with interpolation of opposite quaternions.bunnei2016-02-052-4/+32
|
* pica_types: Replace float24/20/16 with a template class.bunnei2016-02-052-9/+9
|
* gl_rasterizer: Remove unnecessary casts.bunnei2016-02-051-6/+6
|
* gl_rasterizer: Fix PicaShaderConfig on GCC.bunnei2016-02-051-29/+27
|
* gl_rasterizer: Initial implementation of bump mapping.bunnei2016-02-052-5/+33
|
* gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).bunnei2016-02-051-3/+3
|
* gl_shader_gen: Implement lighting red, green, and blue reflection.bunnei2016-02-052-18/+62
|
* gl_shader_gen: View should be normalized.bunnei2016-02-051-2/+2
|
* gl_shader_gen: Implement fragment lighting fresnel effect.bunnei2016-02-052-9/+33
|
* gl_shader_gen: Implement fragment lighting specular 1 component.bunnei2016-02-052-3/+22
|
* gl_shader_gen: Add support for D0 LUT scaling.bunnei2016-02-052-2/+4
|
* gl_shader_gen: Refactor lighting config to match Pica register naming.bunnei2016-02-052-42/+48
| | | | - Also implement D0 LUT enable.
* pica: Cleanup and add some comments to lighting registers.bunnei2016-02-051-1/+1
|
* gl_rasterizer: Minor naming refactor on Pica register naming.bunnei2016-02-051-5/+5
|
* gl_shader_gen: Reorganize and cleanup lighting code.bunnei2016-02-051-100/+107
| | | | - No functional difference.
* gl_shader_gen: Fix directional lights.bunnei2016-02-051-1/+1
|
* gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.bunnei2016-02-051-6/+6
|
* gl_shader_gen: View vector needs to be normalized when computing half angle vector.bunnei2016-02-051-3/+4
|
* renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei2016-02-055-27/+64
| | | | | - Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
* renderer_opengl: Initial implementation of basic specular lighting.bunnei2016-02-053-12/+158
|
* renderer_opengl: Implement HW fragment lighting distance attenuation.bunnei2016-02-052-17/+38
|
* renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.bunnei2016-02-053-15/+66
|
* renderer_opengl: Implement diffuse component of HW fragment lighting.bunnei2016-02-055-5/+259
|
* hwrasterizer: Use proper cached fb addr/sizetfarley2016-02-032-42/+34
|
* OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging levelYuri Kunde Schlesner2016-02-031-2/+0
| | | | | | The nVidia driver is *extremely* spammy on this category, sending a message on every buffer or texture upload, slowing down the emulator and making the log useless.
* hwrasterizer: Use depth offsettfarley2016-01-213-2/+24
|
* Merge pull request #1196 from linkmauve/khr_debugbunnei2016-01-131-0/+57
|\ | | | | Add optional GL_KHR_debug support
| * OpenGL: Log GL_KHR_debug messages we receiveEmmanuel Gil Peyrot2015-10-241-0/+57
| | | | | | | | | | This allows the driver to communicate errors, warnings and improvement suggestions about our usage of the API.
* | Merge pull request #1267 from yuriks/flipped-framebufferYuri Kunde Schlesner2015-12-104-12/+17
|\ \ | | | | | | OpenGL: Flip framebuffers during transfer rather than when rendering
| * | OpenGL: Flip framebuffers during transfer rather than when renderingYuri Kunde Schlesner2015-12-052-12/+11
| | |
| * | OpenGL: Add support for glFrontFace in the state trackerYuri Kunde Schlesner2015-12-052-0/+6
| | |
* | | VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner2015-12-083-38/+5
| | | | | | | | | | | | | | | | | | This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
* | | VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner2015-12-072-6/+6
| | |
* | | OpenGL: Rename cache functions to better match what they actually doYuri Kunde Schlesner2015-12-073-12/+11
|/ /
* | PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner2015-12-011-7/+11
| | | | | | | | | | | | | | | | | | This was discovered and verified by @fincs. The tev combiner buffer actually lags behind by one stage, meaning stage 1 reads the initial color, stage 2 reads stage 0's output, and so on. Fixes character portraits in Fire Emblem: Awakening and world textures in Zelda: ALBW. Closes #1140.
* | renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.bunnei2015-11-262-6/+8
| |
* | Use regular uniform locationPierre de La Morinerie2015-11-253-15/+5
| | | | | | | | | | | | The support for GL_ARB_explicit_uniform_location is not that good (53% according to http://feedback.wildfiregames.com/report/opengl/feature/GL_ARB_explicit_uniform_location). This fix the shader compilation on Intel HD 4000 (#1222).
* | FragShader: Use an UBO instead of several individual uniformsSubv2015-11-196-13/+67
| |
* | gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei2015-10-222-15/+9
| |
* | gl_shader_gen: Optimize code for AppendAlphaTestCondition.bunnei2015-10-221-16/+11
| | | | | | | | - Also add a comment to AppendColorCombiner.
* | gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei2015-10-223-12/+14
| |
* | gl_shader_gen: Various cleanups to shader generation.bunnei2015-10-223-48/+52
| |
* | gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei2015-10-224-83/+63
| | | | | | | | - Includes a check to confirm no hash collisions.
* | gl_shader_gen: Require explicit uniform locations.bunnei2015-10-223-56/+34
| | | | | | | | - Fixes uniform issue on AMD.
* | gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.bunnei2015-10-221-11/+11
| |
* | gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).bunnei2015-10-221-1/+1
| |
* | gl_shader_gen: Fix bug where TEV stage outputs should be clamped.bunnei2015-10-221-3/+3
| |
* | gl_rasterizer: Add documentation to ShaderCacheKey.bunnei2015-10-221-0/+16
| |
* | gl_shader_gen: Add additional function documentation.bunnei2015-10-222-0/+18
| |
* | gl_shader_util: Cleanup header file + add docstring.bunnei2015-10-221-1/+7
| |
* | gl_shader_gen: Various cleanups + moved TEV stage generation to its own function.bunnei2015-10-221-161/+170
| |
* | renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei2015-10-229-787/+507
| |
* | gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.bunnei2015-10-222-18/+46
| |
* | gl_shader_util: Use vec3 constants for AppendColorCombiner.bunnei2015-10-221-6/+6
| |
* | gl_rasterizer: Fix typo in uploading TEV const color uniforms.bunnei2015-10-221-5/+5
| |
* | gl_shader_util: Fix precision bug with alpha testing.bunnei2015-10-222-9/+9
| | | | | | | | - Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
* | Initial implementation of fragment shader generation with caching.Subv2015-10-226-261/+564
|/
* Silence -Wsign-compare warnings.Rohit Nirmal2015-10-071-3/+3
|
* fix some xcode 7.0 warningsMartin Lindhe2015-09-291-1/+0
|
* general: Silence some warnings when using clangLioncash2015-09-161-2/+2
|
* video_core: Reorganize headersLioncash2015-09-117-18/+17
|
* video_core: Remove unnecessary includes from headersLioncash2015-09-112-6/+3
|
* Merge pull request #1133 from lioncash/emplace-backbunnei2015-09-101-3/+3
|\ | | | | gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle
| * gl_rasterizer: Replace push_back calls with emplace_back in AddTriangleLioncash2015-09-101-3/+3
| |
* | renderer_opengl: Remove unimplemented function declarationLioncash2015-09-101-3/+0
|/
* OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner2015-09-034-21/+76
| | | | Fixes #978
* OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner2015-09-033-9/+9
|
* OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner2015-09-033-4/+42
|
* Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner2015-08-3010-2810/+11
| | | | | | The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
* Merge pull request #1049 from Subv/stencilbunnei2015-08-304-4/+55
|\ | | | | Rasterizer: Corrected the stencil implementation.
| * HWRenderer: Added a workaround for the Intel Windows driver bug that causes glTexSubImage2D to not change the stencil buffer.Subv2015-08-241-2/+9
| | | | | | | | Reported here https://communities.intel.com/message/324464
| * HWRasterizer: Implemented stencil ops 6 and 7.Subv2015-08-211-1/+3
| |
| * HWRasterizer: Implemented stencil op 1 (GL_ZERO)Subv2015-08-211-1/+1
| |
| * GLRasterizer: Implemented stencil testing in the hw renderer.Subv2015-08-204-2/+44
| |
* | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.bunnei2015-08-283-8/+18
| |
* | Integrate the MicroProfile profiling libraryYuri Kunde Schlesner2015-08-252-0/+15
|/ | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view.
* Shader: Move shader code to its own subdirectory, "shader".bunnei2015-08-151-1/+1
|
* GPU: Refactor "VertexShader" namespace to "Shader".bunnei2015-08-152-8/+8
| | | | - Also renames "vertex_shader.*" to "shader_interpreter.*"
* OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner2015-08-064-0/+45
| | | | | | | | | | | | If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games.
* OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner2015-08-064-26/+3
| | | | | All uses of this field where it's false can just set the texture id to 0 instead.
* OpenGL: Add a profiler category measuring framebuffer readbackYuri Kunde Schlesner2015-07-281-0/+7
|
* OpenGL: Make OpenGL object resource wrappers fully inlineYuri Kunde Schlesner2015-07-262-142/+79
| | | | | The functions are so simple that having them separate only bloats the code and hinders optimization.
* Merge pull request #977 from yuriks/glenable-tex2dbunnei2015-07-231-8/+5
|\ | | | | GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
| * GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner2015-07-221-8/+5
| | | | | | | | | | | | | | In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
* | Rasterizer/GL: Set the border color when binding a texture.Subv2015-07-231-2/+9
| |
* | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.Subv2015-07-212-3/+29
|/
* GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.Subv2015-07-191-3/+7
|
* Add CiTrace recording support.Tony Wasserka2015-07-131-0/+6
| | | | | | This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
* Merge pull request #907 from Lectem/clamp_to_borderTony Wasserka2015-07-121-1/+1
|\ | | | | Add GL_CLAMP_TO_BORDER support.
| * Added GL_CLAMP_TO_BORDER supportLectem2015-07-091-1/+1
| |
* | Core: Cleanup hw includes.Emmanuel Gil Peyrot2015-06-282-0/+2
| |
* | Core, VideoCore: Replace or fix exit() calls.Emmanuel Gil Peyrot2015-06-281-6/+9
| |
* | Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-282-3/+9
|/
* VideoCore: Log the GL driver’s vendor and renderer.Emmanuel Gil Peyrot2015-06-161-0/+2
|
* Renderer formatting editstfarley2015-06-092-26/+29
|
* Render-to-texture flush, interval math fixtfarley2015-06-091-1/+13
|
* Liberal texture unbind (clout menu)tfarley2015-06-092-4/+40
|
* Depth format fix (crush3d intro/black screens)tfarley2015-06-091-46/+46
|
* Implemented glColorMasktfarley2015-06-093-0/+24
|
* Merge pull request #811 from archshift/commonifyarchshift2015-05-312-2/+3
|\ | | | | Commonify video_core utility headers
| * Move video_core/color.h to common/color.harchshift2015-05-301-1/+2
| |
| * Move video_core/math.h to common/vector_math.harchshift2015-05-301-1/+1
| | | | | | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* | Pica: Use zero for the SecondaryFragmentColor source.bunnei2015-05-311-10/+14
| | | | | | | | - This is a workaround until we support fragment lighting.
* | Pica: Implement LogicOp function.bunnei2015-05-315-0/+57
|/
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-295-12/+12
|
* gl_state: Remove unnecessary const specifier on ApplyLioncash2015-05-232-2/+2
|
* Pica: Create 'State' structure and move state memory there.bunnei2015-05-232-114/+132
|
* gl_state: Fix a condition typo in ApplyLioncash2015-05-231-1/+1
|
* OpenGL renderertfarley2015-05-2312-20/+2069
|
* Memmap: Re-organize memory function in two filesYuri Kunde Schlesner2015-05-151-1/+1
| | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
* Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner2015-05-091-4/+4
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-0/+1
|
* Allow the user to set the background clear color during emulationarchshift2015-04-041-1/+2
| | | | The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
* Merge pull request #629 from archshift/lcdfbbunnei2015-03-102-11/+48
|\ | | | | Implement SetLcdForceBlack and add implementation for color filling in the GPU code
| * Added LCD registers, and implementation for color filling in OGL code.archshift2015-03-092-11/+48
| |
* | Merge pull request #636 from bunnei/refactor-screen-winbunnei2015-03-081-39/+9
|\ \ | | | | | | Set framebuffer layout from EmuWindow.
| * | Set framebuffer layout from EmuWindow.bunnei2015-03-071-39/+9
| |/
* / Add profiling infrastructure and widgetYuri Kunde Schlesner2015-03-021-0/+12
|/
* video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot2015-02-152-12/+67
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-112-4/+4
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* GSP: Update framebuffer info on all interruptsYuri Kunde Schlesner2015-01-141-3/+1
| | | | | | | | | | Hardware testing determined that the GSP processes shared memory framebuffer update info even when no memory transfer or filling GX commands are used. They are now updated on every interrupt, which isn't confirmed correct but matches hardware behaviour more closely. This also reverts the hack introduced in #404. It made a few games behave better, but I believe it's incorrect and also breaks other games.
* GSP: Toggle active framebuffer each framebunnei2015-01-081-1/+4
|
* Merge pull request #291 from purpasmart96/licensebunnei2014-12-215-5/+5
|\ | | | | License change
| * License changepurpasmart962014-12-215-5/+5
| |
* | Clean up some warningsChin2014-12-201-2/+2
|/
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-132-12/+24
|
* Change NULLs to nullptrs.Rohit Nirmal2014-12-031-5/+5
|
* Merge pull request #236 from rohit-n/sign-comparebunnei2014-12-031-1/+1
|\ | | | | Silence a few -Wsign-compare warnings.
| * Silence a few -Wsign-compare warnings.Rohit Nirmal2014-12-011-1/+1
| |
* | Fixed viewport error caused by roundingvaguilar2014-11-301-2/+2
|/
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-191-1/+1
|
* OpenGL Renderer: Cleanup viewport extent calculation.Tony Wasserka2014-11-182-44/+29
|
* Fixup EmuWindow interface and implementations thereof.Tony Wasserka2014-11-181-3/+3
|
* Viewport scaling and display density independenceKevin Hartman2014-11-182-1/+50
| | | | | The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-261-4/+4
| | | | This was automated using `clang-modernize`.
* Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner2014-10-211-9/+6
| | | | | | | | This prevents a crash when the buffer size returned by the driver is 0, in which case no space is allocated to store even the NULL byte and glGetShaderInfoLog errors out. Thanks to @Relys for the bug report.
* Rework OpenGL renderer.Yuri Kunde Schlesner2014-10-123-233/+189
| | | | | | | | | The OpenGL renderer has been revised, with the following changes: - Initialization and rendering have been refactored to reduce the number of redundant objects used. - Framebuffer rotation is now done directly, using texture mapping. - Vertex coordinates are now given in pixels, and the projection matrix isn't hardcoded anymore.
* OpenGL renderer: Shuffle initialization code around and rename functions.Yuri Kunde Schlesner2014-10-122-25/+18
|
* Remove virtual inheritance from RendererOpenGLYuri Kunde Schlesner2014-10-121-2/+2
| | | | Also make destructor virtual so that instances are properly destructed.
* Merge pull request #97 from archshift/cleanupbunnei2014-09-141-16/+16
|\ | | | | Small, general code cleanup
| * renderer_opengl.cpp: improved alignment for readabilityarchshift2014-09-071-16/+16
| |
* | Moved common_types::Rect from common to Common namespacearchshift2014-09-092-3/+3
|/
* Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner2014-09-016-7/+2805
| | | | | | | | | This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows.
* Downgrade GLSL version to 1.50 (compatible with GL 3.2)Yuri Kunde Schlesner2014-08-283-10/+15
|
* VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei2014-08-262-4/+11
|
* Rewrite of OpenGL renderer, including OS X supportKevin Hartman2014-08-265-203/+315
| | | | | | Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk.
* Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka2014-08-121-7/+7
| | | | | This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
* Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-121-2/+2
| | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
* Use uniform formatting when printing hexadecimal numbers.Tony Wasserka2014-07-231-1/+1
|
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-231-9/+9
|
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-231-26/+28
|
* Renderer: Fix component order in bottom framebuffer.Tony Wasserka2014-07-232-5/+4
|
* Renderer: Respect the active_fb GPU register.Tony Wasserka2014-07-231-2/+9
|
* Renderer: Add a few TODOs.Tony Wasserka2014-07-231-3/+10
|
* Rename LCD to GPU.Tony Wasserka2014-06-121-3/+3
|
* common_types: Changed BasicRect back to Rect, in the common namespacearchshift2014-05-202-3/+3
| | | | Only Rect is in the namespace for now; the rest of common should be added in the future
* Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift2014-05-171-7/+6
|\
| * Update FlipFramebufferSethpaien2014-05-081-7/+6
| | | | | | Less calculations + fix
* | Reverse debugging changesarchshift2014-05-011-2/+0
| |
* | TGA dumps work, courtesy of @bunneiarchshift2014-05-011-0/+2
| |
* | Xcode complains that the class name is redundant.archshift2014-04-281-1/+1
| |
* | Rect to BasicRectarchshift2014-04-282-3/+3
|/ | | | Somewhere along the line an OSX header had already taken the name Rect.
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-281-1/+0
|
* fixed renderer to use correct framebuffer locationbunnei2014-04-272-8/+7
|
* fixed GL context acquire (applies to Qt GUI only)bunnei2014-04-221-0/+2
|
* renamed hw_lcd module to just lcdbunnei2014-04-181-1/+1
|
* fixed framebuffer color orderbunnei2014-04-171-1/+1
|
* removed hard-coded framebuffer addresses from renderer_opengl.cppbunnei2014-04-171-2/+4
|
* fixed project includes to use new directory structurebunnei2014-04-092-6/+7
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-092-0/+370