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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 1540004: Implemented offscreen rendering path for GLES2CmdDecoder on Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/gpu/gpu_thread.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder.h (revision 43138)
+++ gpu/command_buffer/service/gles2_cmd_decoder.h (working copy)
@@ -23,7 +23,7 @@
namespace gpu {
// Forward-declared instead of including x_utils.h, because including glx.h
// causes havok.
-class XWindowWrapper;
+class GLXContextWrapper;
namespace gles2 {
@@ -50,11 +50,11 @@
}
#if defined(OS_LINUX)
- void set_window_wrapper(XWindowWrapper *window) {
- window_ = window;
+ void set_context_wrapper(GLXContextWrapper *context) {
+ context_ = context;
}
- XWindowWrapper* window() const {
- return window_;
+ GLXContextWrapper* context() const {
+ return context_;
}
#elif defined(OS_WIN)
void set_hwnd(HWND hwnd) {
@@ -108,7 +108,7 @@
bool debug_;
#if defined(OS_LINUX)
- XWindowWrapper *window_;
+ GLXContextWrapper *context_;
#elif defined(OS_WIN)
// Handle to the GL device.
HWND hwnd_;
« no previous file with comments | « chrome/gpu/gpu_thread.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698