projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
src
/
gpu
/
gl
/
debug
/
SkDebugGLContext.cpp
diff --git
a/src/third_party/skia/src/gpu/gl/debug/SkDebugGLContext.cpp
b/src/third_party/skia/src/gpu/gl/debug/SkDebugGLContext.cpp
index
8ea5466
..
c021c7a
100644
(file)
--- a/
src/third_party/skia/src/gpu/gl/debug/SkDebugGLContext.cpp
+++ b/
src/third_party/skia/src/gpu/gl/debug/SkDebugGLContext.cpp
@@
-8,10
+8,10
@@
#include "gl/SkDebugGLContext.h"
#include "gl/SkDebugGLContext.h"
-const GrGLInterface* SkDebugGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
- if (kGLES_GrGLStandard == forcedGpuAPI) {
- return NULL;
- }
+SkDebugGLContext::SkDebugGLContext() {
+ fGL.reset(GrGLCreateDebugInterface());
+}
- return GrGLCreateDebugInterface();
+SkDebugGLContext::~SkDebugGLContext() {
+ fGL.reset(NULL);
}
}