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

Issue 14402003: Add OES_texture_half_float extension support in Chromium for desktop GL implementation. (Closed)

Created:
7 years, 8 months ago by Jun Jiang
Modified:
7 years, 7 months ago
CC:
chromium-reviews, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add OES_texture_half_float extension support in Chromium for desktop GL implementation. BUG=235031

Patch Set 1 #

Patch Set 2 : Add GetTexType in the TexSubImage2D path #

Patch Set 3 : Add changes for AsyncTexImage2DCHROMIUM and AyncTexSubImage2DCHROMIUM #

Patch Set 4 : read the value of uploaded pixel to check OES_HALF_FLOAT is really working #

Patch Set 5 : add support for glReadPixels and updated test cases #

Total comments: 8

Patch Set 6 : remove support for glReadPixels and update test cases #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -6 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 8 chunks +40 lines, -6 lines 1 comment Download
A gpu/command_buffer/tests/gl_oes_texture_half_float_unittest.cc View 1 2 3 4 5 1 chunk +130 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Jun Jiang
This patch is to work together with https://codereview.chromium.org/13842017/ to enable OES_texture_half_float extension support in Chromium ...
7 years, 8 months ago (2013-04-22 09:25:17 UTC) #1
greggman
On 2013/04/22 09:25:17, Jun Jiang wrote: > This patch is to work together with https://codereview.chromium.org/13842017/ ...
7 years, 8 months ago (2013-04-22 18:37:01 UTC) #2
Jun Jiang
On 2013/04/22 18:37:01, greggman wrote: > On 2013/04/22 09:25:17, Jun Jiang wrote: > > This ...
7 years, 8 months ago (2013-04-23 01:52:44 UTC) #3
Jun Jiang
On 2013/04/23 01:52:44, Jun Jiang wrote: > On 2013/04/22 18:37:01, greggman wrote: > > On ...
7 years, 8 months ago (2013-04-23 04:27:06 UTC) #4
Jun Jiang
On 2013/04/23 04:27:06, Jun Jiang wrote: > On 2013/04/23 01:52:44, Jun Jiang wrote: > > ...
7 years, 8 months ago (2013-04-23 06:03:48 UTC) #5
greggman
On 2013/04/23 06:03:48, Jun Jiang wrote: > On 2013/04/23 04:27:06, Jun Jiang wrote: > > ...
7 years, 8 months ago (2013-04-23 17:57:53 UTC) #6
greggman
On 2013/04/23 17:57:53, greggman wrote: > On 2013/04/23 06:03:48, Jun Jiang wrote: > > On ...
7 years, 8 months ago (2013-04-23 18:01:13 UTC) #7
Ken Russell (switch to Gerrit)
Drive-by comment: please file bugs for these CLs and reference them. Otherwise the CLs can't ...
7 years, 8 months ago (2013-04-24 02:31:45 UTC) #8
Jun Jiang
On 2013/04/24 02:31:45, kbr wrote: > Drive-by comment: please file bugs for these CLs and ...
7 years, 8 months ago (2013-04-24 02:44:08 UTC) #9
Jun Jiang
update the BUG= to BUG=235035.
7 years, 8 months ago (2013-04-24 15:48:54 UTC) #10
Jun Jiang
On 2013/04/23 18:01:13, greggman wrote: > On 2013/04/23 17:57:53, greggman wrote: > > On 2013/04/23 ...
7 years, 8 months ago (2013-04-24 15:50:09 UTC) #11
greggman
On 2013/04/24 15:50:09, Jun Jiang wrote: > On 2013/04/23 18:01:13, greggman wrote: > > On ...
7 years, 8 months ago (2013-04-24 16:00:57 UTC) #12
Jun Jiang
On 2013/04/24 16:00:57, greggman wrote: > On 2013/04/24 15:50:09, Jun Jiang wrote: > > On ...
7 years, 8 months ago (2013-04-25 01:09:06 UTC) #13
Jun Jiang
On 2013/04/25 01:09:06, Jun Jiang wrote: > On 2013/04/24 16:00:57, greggman wrote: > > On ...
7 years, 8 months ago (2013-04-25 13:06:48 UTC) #14
Jun Jiang
On 2013/04/25 13:06:48, Jun Jiang wrote: > On 2013/04/25 01:09:06, Jun Jiang wrote: > > ...
7 years, 7 months ago (2013-04-29 06:39:01 UTC) #15
Jun Jiang
On 2013/04/29 06:39:01, Jun Jiang wrote: > On 2013/04/25 13:06:48, Jun Jiang wrote: > > ...
7 years, 7 months ago (2013-05-02 10:36:18 UTC) #16
greggman
re: my comment about ReadPixels not support HALF_FLOAT There are some bugs we need to ...
7 years, 7 months ago (2013-05-02 16:37:25 UTC) #17
Jun Jiang
On 2013/05/02 16:37:25, greggman wrote: > re: my comment about ReadPixels not support HALF_FLOAT > ...
7 years, 7 months ago (2013-05-03 02:15:16 UTC) #18
Jun Jiang
On 2013/05/03 02:15:16, Jun Jiang wrote: > On 2013/05/02 16:37:25, greggman wrote: > > re: ...
7 years, 7 months ago (2013-05-03 04:55:16 UTC) #19
greggman
https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10297 gpu/command_buffer/service/gles2_cmd_decoder.cc:10297: GLenum gl_type = GetTexType(type); Hey Jun, Sorry about this ...
7 years, 7 months ago (2013-05-03 06:26:21 UTC) #20
Jun Jiang
On 2013/05/03 06:26:21, greggman wrote: > https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10297 > ...
7 years, 7 months ago (2013-05-03 06:46:50 UTC) #21
Jun Jiang
7 years, 7 months ago (2013-05-15 07:40:57 UTC) #22
On 2013/05/03 06:46:50, Jun Jiang wrote:
> On 2013/05/03 06:26:21, greggman wrote:
> >
>
https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/servic...
> > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right):
> > 
> >
>
https://codereview.chromium.org/14402003/diff/41001/gpu/command_buffer/servic...
> > gpu/command_buffer/service/gles2_cmd_decoder.cc:10297: GLenum gl_type =
> > GetTexType(type);
> > Hey Jun, Sorry about this but I just remembered that converting gl_type here
> > won't work because it's used later to call texture->SetLevelInfo and that
> wants
> > the original value.
> > 
> > As I was trying to think of solutions I realized the best way would be to
get
> > rid of WrappedTexImage2D and WrappeTexSubImage2D and move that stuff to
ui/gl
> > 
> > I was about to explain it but I realized it was quicker to just do it so...
> that
> > CL is here
> > 
> > https://codereview.chromium.org/14902003
> > 
> > Once that's in you can check in the tests from this CL. The changes in this
> file
> > are not needed I think.
> 
> Hi, Gregg. I agree with you and it would be better to change it in ui/gl. Once
> the patch on 14902003 landed, I will upload the test in this CL.

The patch to add support for OES_HALF_FLOAT extension in ui/gl by Gregg has been
landed. The test for OES_HALF_FLOAT extension support is uploaded for review at
https://codereview.chromium.org/14770011/.
This issue can be closed now.

Powered by Google App Engine
This is Rietveld 408576698