dolphin/Source/Core/VideoCommon
degasus 8a4aa8c1f5 Rewrite texture tiling implementation
inline halfxb

So we know which is the first pixel by masking.

inline xl

inline xb a bit

inline yl

inline uv1.x shift

remove likely wrong guessed ternary operator

add pixel layout comment

inline xel

optimize the shifts a bit

inline xb

optimize shifts in a second step

extract xb

rename all variables

calculate cache line by position.x

Revert 5115b459f40d53044cd7a858f52e6e876e1211b4 "optimize the shifts a bit"

It seems I was wrong, the other way is the more natural.

use x_virtual_position instead of uv1.x for x_offset_in_block

This looks more natural and the offset should be masked anyway.

substitude factor with cache_lines

move 32bit logic in a conditional block
2014-02-26 11:37:29 +01:00
..
AVIDump.cpp Dolphin now builds on Linux with only Source/Core as include dir 2014-02-18 12:18:47 +01:00
AVIDump.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPFunctions.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPFunctions.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPMemory.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPMemory.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPStructs.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
BPStructs.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
CMakeLists.txt VideoCommon: remove Cache Displaylist 2014-01-31 07:30:55 +01:00
CommandProcessor.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
CommandProcessor.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
ConstantManager.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
CPMemory.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
CPMemory.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
DataReader.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
Debugger.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
Debugger.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
DriverDetails.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
DriverDetails.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
EmuWindow.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
EmuWindow.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
Fifo.cpp Make Common/ mostly IWYU clean (and fix errors in rest of the project detected by this change). 2014-02-22 23:37:29 +01:00
Fifo.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
FPSCounter.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
FPSCounter.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
FramebufferManagerBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
FramebufferManagerBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
HiresTextures.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
HiresTextures.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
ImageWrite.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
ImageWrite.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
IndexGenerator.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
IndexGenerator.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
LightingShaderGen.h Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
LookUpTables.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
MainBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
MainBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
memcpy_amd.cpp Remove unnecessary Src/ folders 2013-12-31 14:03:19 -05:00
NativeVertexFormat.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
OnScreenDisplay.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
OnScreenDisplay.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
OpcodeDecoding.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
OpcodeDecoding.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
PerfQueryBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PerfQueryBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PixelEngine.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
PixelEngine.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PixelShaderGen.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
PixelShaderGen.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PixelShaderManager.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
PixelShaderManager.h Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
RenderBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
RenderBase.h Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
ShaderGenCommon.h Fix a compilation error introduced in PR #91. 2014-02-23 03:45:46 +01:00
Statistics.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
Statistics.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
stdafx.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
stdafx.h Second and final pass of clearing out tabs. 2014-02-17 02:19:41 -05:00
TextureCacheBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
TextureCacheBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
TextureConversionShader.cpp Rewrite texture tiling implementation 2014-02-26 11:37:29 +01:00
TextureConversionShader.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
TextureDecoder.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
TextureDecoder_Generic.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
TextureDecoder_x64.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VertexLoader.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VertexLoader.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Color.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Color.h Replace all include guard ifdefs with "#pragma once" 2014-02-10 18:07:16 -05:00
VertexLoader_Normal.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Normal.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Position.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_Position.h Remove unnecessary Src/ folders 2013-12-31 14:03:19 -05:00
VertexLoader_TextCoord.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoader_TextCoord.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoaderManager.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexLoaderManager.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexManagerBase.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexManagerBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexShaderGen.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexShaderGen.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VertexShaderManager.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VertexShaderManager.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VideoBackendBase.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VideoBackendBase.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VideoCommon.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VideoCommon.vcxproj [VideoCommon] Remove references to now non-existant files OpenCL.h and OpenCL/OCLTextureDecoder.h in the Visual Studio vcxproj file. 2014-02-01 21:52:06 -05:00
VideoCommon.vcxproj.filters VideoCommon: remove Cache Displaylist 2014-01-31 07:30:55 +01:00
VideoConfig.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VideoConfig.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
VideoState.cpp Fix more header sorting issues in VideoCommon/ (now check-includes clean). 2014-02-20 01:01:10 +01:00
VideoState.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
XFMemory.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
XFMemory.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
XFStructs.cpp Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00
XFStructs.h Convert all includes to relative paths. 2014-02-18 02:19:10 -05:00