Home
last modified time | relevance | path

Searched refs:fDisplayParams (Results 1 – 10 of 10) sorted by relevance

/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp27 fDisplayParams.fMSAASampleCount = fDisplayParams.fMSAASampleCount ? in GLWindowContext()
28 GrNextPow2(fDisplayParams.fMSAASampleCount) : in GLWindowContext()
38 fDisplayParams.fGrContextOptions); in initializeContext()
39 if (!fContext && fDisplayParams.fMSAASampleCount) { in initializeContext()
40 fDisplayParams.fMSAASampleCount /= 2; in initializeContext()
48 fPixelConfig = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace in initializeContext()
88 fDisplayParams.fColorSpace, in getBackbufferSurface()
107 fDisplayParams = params; in setDisplayParams()
DWindowContext.h25 , fDisplayParams(params) in WindowContext()
40 const DisplayParams& getDisplayParams() { return fDisplayParams; } in getDisplayParams()
63 DisplayParams fDisplayParams; variable
DVulkanWindowContext.h32 this->createSwapchain(w, h, fDisplayParams); in resize()
37 fDisplayParams = params; in setDisplayParams()
DVulkanWindowContext.cpp71 fDisplayParams.fGrContextOptions); in initializeContext()
88 if (!this->createSwapchain(-1, -1, fDisplayParams)) { in initializeContext()
192 fDisplayParams = params; in createSwapchain()
286 fDisplayParams.fColorSpace, in createBuffers()
455 if (!this->createSwapchain(-1, -1, fDisplayParams)) { in getBackbufferSurface()
/external/skia/tools/viewer/sk_app/android/
DRasterWindowContext_android.cpp50 switch(fDisplayParams.fColorType) { in setBuffersGeometry()
64 fDisplayParams = params; in setDisplayParams()
79 fDisplayParams.fColorType, in getBackbufferSurface()
81 fDisplayParams.fColorSpace); in getBackbufferSurface()
DGLWindowContext_android.cpp81 EGL_SAMPLE_BUFFERS, fDisplayParams.fMSAASampleCount ? 1 : 0, in onInitializeContext()
82 EGL_SAMPLES, fDisplayParams.fMSAASampleCount, in onInitializeContext()
112 if (srgbColorSpace == fDisplayParams.fColorSpace && majorVersion == 1 && minorVersion >= 2) { in onInitializeContext()
/external/skia/tools/viewer/sk_app/win/
DRasterWindowContext_win.cpp48 fDisplayParams = params; in setDisplayParams()
70 SkImageInfo info = SkImageInfo::Make(w, h, fDisplayParams.fColorType, kPremul_SkAlphaType, in resize()
71 fDisplayParams.fColorSpace); in resize()
DGLWindowContext_win.cpp57 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
70 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
/external/skia/tools/viewer/sk_app/unix/
DRasterWindowContext_unix.cpp48 fDisplayParams = params; in setDisplayParams()
55 SkImageInfo info = SkImageInfo::Make(w, h, fDisplayParams.fColorType, kPremul_SkAlphaType, in resize()
56 fDisplayParams.fColorSpace); in resize()
/external/skia/tools/viewer/sk_app/mac/
DRasterWindowContext_mac.cpp91 SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, fDisplayParams.fColorType, in onInitializeContext()
92 kPremul_SkAlphaType, fDisplayParams.fColorSpace); in onInitializeContext()