Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Issue 277323002: Make GrGLConfigConversionEffect work for Imagination and some other GPUs. (Closed)

Created:
6 years, 7 months ago by changjun.yang
Modified:
6 years, 4 months ago
Reviewers:
Tom Hudson, bsalomon
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Make it work by highp #

Patch Set 3 : Only affect PowerVR Rogue Hood #

Total comments: 5

Patch Set 4 : Only change outColor to highp for PowerVR Rogue Hood #

Total comments: 1

Patch Set 5 : Add new pair of highp shader which brings no side effect to others #

Total comments: 4

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : Make it work only for Android #

Patch Set 9 : Adding GLES context check #

Patch Set 10 : nit #

Patch Set 11 : update for GLES contex check #

Patch Set 12 : using temporary in GrGLConfigConversionEffect #

Patch Set 13 : rebase #

Patch Set 14 : Make temp highp work for GLES by GrGLShaderVar #

Patch Set 15 : remove "\n" and "\t" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -11 lines) Patch
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +21 lines, -11 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
changjun.yang
As mentioned in the bug entry, I think deviation up to 1 should be accepted ...
6 years, 7 months ago (2014-05-12 11:19:53 UTC) #1
bsalomon
On 2014/05/12 11:19:53, changjun.yang wrote: > As mentioned in the bug entry, I think deviation ...
6 years, 7 months ago (2014-05-13 08:09:00 UTC) #2
changjun.yang
On 2014/05/13 08:09:00, bsalomon wrote: > On 2014/05/12 11:19:53, changjun.yang wrote: > > As mentioned ...
6 years, 7 months ago (2014-05-13 09:22:41 UTC) #3
bsalomon
On 2014/05/13 09:22:41, changjun.yang wrote: > On 2014/05/13 08:09:00, bsalomon wrote: > > On 2014/05/12 ...
6 years, 7 months ago (2014-05-13 11:12:56 UTC) #4
changjun.yang
On 2014/05/13 11:12:56, bsalomon wrote: > On 2014/05/13 09:22:41, changjun.yang wrote: > > On 2014/05/13 ...
6 years, 7 months ago (2014-05-17 11:26:31 UTC) #5
bsalomon
On 2014/05/17 11:26:31, changjun.yang wrote: > On 2014/05/13 11:12:56, bsalomon wrote: > > On 2014/05/13 ...
6 years, 7 months ago (2014-05-20 14:50:22 UTC) #6
changjun.yang
On 2014/05/20 14:50:22, bsalomon wrote: > On 2014/05/17 11:26:31, changjun.yang wrote: > > On 2014/05/13 ...
6 years, 7 months ago (2014-05-26 09:10:43 UTC) #7
bsalomon
On 2014/05/26 09:10:43, changjun.yang wrote: > On 2014/05/20 14:50:22, bsalomon wrote: > > On 2014/05/17 ...
6 years, 7 months ago (2014-05-27 13:15:16 UTC) #8
bsalomon
On 2014/05/27 13:15:16, bsalomon wrote: > On 2014/05/26 09:10:43, changjun.yang wrote: > > On 2014/05/20 ...
6 years, 7 months ago (2014-05-27 13:24:34 UTC) #9
changjun.yang
On 2014/05/27 13:24:34, bsalomon wrote: > On 2014/05/27 13:15:16, bsalomon wrote: > > On 2014/05/26 ...
6 years, 6 months ago (2014-06-09 12:41:30 UTC) #10
bsalomon
https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode699 src/gpu/gl/GrGLShaderBuilder.cpp:699: append_default_precision_qualifier(GrGLShaderVar::kHigh_Precision, Can you not just apply highp to the ...
6 years, 6 months ago (2014-06-09 13:56:45 UTC) #11
changjun.yang
https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode532 src/gpu/gl/GrGLShaderBuilder.cpp:532: this->fsCodeAppendf("\tvec4 %s = %s;\n", inColorName.c_str(), inColor.c_str()); Sorry I am ...
6 years, 6 months ago (2014-06-10 11:41:17 UTC) #12
bsalomon
https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode532 src/gpu/gl/GrGLShaderBuilder.cpp:532: this->fsCodeAppendf("\tvec4 %s = %s;\n", inColorName.c_str(), inColor.c_str()); On 2014/06/10 11:41:16, ...
6 years, 6 months ago (2014-06-10 13:22:15 UTC) #13
bsalomon
https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode532 src/gpu/gl/GrGLShaderBuilder.cpp:532: this->fsCodeAppendf("\tvec4 %s = %s;\n", inColorName.c_str(), inColor.c_str()); On 2014/06/10 11:41:16, ...
6 years, 6 months ago (2014-06-10 13:22:18 UTC) #14
changjun.yang
https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode532 src/gpu/gl/GrGLShaderBuilder.cpp:532: this->fsCodeAppendf("\tvec4 %s = %s;\n", inColorName.c_str(), inColor.c_str()); On 2014/06/10 13:22:18, ...
6 years, 6 months ago (2014-06-11 08:56:56 UTC) #15
changjun.yang
On 2014/06/11 08:56:56, changjun.yang wrote: > https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp > File src/gpu/gl/GrGLShaderBuilder.cpp (right): > > https://codereview.chromium.org/277323002/diff/40001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode532 > ...
6 years, 5 months ago (2014-07-01 09:01:15 UTC) #16
bsalomon
https://codereview.chromium.org/277323002/diff/80001/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.chromium.org/277323002/diff/80001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode541 src/gpu/gl/GrGLShaderBuilder.cpp:541: kPVRRogueHood_GrGLRenderer == this->ctxInfo().renderer()) Can't you have a temporary highp ...
6 years, 5 months ago (2014-07-01 13:54:52 UTC) #17
changjun.yang
On 2014/07/01 13:54:52, bsalomon wrote: > https://codereview.chromium.org/277323002/diff/80001/src/gpu/gl/GrGLShaderBuilder.cpp > File src/gpu/gl/GrGLShaderBuilder.cpp (right): > > https://codereview.chromium.org/277323002/diff/80001/src/gpu/gl/GrGLShaderBuilder.cpp#newcode541 > ...
6 years, 5 months ago (2014-07-02 14:24:17 UTC) #18
changjun.yang
On 2014/07/02 14:24:17, changjun.yang wrote: > On 2014/07/01 13:54:52, bsalomon wrote: > > > https://codereview.chromium.org/277323002/diff/80001/src/gpu/gl/GrGLShaderBuilder.cpp ...
6 years, 5 months ago (2014-07-03 13:35:33 UTC) #19
bsalomon
Thanks for revising the change! I have two small comments, otherwise looks good. https://codereview.chromium.org/277323002/diff/100001/src/gpu/effects/GrConfigConversionEffect.cpp File ...
6 years, 5 months ago (2014-07-07 13:21:39 UTC) #20
changjun.yang
Thanks! https://codereview.chromium.org/277323002/diff/100001/src/gpu/effects/GrConfigConversionEffect.cpp File src/gpu/effects/GrConfigConversionEffect.cpp (right): https://codereview.chromium.org/277323002/diff/100001/src/gpu/effects/GrConfigConversionEffect.cpp#newcode42 src/gpu/effects/GrConfigConversionEffect.cpp:42: builder->fsCodeAppendf("\t\t%s = %s;\n", outputColorH, outputColor); On 2014/07/07 13:21:39, ...
6 years, 5 months ago (2014-07-08 02:33:59 UTC) #21
bsalomon
https://codereview.chromium.org/277323002/diff/140001/src/gpu/effects/GrConfigConversionEffect.cpp File src/gpu/effects/GrConfigConversionEffect.cpp (right): https://codereview.chromium.org/277323002/diff/140001/src/gpu/effects/GrConfigConversionEffect.cpp#newcode33 src/gpu/effects/GrConfigConversionEffect.cpp:33: builder->fsCodeAppendf("\thighp vec4 %s;\n", outputColorH); It looks like we're still ...
6 years, 5 months ago (2014-07-08 13:10:15 UTC) #22
changjun.yang
https://codereview.chromium.org/277323002/diff/140001/src/gpu/effects/GrConfigConversionEffect.cpp File src/gpu/effects/GrConfigConversionEffect.cpp (right): https://codereview.chromium.org/277323002/diff/140001/src/gpu/effects/GrConfigConversionEffect.cpp#newcode33 src/gpu/effects/GrConfigConversionEffect.cpp:33: builder->fsCodeAppendf("\thighp vec4 %s;\n", outputColorH); On 2014/07/08 13:10:15, bsalomon wrote: ...
6 years, 5 months ago (2014-07-09 03:02:10 UTC) #23
bsalomon
lgtm
6 years, 5 months ago (2014-07-09 13:20:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/changjun.yang@intel.com/277323002/160001
6 years, 5 months ago (2014-07-09 13:21:09 UTC) #25
commit-bot: I haz the power
Change committed as 93cf46f7d687128d2ad05762bd65fea6c4539553
6 years, 5 months ago (2014-07-09 13:47:32 UTC) #26
bsalomon
A revert of this CL has been created in https://codereview.chromium.org/377263003/ by bsalomon@google.com. The reason for ...
6 years, 5 months ago (2014-07-09 15:04:06 UTC) #27
changjun.yang
On 2014/07/09 15:04:06, bsalomon wrote: > A revert of this CL has been created in ...
6 years, 5 months ago (2014-07-10 08:33:49 UTC) #28
bsalomon
On 2014/07/10 08:33:49, changjun.yang wrote: > On 2014/07/09 15:04:06, bsalomon wrote: > > A revert ...
6 years, 5 months ago (2014-07-10 13:09:53 UTC) #29
changjun.yang
On 2014/07/10 13:09:53, bsalomon wrote: > On 2014/07/10 08:33:49, changjun.yang wrote: > > On 2014/07/09 ...
6 years, 5 months ago (2014-07-11 05:32:45 UTC) #30
changjun.yang
On 2014/07/11 05:32:45, changjun.yang wrote: > On 2014/07/10 13:09:53, bsalomon wrote: > > On 2014/07/10 ...
6 years, 5 months ago (2014-07-21 07:06:19 UTC) #31
changjun.yang
Ping..
6 years, 5 months ago (2014-07-21 07:12:48 UTC) #32
bsalomon
On 2014/07/21 07:12:48, changjun.yang wrote: > Ping.. Sorry was out of office. The CL can ...
6 years, 5 months ago (2014-07-21 14:23:12 UTC) #33
changjun.yang
On 2014/07/21 14:23:12, bsalomon wrote: > On 2014/07/21 07:12:48, changjun.yang wrote: > > Ping.. > ...
6 years, 5 months ago (2014-07-22 13:08:02 UTC) #34
changjun.yang
On 2014/07/22 13:08:02, changjun.yang wrote: > On 2014/07/21 14:23:12, bsalomon wrote: > > On 2014/07/21 ...
6 years, 4 months ago (2014-07-29 08:27:32 UTC) #35
changjun.yang
On 2014/07/21 14:23:12, bsalomon wrote: > On 2014/07/21 07:12:48, changjun.yang wrote: > > Ping.. > ...
6 years, 4 months ago (2014-08-12 01:17:02 UTC) #36
bsalomon
Hi, Sorry for the long delay. I think this has gone in the wrong direction ...
6 years, 4 months ago (2014-08-13 00:56:47 UTC) #37
changjun.yang
On 2014/08/13 00:56:47, bsalomon wrote: > Hi, Sorry for the long delay. I think this ...
6 years, 4 months ago (2014-08-13 08:59:37 UTC) #38
bsalomon
On 2014/08/13 08:59:37, changjun.yang wrote: > On 2014/08/13 00:56:47, bsalomon wrote: > > Hi, Sorry ...
6 years, 4 months ago (2014-08-14 15:14:34 UTC) #39
changjun.yang
On 2014/08/14 15:14:34, bsalomon wrote: > On 2014/08/13 08:59:37, changjun.yang wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-18 12:44:26 UTC) #40
bsalomon
lgtm. BTW the tabs and newlines aren't really needed anymore. The shaders go through a ...
6 years, 4 months ago (2014-08-19 14:52:13 UTC) #41
changjun.yang
On 2014/08/19 14:52:13, bsalomon wrote: > lgtm. BTW the tabs and newlines aren't really needed ...
6 years, 4 months ago (2014-08-20 01:17:52 UTC) #42
changjun.yang
The CQ bit was checked by changjun.yang@intel.com
6 years, 4 months ago (2014-08-20 01:18:00 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/changjun.yang@intel.com/277323002/420001
6 years, 4 months ago (2014-08-20 01:18:24 UTC) #44
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 01:24:35 UTC) #45
Message was sent while issue was closed.
Committed patchset #15 (420001) as cecc91c4446c9c2f9b95736e206bfd1d507a75a9

Powered by Google App Engine
This is Rietveld 408576698