Go to file
dvonbeck a7d1e2a57a Refactoring of GPU NormalMap handling out into its own class.
The purpose of this change is to refactor the handling of normal maps out of SkLightingShader, laying the groundwork to eventually allow for multiple normal sources.

What this CL includes:

- Created a new 'NormalMapFP', out of the existing normal map reading behavior in LightingFP.

- Encapsulates this new fragment processor on a new class NormalMapSource.

- Created a NormalSource abstraction that will interface with SkLightingShader.

- Adapted SkLightingShader to use the normals from its NormalSource field ON THE GPU SIDE. No changes done to the CPU side yet.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2043393002

Committed: https://skia.googlesource.com/skia/+/87b0dd00cf9409c5fc990f5d0bb7c0df837f08da
Review-Url: https://codereview.chromium.org/2043393002
2016-06-15 12:07:56 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench respect srgb gamma when building mips 2016-06-10 11:41:47 -07:00
bin bin/fetch-skps: print instruction on error 2016-04-26 12:38:47 -07:00
cmake Check libpng directly into third_party/ 2016-06-02 12:59:59 -07:00
debugger Fix old debugger 2016-04-29 14:02:18 -07:00
dm Type-erase SkAutoMutexAcquire and SkAutoExclusive. 2016-06-10 13:56:35 -07:00
example Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel 2016-05-05 12:24:31 -07:00
experimental sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
fuzz Add ICC fuzzer 2016-06-09 07:15:12 -07:00
gm Actually fix leak in deferred_texture_image_data 2016-06-15 09:00:21 -07:00
gyp Refactoring of GPU NormalMap handling out into its own class. 2016-06-15 12:07:56 -07:00
include Refactoring of GPU NormalMap handling out into its own class. 2016-06-15 12:07:56 -07:00
infra Add asset management scripts 2016-06-15 12:07:42 -07:00
platform_tools Support resize in Android Viewer App 2016-06-09 12:02:34 -07:00
resources Add interesting features to visualize_color_gamut 2016-05-27 14:01:02 -07:00
samplecode Add SampleApp that shows problems in stroking 2016-06-15 09:13:35 -07:00
site Update CQ keywords documentation 2016-06-09 06:56:39 -07:00
src Refactoring of GPU NormalMap handling out into its own class. 2016-06-15 12:07:56 -07:00
tests Refactoring of GPU NormalMap handling out into its own class. 2016-06-15 12:07:56 -07:00
third_party Prefix png functions 2016-06-06 08:57:50 -07:00
tools If we fail to create a window surface with sRGB, try again without. 2016-06-14 08:23:48 -07:00
.gitignore isolate_android_sdk: Find or download isolate binary, fix infra path 2016-05-27 11:11:22 -07:00
AUTHORS Add AVX/AVX2 support for runtime check 2016-04-08 15:31:45 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Check libpng directly into third_party/ 2016-06-02 12:59:59 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Include resources directory in google3 sync. 2015-10-20 13:00:48 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Fix Gold trybot results URL 2016-05-20 03:50:01 -07:00
public.bzl Stop trying to build files that are not there 2016-06-08 14:32:00 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
SK_IMAGE_VERSION Remove extra DNG images and use smaller HTC.dng 2016-05-24 06:23:47 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2016-06-13 04:10:29 -07:00
whitespace.txt Test PDFium bot again 2016-06-04 11:57:23 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.