HomeSort by relevance Sort by last modified time
    Searched defs:fGLContext (Results 1 - 16 of 16) sorted by null

  /external/skia/tools/sk_app/ios/
WindowContextFactory_ios.h 23 SDL_GLContext fGLContext;
GLWindowContext_ios.cpp 34 SDL_GLContext fGLContext;
42 , fGLContext(info.fGLContext) {
55 SkASSERT(fGLContext);
57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
76 if (fWindow && fGLContext) {
Window_ios.h 25 , fGLContext(nullptr)
57 SDL_GLContext fGLContext;
RasterWindowContext_ios.cpp 44 SDL_GLContext fGLContext;
54 , fGLContext(nullptr) {
67 SkASSERT(fGLContext);
69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
99 if (fWindow && fGLContext) {
  /external/skia/tools/sk_app/mac/
WindowContextFactory_mac.h 23 SDL_GLContext fGLContext;
GLWindowContext_mac.cpp 34 SDL_GLContext fGLContext;
42 , fGLContext(info.fGLContext) {
55 SkASSERT(fGLContext);
57 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
76 if (fWindow && fGLContext) {
Window_mac.h 25 , fGLContext(nullptr)
57 SDL_GLContext fGLContext;
RasterWindowContext_mac.cpp 44 SDL_GLContext fGLContext;
54 , fGLContext(info.fGLContext) {
67 SkASSERT(fGLContext);
69 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
99 if (fWindow && fGLContext) {
  /external/skqp/tools/sk_app/ios/
GLWindowContext_ios.cpp 34 SDL_GLContext fGLContext;
42 , fGLContext(nullptr) {
56 fGLContext = SDL_GL_CreateContext(fWindow);
57 if (!fGLContext) {
62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
81 if (!fWindow || !fGLContext) {
84 SDL_GL_DeleteContext(fGLContext);
85 fGLContext = nullptr;
90 if (fWindow && fGLContext) {
RasterWindowContext_ios.cpp 44 SDL_GLContext fGLContext;
54 , fGLContext(nullptr) {
68 fGLContext = SDL_GL_CreateContext(fWindow);
69 if (!fGLContext) {
74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
98 if (!fWindow || !fGLContext) {
102 SDL_GL_DeleteContext(fGLContext);
103 fGLContext = nullptr;
109 if (fWindow && fGLContext) {
  /external/skqp/tools/sk_app/mac/
GLWindowContext_mac.cpp 34 SDL_GLContext fGLContext;
42 , fGLContext(nullptr) {
56 fGLContext = SDL_GL_CreateContext(fWindow);
57 if (!fGLContext) {
62 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
81 if (!fWindow || !fGLContext) {
84 SDL_GL_DeleteContext(fGLContext);
85 fGLContext = nullptr;
90 if (fWindow && fGLContext) {
RasterWindowContext_mac.cpp 44 SDL_GLContext fGLContext;
54 , fGLContext(nullptr) {
68 fGLContext = SDL_GL_CreateContext(fWindow);
69 if (!fGLContext) {
74 if (0 == SDL_GL_MakeCurrent(fWindow, fGLContext)) {
98 if (!fWindow || !fGLContext) {
102 SDL_GL_DeleteContext(fGLContext);
103 fGLContext = nullptr;
109 if (fWindow && fGLContext) {
  /external/skia/tools/sk_app/unix/
GLWindowContext_unix.cpp 39 GLXContext fGLContext;
50 , fGLContext() {
60 SkASSERT(!fGLContext);
68 for (int minor = 2; minor >= 0 && !fGLContext; --minor) {
78 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs);
79 if (fGLContext) {
85 if (!fGLContext) {
86 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE);
88 if (!fGLContext) {
92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) {
    [all...]
  /external/skqp/tools/sk_app/unix/
GLWindowContext_unix.cpp 39 GLXContext fGLContext;
50 , fGLContext() {
60 SkASSERT(!fGLContext);
68 for (int minor = 2; minor >= 0 && !fGLContext; --minor) {
78 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs);
79 if (fGLContext) {
85 if (!fGLContext) {
86 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE);
88 if (!fGLContext) {
92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) {
    [all...]
  /external/skia/src/gpu/gl/
GrGLGpu.h 43 const GrGLContext& glContext() const { return *fGLContext; }
45 const GrGLInterface* glInterface() const { return fGLContext->interface(); }
46 const GrGLContextInfo& ctxInfo() const { return *fGLContext; }
47 GrGLStandard glStandard() const { return fGLContext->standard(); }
48 GrGLVersion glVersion() const { return fGLContext->version(); }
49 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); }
50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); }
279 bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); }
407 std::unique_ptr<GrGLContext> fGLContext;
  /external/skqp/src/gpu/gl/
GrGLGpu.h 43 const GrGLContext& glContext() const { return *fGLContext; }
45 const GrGLInterface* glInterface() const { return fGLContext->interface(); }
46 const GrGLContextInfo& ctxInfo() const { return *fGLContext; }
47 GrGLStandard glStandard() const { return fGLContext->standard(); }
48 GrGLVersion glVersion() const { return fGLContext->version(); }
49 GrGLSLGeneration glslGeneration() const { return fGLContext->glslGeneration(); }
50 const GrGLCaps& glCaps() const { return *fGLContext->caps(); }
297 bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); }
420 std::unique_ptr<GrGLContext> fGLContext;

Completed in 206 milliseconds