[Verizon Samsung Galaxy S III] razz1:
This mod is full time 4x and 2x MSAA for TW on d2vzw.

Crystal Clear is no longer being supported.

Downloads are in post 2.

All development for this mod has been developed through the device on the device for the device.

If you need help with this mod feel free to ask. However, there are a few different mods listed. Please state which mod you are using so I can better help you!

First things first.

I want to thank...

"Kennyglass 123" for you patience in this forum.

"qwerty12"

"x714x"

If it weren't for you guys this would be an absolute fail! Your great knowledge is appreciated!

**If you include this in your rom please include me in your credits as a few haven't.**

If you are a rom developer and would like to include this mod in your next rom then go for it. No need to ask.

This mod is FULL TIME 4xMSAA and produced by a single text file in /data/local/temp/ called "yamato_panel.txt" Set your permissions for the device to read it and reboot. Any changes made to the file are not instantly applied and will need a reboot.

To verify the samples get the app "Basemark ES2 taiji"

It's optional but not necessary to...

- Remove the line "0 0 android from /system/lib/egl/egl.cfg

- Rename "libGLES_android.so" to "libGLES_android.bak" in /system/lib/egl.

This forces the system to use hardware rendering and speeds up the whole system. Even though we have this set in alot of build.props it will still use SW rendering at times. This completely eliminates SW.

The 1 in "0 1 adreno" defines HW.

What is Anti-Aliasing??

FT4xMSAA yamato_panel.txt

NOTES..

1. Do NOT attempt to set MSAASmoothing to "high" as it will cause your display to look like 8 bit graphics. (Anybody want to try to fix this be my guest)?

2. MSAAMode=1

Sets samples to 2x

MSAAMode=2

Sets samples to 4x

3. facenessCulling=on

This will drastically increase the picture quality but also put more strain on the system. This can be set to "default" for easier rendering.

ISSUES..

1. Since the recent updates to ASOP, this mod is no longer recommended for it. This is now for T.W. only.

2. The taskbar artifacts have been significantly reduced in 4x and non existent in 2x.

3. This is not a performance mod!

This mod will cause a higher strain on the system. Effects of this mod are slower performance but a far better visual experience.

The text file for 4x MSAA.

Use it at your own risk. Attempting to modify some settings may leave your device soft bricked! However, if this happens you can simply remove the file in TWRP and reboot.

#

performance=normal
disableExtraSwapBlit=0
ignoreGlFlush=0
binning=hw
forceGuardband=0
guardbandValue=0
forceGmemSize=0
gmemSize=0
veboSetting=0
numBins_weight=80
numGroups_weight=20
log.resolves=0
log.pm4=0
log.pm4mem=0
log.shaders=0
log.sc_dev=0
log.cffdump=0
log.cffdump_with_ifh=0
log.cffdump_no_memzero=0
log.dumpx=0
log.sc_dev_shader_name=sc_dev_dump.txt
log.primitives=0
waitForIdleAfterDraw=0
waitForIdleOnSubmit=0
disableSwapTsIdle=0
useUncachedVBOs=0
clockGating=off
useSafeMode=0
redirectDebugMessages=0
forceChipId=Default
convertTristrips=default
convertTrifans=default
convertLineloops=default
shader_sub.write=0
shader_sub.read=0
shader_sub.trivialfs=0
facenessCulling=on
vboDataAlignment=natural
enableOptimizedTextureUpdates=1
enableOptimizedVboUpdates=1
forceAutoTextureCompression=0
triJuice=0
enableInlineConstantUpdates=1
enableMemoryPool=1
enableFastClears=1
ditherSafeFastClears=1
shadowGmemInAppBuffers=1
textureTiling=1
preserveZStencilOnSwap=0
allowDepthExport=0
untileDynamicTextures=1
fullSurfaceDynamicUpdatePath=1
useGpuTilingHints=1
MSAASmoothing=normal
MSAABufferAllocation=always
forceMSAAMode=1
MSAAMode=2
VAESEnable=0
VAESGenericError=0
VAESFailNth=0
VAESDoNotFailFirstN=0
VAESRandomSeed=0
VAESFailPercent=0
2D.HwBlt=1
2D.forceEglSwapInterval=0
2D.eglSwapInterval=0
leiaEnableLrzWrites=1
leiaEnableLrzExpansion=0
leiaExportColorForLrzUnresolve=0
leiaEnableFastLrzUnresolves=0
oxiliDisableLazyUpdates=0
oxiliDisableChunkedUpdates=0
oxiliForceShaderDirectUpdates=0
oxiliForceConstantDirectUpdates=0
oxiliForceIstoreCacheMode=0
oxiliForceCstoreSingleBuffer=0
oxiliForceShaderSingleContext=0
oxiliForceSuperthreadMode=0
oxiliForceVsSingleThread=0
oxiliForceFsSingleThread=0
oxiliForceSingleSp=0
oxiliSkipClears=0
oxiliForceSysmemRender=0
FPSCap=0
allowFloatFBOs=0
suppressTimestampInterrupts=0
GPUIdleTimeout=off
GPUIdleTimeoutMsec=0

After installing this mod or simply installing any standard rom its recommended to quickly scroll something on your device to properly set the framebuffer. This is why a newly installed rom may be choppy at first.

BUILD.PROP

Additional edits to the build.prop. These alone will create a significant gain in the visual experience and possible scrolling smoothness with or without yamato!

Tweak as you like.

#----HWUI----

ro.hwui.text_cache_width=2048
debug.hwui.render_dirty_regions=false
ro.hwui.text_cache_height=256
ro.hwui.fbo_cache_size=16384
ro.hwui.layer_cache_size=16384
ro.hwui.path_cache_size=16384
ro.hwui.round_rect_shape_cache_size=16384
ro.hwui.circle_shape_cache_size=16384
ro.hwui.rect_shape_cache_size=16384
ro.hwui.arc_shape_cache_size=16384
ro.hwui.oval_shape_cache_size=16384
ro.hwui.texture_cache_size=16384
ro.hwui.gradient_cache_size=16384
ro.hwui.text_drop_shadow_cache_size=16384
ro.hwui.font_renderer_cache_size=16384
ro.hwui.resource_cache_size=16384
ro.hwui.patch_cache_size=16384
ro.hwui.disable_vsync=false
ro.hwui.layer_size=1024
ro.hwui.render_layers_as_regions=1
ro.hwui.stencil_buffer_size=3.0
ro.hwui.texture_cache_flush_rate=0.9
ro.hwui.panel_bit_depth=32
ro.hwui.default_text_gamma=1.8
ro.hwui.default_text_black_gamma_threshold=255
ro.hwui.default_text_white_gamma_threshold=255
ro.hwui.disable_scissor_opt=true
debug.hwui.show_overdraw=false
debug.hwui.show_layers_updates=false
ro.hwui.text_gamma_correction=shader3

GPU PERFORMANCE GOVERNOR.

Setting GPU governor to "performance" mode. This will help to smooth out the system with or without yamato.

echo trustzone >/sys/class/kgsl/kgsl-2d0/pwrscale/policy

echo performance >/sys/class/kgsl/kgsl-2d0/pwrscale/trustzone/governor

echo trustzone >/sys/class/kgsl/kgsl-2d1/pwrscale/policy

echo performance >/sys/class/kgsl/kgsl-2d1/pwrscale/trustzone/governor

echo trustzone >/sys/class/kgsl/kgsl-3d0/pwrscale/policy

echo performance >/sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor