| Index: cc/scheduler/draw_result.h
|
| diff --git a/cc/scheduler/draw_swap_readback_result.h b/cc/scheduler/draw_result.h
|
| similarity index 38%
|
| rename from cc/scheduler/draw_swap_readback_result.h
|
| rename to cc/scheduler/draw_result.h
|
| index 852b89720a0d006bc4c0247887ae9d15a778eb13..e63303c48fd0c8279bbcdf5edec216743ee10c8b 100644
|
| --- a/cc/scheduler/draw_swap_readback_result.h
|
| +++ b/cc/scheduler/draw_result.h
|
| @@ -2,13 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
|
| -#define CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
|
| +#ifndef CC_SCHEDULER_DRAW_RESULT_H_
|
| +#define CC_SCHEDULER_DRAW_RESULT_H_
|
|
|
| namespace cc {
|
|
|
| -struct DrawSwapReadbackResult {
|
| - enum DrawResult {
|
| +enum DrawResult {
|
| INVALID_RESULT,
|
| DRAW_SUCCESS,
|
| DRAW_ABORTED_CHECKERBOARD_ANIMATIONS,
|
| @@ -16,23 +15,8 @@ struct DrawSwapReadbackResult {
|
| DRAW_ABORTED_CANT_READBACK,
|
| DRAW_ABORTED_CONTEXT_LOST,
|
| DRAW_ABORTED_CANT_DRAW,
|
| - };
|
| -
|
| - DrawSwapReadbackResult()
|
| - : draw_result(INVALID_RESULT),
|
| - did_request_swap(false),
|
| - did_readback(false) {}
|
| - DrawSwapReadbackResult(DrawResult draw_result,
|
| - bool did_request_swap,
|
| - bool did_readback)
|
| - : draw_result(draw_result),
|
| - did_request_swap(did_request_swap),
|
| - did_readback(did_readback) {}
|
| - DrawResult draw_result;
|
| - bool did_request_swap;
|
| - bool did_readback;
|
| };
|
|
|
| } // namespace cc
|
|
|
| -#endif // CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
|
| +#endif // CC_SCHEDULER_DRAW_RESULT_H_
|
|
|