mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
This commit is contained in:
parent
7167c960d0
commit
753251e54c
43 changed files with 32 additions and 1708 deletions
|
|
@ -788,18 +788,10 @@ private:
|
|||
|
||||
static void AssertNotPassingStackBufferToTheGL(const void* ptr);
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
// Record the name of the GL call for better hang stacks on Android.
|
||||
#define BEFORE_GL_CALL \
|
||||
PROFILER_LABEL_FUNC( \
|
||||
js::ProfileEntry::Category::GRAPHICS);\
|
||||
BeforeGLCall(MOZ_FUNCTION_NAME)
|
||||
#else
|
||||
#define BEFORE_GL_CALL \
|
||||
do { \
|
||||
BeforeGLCall(MOZ_FUNCTION_NAME); \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
#define AFTER_GL_CALL \
|
||||
do { \
|
||||
|
|
@ -815,12 +807,7 @@ private:
|
|||
|
||||
#else // ifdef MOZ_GL_DEBUG
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
// Record the name of the GL call for better hang stacks on Android.
|
||||
#define BEFORE_GL_CALL PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS)
|
||||
#else
|
||||
#define BEFORE_GL_CALL do { } while (0)
|
||||
#endif
|
||||
#define AFTER_GL_CALL do { } while (0)
|
||||
#define TRACKING_CONTEXT(a) do {} while (0)
|
||||
#define ASSERT_NOT_PASSING_STACK_BUFFER_TO_GL(ptr) do {} while (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue