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

Unified Diff: content/common/gpu/null_transport_surface.cc

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ozone demo Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/null_transport_surface.h ('k') | gpu/command_buffer/service/gl_surface_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/null_transport_surface.cc
diff --git a/content/common/gpu/null_transport_surface.cc b/content/common/gpu/null_transport_surface.cc
index ebcea853a675f95a1d5a736e5754eb21d334da86..33521a06d4c4965468afd69bce6aace448e28606 100644
--- a/content/common/gpu/null_transport_surface.cc
+++ b/content/common/gpu/null_transport_surface.cc
@@ -49,15 +49,17 @@ void NullTransportSurface::Destroy() {
// Do not destroy |surface_| since we use the shared offscreen surface.
}
-bool NullTransportSurface::SwapBuffers() {
+gfx::SwapResult NullTransportSurface::SwapBuffers() {
NOTIMPLEMENTED();
- return false;
+ return gfx::SwapResult::SWAP_FAILED;
}
-bool NullTransportSurface::PostSubBuffer(
- int x, int y, int width, int height) {
+gfx::SwapResult NullTransportSurface::PostSubBuffer(int x,
+ int y,
+ int width,
+ int height) {
NOTIMPLEMENTED();
- return false;
+ return gfx::SwapResult::SWAP_FAILED;
}
void NullTransportSurface::SendVSyncUpdateIfAvailable() {
« no previous file with comments | « content/common/gpu/null_transport_surface.h ('k') | gpu/command_buffer/service/gl_surface_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698