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

Issue 276873002: Clarify function info object usage in the command buffer generator (Closed)

Created:
6 years, 7 months ago by Kimmo Kinnunen
Modified:
6 years, 7 months ago
Reviewers:
Zhenyao Mo, vmiura, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@00-cmd-buffer-refactor--put-data-type
Visibility:
Public.

Description

Clarify function info object usage in the command buffer generator Before, the Function objects (roughly corresponding to the commands being generated) would construct itself based on the function info object, parsed properties and many argument lists. The argument lists themselves were also constructed out of function info object and the parsed properties. Try to clarify this by following changes. Define that function info object is first parsed from the cmd_buffer_functions.txt file. Then the function info is possibly augmented by the optional object for the function info object table (_FUNCTION_INFO). Function objects are created solely on the function info object. Function constructor parses the function info object and constructs the needed properties, such as function type handlers, argument arrays and return value types. Function provides simple initialization function that the immediate and bucket subclasses can use to construct specialized versions of the command buffer command argument lists. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270051

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -179 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 15 chunks +168 lines, -179 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Kimmo Kinnunen
This is a pure "refactoring", no functional change. Feel free to ignore it if this ...
6 years, 7 months ago (2014-05-09 07:46:23 UTC) #1
vmiura
On 2014/05/09 07:46:23, kkinnunen wrote: > This is a pure "refactoring", no functional change. Feel ...
6 years, 7 months ago (2014-05-09 19:05:02 UTC) #2
vmiura
LGTM!
6 years, 7 months ago (2014-05-09 19:07:55 UTC) #3
piman
lgtm
6 years, 7 months ago (2014-05-09 19:55:51 UTC) #4
Zhenyao Mo
LGTM
6 years, 7 months ago (2014-05-09 21:19:47 UTC) #5
Kimmo Kinnunen
The CQ bit was checked by kkinnunen@nvidia.com
6 years, 7 months ago (2014-05-12 10:37:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkinnunen@nvidia.com/276873002/40001
6 years, 7 months ago (2014-05-12 10:38:05 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 11:01:55 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-12 11:04:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/25532) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/24105) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-12 11:04:50 UTC) #10
Kimmo Kinnunen
The CQ bit was checked by kkinnunen@nvidia.com
6 years, 7 months ago (2014-05-13 04:37:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkinnunen@nvidia.com/276873002/40001
6 years, 7 months ago (2014-05-13 04:38:34 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 08:27:26 UTC) #13
Message was sent while issue was closed.
Change committed as 270051

Powered by Google App Engine
This is Rietveld 408576698