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

Issue 2115012: Added texture update test. (Closed)

Created:
10 years, 7 months ago by Alexey Marinichev
Modified:
9 years, 7 months ago
Reviewers:
piman
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org
Base URL:
ssh://git@chromiumos-git//autotest.git
Visibility:
Public.

Description

Added texture update test.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Moved pixels into the class. #

Patch Set 3 : Added glTexSubimage2D test. #

Total comments: 1

Patch Set 4 : C++ enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -59 lines) Patch
M client/deps/glbench/src/Makefile View 1 chunk +1 line, -1 line 0 comments Download
M client/deps/glbench/src/all_tests.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/bench.cc View 1 1 chunk +0 lines, -57 lines 0 comments Download
M client/deps/glbench/src/main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/testbase.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A client/deps/glbench/src/textureupdatetest.cc View 1 2 3 1 chunk +148 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Alexey Marinichev
10 years, 7 months ago (2010-05-21 02:56:43 UTC) #1
piman
http://codereview.chromium.org/2115012/diff/1/3 File client/deps/glbench/src/bench.cc (right): http://codereview.chromium.org/2115012/diff/1/3#newcode13 client/deps/glbench/src/bench.cc:13: return ~0; this case should then be checked in ...
10 years, 7 months ago (2010-05-21 17:20:11 UTC) #2
Alexey Marinichev
Should I initialize pixels_ or its default constructor is fine? http://codereview.chromium.org/2115012/diff/1/3 File client/deps/glbench/src/bench.cc (right): http://codereview.chromium.org/2115012/diff/1/3#newcode13 ...
10 years, 7 months ago (2010-05-21 20:21:41 UTC) #3
piman
LGTM
10 years, 7 months ago (2010-05-21 21:27:48 UTC) #4
Alexey Marinichev
10 years, 7 months ago (2010-05-21 22:09:21 UTC) #5
piman
10 years, 7 months ago (2010-05-21 22:15:02 UTC) #6
http://codereview.chromium.org/2115012/diff/7003/12006
File client/deps/glbench/src/textureupdatetest.cc (right):

http://codereview.chromium.org/2115012/diff/7003/12006#newcode24
client/deps/glbench/src/textureupdatetest.cc:24: typedef enum {
In C++ you usually do:
enum UpdateFlavor {
  TEX_IMAGE,
  TEX_SUBIMAGE
};

Powered by Google App Engine
This is Rietveld 408576698